37 #include "ConstantHaematocritSolver.hpp" 38 #include "StructuralAdaptationSolver.hpp" 39 #include "UnitCollection.hpp" 40 #include "RadiusCalculator.hpp" 42 template<
unsigned DIM>
47 mPreFlowSolveCalculators(),
48 mPostFlowSolveCalculators()
53 template<
unsigned DIM>
59 template<
unsigned DIM>
66 template<
unsigned DIM>
72 template<
unsigned DIM>
78 template<
unsigned DIM>
84 template<
unsigned DIM>
90 template<
unsigned DIM>
96 template<
unsigned DIM>
101 EXCEPTION(
"A vessel network is required before the SA solver can be used.");
104 if(SimulationTime::Instance()->GetTimeStepsElapsed()==0)
127 if(SimulationTime::Instance()->GetTimeStepsElapsed()==0)
135 std::vector<boost::shared_ptr<VesselSegment<DIM> > > segments = this->
mpVesselNetwork->GetVesselSegments();
136 for (
unsigned idx = 0; idx < segments.size(); idx++)
138 segments[idx]->GetFlowProperties()->SetGrowthStimulus(0.0*(1.0/(unit::seconds)));
153 template<
unsigned DIM>
159 if(doFullReset && !SimulationTime::Instance()->GetTimeStepsElapsed()==0)
std::vector< boost::shared_ptr< AbstractVesselNetworkCalculator< DIM > > > mPreFlowSolveCalculators
boost::shared_ptr< FlowSolver< DIM > > GetFlowSolver()
static boost::shared_ptr< StructuralAdaptationSolver< DIM > > Create()
void AddPostFlowSolveCalculator(boost::shared_ptr< AbstractVesselNetworkCalculator< DIM > > pCalculator)
void AddPreFlowSolveCalculator(boost::shared_ptr< AbstractVesselNetworkCalculator< DIM > > pCalculator)
void SetRadiusCalculator(boost::shared_ptr< RadiusCalculator< DIM > > pCalculator)
std::vector< boost::shared_ptr< AbstractVesselNetworkCalculator< DIM > > > mPostFlowSolveCalculators
StructuralAdaptationSolver()
void SetFlowSolver(boost::shared_ptr< FlowSolver< DIM > > pSolver)
units::quantity< unit::time > GetTimeIncrement() const
void UpdateFlowSolver(bool doFullReset=false)
boost::shared_ptr< VesselNetwork< DIM > > mpVesselNetwork
boost::shared_ptr< RadiusCalculator< DIM > > mpRadiusCalculator
virtual ~StructuralAdaptationSolver()
boost::shared_ptr< FlowSolver< DIM > > mpFlowSolver