21#ifndef VOTCA_XTP_CLASSICALSEGMENT_H
22#define VOTCA_XTP_CLASSICALSEGMENT_H
43 void WriteMPS(std::string filename, std::string header)
const;
53 out << container.
getId() <<
" " << container.
identify() <<
" "
55 for (
const T& atom : container) {
const std::string & getType() const
AtomContainer(std::string type, Index id)
Charge-response matrix Pi of one molecule type.
std::string identify() const
Eigen::Vector3d CalcStaticDipole() const
bool IsPolarizable() const
void ReadFromCpt(CheckpointReader &r) override
void ReadChargeResponseFromCpt(CheckpointReader &r)
ClassicalSegment(CheckpointReader &r)
ClassicalSegment(std::string name, Index id)
void WriteToCpt(CheckpointWriter &w) const override
bool hasChargeResponse() const
double CalcTotalQ() const
ChargeResponse chargeresponse_
friend std::ostream & operator<<(std::ostream &out, const ClassicalSegment< T > &container)
void LoadFromFile(std::string filename)
const ChargeResponse & getChargeResponse() const
Eigen::Vector3d CalcDipole() const
void WriteMPS(std::string filename, std::string header) const
void setChargeResponse(const ChargeResponse &cr)
ClassicalSegment< PolarSite > PolarSegment
ClassicalSegment< StaticSite > StaticSegment
Provides a means for comparing floating point numbers.