Mb dyn half sine and cosine (#42)
* (int) added * size_t count * add files * MBDyn new joints, sine, cosine * CompoundJoints debugged
This commit is contained in:
@@ -94,6 +94,14 @@ double MbD::PiecewiseFunction::getValue()
|
||||
return functions->back()->getValue();
|
||||
}
|
||||
|
||||
void MbD::PiecewiseFunction::arguments(Symsptr args)
|
||||
{
|
||||
auto arguments = args->getTerms();
|
||||
xx = arguments->at(0);
|
||||
functions = arguments->at(1)->getTerms();
|
||||
transitions = arguments->at(2)->getTerms();
|
||||
}
|
||||
|
||||
std::ostream& MbD::PiecewiseFunction::printOn(std::ostream& s) const
|
||||
{
|
||||
s << "PiecewiseFunction(" << *xx << ", " << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user