45 ions.
R[0] = {0.0, 0.0, 0.0};
46 ions.
R[1] = {1.62478653, 1.62478653, 1.62478653};
50 ion_species(pChargeIdx, pIdx) = 1;
57 elec.
R[0] = {0.4, 0.4, 0.4};
58 elec.
R[1] = {2.02478653, 2.02478653, 2.02478653};
63 tspecies(chargeIdx, upIdx) = -1;
64 tspecies(massIdx, upIdx) = 1.0;
a class that defines a supercell in D-dimensional Euclean space.
void setName(const std::string &aname)
static std::unique_ptr< LRHandlerType > CoulombDerivHandler
Stores the force/stress optimized LR handler.
int addSpecies(const std::string &aname)
When a name species does not exist, add a new species.
helper functions for EinsplineSetBuilder
TEST_CASE("complex_helper", "[type_traits]")
const SymTensor< Real, OHMMS_DIM > & getStressEE() const noexcept
void update(bool skipSK=false)
update the internal data
static std::unique_ptr< LRHandlerType > CoulombHandler
Stores the energ optimized LR handler.
int addAttribute(const std::string &aname)
for a new attribute, allocate the data, !More often used to get the index of a species ...
CrystalLattice< OHMMS_PRECISION, OHMMS_DIM > lattice
Specialized paritlce class for atomistic simulations.
Return_t evaluate(ParticleSet &P) override
Evaluate the local energy contribution of this component.
SpeciesSet & getSpeciesSet()
retrun the SpeciesSet of this particle set
void create(const std::vector< int > &agroup)
create grouped particles
Declaration of a TrialWaveFunction.
Class to represent a many-body trial wave function.
CHECK(log_values[0]==ComplexApprox(std::complex< double >{ 5.603777579195571, -6.1586603331188225 }))
void createSK()
create Structure Factor with PBCs
const SymTensor< Real, OHMMS_DIM > & getStressEI() const noexcept
Custom container for set of attributes for a set of species.