21#ifndef VOTCA_XTP_QMFRAGMENT_H
22#define VOTCA_XTP_QMFRAGMENT_H
70 result += atomentries(index);
75 typename std::vector<Index>::const_iterator
begin()
const {
78 typename std::vector<Index>::const_iterator
end()
const {
84 out <<
"Fragment id:" << fragment.
id_ <<
"\n";
85 out <<
"AtomIndices[" << fragment.
size() <<
"]:";
88 out <<
"\nValue:" << fragment.
value_;
131 value_.ReadFromCpt(rr);
137 value_.WriteToCpt(ww);
CheckpointReader openChild(const std::string &childName) const
CheckpointWriter openChild(const std::string &childName) const
std::vector< Index > CreateIndexVector(const std::string &Ids) const
std::string CreateIndexString(const std::vector< Index > &indeces) const
QMFragment(CheckpointReader &r)
std::vector< Index >::const_iterator end() const
void ReadFromCpt(CheckpointReader &r)
void FillAtomIndices(const std::string &atoms)
void ReadValue(CheckpointReader &r)
void WriteToCpt(CheckpointWriter &w) const
std::vector< Index >::const_iterator begin() const
const std::vector< Index > & getIndices() const
std::vector< Index > atomindices_
friend std::ostream & operator<<(std::ostream &out, const QMFragment &fragment)
QMFragment(Index id, std::string atoms)
void copy_withoutvalue(const QMFragment< T2 > &frag)
double ExtractFromVector(const Eigen::VectorXd &atomentries) const
void FillFromString(std::string atoms)
void WriteValue(CheckpointWriter &w) const
base class for all analysis tools