CellBasedPdeHandlerOnCuboid< DIM > Class Template Reference

#include <CellBasedPdeHandlerOnCuboid.hpp>

Inherits CellBasedPdeHandler< DIM >.

Collaboration diagram for CellBasedPdeHandlerOnCuboid< DIM >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CellBasedPdeHandlerOnCuboid (AbstractCellPopulation< DIM > *pCellPopulation, bool deleteMemberPointersInDestructor=false)
virtual ~CellBasedPdeHandlerOnCuboid ()
std::auto_ptr
< BoundaryConditionsContainer
< DIM, DIM, 1 > > 
ConstructBoundaryConditionsContainer (PdeAndBoundaryConditions< DIM > *pPdeAndBc, TetrahedralMesh< DIM, DIM > *pMesh)
virtual void OutputParameters (out_stream &rParamsFile)

Private Member Functions

template<class Archive >
void serialize (Archive &archive, const unsigned int version)

Private Attributes

std::vector
< ConstBoundaryCondition< DIM > * > 
mConstBoundaryConditions

Friends

class TestCellBasedPdeHandler
class TestOffLatticeSimulationWithPdes
class TestOnLatticeSimulationWithPdes
class boost::serialization::access

Detailed Description

template<unsigned DIM>
class 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 56 of file CellBasedPdeHandlerOnCuboid.hpp.


Constructor & Destructor Documentation

template<unsigned DIM>
CellBasedPdeHandlerOnCuboid< DIM >::CellBasedPdeHandlerOnCuboid ( AbstractCellPopulation< DIM > *  pCellPopulation,
bool  deleteMemberPointersInDestructor = false 
) [inline]

Constructor.

Parameters:
pCellPopulation pointer to a cell population
deleteMemberPointersInDestructor whether to delete member pointers in the destructor (defaults to false)

Definition at line 40 of file CellBasedPdeHandlerOnCuboid.cpp.

template<unsigned DIM>
CellBasedPdeHandlerOnCuboid< DIM >::~CellBasedPdeHandlerOnCuboid (  )  [inline, virtual]

Member Function Documentation

template<unsigned DIM>
std::auto_ptr< BoundaryConditionsContainer< DIM, DIM, 1 > > CellBasedPdeHandlerOnCuboid< DIM >::ConstructBoundaryConditionsContainer ( PdeAndBoundaryConditions< DIM > *  pPdeAndBc,
TetrahedralMesh< DIM, DIM > *  pMesh 
) [inline, virtual]
template<unsigned DIM>
void CellBasedPdeHandlerOnCuboid< DIM >::OutputParameters ( out_stream &  rParamsFile  )  [inline, virtual]

Output parameters to file.

Parameters:
rParamsFile the file stream to which the parameters are output

Reimplemented from CellBasedPdeHandler< DIM >.

Definition at line 189 of file CellBasedPdeHandlerOnCuboid.cpp.

template<unsigned DIM>
template<class Archive >
void CellBasedPdeHandlerOnCuboid< DIM >::serialize ( Archive &  archive,
const unsigned int  version 
) [inline, private]

Archive the member variables.

Parameters:
archive the archive
version the current version of this class

Reimplemented from CellBasedPdeHandler< DIM >.

Definition at line 77 of file CellBasedPdeHandlerOnCuboid.hpp.


Friends And Related Function Documentation

template<unsigned DIM>
friend class boost::serialization::access [friend]

Needed for serialization.

Reimplemented from CellBasedPdeHandler< DIM >.

Definition at line 69 of file CellBasedPdeHandlerOnCuboid.hpp.


Member Data Documentation

template<unsigned DIM>
std::vector<ConstBoundaryCondition<DIM>* > CellBasedPdeHandlerOnCuboid< DIM >::mConstBoundaryConditions [private]

Container for pointers to boundary conditions that are passed into the boundary condition containers.

Definition at line 66 of file CellBasedPdeHandlerOnCuboid.hpp.

Referenced by CellBasedPdeHandlerOnCuboid< DIM >::ConstructBoundaryConditionsContainer(), and CellBasedPdeHandlerOnCuboid< DIM >::~CellBasedPdeHandlerOnCuboid().


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2