GenGeo  1.1
Model2D Class Reference

#include <Model2D.h>

Collaboration diagram for Model2D:

Public Member Functions

 Model2D (const Vector3 &, const Vector3 &, double)
 ~Model2D ()
int AddParticleGroup (AParticleGroup *)
void WriteAsGeoFile (const string &)

Private Attributes

MNTable2Dm_ntable
list< AParticleGroup * > m_pgroups
Vector3 m_min_pt
Vector3 m_max_pt
int m_ngroups
int m_max_gid

Constructor & Destructor Documentation

Model2D::Model2D ( const Vector3 Pmin,
const Vector3 Pmax,
double  cdim 
)

constructor

Parameters
Pminminimum point
Pmaxmaximum point
cdimcell dimension for neigbour table

References m_max_gid, m_max_pt, m_min_pt, m_ngroups, and m_ntable.

Model2D::~Model2D ( )

destructor

References m_ntable.

Member Function Documentation

int Model2D::AddParticleGroup ( AParticleGroup *  PGPtr)

Add particle group

Parameters
PGPtrpointer to particle group
Returns
id of the particle group

References MNTable2D::GrowNGroups(), m_max_gid, m_ngroups, m_ntable, and m_pgroups.

Here is the call graph for this function:

void Model2D::WriteAsGeoFile ( const string &  filename)

Write Geonmetry out to file

Parameters
filenamethe filename

References m_max_pt, m_min_pt, and m_ntable.

Member Data Documentation

int Model2D::m_max_gid
private

Referenced by AddParticleGroup(), and Model2D().

Vector3 Model2D::m_max_pt
private

Referenced by Model2D(), and WriteAsGeoFile().

Vector3 Model2D::m_min_pt
private

Referenced by Model2D(), and WriteAsGeoFile().

int Model2D::m_ngroups
private

Referenced by AddParticleGroup(), and Model2D().

MNTable2D* Model2D::m_ntable
private
list<AParticleGroup*> Model2D::m_pgroups
private

Referenced by AddParticleGroup().


The documentation for this class was generated from the following files: