![]() |
Chaste Commit::333233612e3dcc941d260418acd7b5ccdc30390e
|
#include <AbstractCellPopulationWriter.hpp>
Public Member Functions | |
AbstractCellPopulationWriter (const std::string &rFileName) | |
virtual void | WriteHeader (AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation) |
virtual void | Visit (MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM > *pCellPopulation)=0 |
virtual void | Visit (CaBasedCellPopulation< SPACE_DIM > *pCellPopulation)=0 |
virtual void | Visit (NodeBasedCellPopulation< SPACE_DIM > *pCellPopulation)=0 |
virtual void | Visit (PottsBasedCellPopulation< SPACE_DIM > *pCellPopulation)=0 |
virtual void | Visit (VertexBasedCellPopulation< SPACE_DIM > *pCellPopulation)=0 |
virtual void | Visit (ImmersedBoundaryCellPopulation< SPACE_DIM > *pCellPopulation)=0 |
![]() | |
AbstractCellBasedWriter (const std::string &rFileName) | |
virtual | ~AbstractCellBasedWriter () |
void | CloseFile () |
virtual void | OpenOutputFile (OutputFileHandler &rOutputFileHandler) |
void | OpenOutputFileForAppend (OutputFileHandler &rOutputFileHandler) |
virtual void | WriteTimeStamp () |
virtual void | WriteNewline () |
void | SetFileName (std::string fileName) |
std::string | GetFileName () |
![]() | |
virtual | ~Identifiable () |
std::string | GetIdentifier () const |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Friends | |
class | boost::serialization::access |
Additional Inherited Members | |
![]() | |
std::string | mFileName |
out_stream | mpOutStream |
Abstract class for a writer that takes information from an AbstractCellPopulation and writes it to file.
The key difference between this class and AbstractCellPopulationCountWriter is that writers inheriting from this class ARE compatible with a RoundRobin loop. For such writers, each process can write its part of the information without knowing anything about the other processes as long as they are not interfering with the writing itself.
Definition at line 62 of file AbstractCellPopulationWriter.hpp.
AbstractCellPopulationWriter< ELEMENT_DIM, SPACE_DIM >::AbstractCellPopulationWriter | ( | const std::string & | rFileName | ) |
Default constructor.
rFileName | the name of the file to write to. |
Definition at line 41 of file AbstractCellPopulationWriter.cpp.
|
inlineprivate |
Serialize the object and its member variables.
archive | the archive |
version | the current version of this class |
Definition at line 74 of file AbstractCellPopulationWriter.hpp.
|
pure virtual |
Visit the population and write the data.
As this method is pure virtual, it must be overridden in subclasses.
pCellPopulation | a pointer to the CaBasedCellPopulation to visit. |
Implemented in BoundaryNodeWriter< ELEMENT_DIM, SPACE_DIM >, CellPopulationAdjacencyMatrixWriter< ELEMENT_DIM, SPACE_DIM >, CellPopulationAreaWriter< ELEMENT_DIM, SPACE_DIM >, CellPopulationElementWriter< ELEMENT_DIM, SPACE_DIM >, HeterotypicBoundaryLengthWriter< ELEMENT_DIM, SPACE_DIM >, NodeLocationWriter< ELEMENT_DIM, SPACE_DIM >, NodeVelocityWriter< ELEMENT_DIM, SPACE_DIM >, RadialCellDataDistributionWriter< ELEMENT_DIM, SPACE_DIM >, VertexIntersectionSwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT1SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT2SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT3SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, and VoronoiDataWriter< ELEMENT_DIM, SPACE_DIM >.
|
pure virtual |
Visit the population and write the data.
As this method is pure virtual, it must be overridden in subclasses.
pCellPopulation | a pointer to the ImmersedBoundaryCellPopulation to visit. |
Implemented in BoundaryNodeWriter< ELEMENT_DIM, SPACE_DIM >, CellPopulationAdjacencyMatrixWriter< ELEMENT_DIM, SPACE_DIM >, CellPopulationAreaWriter< ELEMENT_DIM, SPACE_DIM >, CellPopulationElementWriter< ELEMENT_DIM, SPACE_DIM >, HeterotypicBoundaryLengthWriter< ELEMENT_DIM, SPACE_DIM >, NodeLocationWriter< ELEMENT_DIM, SPACE_DIM >, NodeVelocityWriter< ELEMENT_DIM, SPACE_DIM >, RadialCellDataDistributionWriter< ELEMENT_DIM, SPACE_DIM >, VertexIntersectionSwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT1SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT2SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT3SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, and VoronoiDataWriter< ELEMENT_DIM, SPACE_DIM >.
|
pure virtual |
Visit the population and write the data.
As this method is pure virtual, it must be overridden in subclasses.
pCellPopulation | a pointer to the MeshBasedCellPopulation to visit. |
Implemented in BoundaryNodeWriter< ELEMENT_DIM, SPACE_DIM >, CellPopulationAdjacencyMatrixWriter< ELEMENT_DIM, SPACE_DIM >, CellPopulationAreaWriter< ELEMENT_DIM, SPACE_DIM >, CellPopulationElementWriter< ELEMENT_DIM, SPACE_DIM >, HeterotypicBoundaryLengthWriter< ELEMENT_DIM, SPACE_DIM >, NodeLocationWriter< ELEMENT_DIM, SPACE_DIM >, NodeVelocityWriter< ELEMENT_DIM, SPACE_DIM >, RadialCellDataDistributionWriter< ELEMENT_DIM, SPACE_DIM >, VertexIntersectionSwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT1SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT2SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT3SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, and VoronoiDataWriter< ELEMENT_DIM, SPACE_DIM >.
|
pure virtual |
Visit the population and write the data.
As this method is pure virtual, it must be overridden in subclasses.
pCellPopulation | a pointer to the NodeBasedCellPopulation to visit. |
Implemented in BoundaryNodeWriter< ELEMENT_DIM, SPACE_DIM >, CellPopulationAdjacencyMatrixWriter< ELEMENT_DIM, SPACE_DIM >, CellPopulationAreaWriter< ELEMENT_DIM, SPACE_DIM >, CellPopulationElementWriter< ELEMENT_DIM, SPACE_DIM >, HeterotypicBoundaryLengthWriter< ELEMENT_DIM, SPACE_DIM >, NodeLocationWriter< ELEMENT_DIM, SPACE_DIM >, NodeVelocityWriter< ELEMENT_DIM, SPACE_DIM >, RadialCellDataDistributionWriter< ELEMENT_DIM, SPACE_DIM >, VertexIntersectionSwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT1SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT2SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT3SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, and VoronoiDataWriter< ELEMENT_DIM, SPACE_DIM >.
|
pure virtual |
Visit the population and write the data.
As this method is pure virtual, it must be overridden in subclasses.
pCellPopulation | a pointer to the PottsBasedCellPopulation to visit. |
Implemented in BoundaryNodeWriter< ELEMENT_DIM, SPACE_DIM >, CellPopulationAdjacencyMatrixWriter< ELEMENT_DIM, SPACE_DIM >, CellPopulationAreaWriter< ELEMENT_DIM, SPACE_DIM >, CellPopulationElementWriter< ELEMENT_DIM, SPACE_DIM >, HeterotypicBoundaryLengthWriter< ELEMENT_DIM, SPACE_DIM >, NodeLocationWriter< ELEMENT_DIM, SPACE_DIM >, NodeVelocityWriter< ELEMENT_DIM, SPACE_DIM >, RadialCellDataDistributionWriter< ELEMENT_DIM, SPACE_DIM >, VertexIntersectionSwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT1SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT2SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT3SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, and VoronoiDataWriter< ELEMENT_DIM, SPACE_DIM >.
|
pure virtual |
Visit the population and write the data.
As this method is pure virtual, it must be overridden in subclasses.
pCellPopulation | a pointer to the VertexBasedCellPopulation to visit. |
Implemented in BoundaryNodeWriter< ELEMENT_DIM, SPACE_DIM >, CellPopulationAdjacencyMatrixWriter< ELEMENT_DIM, SPACE_DIM >, CellPopulationAreaWriter< ELEMENT_DIM, SPACE_DIM >, CellPopulationElementWriter< ELEMENT_DIM, SPACE_DIM >, HeterotypicBoundaryLengthWriter< ELEMENT_DIM, SPACE_DIM >, NodeLocationWriter< ELEMENT_DIM, SPACE_DIM >, NodeVelocityWriter< ELEMENT_DIM, SPACE_DIM >, RadialCellDataDistributionWriter< ELEMENT_DIM, SPACE_DIM >, VertexIntersectionSwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT1SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT2SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT3SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, and VoronoiDataWriter< ELEMENT_DIM, SPACE_DIM >.
|
virtual |
Write the header to file.
pCellPopulation | a pointer to the population to be written. |
Definition at line 47 of file AbstractCellPopulationWriter.cpp.
Needed for serialization.
Definition at line 66 of file AbstractCellPopulationWriter.hpp.