runOndselPiston, runPiston execute correctly

This commit is contained in:
Aik-Siong Koh
2023-06-30 19:48:30 -06:00
parent c30ee64b89
commit cb27f2344b
154 changed files with 2786 additions and 1605 deletions

View File

@@ -2,91 +2,101 @@
using namespace MbD;
void MbD::RedundantConstraint::removeRedundantConstraints(std::shared_ptr<std::vector<int>> redundantEqnNos)
void RedundantConstraint::removeRedundantConstraints(std::shared_ptr<std::vector<int>> redundantEqnNos)
{
}
bool MbD::RedundantConstraint::isRedundant()
bool RedundantConstraint::isRedundant()
{
return true;
}
std::string MbD::RedundantConstraint::classname()
std::string RedundantConstraint::classname()
{
auto str = Item::classname() + "->" + constraint->classname();
return str;
}
MbD::ConstraintType MbD::RedundantConstraint::type()
ConstraintType RedundantConstraint::type()
{
return MbD::redundant;
return redundant;
}
void MbD::RedundantConstraint::fillqsulam(FColDsptr col)
void RedundantConstraint::fillqsulam(FColDsptr col)
{
}
void MbD::RedundantConstraint::postInput()
void RedundantConstraint::postInput()
{
}
void MbD::RedundantConstraint::prePosIC()
void RedundantConstraint::prePosIC()
{
}
void MbD::RedundantConstraint::fillEssenConstraints(std::shared_ptr<Constraint> sptr, std::shared_ptr<std::vector<std::shared_ptr<Constraint>>> essenConstraints)
void RedundantConstraint::fillEssenConstraints(std::shared_ptr<Constraint> sptr, std::shared_ptr<std::vector<std::shared_ptr<Constraint>>> essenConstraints)
{
}
void MbD::RedundantConstraint::fillDispConstraints(std::shared_ptr<Constraint> sptr, std::shared_ptr<std::vector<std::shared_ptr<Constraint>>> dispConstraints)
void RedundantConstraint::fillDispConstraints(std::shared_ptr<Constraint> sptr, std::shared_ptr<std::vector<std::shared_ptr<Constraint>>> dispConstraints)
{
}
void MbD::RedundantConstraint::fillPerpenConstraints(std::shared_ptr<Constraint> sptr, std::shared_ptr<std::vector<std::shared_ptr<Constraint>>> perpenConstraints)
void RedundantConstraint::fillPerpenConstraints(std::shared_ptr<Constraint> sptr, std::shared_ptr<std::vector<std::shared_ptr<Constraint>>> perpenConstraints)
{
}
void MbD::RedundantConstraint::fillConstraints(std::shared_ptr<Constraint> sptr, std::shared_ptr<std::vector<std::shared_ptr<Constraint>>> redunConstraints)
void RedundantConstraint::fillConstraints(std::shared_ptr<Constraint> sptr, std::shared_ptr<std::vector<std::shared_ptr<Constraint>>> redunConstraints)
{
}
void MbD::RedundantConstraint::fillRedundantConstraints(std::shared_ptr<Constraint> sptr, std::shared_ptr<std::vector<std::shared_ptr<Constraint>>> redunConstraints)
void RedundantConstraint::fillRedundantConstraints(std::shared_ptr<Constraint> sptr, std::shared_ptr<std::vector<std::shared_ptr<Constraint>>> redunConstraints)
{
redunConstraints->push_back(sptr);
}
void MbD::RedundantConstraint::setqsulam(FColDsptr col)
void RedundantConstraint::setqsulam(FColDsptr col)
{
}
void MbD::RedundantConstraint::setqsudotlam(FColDsptr col)
void RedundantConstraint::setqsudotlam(FColDsptr col)
{
}
void MbD::RedundantConstraint::fillPosICError(FColDsptr col)
void RedundantConstraint::fillPosICError(FColDsptr col)
{
}
void MbD::RedundantConstraint::fillPosKineError(FColDsptr col)
void RedundantConstraint::fillPosKineError(FColDsptr col)
{
}
void MbD::RedundantConstraint::fillPosKineJacob(SpMatDsptr mat)
void RedundantConstraint::fillPosKineJacob(SpMatDsptr mat)
{
}
void MbD::RedundantConstraint::preVelIC()
void RedundantConstraint::preVelIC()
{
}
void MbD::RedundantConstraint::preAccIC()
void RedundantConstraint::preAccIC()
{
}
void MbD::RedundantConstraint::fillAccICIterError(FColDsptr col)
void RedundantConstraint::fillAccICIterError(FColDsptr col)
{
}
void MbD::RedundantConstraint::setqsuddotlam(FColDsptr qsudotlam)
void RedundantConstraint::setqsuddotlam(FColDsptr col)
{
}
void RedundantConstraint::discontinuityAtaddTypeTo(double t, std::shared_ptr<std::vector<DiscontinuityType>> disconTypes)
{
//"Reactivate all contraints."
assert(false);
//| newSelf |
//newSelf : = self constraint.
//newSelf discontinuityAt : tstartNew addTypeTo : collection.
//self become : newSelf
}