36 #include "Owen11Parameters.hpp" 37 #include "ShrinkingStimulusCalculator.hpp" 39 template<
unsigned DIM>
41 mDefaultStimulus(
Owen11Parameters::mpShrinkingTendency->GetValue(
"ShrinkingStimulusCalculator"))
46 template<
unsigned DIM>
52 template <
unsigned DIM>
59 template<
unsigned DIM>
65 template<
unsigned DIM>
71 template<
unsigned DIM>
74 std::vector<boost::shared_ptr<VesselSegment<DIM> > > segments = this->
mpNetwork->GetVesselSegments();
75 for (
unsigned segment_index = 0; segment_index < segments.size(); segment_index++)
77 segments[segment_index]->GetFlowProperties()->SetGrowthStimulus(segments[segment_index]->GetFlowProperties()->GetGrowthStimulus() -
mDefaultStimulus);
static boost::shared_ptr< ShrinkingStimulusCalculator< DIM > > Create()
boost::shared_ptr< VesselNetwork< DIM > > mpNetwork
~ShrinkingStimulusCalculator()
void SetStimulus(units::quantity< unit::rate > stimulus)
units::quantity< unit::rate > GetStimulus()
ShrinkingStimulusCalculator()
units::quantity< unit::rate > mDefaultStimulus