Chaste  Build::
VesselBasedDiscreteSource< DIM > Class Template Reference

#include <VesselBasedDiscreteSource.hpp>

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

Public Member Functions

 VesselBasedDiscreteSource ()
 
virtual ~VesselBasedDiscreteSource ()
 
std::vector< units::quantity< unit::concentration_flow_rate > > GetConstantInUMeshValues ()
 
std::vector< units::quantity< unit::rate > > GetLinearInUMeshValues ()
 
std::vector< units::quantity< unit::concentration_flow_rate > > GetConstantInURegularGridValues ()
 
std::vector< units::quantity< unit::rate > > GetLinearInURegularGridValues ()
 
void SetVesselPermeability (units::quantity< unit::membrane_permeability > value)
 
void SetReferenceConcentration (units::quantity< unit::concentration > value)
 
void SetReferenceHaematocrit (units::quantity< unit::dimensionless > value)
 
- Public Member Functions inherited from DiscreteSource< DIM >
 DiscreteSource ()
 
virtual ~DiscreteSource ()
 
void SetLabelName (const std::string &rLabel)
 
void SetPoints (std::vector< DimensionalChastePoint< DIM > > points)
 
void SetRegularGrid (boost::shared_ptr< RegularGrid< DIM > > pRegularGrid)
 
void SetMesh (boost::shared_ptr< DiscreteContinuumMesh< DIM, DIM > > pMesh)
 
void SetConstantInUValue (units::quantity< unit::concentration_flow_rate > value)
 
void SetLinearInUValue (units::quantity< unit::rate > value)
 

Static Public Member Functions

static boost::shared_ptr< VesselBasedDiscreteSource< DIM > > Create ()
 
- Static Public Member Functions inherited from DiscreteSource< DIM >
static boost::shared_ptr< DiscreteSource< DIM > > Create ()
 

Protected Attributes

units::quantity< unit::membrane_permeability > mVesselPermeability
 
units::quantity< unit::concentration > mReferenceConcentration
 
units::quantity< unit::dimensionless > mReferenceHaematocrit
 
- Protected Attributes inherited from DiscreteSource< DIM >
boost::shared_ptr< RegularGrid< DIM > > mpRegularGrid
 
boost::shared_ptr< DiscreteContinuumMesh< DIM, DIM > > mpMesh
 
std::vector< DimensionalChastePoint< DIM > > mPoints
 
std::string mLabel
 
units::quantity< unit::concentration_flow_rate > mConstantInUValue
 
units::quantity< unit::rate > mLinearInUValue
 

Detailed Description

template<unsigned DIM>
class VesselBasedDiscreteSource< DIM >

This class calculates the value of discrete sources at grid/mesh locations for vessels

Definition at line 52 of file VesselBasedDiscreteSource.hpp.

Constructor & Destructor Documentation

template<unsigned DIM>
VesselBasedDiscreteSource< DIM >::VesselBasedDiscreteSource ( )

Constructor

Definition at line 43 of file VesselBasedDiscreteSource.cpp.

template<unsigned DIM>
VesselBasedDiscreteSource< DIM >::~VesselBasedDiscreteSource ( )
virtual

Destructor

Definition at line 53 of file VesselBasedDiscreteSource.cpp.

Member Function Documentation

template<unsigned DIM>
boost::shared_ptr< VesselBasedDiscreteSource< DIM > > VesselBasedDiscreteSource< DIM >::Create ( )
static

Factory constructor method

Returns
a pointer to an instance of the class

Definition at line 59 of file VesselBasedDiscreteSource.cpp.

template<unsigned DIM>
std::vector< units::quantity< unit::concentration_flow_rate > > VesselBasedDiscreteSource< DIM >::GetConstantInUMeshValues ( )
virtual

Return the values of the source strengths sampled on the mesh elements

Returns
a vector of source strengths

Reimplemented from DiscreteSource< DIM >.

Definition at line 66 of file VesselBasedDiscreteSource.cpp.

References DiscreteSource< DIM >::mpMesh, VesselBasedDiscreteSource< DIM >::mReferenceConcentration, VesselBasedDiscreteSource< DIM >::mReferenceHaematocrit, and VesselBasedDiscreteSource< DIM >::mVesselPermeability.

template<unsigned DIM>
std::vector< units::quantity< unit::concentration_flow_rate > > VesselBasedDiscreteSource< DIM >::GetConstantInURegularGridValues ( )
virtual

Return the values of the source strengths sampled on the regular grid

Returns
a vector of source strengths

Reimplemented from DiscreteSource< DIM >.

Definition at line 161 of file VesselBasedDiscreteSource.cpp.

References DiscreteSource< DIM >::mpRegularGrid, VesselBasedDiscreteSource< DIM >::mReferenceConcentration, VesselBasedDiscreteSource< DIM >::mReferenceHaematocrit, and VesselBasedDiscreteSource< DIM >::mVesselPermeability.

template<unsigned DIM>
std::vector< units::quantity< unit::rate > > VesselBasedDiscreteSource< DIM >::GetLinearInUMeshValues ( )
virtual

Return the values of the source strengths sampled on the mesh elements

Returns
a vector of source strengths

Reimplemented from DiscreteSource< DIM >.

Definition at line 113 of file VesselBasedDiscreteSource.cpp.

References DiscreteSource< DIM >::mpMesh, and VesselBasedDiscreteSource< DIM >::mVesselPermeability.

template<unsigned DIM>
std::vector< units::quantity< unit::rate > > VesselBasedDiscreteSource< DIM >::GetLinearInURegularGridValues ( )
virtual

Return the values of the source strengths sampled on the regular grid

Returns
a vector of source strengths

Reimplemented from DiscreteSource< DIM >.

Definition at line 185 of file VesselBasedDiscreteSource.cpp.

References DiscreteSource< DIM >::mpRegularGrid, and VesselBasedDiscreteSource< DIM >::mVesselPermeability.

template<unsigned DIM>
void VesselBasedDiscreteSource< DIM >::SetReferenceConcentration ( units::quantity< unit::concentration >  value)

Set the value of the source for PRESCRIBED type sources

Parameters
valuethe value of the source

Definition at line 217 of file VesselBasedDiscreteSource.cpp.

References VesselBasedDiscreteSource< DIM >::mReferenceConcentration.

template<unsigned DIM>
void VesselBasedDiscreteSource< DIM >::SetReferenceHaematocrit ( units::quantity< unit::dimensionless >  value)

Set the value of the source for PRESCRIBED type sources

Parameters
valuethe value of the source

Definition at line 223 of file VesselBasedDiscreteSource.cpp.

References VesselBasedDiscreteSource< DIM >::mReferenceHaematocrit.

template<unsigned DIM>
void VesselBasedDiscreteSource< DIM >::SetVesselPermeability ( units::quantity< unit::membrane_permeability >  value)

Set the value of the source for PRESCRIBED type sources

Parameters
valuethe value of the source

Definition at line 211 of file VesselBasedDiscreteSource.cpp.

References VesselBasedDiscreteSource< DIM >::mVesselPermeability.

Member Data Documentation

template<unsigned DIM>
units::quantity<unit::concentration> VesselBasedDiscreteSource< DIM >::mReferenceConcentration
protected
template<unsigned DIM>
units::quantity<unit::dimensionless> VesselBasedDiscreteSource< DIM >::mReferenceHaematocrit
protected

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