12 #ifndef QMCPLUSPLUS_SPINDENSITYNEW_H 13 #define QMCPLUSPLUS_SPINDENSITYNEW_H 28 class SpinDensityNewTests;
123 void report(
const std::string& pad);
a class that defines a supercell in D-dimensional Euclean space.
void accumulate(const RefVector< MCPWalker > &walkers, const RefVector< ParticleSet > &psets, const RefVector< TrialWaveFunction > &wfns, const RefVector< QMCHamiltonian > &hams, RandomBase< FullPrecRealType > &rng) override
accumulate 1 or more walkers of SpinDensity samples
helper functions for EinsplineSetBuilder
QTBase::RealType RealType
CrystalLattice< OHMMS_PRECISION, OHMMS_DIM > ParticleLayout
void collect(const RefVector< OperatorEstBase > &operator_estimators) override
this allows the EstimatorManagerNew to reduce without needing to know the details of SpinDensityNew's...
class to preserve access control in MomentumDistribution
std::unique_ptr< OperatorEstBase > spawnCrowdClone() const override
standard interface
void report(const std::string &pad)
const std::vector< int > species_size_
static std::vector< int > getSpeciesSize(const SpeciesSet &species)
void accumulateToData(size_t point, QMCT::RealType weight)
SpinDensityNew(SpinDensityInput &&sdi, const SpeciesSet &species, DataLocality dl=DataLocality::crowd)
Constructor for SpinDensityNew that contains an explicitly defined cell part of legacy input handling...
size_t getFullDataSize()
derived_parameters_ must be valid i.e.
void registerOperatorEstimator(hdf_archive &file) override
this allows the EstimatorManagerNew to reduce without needing to know the details of SpinDensityNew's...
An abstract class for gridded estimators.
QMCT::FullPrecRealType FullPrecRealType
const SpeciesSet & species_
Lattice lattice_
they should be limited to values that can be changed from input or are not present explicitly in t...
Native representation for Spin Density Estimators inputs.
std::vector< std::reference_wrapper< T > > RefVector
Particle traits to use UniformGridLayout for the ParticleLayout.
SpinDensityInput::DerivedParameters derived_parameters_
Class that collects density per species of particle.
void startBlock(int steps) override
This allows us to allocate the necessary data for the DataLocality::queue.
DataLocality
data locality with respect to walker buffer
const SpinDensityInput input_
QTFull::RealType FullPrecRealType
Custom container for set of attributes for a set of species.
SpinDensityInput sdi(node)
SpinDensityNew sdn(std::move(sdi), lattice, species_set)