MercuryDPM  0.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StatisticsPoint.h File Reference

Go to the source code of this file.

Classes

class  StatisticsVector< T >
 This class is used to extract statistical data from MD simulations. More...
 
struct  StatisticsPoint< T >
 This class stores statistical values for a given spatial position; to be used in combination with StatisticsVector. More...
 
struct  StatisticsPoint< T >
 This class stores statistical values for a given spatial position; to be used in combination with StatisticsVector. More...
 

Enumerations

enum  CG { HeavisideSphere, Gaussian, Polynomial }
 enum used to store the type of coarse-graining function used More...
 

Functions

template<StatType T>
std::ostream & operator<< (std::ostream &os, const StatisticsPoint< T > &stat)
 Output statistical variables to ostream. More...
 

Enumeration Type Documentation

enum CG

enum used to store the type of coarse-graining function used

Enumerator
HeavisideSphere 
Gaussian 
Polynomial 

Definition at line 27 of file StatisticsPoint.h.

Function Documentation

template<StatType T>
std::ostream& operator<< ( std::ostream &  os,
const StatisticsPoint< T > &  stat 
)

Output statistical variables to ostream.

Definition at line 1048 of file StatisticsPoint.hcc.

1048  {
1049  os.precision(16);
1050  if (stat.mirrorParticle<0) {
1051  //only write std particles, not mirrored particles
1052  os << stat.get_Position() << " " << stat.write() << std::endl;
1053  }
1054  return os;
1055 }
Vec3D get_Position() const
returns Position
int mirrorParticle
indicates that a position is a (fake) particles used for periodic walls
std::string write() const
Outputs statistical variables in computer-readable format.