31 axes(d, i) =
pset.getLattice().a(i)[d];
39 case Coord::CARTESIAN:
81 for (
int p = 0; p <
pset.getTotalNum(); p++)
92 os << indent +
"reference_points" << std::endl;
93 std::map<std::string, Point>::const_iterator it, end =
points_.end();
94 for (it =
points_.begin(); it != end; ++it)
96 os << indent +
" " << it->first <<
": " << it->second << std::endl;
98 os << indent +
"end reference_points" << std::endl;
104 file.
push(std::string_view(
"reference_points"));
106 file.
write(const_cast<Point&>(it->second), it->first);
This class creates, contains, and writes both user and machine readable referencepoints.
ReferencePointsInput input_
void write(T &data, const std::string &aname)
write the data to the group aname and check status runtime error is issued on I/O error ...
helper functions for EinsplineSetBuilder
NEReferencePoints(const ReferencePointsInput &rp_input, const ParticleSet &pset, RefVector< ParticleSet > &ref_psets)
Usual constructor.
void write(hdf_archive &file) const
machine readable output
Declaration of ObservableHelper and other helper class for observables.
Specialized paritlce class for atomistic simulations.
void processParticleSets(const ParticleSet &P, RefVector< ParticleSet > &Pref)
std::ostream & operator<<(std::ostream &out, const AntiSymTensor< T, D > &rhs)
Coord get_coord_form() const
const Points & get_points() const
void push(const std::string &gname, bool createit=true)
push a group to the group stack
void write_description(std::ostream &os, const std::string &indent) const
writes a human readable representation of the reference points.
std::vector< std::reference_wrapper< T > > RefVector
const auto & getLattice() const
Tensor< typename BinaryReturn< T1, T2, OpMultiply >::Type_t, D > dot(const AntiSymTensor< T1, D > &lhs, const AntiSymTensor< T2, D > &rhs)