// Default constructor (protected) DynamicalSystem::DynamicalSystem(): _number(count++), _n(0), _stepsInMemory(1) { zeroPlugin(); _normRef = 1; _x.resize(2); _workspace.resize(sizeWorkV); _z.reset(new SiconosVector(1)); }
// From a minimum set of data DynamicalSystem::DynamicalSystem(unsigned int newN): _number(count++), _n(newN), _stepsInMemory(1) { zeroPlugin(); _normRef = 1; _x.resize(2); _workspace.resize(sizeWorkV); _workspace[freeresidu].reset(new SiconosVector(getDim())); _r.reset(new SiconosVector(getDim())); _z.reset(new SiconosVector(1)); }
// Default constructor Relation::Relation(RELATION::TYPES type, RELATION::SUBTYPES subtype): _relationType(type), _subType(subtype) { zeroPlugin(); }