MPM-Geomechanics
Material Point Method for simulating geo-materials under large deformation conditions
Loading...
Searching...
No Matches
Cell Class Reference

#include <Cell.h>

Public Member Functions

 Cell ()
 
void computeVolume ()
 
double getVolume () const
 
int getId () const
 
std::vector< Node * > getNodes () const
 
void setNodes (const std::vector< Node * > &nodes)
 

Private Attributes

std::vector< Node * > nodes
 
double volume
 
int id
 

Constructor & Destructor Documentation

◆ Cell()

Cell::Cell ( )
inline

Member Function Documentation

◆ computeVolume()

void Cell::computeVolume ( )
inline

◆ getId()

int Cell::getId ( ) const
inline

◆ getNodes()

std::vector< Node * > Cell::getNodes ( ) const
inline

◆ getVolume()

double Cell::getVolume ( ) const
inline

◆ setNodes()

void Cell::setNodes ( const std::vector< Node * > & nodes)
inline

Member Data Documentation

◆ id

int Cell::id
private

◆ nodes

std::vector<Node*> Cell::nodes
private

◆ volume

double Cell::volume
private

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