![]() |
Chaste
Build::
|
#include <SolutionDependentDiscreteSource.hpp>
Inheritance diagram for SolutionDependentDiscreteSource< DIM >:
Collaboration diagram for SolutionDependentDiscreteSource< DIM >:Public Member Functions | |
| SolutionDependentDiscreteSource () | |
| virtual | ~SolutionDependentDiscreteSource () |
| virtual std::vector< units::quantity< unit::concentration_flow_rate > > | GetConstantInUMeshValues () |
| virtual std::vector< units::quantity< unit::rate > > | GetLinearInUMeshValues () |
| virtual std::vector< units::quantity< unit::concentration_flow_rate > > | GetConstantInURegularGridValues () |
| virtual std::vector< units::quantity< unit::rate > > | GetLinearInURegularGridValues () |
| void | SetSolution (std::vector< units::quantity< unit::concentration > > solution) |
| void | SetConstantInUSinkRatePerSolutionQuantity (units::quantity< unit::rate > value) |
| void | SetLinearInUSinkRatePerSolutionQuantity (units::quantity< unit::rate_per_concentration > 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< SolutionDependentDiscreteSource< DIM > > | Create () |
Static Public Member Functions inherited from DiscreteSource< DIM > | |
| static boost::shared_ptr< DiscreteSource< DIM > > | Create () |
Protected Attributes | |
| std::vector< units::quantity< unit::concentration > > | mpSolution |
| units::quantity< unit::rate > | mConstantInUSinkRatePerSolutionQuantity |
| units::quantity< unit::rate_per_concentration > | mLinearInUSinkRatePerSolutionQuantity |
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 based on a solution interpolated on another grid or mesh.
Definition at line 53 of file SolutionDependentDiscreteSource.hpp.
| SolutionDependentDiscreteSource< DIM >::SolutionDependentDiscreteSource | ( | ) |
Constructor
Definition at line 42 of file SolutionDependentDiscreteSource.cpp.
|
virtual |
Destructor
Definition at line 52 of file SolutionDependentDiscreteSource.cpp.
|
static |
Factory constructor method
Definition at line 58 of file SolutionDependentDiscreteSource.cpp.
|
virtual |
Return the values of the source strengths sampled on the mesh elements
Reimplemented from DiscreteSource< DIM >.
Definition at line 65 of file SolutionDependentDiscreteSource.cpp.
References SolutionDependentDiscreteSource< DIM >::mConstantInUSinkRatePerSolutionQuantity, DiscreteSource< DIM >::mpMesh, and SolutionDependentDiscreteSource< DIM >::mpSolution.
|
virtual |
Return the values of the source strengths sampled on the regular grid
Reimplemented from DiscreteSource< DIM >.
Definition at line 105 of file SolutionDependentDiscreteSource.cpp.
References SolutionDependentDiscreteSource< DIM >::mConstantInUSinkRatePerSolutionQuantity, DiscreteSource< DIM >::mpRegularGrid, and SolutionDependentDiscreteSource< DIM >::mpSolution.
|
virtual |
Return the values of the source strengths sampled on the mesh elements
Reimplemented from DiscreteSource< DIM >.
Definition at line 85 of file SolutionDependentDiscreteSource.cpp.
References SolutionDependentDiscreteSource< DIM >::mLinearInUSinkRatePerSolutionQuantity, DiscreteSource< DIM >::mpMesh, and SolutionDependentDiscreteSource< DIM >::mpSolution.
|
virtual |
Return the values of the source strengths sampled on the regular grid
Reimplemented from DiscreteSource< DIM >.
Definition at line 120 of file SolutionDependentDiscreteSource.cpp.
References SolutionDependentDiscreteSource< DIM >::mLinearInUSinkRatePerSolutionQuantity, DiscreteSource< DIM >::mpRegularGrid, and SolutionDependentDiscreteSource< DIM >::mpSolution.
| void SolutionDependentDiscreteSource< DIM >::SetConstantInUSinkRatePerSolutionQuantity | ( | units::quantity< unit::rate > | value | ) |
Set the value of the source for PRESCRIBED type sources
| value | the value of the source |
Definition at line 141 of file SolutionDependentDiscreteSource.cpp.
References SolutionDependentDiscreteSource< DIM >::mConstantInUSinkRatePerSolutionQuantity.
| void SolutionDependentDiscreteSource< DIM >::SetLinearInUSinkRatePerSolutionQuantity | ( | units::quantity< unit::rate_per_concentration > | value | ) |
Set the value of the source for PRESCRIBED type sources
| value | the value of the source |
Definition at line 147 of file SolutionDependentDiscreteSource.cpp.
References SolutionDependentDiscreteSource< DIM >::mLinearInUSinkRatePerSolutionQuantity.
| void SolutionDependentDiscreteSource< DIM >::SetSolution | ( | std::vector< units::quantity< unit::concentration > > | solution | ) |
Set the sampled field from which to obtain a solution for SOLUTION type sources
| solution | the field from which to use solution values |
Definition at line 135 of file SolutionDependentDiscreteSource.cpp.
References SolutionDependentDiscreteSource< DIM >::mpSolution.
Referenced by MicrovesselSolver< DIM >::Increment().
|
protected |
The prescribed value of the source strength. Used for PRESCRIBED source strengths.
Definition at line 66 of file SolutionDependentDiscreteSource.hpp.
Referenced by SolutionDependentDiscreteSource< DIM >::GetConstantInUMeshValues(), SolutionDependentDiscreteSource< DIM >::GetConstantInURegularGridValues(), and SolutionDependentDiscreteSource< DIM >::SetConstantInUSinkRatePerSolutionQuantity().
|
protected |
The prescribed value of the source strength. Used for PRESCRIBED source strengths.
Definition at line 71 of file SolutionDependentDiscreteSource.hpp.
Referenced by SolutionDependentDiscreteSource< DIM >::GetLinearInUMeshValues(), SolutionDependentDiscreteSource< DIM >::GetLinearInURegularGridValues(), and SolutionDependentDiscreteSource< DIM >::SetLinearInUSinkRatePerSolutionQuantity().
|
protected |
An amount field sampled on the regular grid points or mesh nodes
Definition at line 61 of file SolutionDependentDiscreteSource.hpp.
Referenced by SolutionDependentDiscreteSource< DIM >::GetConstantInUMeshValues(), SolutionDependentDiscreteSource< DIM >::GetConstantInURegularGridValues(), SolutionDependentDiscreteSource< DIM >::GetLinearInUMeshValues(), SolutionDependentDiscreteSource< DIM >::GetLinearInURegularGridValues(), and SolutionDependentDiscreteSource< DIM >::SetSolution().