MercuryDPM  0.11
 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 30 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 1367 of file StatisticsPoint.hcc.

1368 {
1369  os.precision(16);
1370  if (stat.mirrorParticle < 0)
1371  {
1372  //only write std particles, not mirrored particles
1373  os << stat.getPosition() << " " << stat.write() << std::endl;
1374  }
1375  return os;
1376 }