msbGrid  1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
msbGrid Namespace Reference

Namespaces

namespace  Constants
 

Classes

class  InitialDistribution
 
struct  Marker
 
class  ParameterTree
 
class  ParameterTreeParser
 
class  Stepper
 
class  Cell
 
class  Edge
 
class  GeometricEntity
 
class  Point
 
struct  EntityAngle
 
class  Polygon
 
class  Quadrangle
 
class  Triangle
 
class  Block
 
class  PointsBlock
 
class  EdgesBlock
 
class  CellsBlock
 
class  PointsMultiBlock
 
class  GridFactory
 
class  GeoFilesWriter
 
class  InputData
 
class  MFilesWriter
 
class  Test1InitialDistribution
 

Typedefs

typedef double Scalar
 

Enumerations

enum  { dim = 2 }
 
enum  Color {
  Black, Blue, Green, Red,
  Cyan, Magenta, Yellow, White
}
 

Functions

template<typename StepperT >
msbGrid::PointsBlock growth (const msbGrid::Point &ptRef, const msbGrid::InputData *inData0, const StepperT *stepper0, const int &blIdx0)
 
template<typename StepperT >
msbGrid::PointsBlock growth2 (const msbGrid::Point &ptRef, const msbGrid::InputData *inData0, const StepperT *stepper0, const int &blIdx0, const msbGrid::Color &color0)
 
void cohesion (msbGrid::PointsBlock &bl0, const msbGrid::PointsBlock &bl1, const msbGrid::InputData *inData0)
 
void cohesion (msbGrid::PointsBlock &bl0, const msbGrid::InputData *inData0)
 
template<class T >
std::string className ()
 Provide the demangled class name of a type T as a string. More...
 
std::string readCommandLineOptions (int argc, char **argv, msbGrid::ParameterTree &paramTree)
 
std::string colorName (const Color &color)
 
std::string colorSymbol (const Color &color)
 
const Color randomColor ()
 
const Scalar randomAngle ()
 
const Scalar deg2Rad (const Scalar &_angle)
 
void periodicDistribution (std::vector< std::pair< Scalar, Scalar > > *blockCenter, const Scalar &xMin, const Scalar &xMax, const Scalar &yMin, const Scalar &yMax, const Scalar &dx, const Scalar &dy, const bool &verbose=true)
 
template<typename EntityT >
bool sortByAngle (const EntityAngle< EntityT > &entAngle1, const EntityAngle< EntityT > &entAngle2)
 
template<typename CellT , typename InitialDistributionT >
int makeGrid (int argc, char **argv, void(*usage)(const char *, const std::string &))
 
std::string usageTextBlock ()
 
const std::string newCl (const std::string &clName, const Scalar &clValue)
 
void usage (const char *progName, const std::string &errorMsg)
 Provides an interface for customizing error messages associated with reading in parameters. More...
 

Typedef Documentation

typedef double msbGrid::Scalar

Definition at line 34 of file common.hh.

Enumeration Type Documentation

anonymous enum
Enumerator
dim 

Definition at line 35 of file common.hh.

colors used for entity visualization on MatLab

Enumerator
Black 
Blue 
Green 
Red 
Cyan 
Magenta 
Yellow 
White 

Definition at line 45 of file common.hh.

Function Documentation

template<class T >
std :: string msbGrid::className ( )

Provide the demangled class name of a type T as a string.

Definition at line 40 of file classname.hh.

void msbGrid::cohesion ( msbGrid::PointsBlock bl0,
const msbGrid::PointsBlock bl1,
const msbGrid::InputData inData0 
)

Definition at line 161 of file growthcohesion.hh.

void msbGrid::cohesion ( msbGrid::PointsBlock bl0,
const msbGrid::InputData inData0 
)

Definition at line 226 of file growthcohesion.hh.

std :: string msbGrid::colorName ( const Color &  color)

give the name (string) of color (enumerator)

Definition at line 48 of file common.hh.

std :: string msbGrid::colorSymbol ( const Color &  color)

give MatLab corresponding symbol of color

Definition at line 76 of file common.hh.

const Scalar msbGrid::deg2Rad ( const Scalar &  _angle)

Definition at line 130 of file common.hh.

template<typename StepperT >
msbGrid::PointsBlock msbGrid::growth ( const msbGrid::Point ptRef,
const msbGrid::InputData inData0,
const StepperT *  stepper0,
const int &  blIdx0 
)

Definition at line 52 of file growthcohesion.hh.

template<typename StepperT >
msbGrid::PointsBlock msbGrid::growth2 ( const msbGrid::Point ptRef,
const msbGrid::InputData inData0,
const StepperT *  stepper0,
const int &  blIdx0,
const msbGrid::Color color0 
)

Definition at line 108 of file growthcohesion.hh.

template<typename CellT , typename InitialDistributionT >
int msbGrid::makeGrid ( int  argc,
char **  argv,
void(*)(const char *, const std::string &)  usage 
)

Definition at line 57 of file gridcreator.hh.

const std::string msbGrid::newCl ( const std::string &  clName,
const Scalar &  clValue 
)

Definition at line 1742 of file gridfactory.hh.

void msbGrid::periodicDistribution ( std::vector< std::pair< Scalar, Scalar > > *  blockCenter,
const Scalar &  xMin,
const Scalar &  xMax,
const Scalar &  yMin,
const Scalar &  yMax,
const Scalar &  dx,
const Scalar &  dy,
const bool &  verbose = true 
)

Definition at line 135 of file common.hh.

const Scalar msbGrid::randomAngle ( )

give randomly chosen angle

Definition at line 125 of file common.hh.

const Color msbGrid::randomColor ( )

give randomly chosen color

Definition at line 104 of file common.hh.

std :: string msbGrid::readCommandLineOptions ( int  argc,
char **  argv,
msbGrid::ParameterTree paramTree 
)

Definition at line 31 of file commandlinereader.hh.

template<typename EntityT >
bool msbGrid::sortByAngle ( const EntityAngle< EntityT > &  entAngle1,
const EntityAngle< EntityT > &  entAngle2 
)

Definition at line 42 of file polygon.hh.

void msbGrid::usage ( const char *  progName,
const std::string &  errorMsg 
)

Provides an interface for customizing error messages associated with reading in parameters.

Parameters
progNameThe name of the program.
errorMsgThe error message.

Definition at line 39 of file test1.cc.

std :: string msbGrid::usageTextBlock ( )

Definition at line 37 of file gridcreator.hh.