HG-MD  1
Classes | Enumerations | Functions
StatisticsPoint.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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.

Enumeration Type Documentation

enum CG

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

Enumerator:
HeavisideSphere 
Gaussian 
polynomial 

Function Documentation

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

Output statistical variables to ostream.

                                                                                {
        os.precision(16);
        if (stat.mirrorParticle<0) {
                //only write std particles, not mirrored particles
                os << stat.get_Position() << " " << stat.write() << endl; 
        }
        return os;
}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines