#include <CellBasedPdeHandler.hpp>
Inherits Identifiable.
Inherited by CellBasedPdeHandlerOnCuboid< DIM >.
A helper class, containing code for handling the numerical solution of one or more PDEs (using the finite element method) associated with a cell-based simulation object.
By letting AbstractCellBasedSimulation have a pointer to an object of this type as a member variable, we separate out all PDE-related functionality into this class, and thus obviate the need for specialized cell-based simulation subclasses.
Definition at line 60 of file CellBasedPdeHandler.hpp.
CellBasedPdeHandler< DIM >::CellBasedPdeHandler | ( | AbstractCellPopulation< DIM > * | pCellPopulation, | |
bool | deleteMemberPointersInDestructor = false | |||
) | [inline] |
Constructor.
pCellPopulation | pointer to a cell population | |
deleteMemberPointersInDestructor | whether to delete member pointers in the destructor (defaults to false) |
Definition at line 48 of file CellBasedPdeHandler.cpp.
References AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetNumRealCells(), and CellBasedPdeHandler< DIM >::mpCellPopulation.
CellBasedPdeHandler< DIM >::~CellBasedPdeHandler | ( | ) | [inline, virtual] |
Destructor.
Definition at line 65 of file CellBasedPdeHandler.cpp.
References CellBasedPdeHandler< DIM >::mDeleteMemberPointersInDestructor, CellBasedPdeHandler< DIM >::mpCoarsePdeMesh, and CellBasedPdeHandler< DIM >::mPdeAndBcCollection.
void CellBasedPdeHandler< DIM >::AddPdeAndBc | ( | PdeAndBoundaryConditions< DIM > * | pPdeAndBc | ) | [inline] |
Pass a PDE and associated boundary conditions to the simulation.
pPdeAndBc | a pointer to a PdeAndBoundaryConditions object |
Definition at line 99 of file CellBasedPdeHandler.cpp.
References EXCEPTION, CellBasedPdeHandler< DIM >::mPdeAndBcCollection, and PdeAndBoundaryConditions< DIM >::rGetDependentVariableName().
void CellBasedPdeHandler< DIM >::CloseResultsFiles | ( | ) | [inline] |
Close results files. Called by AbstractCellBasedSimulation::Solve().
Definition at line 227 of file CellBasedPdeHandler.cpp.
References PetscTools::AmMaster(), SimulationTime::Instance(), CellBasedPdeHandler< DIM >::mpAverageRadialPdeSolutionResultsFile, CellBasedPdeHandler< DIM >::mpVizPdeSolutionResultsFile, CellBasedPdeHandler< DIM >::mWriteAverageRadialPdeSolution, and CellBasedPdeHandler< DIM >::WriteAverageRadialPdeSolution().
Referenced by AbstractCellBasedSimulation< ELEMENT_DIM, SPACE_DIM >::Solve().
std::auto_ptr< BoundaryConditionsContainer< DIM, DIM, 1 > > CellBasedPdeHandler< DIM >::ConstructBoundaryConditionsContainer | ( | PdeAndBoundaryConditions< DIM > * | pPdeAndBc, | |
TetrahedralMesh< DIM, DIM > * | pMesh | |||
) | [inline, virtual] |
Helper method to construct the boundary conditions container for the PDE.
pPdeAndBc | a pointer to the PDE and BCs | |
pMesh | the mesh on which to solve the PDE |
Reimplemented in CellBasedPdeHandlerOnCuboid< DIM >.
Definition at line 473 of file CellBasedPdeHandler.cpp.
References AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::Begin(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::End(), PdeAndBoundaryConditions< DIM >::GetBoundaryCondition(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetBoundaryElementIteratorBegin(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetBoundaryElementIteratorEnd(), AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetBoundaryNodeIteratorBegin(), AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetBoundaryNodeIteratorEnd(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetElement(), AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetNode(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetNodeGlobalIndex(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetNumElements(), PdeAndBoundaryConditions< DIM >::IsNeumannBoundaryCondition(), CellBasedPdeHandler< DIM >::mCellPdeElementMap, CellBasedPdeHandler< DIM >::mpCellPopulation, CellBasedPdeHandler< DIM >::mpCoarsePdeMesh, and CellBasedPdeHandler< DIM >::mSetBcsOnCoarseBoundary.
Referenced by CellBasedPdeHandler< DIM >::SolvePdeAndWriteResultsToFile().
unsigned CellBasedPdeHandler< DIM >::FindCoarseElementContainingCell | ( | CellPtr | pCell | ) | [inline] |
Find the index of the coarse mesh element containing a given cell.
pCell | the cell |
Definition at line 544 of file CellBasedPdeHandler.cpp.
References AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetContainingElementIndex(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetElement(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetLocationOfCellCentre(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetNode(), CellBasedPdeHandler< DIM >::mCellPdeElementMap, CellBasedPdeHandler< DIM >::mpCellPopulation, and CellBasedPdeHandler< DIM >::mpCoarsePdeMesh.
const AbstractCellPopulation< DIM > * CellBasedPdeHandler< DIM >::GetCellPopulation | ( | ) | const [inline] |
Get a pointer to the cell population.
Definition at line 87 of file CellBasedPdeHandler.cpp.
References CellBasedPdeHandler< DIM >::mpCellPopulation.
TetrahedralMesh< DIM, DIM > * CellBasedPdeHandler< DIM >::GetCoarsePdeMesh | ( | ) | [inline] |
Definition at line 93 of file CellBasedPdeHandler.cpp.
References CellBasedPdeHandler< DIM >::mpCoarsePdeMesh.
bool CellBasedPdeHandler< DIM >::GetImposeBcsOnCoarseBoundary | ( | ) | [inline] |
Definition at line 815 of file CellBasedPdeHandler.cpp.
References CellBasedPdeHandler< DIM >::mSetBcsOnCoarseBoundary.
unsigned CellBasedPdeHandler< DIM >::GetNumRadialIntervals | ( | ) | [inline] |
Definition at line 821 of file CellBasedPdeHandler.cpp.
References CellBasedPdeHandler< DIM >::mNumRadialIntervals.
Vec CellBasedPdeHandler< DIM >::GetPdeSolution | ( | const std::string & | rName = "" |
) | [inline, virtual] |
rName | The name of the dependent variable for the PDE in the vector mPdeAndBcCollection. This defaults to an empty string in the case there is only one PDE. |
Definition at line 116 of file CellBasedPdeHandler.cpp.
References EXCEPTION, and CellBasedPdeHandler< DIM >::mPdeAndBcCollection.
double CellBasedPdeHandler< DIM >::GetPdeSolutionAtPoint | ( | const c_vector< double, DIM > & | rPoint, | |
const std::string & | rVariable | |||
) | [inline] |
Find the solution of one of the PDEs at a point in space
rPoint | the position in space | |
rVariable | the dependent variable of the PDE whose solution you want to find |
Definition at line 744 of file CellBasedPdeHandler.cpp.
References Element< ELEMENT_DIM, SPACE_DIM >::CalculateInterpolationWeights(), EXCEPTION, AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetContainingElementIndex(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetElement(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetNodeGlobalIndex(), PdeAndBoundaryConditions< DIM >::GetSolution(), CellBasedPdeHandler< DIM >::mpCellPopulation, CellBasedPdeHandler< DIM >::mpCoarsePdeMesh, CellBasedPdeHandler< DIM >::mPdeAndBcCollection, and NEVER_REACHED.
bool CellBasedPdeHandler< DIM >::GetWriteAverageRadialPdeSolution | ( | ) | [inline] |
Definition at line 803 of file CellBasedPdeHandler.cpp.
References CellBasedPdeHandler< DIM >::mWriteAverageRadialPdeSolution.
bool CellBasedPdeHandler< DIM >::GetWriteDailyAverageRadialPdeSolution | ( | ) | [inline] |
Definition at line 809 of file CellBasedPdeHandler.cpp.
References CellBasedPdeHandler< DIM >::mWriteDailyAverageRadialPdeSolution.
void CellBasedPdeHandler< DIM >::InitialiseCellPdeElementMap | ( | ) | [inline, protected] |
Initialise mCellPdeElementMap.
This method is only called Solve(), but is written as a separate method for testing purposes.
Definition at line 138 of file CellBasedPdeHandler.cpp.
References AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::Begin(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::End(), EXCEPTION, AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetContainingElementIndex(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetLocationOfCellCentre(), CellBasedPdeHandler< DIM >::mCellPdeElementMap, CellBasedPdeHandler< DIM >::mpCellPopulation, and CellBasedPdeHandler< DIM >::mpCoarsePdeMesh.
Referenced by CellBasedPdeHandler< DIM >::OpenResultsFiles().
void CellBasedPdeHandler< DIM >::OpenResultsFiles | ( | std::string | outputDirectory | ) | [inline] |
Open results files and write initial conditions to file. Called by AbstractCellBasedSimulation::Solve().
outputDirectory | the output directory, relative to where Chaste output is stored |
Definition at line 173 of file CellBasedPdeHandler.cpp.
References PetscTools::AmMaster(), AbstractMesh< ELEMENT_DIM, SPACE_DIM >::CalculateBoundingBox(), EXCEPTION, ChasteCuboid< SPACE_DIM >::GetWidth(), CellBasedPdeHandler< DIM >::InitialiseCellPdeElementMap(), CellBasedPdeHandler< DIM >::mDirPath, CellBasedPdeHandler< DIM >::mpAverageRadialPdeSolutionResultsFile, CellBasedPdeHandler< DIM >::mpCellPopulation, CellBasedPdeHandler< DIM >::mpCoarsePdeMesh, CellBasedPdeHandler< DIM >::mpVizPdeSolutionResultsFile, CellBasedPdeHandler< DIM >::mWriteAverageRadialPdeSolution, OutputFileHandler::OpenOutputFile(), CellBasedPdeHandler< DIM >::PdeSolveNeedsCoarseMesh(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::rGetMesh(), CellBasedPdeHandler< DIM >::UseCoarsePdeMesh(), and AbstractTetrahedralMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFilesUsingMesh().
Referenced by AbstractCellBasedSimulation< ELEMENT_DIM, SPACE_DIM >::Solve().
void CellBasedPdeHandler< DIM >::OutputParameters | ( | out_stream & | rParamsFile | ) | [inline, virtual] |
Output parameters to file.
rParamsFile | the file stream to which the parameters are output |
Reimplemented in CellBasedPdeHandlerOnCuboid< DIM >.
Definition at line 827 of file CellBasedPdeHandler.cpp.
References Identifiable::GetIdentifier(), CellBasedPdeHandler< DIM >::mNumRadialIntervals, CellBasedPdeHandler< DIM >::mSetBcsOnCoarseBoundary, CellBasedPdeHandler< DIM >::mWriteAverageRadialPdeSolution, and CellBasedPdeHandler< DIM >::mWriteDailyAverageRadialPdeSolution.
Referenced by AbstractCellBasedSimulation< ELEMENT_DIM, SPACE_DIM >::OutputSimulationParameters().
bool CellBasedPdeHandler< DIM >::PdeSolveNeedsCoarseMesh | ( | ) | [inline, protected] |
Definition at line 840 of file CellBasedPdeHandler.cpp.
References CellBasedPdeHandler< DIM >::mpCellPopulation.
Referenced by CellBasedPdeHandler< DIM >::OpenResultsFiles().
void CellBasedPdeHandler< DIM >::serialize | ( | Archive & | archive, | |
const unsigned int | version | |||
) | [inline, private] |
Archive the member variables.
archive | the archive | |
version | the current version of this class |
Reimplemented in CellBasedPdeHandlerOnCuboid< DIM >.
Definition at line 78 of file CellBasedPdeHandler.hpp.
void CellBasedPdeHandler< DIM >::SetImposeBcsOnCoarseBoundary | ( | bool | setBcsOnCoarseBoundary | ) | [inline] |
Impose the PDE boundary conditions on the edge of the cell population when using the coarse mesh. The default option is to impose the condition on the boundary of the coarse mesh.
setBcsOnCoarseBoundary | whether to impose the BCs on the edge of the cell population |
Definition at line 679 of file CellBasedPdeHandler.cpp.
References CellBasedPdeHandler< DIM >::mSetBcsOnCoarseBoundary.
void CellBasedPdeHandler< DIM >::SetWriteAverageRadialPdeSolution | ( | const std::string & | rName, | |
unsigned | numRadialIntervals = 10 , |
|||
bool | writeDailyResults = false | |||
) | [inline] |
Write the final (and optionally also the daily) average radial PDE solution to file.
rName | The name of the quantity that we are averaging. | |
numRadialIntervals | The number of radial intervals in which the average PDE solution is calculated (defaults to 10) | |
writeDailyResults | Whether to record the average radial PDE solution at the end of each day of the simulation (defaults to false) |
Definition at line 670 of file CellBasedPdeHandler.cpp.
References CellBasedPdeHandler< DIM >::mAverageRadialSolutionVariableName, CellBasedPdeHandler< DIM >::mNumRadialIntervals, CellBasedPdeHandler< DIM >::mWriteAverageRadialPdeSolution, and CellBasedPdeHandler< DIM >::mWriteDailyAverageRadialPdeSolution.
void CellBasedPdeHandler< DIM >::SolvePdeAndWriteResultsToFile | ( | unsigned | samplingTimestepMultiple | ) | [inline, virtual] |
Solve the PDE and write the solution to file.
samplingTimestepMultiple | the ratio of the number of actual timesteps to the number of timesteps at which results are written to file. |
Definition at line 308 of file CellBasedPdeHandler.cpp.
References AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::Begin(), Element< ELEMENT_DIM, SPACE_DIM >::CalculateInterpolationWeights(), CellBasedPdeHandler< DIM >::ConstructBoundaryConditionsContainer(), PetscTools::Destroy(), PdeAndBoundaryConditions< DIM >::DestroySolution(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::End(), AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetElement(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetLocationIndexUsingCell(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetLocationOfCellCentre(), AbstractElement< ELEMENT_DIM, SPACE_DIM >::GetNodeGlobalIndex(), AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetNumNodes(), PdeAndBoundaryConditions< DIM >::GetPde(), PdeAndBoundaryConditions< DIM >::GetSolution(), SimulationTime::GetTime(), SimulationTime::GetTimeStep(), SimulationTime::GetTimeStepsElapsed(), PdeAndBoundaryConditions< DIM >::HasAveragedSourcePde(), SimulationTime::Instance(), CellBasedPdeHandler< DIM >::mCellPdeElementMap, CellBasedPdeHandler< DIM >::mpCellPopulation, CellBasedPdeHandler< DIM >::mpCoarsePdeMesh, CellBasedPdeHandler< DIM >::mPdeAndBcCollection, CellBasedPdeHandler< DIM >::mWriteDailyAverageRadialPdeSolution, PdeAndBoundaryConditions< DIM >::SetSolution(), PdeAndBoundaryConditions< DIM >::SetUpSourceTermsForAveragedSourcePde(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::Update(), CellBasedPdeHandler< DIM >::UpdateCellPdeElementMap(), CellBasedPdeHandler< DIM >::WriteAverageRadialPdeSolution(), and CellBasedPdeHandler< DIM >::WritePdeSolution().
Referenced by AbstractCellBasedSimulation< ELEMENT_DIM, SPACE_DIM >::Solve().
void CellBasedPdeHandler< DIM >::UpdateCellPdeElementMap | ( | ) | [inline] |
Update the mCellPdeElementMap
This method should be called before sending the element map to a PDE class to ensure map is up to date.
Definition at line 159 of file CellBasedPdeHandler.cpp.
References AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::Begin(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::End(), TetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::GetContainingElementIndexWithInitialGuess(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetLocationOfCellCentre(), CellBasedPdeHandler< DIM >::mCellPdeElementMap, CellBasedPdeHandler< DIM >::mpCellPopulation, and CellBasedPdeHandler< DIM >::mpCoarsePdeMesh.
Referenced by CellBasedPdeHandler< DIM >::SolvePdeAndWriteResultsToFile().
void CellBasedPdeHandler< DIM >::UseCoarsePdeMesh | ( | double | stepSize, | |
ChasteCuboid< DIM > | meshCuboid, | |||
bool | centreOnCellPopulation = false | |||
) | [inline, virtual] |
Solve the PDE problem on a coarse mesh.
stepSize | horizontal and vertical distance between mesh points | |
meshCuboid | the cuboid defining the size and location of the mesh. | |
centreOnCellPopulation | whether to centre the coarse mesh on the centre of the cell population. |
Definition at line 242 of file CellBasedPdeHandler.cpp.
References AbstractTetrahedralMesh< ELEMENT_DIM, SPACE_DIM >::ConstructRegularSlabMesh(), EXCEPTION, AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetCentroidOfCellPopulation(), AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetNode(), AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetNumNodes(), ChasteCuboid< SPACE_DIM >::GetWidth(), CellBasedPdeHandler< DIM >::mpCellPopulation, CellBasedPdeHandler< DIM >::mpCoarsePdeMesh, CellBasedPdeHandler< DIM >::mPdeAndBcCollection, NEVER_REACHED, ChastePoint< DIM >::rGetLocation(), ChasteCuboid< SPACE_DIM >::rGetLowerCorner(), ChasteCuboid< SPACE_DIM >::rGetUpperCorner(), and AbstractMesh< ELEMENT_DIM, SPACE_DIM >::Translate().
Referenced by CellBasedPdeHandler< DIM >::OpenResultsFiles().
void CellBasedPdeHandler< DIM >::WriteAverageRadialPdeSolution | ( | double | time | ) | [inline, protected] |
Write the average radial PDE solution to file at a specified time.
Outputs a line of space-separated values of the form: [time] [radius interval 0] [average solution 0] [radius interval 1] [average solution 1] ...
time | The time at which to record the average radial PDE solution |
Definition at line 685 of file CellBasedPdeHandler.cpp.
References AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::Begin(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::End(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetCentroidOfCellPopulation(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetLocationOfCellCentre(), CellBasedPdeHandler< DIM >::mAverageRadialSolutionVariableName, CellBasedPdeHandler< DIM >::mNumRadialIntervals, and CellBasedPdeHandler< DIM >::mpCellPopulation.
Referenced by CellBasedPdeHandler< DIM >::CloseResultsFiles(), and CellBasedPdeHandler< DIM >::SolvePdeAndWriteResultsToFile().
void CellBasedPdeHandler< DIM >::WritePdeSolution | ( | double | time | ) | [inline, protected, virtual] |
Write the PDE solution to file at a specified time.
Outputs a line of space-separated values of the form: [time] [node 0 index] [node 0 x-pos] [node 0 y-pos] [node 0 z-pos] [node 0 solution] ...
where [node 0 index] is equal to 0 if mpCoarsePdeMesh exists, otherwise [node 0 index] is the location index corresponding to the cell first encountered by the cell population Iterator, and so on.
time | The time at which to record the PDE solution |
Definition at line 576 of file CellBasedPdeHandler.cpp.
References VtkMeshWriter< ELEMENT_DIM, SPACE_DIM >::AddPointData(), PetscTools::AmMaster(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::Begin(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::End(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetLocationIndexUsingCell(), AbstractCellPopulation< ELEMENT_DIM, SPACE_DIM >::GetLocationOfCellCentre(), AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetNode(), AbstractMesh< ELEMENT_DIM, SPACE_DIM >::GetNumNodes(), PdeAndBoundaryConditions< DIM >::GetSolution(), SimulationTime::GetTimeStepsElapsed(), SimulationTime::Instance(), CellBasedPdeHandler< DIM >::mDirPath, CellBasedPdeHandler< DIM >::mpCellPopulation, CellBasedPdeHandler< DIM >::mpCoarsePdeMesh, CellBasedPdeHandler< DIM >::mPdeAndBcCollection, NEVER_REACHED, PdeAndBoundaryConditions< DIM >::rGetDependentVariableName(), and VtkMeshWriter< ELEMENT_DIM, SPACE_DIM >::WriteFilesUsingMesh().
Referenced by CellBasedPdeHandler< DIM >::SolvePdeAndWriteResultsToFile().
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented in CellBasedPdeHandlerOnCuboid< DIM >.
Definition at line 70 of file CellBasedPdeHandler.hpp.
std::string CellBasedPdeHandler< DIM >::mAverageRadialSolutionVariableName [protected] |
The name of the quantity that gets averaged.
Definition at line 112 of file CellBasedPdeHandler.hpp.
Referenced by CellBasedPdeHandler< SPACE_DIM >::serialize(), CellBasedPdeHandler< DIM >::SetWriteAverageRadialPdeSolution(), and CellBasedPdeHandler< DIM >::WriteAverageRadialPdeSolution().
std::map<CellPtr, unsigned> CellBasedPdeHandler< DIM >::mCellPdeElementMap [protected] |
Map between cells and the elements of the coarse PDE mesh containing them.
Definition at line 124 of file CellBasedPdeHandler.hpp.
Referenced by CellBasedPdeHandler< DIM >::ConstructBoundaryConditionsContainer(), CellBasedPdeHandler< DIM >::FindCoarseElementContainingCell(), CellBasedPdeHandler< DIM >::InitialiseCellPdeElementMap(), CellBasedPdeHandler< DIM >::SolvePdeAndWriteResultsToFile(), and CellBasedPdeHandler< DIM >::UpdateCellPdeElementMap().
bool CellBasedPdeHandler< DIM >::mDeleteMemberPointersInDestructor [protected] |
Whether to delete member pointers in the destructor. Used in archiving.
Definition at line 130 of file CellBasedPdeHandler.hpp.
Referenced by CellBasedPdeHandler< DIM >::~CellBasedPdeHandler().
std::string CellBasedPdeHandler< DIM >::mDirPath [protected] |
A cache of where the results are going (used for VTK writer).
Definition at line 97 of file CellBasedPdeHandler.hpp.
Referenced by CellBasedPdeHandler< DIM >::OpenResultsFiles(), and CellBasedPdeHandler< DIM >::WritePdeSolution().
unsigned CellBasedPdeHandler< DIM >::mNumRadialIntervals [protected] |
Number of radial 'bins' used to calculate the average radial PDE solution.
Definition at line 118 of file CellBasedPdeHandler.hpp.
Referenced by CellBasedPdeHandler< DIM >::GetNumRadialIntervals(), CellBasedPdeHandler< DIM >::OutputParameters(), CellBasedPdeHandler< SPACE_DIM >::serialize(), CellBasedPdeHandler< DIM >::SetWriteAverageRadialPdeSolution(), and CellBasedPdeHandler< DIM >::WriteAverageRadialPdeSolution().
out_stream CellBasedPdeHandler< DIM >::mpAverageRadialPdeSolutionResultsFile [protected] |
File that the average radial PDE solution is written out to.
Definition at line 103 of file CellBasedPdeHandler.hpp.
Referenced by CellBasedPdeHandler< DIM >::CloseResultsFiles(), and CellBasedPdeHandler< DIM >::OpenResultsFiles().
AbstractCellPopulation<DIM>* CellBasedPdeHandler< DIM >::mpCellPopulation [protected] |
Pointer to a cell population.
Definition at line 91 of file CellBasedPdeHandler.hpp.
Referenced by CellBasedPdeHandler< DIM >::CellBasedPdeHandler(), CellBasedPdeHandler< DIM >::ConstructBoundaryConditionsContainer(), CellBasedPdeHandler< DIM >::FindCoarseElementContainingCell(), CellBasedPdeHandler< DIM >::GetCellPopulation(), CellBasedPdeHandler< DIM >::GetPdeSolutionAtPoint(), CellBasedPdeHandler< DIM >::InitialiseCellPdeElementMap(), CellBasedPdeHandler< DIM >::OpenResultsFiles(), CellBasedPdeHandler< DIM >::PdeSolveNeedsCoarseMesh(), CellBasedPdeHandler< DIM >::SolvePdeAndWriteResultsToFile(), CellBasedPdeHandler< DIM >::UpdateCellPdeElementMap(), CellBasedPdeHandler< DIM >::UseCoarsePdeMesh(), CellBasedPdeHandler< DIM >::WriteAverageRadialPdeSolution(), and CellBasedPdeHandler< DIM >::WritePdeSolution().
TetrahedralMesh<DIM,DIM>* CellBasedPdeHandler< DIM >::mpCoarsePdeMesh [protected] |
Coarse mesh on which to solve the PDE.
Definition at line 121 of file CellBasedPdeHandler.hpp.
Referenced by CellBasedPdeHandler< DIM >::ConstructBoundaryConditionsContainer(), CellBasedPdeHandler< DIM >::FindCoarseElementContainingCell(), CellBasedPdeHandler< DIM >::GetCoarsePdeMesh(), CellBasedPdeHandler< DIM >::GetPdeSolutionAtPoint(), CellBasedPdeHandler< DIM >::InitialiseCellPdeElementMap(), CellBasedPdeHandler< DIM >::OpenResultsFiles(), CellBasedPdeHandler< DIM >::SolvePdeAndWriteResultsToFile(), CellBasedPdeHandler< DIM >::UpdateCellPdeElementMap(), CellBasedPdeHandler< DIM >::UseCoarsePdeMesh(), CellBasedPdeHandler< DIM >::WritePdeSolution(), and CellBasedPdeHandler< DIM >::~CellBasedPdeHandler().
std::vector<PdeAndBoundaryConditions<DIM>*> CellBasedPdeHandler< DIM >::mPdeAndBcCollection [protected] |
Vector of pointers to linear elliptic PDE objects with additional boundary condition information.
Definition at line 94 of file CellBasedPdeHandler.hpp.
Referenced by CellBasedPdeHandler< DIM >::AddPdeAndBc(), CellBasedPdeHandler< DIM >::GetPdeSolution(), CellBasedPdeHandler< DIM >::GetPdeSolutionAtPoint(), CellBasedPdeHandler< SPACE_DIM >::serialize(), CellBasedPdeHandler< DIM >::SolvePdeAndWriteResultsToFile(), CellBasedPdeHandler< DIM >::UseCoarsePdeMesh(), CellBasedPdeHandler< DIM >::WritePdeSolution(), and CellBasedPdeHandler< DIM >::~CellBasedPdeHandler().
out_stream CellBasedPdeHandler< DIM >::mpVizPdeSolutionResultsFile [protected] |
File that the values of the PDE solution are written out to.
Definition at line 100 of file CellBasedPdeHandler.hpp.
Referenced by CellBasedPdeHandler< DIM >::CloseResultsFiles(), and CellBasedPdeHandler< DIM >::OpenResultsFiles().
bool CellBasedPdeHandler< DIM >::mSetBcsOnCoarseBoundary [protected] |
Whether to set the boundary condition on the edge of the coarse mesh rather than the cell population.
Definition at line 115 of file CellBasedPdeHandler.hpp.
Referenced by CellBasedPdeHandler< DIM >::ConstructBoundaryConditionsContainer(), CellBasedPdeHandler< DIM >::GetImposeBcsOnCoarseBoundary(), CellBasedPdeHandler< DIM >::OutputParameters(), CellBasedPdeHandler< SPACE_DIM >::serialize(), and CellBasedPdeHandler< DIM >::SetImposeBcsOnCoarseBoundary().
bool CellBasedPdeHandler< DIM >::mWriteAverageRadialPdeSolution [protected] |
Whether to write to file the average radial PDE solution.
Definition at line 106 of file CellBasedPdeHandler.hpp.
Referenced by CellBasedPdeHandler< DIM >::CloseResultsFiles(), CellBasedPdeHandler< DIM >::GetWriteAverageRadialPdeSolution(), CellBasedPdeHandler< DIM >::OpenResultsFiles(), CellBasedPdeHandler< DIM >::OutputParameters(), CellBasedPdeHandler< SPACE_DIM >::serialize(), and CellBasedPdeHandler< DIM >::SetWriteAverageRadialPdeSolution().
bool CellBasedPdeHandler< DIM >::mWriteDailyAverageRadialPdeSolution [protected] |
Whether to write the average radial PDE solution daily.
Definition at line 109 of file CellBasedPdeHandler.hpp.
Referenced by CellBasedPdeHandler< DIM >::GetWriteDailyAverageRadialPdeSolution(), CellBasedPdeHandler< DIM >::OutputParameters(), CellBasedPdeHandler< SPACE_DIM >::serialize(), CellBasedPdeHandler< DIM >::SetWriteAverageRadialPdeSolution(), and CellBasedPdeHandler< DIM >::SolvePdeAndWriteResultsToFile().