Chaste
Build::
|
Public Member Functions | |
DiscreteContinuumBoundaryCondition () | |
virtual | ~DiscreteContinuumBoundaryCondition () |
BoundaryConditionType::Value | GetType () |
units::quantity< unit::concentration > | GetValue () |
void | SetNetwork (boost::shared_ptr< VesselNetwork< DIM > > pNetwork) |
std::pair< bool, units::quantity< unit::concentration > > | GetValue (DimensionalChastePoint< DIM > location, double tolerance) |
void | UpdateBoundaryConditionContainer (boost::shared_ptr< BoundaryConditionsContainer< DIM, DIM, 1 > > pContainer) |
void | UpdateRegularGridPointBoundaryConditions (boost::shared_ptr< std::vector< std::pair< bool, units::quantity< unit::concentration > > > >pBoundaryConditions) |
void | UpdateRegularGridFacetBoundaryConditions (boost::shared_ptr< std::vector< std::pair< bool, units::quantity< unit::concentration > > > >pBoundaryConditions) |
void | UpdateRegularGridSegmentBoundaryConditions (boost::shared_ptr< std::vector< std::pair< bool, units::quantity< unit::concentration > > > >pBoundaryConditions) |
void | UpdateRegularGridPartBoundaryConditions (boost::shared_ptr< std::vector< std::pair< bool, units::quantity< unit::concentration > > > >pBoundaryConditions) |
void | UpdateRegularGridCellBoundaryConditions (boost::shared_ptr< std::vector< std::pair< bool, units::quantity< unit::concentration > > > >pBoundaryConditions) |
void | UpdateRegularGridBoundaryConditions (boost::shared_ptr< std::vector< std::pair< bool, units::quantity< unit::concentration > > > > pBoundaryConditions) |
void | SetDomain (boost::shared_ptr< Part< DIM > > pDomain) |
void | SetLabelName (const std::string &label) |
void | SetMesh (boost::shared_ptr< DiscreteContinuumMesh< DIM, DIM > > pMesh) |
void | SetPoints (std::vector< DimensionalChastePoint< DIM > > points) |
void | SetRegularGrid (boost::shared_ptr< RegularGrid< DIM > > pRegularGrid) |
void | SetSource (BoundaryConditionSource::Value boundarySource) |
void | SetType (BoundaryConditionType::Value boundaryType) |
void | SetValue (units::quantity< unit::concentration > value) |
Static Public Member Functions | |
static boost::shared_ptr< DiscreteContinuumBoundaryCondition< DIM > > | Create () |
Protected Attributes | |
boost::shared_ptr< Part< DIM > > | mpDomain |
std::vector< DimensionalChastePoint< DIM > > | mPoints |
BoundaryConditionType::Value | mType |
BoundaryConditionSource::Value | mSource |
std::string | mLabel |
units::quantity< unit::concentration > | mValue |
boost::shared_ptr< RegularGrid< DIM > > | mpRegularGrid |
boost::shared_ptr< DiscreteContinuumMesh< DIM, DIM > > | mpMesh |
boost::shared_ptr< VesselNetwork< DIM > > | mpNetwork |
units::quantity< unit::concentration > | mReferenceConcentration |
Definition at line 78 of file DiscreteContinuumBoundaryCondition.hpp.
DiscreteContinuumBoundaryCondition< DIM >::DiscreteContinuumBoundaryCondition | ( | ) |
Constructor
Definition at line 44 of file DiscreteContinuumBoundaryCondition.cpp.
|
virtual |
Destructor
Definition at line 60 of file DiscreteContinuumBoundaryCondition.cpp.
|
static |
Factory constructor method
Definition at line 72 of file DiscreteContinuumBoundaryCondition.cpp.
BoundaryConditionType::Value DiscreteContinuumBoundaryCondition< DIM >::GetType | ( | ) |
Return the type of boundary condition, POINT, FACET, OUTER etc.
Definition at line 85 of file DiscreteContinuumBoundaryCondition.cpp.
References DiscreteContinuumBoundaryCondition< DIM >::mType.
units::quantity< unit::concentration > DiscreteContinuumBoundaryCondition< DIM >::GetValue | ( | ) |
Return the default value of the boundary condition
Definition at line 79 of file DiscreteContinuumBoundaryCondition.cpp.
References DiscreteContinuumBoundaryCondition< DIM >::mValue.
Referenced by DiscreteContinuumBoundaryCondition< DIM >::UpdateBoundaryConditionContainer().
std::pair< bool, units::quantity< unit::concentration > > DiscreteContinuumBoundaryCondition< DIM >::GetValue | ( | DimensionalChastePoint< DIM > | location, |
double | tolerance | ||
) |
Return the value of the boundary condition evaluated at a point and whether the point is on a boundary
location | the location of the point |
tolerance | the tolerance for evaluating if a point is on a boundary |
Definition at line 182 of file DiscreteContinuumBoundaryCondition.cpp.
References DimensionalChastePoint< DIM >::GetReferenceLengthScale(), DiscreteContinuumBoundaryCondition< DIM >::mLabel, DiscreteContinuumBoundaryCondition< DIM >::mpDomain, DiscreteContinuumBoundaryCondition< DIM >::mPoints, DiscreteContinuumBoundaryCondition< DIM >::mpRegularGrid, DiscreteContinuumBoundaryCondition< DIM >::mType, and DiscreteContinuumBoundaryCondition< DIM >::mValue.
void DiscreteContinuumBoundaryCondition< DIM >::SetDomain | ( | boost::shared_ptr< Part< DIM > > | pDomain | ) |
Set a domain for use in the calculation of FACET type boundary conditions
pDomain | the part containing labelled facets for the boundary condition |
Definition at line 444 of file DiscreteContinuumBoundaryCondition.cpp.
References DiscreteContinuumBoundaryCondition< DIM >::mpDomain.
void DiscreteContinuumBoundaryCondition< DIM >::SetLabelName | ( | const std::string & | label | ) |
Set the name of the label used in LABEL type sources
rLabel | the label for the source strength value |
Definition at line 480 of file DiscreteContinuumBoundaryCondition.cpp.
References DiscreteContinuumBoundaryCondition< DIM >::mLabel.
void DiscreteContinuumBoundaryCondition< DIM >::SetMesh | ( | boost::shared_ptr< DiscreteContinuumMesh< DIM, DIM > > | pMesh | ) |
Set the finite element mesh
pMesh | the finite element mesh |
Definition at line 474 of file DiscreteContinuumBoundaryCondition.cpp.
References DiscreteContinuumBoundaryCondition< DIM >::mpMesh.
void DiscreteContinuumBoundaryCondition< DIM >::SetPoints | ( | std::vector< DimensionalChastePoint< DIM > > | points | ) |
Set the points for POINT type boundary conditions
points | the point locations for POINT type boundary conditions |
Definition at line 450 of file DiscreteContinuumBoundaryCondition.cpp.
References DiscreteContinuumBoundaryCondition< DIM >::mPoints.
void DiscreteContinuumBoundaryCondition< DIM >::SetRegularGrid | ( | boost::shared_ptr< RegularGrid< DIM > > | pRegularGrid | ) |
Set the regular grid
pRegularGrid | the regular grid |
Definition at line 468 of file DiscreteContinuumBoundaryCondition.cpp.
References DiscreteContinuumBoundaryCondition< DIM >::mpRegularGrid.
void DiscreteContinuumBoundaryCondition< DIM >::SetSource | ( | BoundaryConditionSource::Value | boundarySource | ) |
Set where the value of the boundary condition is obtained, e.g. LABEL, PRESCRIBED
boundarySource | enum specifying where the value of the boundary condition is obtained |
Definition at line 456 of file DiscreteContinuumBoundaryCondition.cpp.
References DiscreteContinuumBoundaryCondition< DIM >::mSource.
void DiscreteContinuumBoundaryCondition< DIM >::SetType | ( | BoundaryConditionType::Value | boundaryType | ) |
Set the type of boundary condition, e.g. POINT, FACET
boundaryType | enum specifying the type of boundary condition |
Definition at line 462 of file DiscreteContinuumBoundaryCondition.cpp.
References DiscreteContinuumBoundaryCondition< DIM >::mType.
void DiscreteContinuumBoundaryCondition< DIM >::SetValue | ( | units::quantity< unit::concentration > | value | ) |
Set the default value of the boundary condition for any points on the boundary
value | the default value of the boundary condition for any points on the boundary |
Definition at line 486 of file DiscreteContinuumBoundaryCondition.cpp.
References DiscreteContinuumBoundaryCondition< DIM >::mValue.
void DiscreteContinuumBoundaryCondition< DIM >::UpdateBoundaryConditionContainer | ( | boost::shared_ptr< BoundaryConditionsContainer< DIM, DIM, 1 > > | pContainer | ) |
Update the boundary conditions container for use with the finite element solver
pContainer | the boundary condition container |
Definition at line 91 of file DiscreteContinuumBoundaryCondition.cpp.
References DimensionalChastePoint< DIM >::GetIndex(), DiscreteContinuumBoundaryCondition< DIM >::GetValue(), DiscreteContinuumBoundaryCondition< DIM >::mpDomain, DiscreteContinuumBoundaryCondition< DIM >::mpMesh, DiscreteContinuumBoundaryCondition< DIM >::mType, and DiscreteContinuumBoundaryCondition< DIM >::mValue.
void DiscreteContinuumBoundaryCondition< DIM >::UpdateRegularGridBoundaryConditions | ( | boost::shared_ptr< std::vector< std::pair< bool, units::quantity< unit::concentration > > > > | pBoundaryConditions | ) |
Update the boundary conditions on the regular grid
pBoundaryConditions | the boundary condition container |
tolerance | the tolerance for evaluating if a point is on a boundary |
Definition at line 406 of file DiscreteContinuumBoundaryCondition.cpp.
References DiscreteContinuumBoundaryCondition< DIM >::mpRegularGrid, DiscreteContinuumBoundaryCondition< DIM >::mType, and DiscreteContinuumBoundaryCondition< DIM >::mValue.
|
protected |
A label specifying the array name from which to obtain the condition magnitude. Used for LABEL conditions.
Definition at line 107 of file DiscreteContinuumBoundaryCondition.hpp.
Referenced by DiscreteContinuumBoundaryCondition< DIM >::GetValue(), and DiscreteContinuumBoundaryCondition< DIM >::SetLabelName().
|
protected |
A part for prescribing part and facet based conditions
Definition at line 86 of file DiscreteContinuumBoundaryCondition.hpp.
Referenced by DiscreteContinuumBoundaryCondition< DIM >::GetValue(), DiscreteContinuumBoundaryCondition< DIM >::SetDomain(), and DiscreteContinuumBoundaryCondition< DIM >::UpdateBoundaryConditionContainer().
|
protected |
The mesh for solvers using finite element meshes
Definition at line 122 of file DiscreteContinuumBoundaryCondition.hpp.
Referenced by DiscreteContinuumBoundaryCondition< DIM >::SetMesh(), and DiscreteContinuumBoundaryCondition< DIM >::UpdateBoundaryConditionContainer().
|
protected |
Point locations for POINT type conditions
Definition at line 91 of file DiscreteContinuumBoundaryCondition.hpp.
Referenced by DiscreteContinuumBoundaryCondition< DIM >::GetValue(), and DiscreteContinuumBoundaryCondition< DIM >::SetPoints().
|
protected |
The grid for solvers using regular grids
Definition at line 117 of file DiscreteContinuumBoundaryCondition.hpp.
Referenced by DiscreteContinuumBoundaryCondition< DIM >::GetValue(), DiscreteContinuumBoundaryCondition< DIM >::SetRegularGrid(), and DiscreteContinuumBoundaryCondition< DIM >::UpdateRegularGridBoundaryConditions().
|
protected |
Where the boundary condition value is obtained from
Definition at line 101 of file DiscreteContinuumBoundaryCondition.hpp.
Referenced by DiscreteContinuumBoundaryCondition< DIM >::SetSource().
|
protected |
The type of boundary condition
Definition at line 96 of file DiscreteContinuumBoundaryCondition.hpp.
Referenced by DiscreteContinuumBoundaryCondition< DIM >::GetType(), DiscreteContinuumBoundaryCondition< DIM >::GetValue(), DiscreteContinuumBoundaryCondition< DIM >::SetType(), DiscreteContinuumBoundaryCondition< DIM >::UpdateBoundaryConditionContainer(), and DiscreteContinuumBoundaryCondition< DIM >::UpdateRegularGridBoundaryConditions().
|
protected |
The prescribed value of the boundary condition.
Definition at line 112 of file DiscreteContinuumBoundaryCondition.hpp.
Referenced by DiscreteContinuumBoundaryCondition< DIM >::GetValue(), DiscreteContinuumBoundaryCondition< DIM >::SetValue(), DiscreteContinuumBoundaryCondition< DIM >::UpdateBoundaryConditionContainer(), and DiscreteContinuumBoundaryCondition< DIM >::UpdateRegularGridBoundaryConditions().