Chaste Commit::baa90ac2819b962188b7562f2326be23c47859a7
|
#include <AbstractNonlinearElasticitySolver.hpp>
Public Member Functions | |
StressPerElementWriter (AbstractTetrahedralMesh< DIM, DIM > *pMesh, AbstractNonlinearElasticitySolver< DIM > *pSolver) | |
void | Visit (Element< DIM, DIM > *pElement, unsigned localIndex, c_vector< double, DIM *DIM > &rData) |
Public Member Functions inherited from AbstractPerElementWriter< DIM, DIM, DIM *DIM > | |
AbstractPerElementWriter (AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > *pMesh) | |
void | WriteData (OutputFileHandler &rHandler, const std::string &rFileName) |
void | SetWriteFileAsBinary (bool binary=true) |
virtual | ~AbstractPerElementWriter () |
Private Attributes | |
AbstractNonlinearElasticitySolver< DIM > * | mpSolver |
Additional Inherited Members | |
Protected Member Functions inherited from AbstractPerElementWriter< DIM, DIM, DIM *DIM > | |
virtual void | Visit (Element< ELEMENT_DIM, SPACE_DIM > *pElement, unsigned localElementIndex, c_vector< double, DATA_SIZE > &rData)=0 |
virtual void | WriteElementOnMaster (const c_vector< double, DATA_SIZE > &rData) |
virtual void | WriteHeaderOnMaster () |
virtual void | PreWriteCalculations (OutputFileHandler &rOutputDirectory) |
Protected Attributes inherited from AbstractPerElementWriter< DIM, DIM, DIM *DIM > | |
AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM > * | mpMesh |
out_stream | mpMasterFile |
Helper class for dumping the stresses to file.
Currently located here so that it's easy to feed a pointer to the main class AbstractNonlinearElasticitySolver
Definition at line 142 of file AbstractNonlinearElasticitySolver.hpp.
|
inline |
Constructor
pMesh | A pointer to the mesh whose elements we want to calculate data on. |
pSolver | A pointer to the parent class, used to access data |
Definition at line 152 of file AbstractNonlinearElasticitySolver.hpp.
|
inline |
How to associate an element with the stress data
pElement | a locally-owned element for which to calculate or lookup some data |
localIndex | the index (in mElements) of pElement |
rData | the double-precision data to write to file (output from the method) |
Definition at line 166 of file AbstractNonlinearElasticitySolver.hpp.
References AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetIndex(), and StressPerElementWriter< DIM >::mpSolver.
|
private |
Pointer to the parent class, set in constructor
Definition at line 145 of file AbstractNonlinearElasticitySolver.hpp.
Referenced by StressPerElementWriter< DIM >::Visit().