14 #ifndef QMCPLUSPLUS_ORBITAL_IMAGES_H 15 #define QMCPLUSPLUS_ORBITAL_IMAGES_H 117 using PSPool = std::map<std::string, const std::unique_ptr<ParticleSet>>;
226 bool put(xmlNodePtr cur)
override;
242 #if !defined(REMOVE_TRACEMANAGER) 249 bool get(std::ostream& os)
const override {
return false; }
253 void report(
const std::string& pad);
258 std::vector<ValueType>& orb,
266 std::vector<ValueType>& orb,
a class that defines a supercell in D-dimensional Euclean space.
OrbitalImages(ParticleSet &P, const PSPool &PSP, Communicate *mpicomm, const SPOMap &spomap)
formats_enum format
file format selection
Array< GradType, 2 > batch_gradients
temporary array to hold gradients of a batch of orbitals at all grid points
bool center_grid
evaluate points at grid cell centers instead of edges
helper functions for EinsplineSetBuilder
TinyVector< int, DIM > grid
number of grid points in each direction (cell axis)
Array< ValueType, 2 > batch_values
temporary array to hold values of a batch of orbitals at all grid points
derivative_types_enum
derivative types
const PSPool & psetpool
at put() ion particleset is obtained from ParticleSetPool
CrystalLattice< OHMMS_PRECISION, OHMMS_DIM > ParticleLayout
void setObservables(PropertySetType &plist) override
Set the values evaluated by this object to plist Default implementation is to assign Value which is u...
Declaration of OperatorBase.
std::vector< std::string > sposet_names
names of sposets to evaluate
std::vector< std::unique_ptr< SPOSet > > sposets
sposets obtained by name from SPOMap
Vectorized record engine for scalar properties.
void delete_scalar_arrays()
void setParticlePropertyList(PropertySetType &plist, int offset) override
SPOSet::ValueVector ValueVector
std::map< std::string, const std::unique_ptr< ParticleSet > > PSPool
Array< ValueType, 2 > batch_laplacians
temporary array to hold laplacians of a batch of orbitals at all grid points
Wrapping information on parallelism.
void write_orbital(const std::string &sponame, int index, std::vector< ValueType > &orb, value_types_enum value_type, derivative_types_enum derivative_type=value_d, int dimension=0)
write a single orbital to file
Specialized paritlce class for atomistic simulations.
ParticleSet * Pion
ion particleset
PosType corner
location of cell corner, positions in the cell are corner+uvec*cell
void write_orbital_xsf(const std::string &sponame, int index, std::vector< ValueType > &orb, value_types_enum value_type, derivative_types_enum derivative_type=value_d, int dimension=0)
write a single orbital to an xsf file
ValueVector spo_ltmp
temporary vector to hold laplacians of all orbitals at a single point
Lattice_t cell
cell bounding the evaluation grid, default is simulation cell
void report(const std::string &pad)
write brief report of configuration data
std::vector< ValueType > orbital
temporary array to hold values of a single orbital at all grid points
GradVector spo_gtmp
temporary vector to hold gradients of all orbitals at a single point
OrbitalSetTraits< ValueType >::ValueVector ValueVector
const std::shared_ptr< std::vector< std::vector< int > > > sposet_indices
indices of orbitals within each sposet to evaluate
std::vector< value_types_enum > value_types
orbital value selections
void collect_scalar_samples()
int batch_size
number of orbitals to store in memory at a time (batch_size*npoints)
"Estimator" to produce files for orbital plotting.
formats_enum
options for orbital output file format
void addObservables(PropertySetType &plist, BufferType &olist) override
named values to the property list Default implementaton uses addValue(plist_)
std::string getClassName() const override
return class name
int npoints
total number of grid points
An abstract class for Local Energy operators.
void resetTargetParticleSet(ParticleSet &P) override
Reset the data with the target ParticleSet.
const SPOMap & spomap_
reference to the sposet_builder_factory
OrbitalSetTraits< ValueType >::GradVector GradVector
Class to represent a many-body trial wave function.
Communicate * comm
mpi communicator
SPOSet::GradVector GradVector
ParticleSet * Peln
electron particleset
ValueVector spo_vtmp
temporary vector to hold values of all orbitals at a single point
TinyVector< int, DIM > gdims
stride to generate grid in arbitrary dimensions
void checkout_scalar_arrays(TraceManager &tm)
std::unique_ptr< OperatorBase > makeClone(ParticleSet &P, TrialWaveFunction &psi) final
QMCTraits::FullPrecRealType value_type
BareKineticEnergy::Return_t Return_t
value_types_enum
options for orbital value to write
Return_t evaluate(ParticleSet &P) override
hijack estimator evaluate to evaluate and write all orbitals
bool derivatives
write out derivatives in addition to values
void registerCollectables(std::vector< ObservableHelper > &h5desc, hdf_archive &file) const override
bool put(xmlNodePtr cur) override
read xml input