15 #ifndef QMCPLUSPLUS_SPIN_DENSITY_H 16 #define QMCPLUSPLUS_SPIN_DENSITY_H 26 using dens_t = std::vector<RealType>;
27 using pts_t = std::vector<PosType>;
46 std::string
getClassName()
const override {
return "SpinDensity"; }
48 bool put(xmlNodePtr cur)
override;
59 #if !defined(REMOVE_TRACEMANAGER) 66 bool get(std::ostream& os)
const override {
return false; }
70 void report(
const std::string& pad);
a class that defines a supercell in D-dimensional Euclean space.
std::vector< PosType > pts_t
helper functions for EinsplineSetBuilder
bool put(xmlNodePtr cur) override
Read the input parameter.
std::vector< int > species_size
CrystalLattice< OHMMS_PRECISION, OHMMS_DIM > ParticleLayout
Declaration of OperatorBase.
Vectorized record engine for scalar properties.
Return_t test_evaluate(ParticleSet &P, int &pmin, int &pmax)
SpinDensity(ParticleSet &P)
void addObservables(PropertySetType &plist, BufferType &olist) override
named values to the property list Default implementaton uses addValue(plist_)
TinyVector< int, DIM > gdims
Specialized paritlce class for atomistic simulations.
ParticleSet::Buffer_t BufferType
typedef for the serialized buffer
std::unique_ptr< OperatorBase > makeClone(ParticleSet &P, TrialWaveFunction &psi) final
Return_t evaluate(ParticleSet &P) override
Evaluate the local energy contribution of this component.
void setObservables(PropertySetType &plist) override
Set the values evaluated by this object to plist Default implementation is to assign Value which is u...
void report(const std::string &pad)
std::string getClassName() const override
return class name
std::vector< RealType > dens_t
void collect_scalar_samples()
void registerCollectables(std::vector< ObservableHelper > &h5desc, hdf_archive &file) const override
An abstract class for Local Energy operators.
Class to represent a many-body trial wave function.
void test(int moves, ParticleSet &P)
void delete_scalar_arrays()
std::vector< std::string > species_name
void setParticlePropertyList(PropertySetType &plist, int offset) override
void resetTargetParticleSet(ParticleSet &P) override
Reset the data with the target ParticleSet.
BareKineticEnergy::Return_t Return_t
void checkout_scalar_arrays(TraceManager &tm)
TinyVector< int, DIM > grid
RecordNamedProperty< FullPrecRealType > PropertySetType
define PropertyList_t