29 std::string ion_name =
"ion0";
31 oAttrib.
add(ion_name,
"source");
34 auto ion_it =
ptclPool.find(ion_name);
37 app_error() <<
" Ion particle set not found = " << ion_name << std::endl;
40 auto WF = std::make_unique<ExampleHeComponent>(*(ion_it->second),
els);
ExampleHeBuilder(Communicate *comm, ParticleSet &p, const PSetMap &psets)
helper functions for EinsplineSetBuilder
An abstract class for wave function builders.
An example wavefunction component for a simple wavefunction for a helium atom.
bool put(xmlNodePtr cur)
assign attributes to the set
std::ostream & app_error()
std::map< std::string, const std::unique_ptr< ParticleSet > > PSetMap
Wrapping information on parallelism.
Specialized paritlce class for atomistic simulations.
class to handle a set of attributes of an xmlNode
#define APP_ABORT(msg)
Widely used but deprecated fatal error macros from legacy code.
void add(PDT &aparam, const std::string &aname, std::vector< PDT > candidate_values={}, TagStatus status=TagStatus::OPTIONAL)
add a new attribute
std::unique_ptr< WaveFunctionComponent > buildComponent(xmlNodePtr cur) override
process a xml node at cur
Example builder for simple He wavefunction.