MercuryDPM  Trunk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BaseClusterInsertionBoundary.h File Reference
#include "InsertionBoundary.h"
#include "BaseCluster.h"
#include "Math/Vector.h"
#include "Math/PSD.h"

Go to the source code of this file.

Classes

class  BaseClusterInsertionBoundary
 

Functions

std::ostream & operator<< (std::ostream &os, BaseClusterInsertionBoundary::Distribution type)
 
std::istream & operator>> (std::istream &is, BaseClusterInsertionBoundary::Distribution &type)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
InsertionBoundary::Distribution  type 
)

write distribution type variables to file.

Definition at line 600 of file InsertionBoundary.cc.

601 {
602  os << static_cast<unsigned>(type);
603  return os;
604 }
std::istream& operator>> ( std::istream &  is,
InsertionBoundary::Distribution type 
)

write Distribution type variables from file.

Definition at line 609 of file InsertionBoundary.cc.

610 {
611  unsigned uType;
612  is >> uType;
613  type = static_cast<InsertionBoundary::Distribution>(uType);
614  return is;
615 }
Distribution
Defines a custom particle size distribution; distribution_ will always be used, unless particleSizeDi...