NuTo
Numerics Tool
Public Member Functions | List of all members
NuTo::CellData Class Reference

Extracts 'cell data' like nodal values from the cell. More...

#include <CellData.h>

Public Member Functions

 CellData (const ElementCollection &elements, int cellId)
 
int GetCellId () const
 
Eigen::VectorXd GetCoordinates () const
 
const Eigen::VectorXd & GetNodeValues (DofType dofType, int instance=0) const
 
const ElementCollectionElements () const
 

Detailed Description

Extracts 'cell data' like nodal values from the cell.

Remarks
The life time of objects of this class is limited to the evaluation of one NuTo::Cell. This class will calculate (and cache) all the information that are required once per cell. Classic example: NodeValues. Even if GetNodeValues() is called 42 times, they should only be extracted once.

Constructor & Destructor Documentation

NuTo::CellData::CellData ( const ElementCollection elements,
int  cellId 
)
inline

Member Function Documentation

const ElementCollection& NuTo::CellData::Elements ( ) const
inline
int NuTo::CellData::GetCellId ( ) const
inline
Eigen::VectorXd NuTo::CellData::GetCoordinates ( ) const
inline
const Eigen::VectorXd& NuTo::CellData::GetNodeValues ( DofType  dofType,
int  instance = 0 
) const
inline

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