|
Hi Damien,
I want to make a "GetDisplacement" in PlugIn_initSensor of my function in inp file, as:
<PlugIn Id="_ImposeDisplacement" X="0" Y="5e-9*it*-1" Z="0" Set="Matrix"/>
In GranOO 0.0, it writes:
inline double
InitSensor::GetDisplacement() const
{
const Util::MathFunction* mf = Util::XmlObjectManager<Util::MathFunction>::GetItem(mathFunctionDispl_);
assert(mf != 0);
return mf->UpdateValue();
}
How to do this function in GranOO2.0?
Thank you,
Danh
|