35 #include "AbstractCellWriter.hpp"
36 #include "AbstractCellPopulation.hpp"
39 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
42 mOutputScalarData(true),
43 mOutputVectorData(false),
44 mVtkCellDataName(
"DefaultVtkCellDataName"),
45 mVtkVectorCellDataName(
"DefaultVtkVectorCellDataName")
49 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
52 return mOutputScalarData;
55 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
58 return mOutputVectorData;
61 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
64 mVtkCellDataName = vtkCellDataName;
67 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
70 mVtkVectorCellDataName = vtkCellDataName;
73 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
81 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
89 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
92 return mVtkCellDataName;
95 template<
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
98 return mVtkVectorCellDataName;
AbstractCellWriter(const std::string &rFileName)
void SetVtkCellDataName(std::string vtkCellDataName)
virtual double GetCellDataForVtkOutput(CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)
const double DOUBLE_UNSET
void SetVtkVectorCellDataName(std::string vtkCellDataName)
virtual c_vector< double, SPACE_DIM > GetVectorCellDataForVtkOutput(CellPtr pCell, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)
bool GetOutputScalarData()
std::string GetVtkVectorCellDataName()
std::string GetVtkCellDataName()
bool GetOutputVectorData()