Loading OpenSimRoot/src/modules/RootGrowth/RootSegmentDryWeight.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -142,7 +142,7 @@ RootSegmentSpecificWeight::RootSegmentSpecificWeight(SimulaDynamic* pSD):Derivat void RootSegmentSpecificWeight::calculate(const Time &t,double &sw){ ///@todo current specific weight is same for the whole root. This may change!!! ///@todo this should get the average specific weight of both nodes of the segment densitySimulator->get(t,sw); densitySimulator->get(t-pSD->getStartTime(),sw); } std::string RootSegmentSpecificWeight::getName()const{ return "rootSegmentSpecificWeight"; Loading Loading
OpenSimRoot/src/modules/RootGrowth/RootSegmentDryWeight.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -142,7 +142,7 @@ RootSegmentSpecificWeight::RootSegmentSpecificWeight(SimulaDynamic* pSD):Derivat void RootSegmentSpecificWeight::calculate(const Time &t,double &sw){ ///@todo current specific weight is same for the whole root. This may change!!! ///@todo this should get the average specific weight of both nodes of the segment densitySimulator->get(t,sw); densitySimulator->get(t-pSD->getStartTime(),sw); } std::string RootSegmentSpecificWeight::getName()const{ return "rootSegmentSpecificWeight"; Loading