virtual void compute(const vd::Time& t) { Senescence = (maturing() == 0)? masse() * KS : 0; Growth = KG * X() * masse(); grad(X) = 0 - (Growth); grad(maturing) = 0; grad(masse) = (Growth) - (Senescence); }
// initialisation de l'épi temoin void Calculs::init_temoin() { Temoin.resize(34); for(ij=1;ij<34;ij++) { Temoin[ij] = masse(ij); } }
treal Trohr::WKap(){ return masse()*getcp(); }
treal Trohr::preis(){ treal pr=masse()*getpreis(); cout << pr<<endl; return pr; }