#include <AbstractCellPopulationWriter.hpp>
Inherits AbstractCellBasedWriter< ELEMENT_DIM, SPACE_DIM >.
Inherited by BoundaryNodeWriter< 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 >, VertexT1SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT2SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT3SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, and VoronoiDataWriter< ELEMENT_DIM, SPACE_DIM >.
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 |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Friends | |
class | boost::serialization::access |
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 60 of file AbstractCellPopulationWriter.hpp.
AbstractCellPopulationWriter< ELEMENT_DIM, SPACE_DIM >::AbstractCellPopulationWriter | ( | const std::string & | rFileName | ) | [inline] |
Default constructor.
rFileName | the name of the file to write to. |
Definition at line 44 of file AbstractCellPopulationWriter.cpp.
void AbstractCellPopulationWriter< ELEMENT_DIM, SPACE_DIM >::serialize | ( | Archive & | archive, | |
const unsigned int | version | |||
) | [inline, private] |
Serialize the object and its member variables.
archive | the archive | |
version | the current version of this class |
Reimplemented from AbstractCellBasedWriter< ELEMENT_DIM, SPACE_DIM >.
Reimplemented in BoundaryNodeWriter< 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 >, VertexT1SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT2SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT3SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, and VoronoiDataWriter< ELEMENT_DIM, SPACE_DIM >.
Definition at line 72 of file AbstractCellPopulationWriter.hpp.
virtual void AbstractCellPopulationWriter< ELEMENT_DIM, SPACE_DIM >::Visit | ( | VertexBasedCellPopulation< SPACE_DIM > * | pCellPopulation | ) | [pure virtual] |
Visit the population and write the data.
pCellPopulation | a pointer to the VertexBasedCellPopulation to visit. |
Implemented in BoundaryNodeWriter< 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 >, VertexT1SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT2SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT3SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, and VoronoiDataWriter< ELEMENT_DIM, SPACE_DIM >.
virtual void AbstractCellPopulationWriter< ELEMENT_DIM, SPACE_DIM >::Visit | ( | PottsBasedCellPopulation< SPACE_DIM > * | pCellPopulation | ) | [pure virtual] |
Visit the population and write the data.
pCellPopulation | a pointer to the PottsBasedCellPopulation to visit. |
Implemented in BoundaryNodeWriter< 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 >, VertexT1SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT2SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT3SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, and VoronoiDataWriter< ELEMENT_DIM, SPACE_DIM >.
virtual void AbstractCellPopulationWriter< ELEMENT_DIM, SPACE_DIM >::Visit | ( | NodeBasedCellPopulation< SPACE_DIM > * | pCellPopulation | ) | [pure virtual] |
Visit the population and write the data.
pCellPopulation | a pointer to the NodeBasedCellPopulation to visit. |
Implemented in BoundaryNodeWriter< 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 >, VertexT1SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT2SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT3SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, and VoronoiDataWriter< ELEMENT_DIM, SPACE_DIM >.
virtual void AbstractCellPopulationWriter< ELEMENT_DIM, SPACE_DIM >::Visit | ( | CaBasedCellPopulation< SPACE_DIM > * | pCellPopulation | ) | [pure virtual] |
Visit the population and write the data.
pCellPopulation | a pointer to the CaBasedCellPopulation to visit. |
Implemented in BoundaryNodeWriter< 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 >, VertexT1SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT2SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT3SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, and VoronoiDataWriter< ELEMENT_DIM, SPACE_DIM >.
virtual void AbstractCellPopulationWriter< ELEMENT_DIM, SPACE_DIM >::Visit | ( | MeshBasedCellPopulation< ELEMENT_DIM, SPACE_DIM > * | pCellPopulation | ) | [pure virtual] |
Visit the population and write the data.
pCellPopulation | a pointer to the MeshBasedCellPopulation to visit. |
Implemented in BoundaryNodeWriter< 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 >, VertexT1SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT2SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT3SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, and VoronoiDataWriter< ELEMENT_DIM, SPACE_DIM >.
void AbstractCellPopulationWriter< ELEMENT_DIM, SPACE_DIM >::WriteHeader | ( | AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM > * | pCellPopulation | ) | [inline, virtual] |
Write the header to file.
pCellPopulation | a pointer to the population to be written. |
Definition at line 50 of file AbstractCellPopulationWriter.cpp.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractCellBasedWriter< ELEMENT_DIM, SPACE_DIM >.
Reimplemented in BoundaryNodeWriter< 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 >, VertexT1SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT2SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, VertexT3SwapLocationsWriter< ELEMENT_DIM, SPACE_DIM >, and VoronoiDataWriter< ELEMENT_DIM, SPACE_DIM >.
Definition at line 64 of file AbstractCellPopulationWriter.hpp.