Commit 5a750957 authored by jouke's avatar jouke
Browse files

using local time on parameter

parent 685d9265
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";