36 #ifndef DISCRETESOURCE_HPP_ 37 #define DISCRETESOURCE_HPP_ 42 #include "UblasIncludes.hpp" 43 #include "RegularGrid.hpp" 44 #include "DiscreteContinuumMesh.hpp" 45 #include "UnitCollection.hpp" 52 template<
unsigned DIM>
66 boost::shared_ptr<DiscreteContinuumMesh<DIM, DIM> >
mpMesh;
71 std::vector<DimensionalChastePoint<DIM> >
mPoints;
105 static boost::shared_ptr<DiscreteSource<DIM> >
Create();
void SetConstantInUValue(units::quantity< unit::concentration_flow_rate > value)
void SetLinearInUValue(units::quantity< unit::rate > value)
virtual ~DiscreteSource()
void SetPoints(std::vector< DimensionalChastePoint< DIM > > points)
void SetLabelName(const std::string &rLabel)
boost::shared_ptr< RegularGrid< DIM > > mpRegularGrid
std::vector< DimensionalChastePoint< DIM > > mPoints
units::quantity< unit::rate > mLinearInUValue
virtual std::vector< units::quantity< unit::concentration_flow_rate > > GetConstantInURegularGridValues()
virtual std::vector< units::quantity< unit::rate > > GetLinearInURegularGridValues()
virtual std::vector< units::quantity< unit::concentration_flow_rate > > GetConstantInUMeshValues()
void SetMesh(boost::shared_ptr< DiscreteContinuumMesh< DIM, DIM > > pMesh)
units::quantity< unit::concentration_flow_rate > mConstantInUValue
static boost::shared_ptr< DiscreteSource< DIM > > Create()
boost::shared_ptr< DiscreteContinuumMesh< DIM, DIM > > mpMesh
void SetRegularGrid(boost::shared_ptr< RegularGrid< DIM > > pRegularGrid)
virtual std::vector< units::quantity< unit::rate > > GetLinearInUMeshValues()