![]() |
Chaste Commit::333233612e3dcc941d260418acd7b5ccdc30390e
|
#include <ParallelCellsGenerator.hpp>
Public Member Functions | |
void | GenerateParallelCells (std::string archivePath, std::vector< CellPtr > &cells, NodesOnlyMesh< DIM > &mesh, boost::shared_ptr< AbstractCellProperty > pCellProliferativeType=boost::shared_ptr< AbstractCellProperty >()) |
Private Member Functions | |
c_vector< double, 2 *DIM > | GetArchiveBoundingBox (std::string archivePath) |
Friends | |
class | TestParallelCellsGenerator |
A helper class for generating a vector of cells and a NodesOnlyMesh from an archive file without loading all cells to memory on each processor.
Definition at line 50 of file ParallelCellsGenerator.hpp.
void ParallelCellsGenerator< CELL_CYCLE_MODEL, DIM >::GenerateParallelCells | ( | std::string | archivePath, |
std::vector< CellPtr > & | cells, | ||
NodesOnlyMesh< DIM > & | mesh, | ||
boost::shared_ptr< AbstractCellProperty > | pCellProliferativeType = boost::shared_ptr<AbstractCellProperty>() |
||
) |
Generate nodes and cells for a given decomposition of space, dictated by mesh.
archivePath | the name of the file containing the cell locations |
cells | a reference to an empty vector into which cells can be inserted. |
mesh | a reference to the mesh that will store the nodes. |
pCellProliferativeType | the proliferative type of the cells. |
Definition at line 81 of file ParallelCellsGenerator.hpp.
References CellPropertyRegistry::Instance().
|
private |
Calculate the bounding box of all positions in the archive path.
archivePath | the path to the cell location archive. |
Definition at line 144 of file ParallelCellsGenerator.hpp.
References EXCEPTION.
|
friend |
Definition at line 52 of file ParallelCellsGenerator.hpp.