/* * VMGData.hpp * * Created on: Aug 6, 2012 * Author: heber */ #ifndef VMGDATA_HPP_ #define VMGDATA_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include "Jobs/Grid/SamplingGrid.hpp" /** This struct contains all returned data from an VMGJob * */ struct VMGData { /** Constructor for class VMGData. * * \param _props properties of sampled potential */ VMGData(const SamplingGridProperties &_props); /** Default constructor for class VMGData. * */ VMGData(); //!> sampled potential on the grid as output SamplingGrid sampled_potential; //!> long-range contribution to energy double e_long; private: friend class boost::serialization::access; // serialization template void serialize(Archive& ar, const unsigned int version) { ar & sampled_potential; ar & e_long; } }; std::ostream & operator<<(std::ostream &ost, const VMGData &data); #endif /* VMGDATA_HPP_ */