Files
solver/MbDCode/RedundantConstraint.h
2023-06-24 23:08:29 -06:00

36 lines
1.5 KiB
C++

#pragma once
#include "Constraint.h"
namespace MbD {
class RedundantConstraint : public Constraint
{
//
public:
void removeRedundantConstraints(std::shared_ptr<std::vector<int>> redundantEqnNos) override;
bool isRedundant() override;
std::string classname() override;
MbD::ConstraintType type() override;
void fillqsulam(FColDsptr col) override;
void postInput() override;
void prePosIC() override;
void fillEssenConstraints(std::shared_ptr<Constraint> sptr, std::shared_ptr<std::vector<std::shared_ptr<Constraint>>> essenConstraints);
void fillDispConstraints(std::shared_ptr<Constraint> sptr, std::shared_ptr<std::vector<std::shared_ptr<Constraint>>> dispConstraints);
void fillPerpenConstraints(std::shared_ptr<Constraint> sptr, std::shared_ptr<std::vector<std::shared_ptr<Constraint>>> perpenConstraints);
void fillConstraints(std::shared_ptr<Constraint> sptr, std::shared_ptr<std::vector<std::shared_ptr<Constraint>>> redunConstraints);
void fillRedundantConstraints(std::shared_ptr<Constraint> sptr, std::shared_ptr<std::vector<std::shared_ptr<Constraint>>> allConstraints);
void setqsulam(FColDsptr col) override;
void setqsudotlam(FColDsptr col) override;
void fillPosICError(FColDsptr col) override;
void fillPosKineError(FColDsptr col) override;
void fillPosKineJacob(SpMatDsptr mat) override;
void preVelIC() override;
void preAccIC() override;
void fillAccICIterError(FColDsptr col) override;
void setqsuddotlam(FColDsptr qsudotlam) override;
std::shared_ptr<Constraint> constraint;
};
}