Chaste
Build::
|
#include <CellBasedDiscreteSource.hpp>
Public Member Functions | |
CellBasedDiscreteSource () | |
virtual | ~CellBasedDiscreteSource () |
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 | SetConstantInUConsumptionRatePerCell (units::quantity< unit::molar_flow_rate > value) |
void | SetLinearInUConsumptionRatePerCell (units::quantity< unit::rate > 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< CellBasedDiscreteSource< DIM > > | Create () |
Static Public Member Functions inherited from DiscreteSource< DIM > | |
static boost::shared_ptr< DiscreteSource< DIM > > | Create () |
Protected Attributes | |
units::quantity< unit::molar_flow_rate > | mCellConstantInUValue |
units::quantity< unit::rate > | mCellLinearInUValue |
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 |
This class calculates the value of discrete sources at grid/mesh locations for cells
Definition at line 52 of file CellBasedDiscreteSource.hpp.
CellBasedDiscreteSource< DIM >::CellBasedDiscreteSource | ( | ) |
Constructor
Definition at line 43 of file CellBasedDiscreteSource.cpp.
|
virtual |
Destructor
Definition at line 52 of file CellBasedDiscreteSource.cpp.
|
static |
Factory constructor method
Definition at line 58 of file CellBasedDiscreteSource.cpp.
|
virtual |
Return the values of the source strengths sampled on the mesh elements
Reimplemented from DiscreteSource< DIM >.
Definition at line 65 of file CellBasedDiscreteSource.cpp.
References CellBasedDiscreteSource< DIM >::mCellConstantInUValue, and DiscreteSource< DIM >::mpMesh.
|
virtual |
Return the values of the source strengths sampled on the regular grid
Reimplemented from DiscreteSource< DIM >.
Definition at line 104 of file CellBasedDiscreteSource.cpp.
References CellBasedDiscreteSource< DIM >::mCellConstantInUValue, and DiscreteSource< DIM >::mpRegularGrid.
|
virtual |
Return the values of the source strengths sampled on the mesh elements
Reimplemented from DiscreteSource< DIM >.
Definition at line 87 of file CellBasedDiscreteSource.cpp.
References CellBasedDiscreteSource< DIM >::mCellLinearInUValue, and DiscreteSource< DIM >::mpMesh.
|
virtual |
Return the values of the source strengths sampled on the regular grid
Reimplemented from DiscreteSource< DIM >.
Definition at line 125 of file CellBasedDiscreteSource.cpp.
References CellBasedDiscreteSource< DIM >::mCellLinearInUValue, and DiscreteSource< DIM >::mpRegularGrid.
void CellBasedDiscreteSource< DIM >::SetConstantInUConsumptionRatePerCell | ( | units::quantity< unit::molar_flow_rate > | value | ) |
Set the value of the source for PRESCRIBED type sources
value | the value of the source |
Definition at line 142 of file CellBasedDiscreteSource.cpp.
References CellBasedDiscreteSource< DIM >::mCellConstantInUValue.
void CellBasedDiscreteSource< DIM >::SetLinearInUConsumptionRatePerCell | ( | units::quantity< unit::rate > | value | ) |
Set the value of the source for PRESCRIBED type sources
value | the value of the source |
Definition at line 148 of file CellBasedDiscreteSource.cpp.
References CellBasedDiscreteSource< DIM >::mCellLinearInUValue.
|
protected |
The linear in U rate of consumption per cell
Definition at line 60 of file CellBasedDiscreteSource.hpp.
Referenced by CellBasedDiscreteSource< DIM >::GetConstantInUMeshValues(), CellBasedDiscreteSource< DIM >::GetConstantInURegularGridValues(), and CellBasedDiscreteSource< DIM >::SetConstantInUConsumptionRatePerCell().
|
protected |
The constant in U rate of consumption per cell
Definition at line 65 of file CellBasedDiscreteSource.hpp.
Referenced by CellBasedDiscreteSource< DIM >::GetLinearInUMeshValues(), CellBasedDiscreteSource< DIM >::GetLinearInURegularGridValues(), and CellBasedDiscreteSource< DIM >::SetLinearInUConsumptionRatePerCell().