/*************************************************************************** * Copyright (c) 2023 Ondsel, Inc. * * * * This file is part of OndselSolver. * * * * See LICENSE file for details about copyright. * ***************************************************************************/ #include "RedundantConstraint.h" using namespace MbD; void RedundantConstraint::removeRedundantConstraints(std::shared_ptr>) { } bool RedundantConstraint::isRedundant() { return true; } std::string RedundantConstraint::classname() { auto str = Item::classname() + "->" + constraint->classname(); return str; } ConstraintType RedundantConstraint::type() { return redundant; } void MbD::RedundantConstraint::fillqsuddotlam(FColDsptr) { } void RedundantConstraint::fillqsulam(FColDsptr) { } void RedundantConstraint::postInput() { } void RedundantConstraint::prePosIC() { } void RedundantConstraint::fillEssenConstraints(std::shared_ptr, std::shared_ptr>>) { } void RedundantConstraint::fillDispConstraints(std::shared_ptr, std::shared_ptr>>) { } void RedundantConstraint::fillPerpenConstraints(std::shared_ptr, std::shared_ptr>>) { } void RedundantConstraint::fillConstraints(std::shared_ptr, std::shared_ptr>>) { } void RedundantConstraint::fillRedundantConstraints(std::shared_ptr sptr, std::shared_ptr>> redunConstraints) { redunConstraints->push_back(sptr); } void RedundantConstraint::setqsulam(FColDsptr) { } void RedundantConstraint::setqsudotlam(FColDsptr) { } void RedundantConstraint::fillPosICError(FColDsptr) { } void RedundantConstraint::fillPosKineError(FColDsptr) { } void RedundantConstraint::fillPosKineJacob(SpMatDsptr) { } void RedundantConstraint::preVelIC() { } void RedundantConstraint::preAccIC() { } void RedundantConstraint::fillAccICIterError(FColDsptr) { } void RedundantConstraint::setqsuddotlam(FColDsptr) { } void RedundantConstraint::discontinuityAtaddTypeTo(double, std::shared_ptr>) { //"Reactivate all constraints." throw SimulationStoppingError("To be implemented."); //| newSelf | //newSelf : = self constraint. //newSelf discontinuityAt : tstartNew addTypeTo : collection. //self become : newSelf } std::string MbD::RedundantConstraint::constraintSpec() { return "RedundantConstraint" + constraint->constraintSpec(); }