Chaste  Release::3.4
VolumeDependentAveragedSourcePde< DIM > Class Template Reference

#include <VolumeDependentAveragedSourcePde.hpp>

+ Inheritance diagram for VolumeDependentAveragedSourcePde< DIM >:
+ Collaboration diagram for VolumeDependentAveragedSourcePde< DIM >:

Public Member Functions

 VolumeDependentAveragedSourcePde (AbstractCellPopulation< DIM > &rCellPopulation, double coefficient=0.0)
 
void SetupSourceTerms (TetrahedralMesh< DIM, DIM > &rCoarseMesh, std::map< CellPtr, unsigned > *pCellPdeElementMap=NULL)
 
- Public Member Functions inherited from AveragedSourcePde< DIM >
 AveragedSourcePde (AbstractCellPopulation< DIM > &rCellPopulation, double coefficient=0.0)
 
const AbstractCellPopulation
< DIM > & 
rGetCellPopulation () const
 
double GetCoefficient () const
 
double ComputeConstantInUSourceTerm (const ChastePoint< DIM > &rX, Element< DIM, DIM > *pElement)
 
double ComputeLinearInUCoeffInSourceTerm (const ChastePoint< DIM > &rX, Element< DIM, DIM > *pElement)
 
c_matrix< double, DIM, DIM > ComputeDiffusionTerm (const ChastePoint< DIM > &rX)
 
double GetUptakeRateForElement (unsigned elementIndex)
 
- Public Member Functions inherited from AbstractLinearEllipticPde< DIM, DIM >
 AbstractLinearEllipticPde ()
 
virtual ~AbstractLinearEllipticPde ()
 
virtual double ComputeConstantInUSourceTerm (const ChastePoint< SPACE_DIM > &rX, Element< ELEMENT_DIM, SPACE_DIM > *pElement)=0
 
virtual double ComputeLinearInUCoeffInSourceTerm (const ChastePoint< SPACE_DIM > &rX, Element< ELEMENT_DIM, SPACE_DIM > *pElement)=0
 
virtual c_matrix< double,
SPACE_DIM, SPACE_DIM > 
ComputeDiffusionTerm (const ChastePoint< SPACE_DIM > &rX)=0
 
virtual double ComputeConstantInUSourceTermAtNode (const Node< SPACE_DIM > &rNode)
 
virtual double ComputeLinearInUCoeffInSourceTermAtNode (const Node< SPACE_DIM > &rNode)
 

Private Member Functions

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

Private Attributes

NodeBasedCellPopulation< DIM > * mpStaticCastCellPopulation
 

Friends

class TestCellBasedPdes
 
class boost::serialization::access
 

Additional Inherited Members

- Protected Attributes inherited from AveragedSourcePde< DIM >
AbstractCellPopulation< DIM > & mrCellPopulation
 
double mCoefficient
 
std::vector< doublemCellDensityOnCoarseElements
 

Detailed Description

template<unsigned DIM>
class VolumeDependentAveragedSourcePde< DIM >

A PDE which calculates the source term by adding the number of cells in the element containing that point and scaling by the element area.

Definition at line 52 of file VolumeDependentAveragedSourcePde.hpp.

Constructor & Destructor Documentation

template<unsigned DIM>
VolumeDependentAveragedSourcePde< DIM >::VolumeDependentAveragedSourcePde ( AbstractCellPopulation< DIM > &  rCellPopulation,
double  coefficient = 0.0 
)

Constructor.

Parameters
rCellPopulationreference to the cell population
coefficientthe coefficient of consumption of nutrient by cells (defaults to 0.0)

Definition at line 40 of file VolumeDependentAveragedSourcePde.cpp.

References VolumeDependentAveragedSourcePde< DIM >::mpStaticCastCellPopulation, and AveragedSourcePde< DIM >::mrCellPopulation.

Member Function Documentation

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

Serialize the PDE and its member variables.

Parameters
archivethe archive
versionthe current version of this class

Definition at line 67 of file VolumeDependentAveragedSourcePde.hpp.

template<unsigned DIM>
void VolumeDependentAveragedSourcePde< DIM >::SetupSourceTerms ( TetrahedralMesh< DIM, DIM > &  rCoarseMesh,
std::map< CellPtr, unsigned > *  pCellPdeElementMap = NULL 
)
virtual

Friends And Related Function Documentation

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

Needed for serialization.

Definition at line 59 of file VolumeDependentAveragedSourcePde.hpp.

Member Data Documentation

template<unsigned DIM>
NodeBasedCellPopulation<DIM>* VolumeDependentAveragedSourcePde< DIM >::mpStaticCastCellPopulation
private

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