36 #ifndef SOLUTIONDEPENDENTDISCRETESOURCE_HPP_ 37 #define SOLUTIONDEPENDENTDISCRETESOURCE_HPP_ 42 #include "UblasIncludes.hpp" 43 #include "RegularGrid.hpp" 44 #include "DiscreteContinuumMesh.hpp" 45 #include "UnitCollection.hpp" 46 #include "DiscreteSource.hpp" 52 template<
unsigned DIM>
61 std::vector<units::quantity<unit::concentration> >
mpSolution;
89 static boost::shared_ptr<SolutionDependentDiscreteSource<DIM> >
Create();
119 void SetSolution(std::vector<units::quantity<unit::concentration> > solution);
void SetSolution(std::vector< units::quantity< unit::concentration > > solution)
virtual std::vector< units::quantity< unit::rate > > GetLinearInURegularGridValues()
virtual std::vector< units::quantity< unit::concentration_flow_rate > > GetConstantInURegularGridValues()
void SetConstantInUSinkRatePerSolutionQuantity(units::quantity< unit::rate > value)
static boost::shared_ptr< SolutionDependentDiscreteSource< DIM > > Create()
units::quantity< unit::rate_per_concentration > mLinearInUSinkRatePerSolutionQuantity
void SetLinearInUSinkRatePerSolutionQuantity(units::quantity< unit::rate_per_concentration > value)
units::quantity< unit::rate > mConstantInUSinkRatePerSolutionQuantity
virtual std::vector< units::quantity< unit::concentration_flow_rate > > GetConstantInUMeshValues()
SolutionDependentDiscreteSource()
virtual ~SolutionDependentDiscreteSource()
std::vector< units::quantity< unit::concentration > > mpSolution
virtual std::vector< units::quantity< unit::rate > > GetLinearInUMeshValues()