Files
solver/MbDCode/RedundantConstraint.h
2023-07-08 23:20:27 -06:00

38 lines
1.7 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;
ConstraintType type() override;
void fillqsuddotlam(FColDsptr col) 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) override;
void fillDispConstraints(std::shared_ptr<Constraint> sptr, std::shared_ptr<std::vector<std::shared_ptr<Constraint>>> dispConstraints) override;
void fillPerpenConstraints(std::shared_ptr<Constraint> sptr, std::shared_ptr<std::vector<std::shared_ptr<Constraint>>> perpenConstraints) override;
void fillConstraints(std::shared_ptr<Constraint> sptr, std::shared_ptr<std::vector<std::shared_ptr<Constraint>>> redunConstraints) override;
void fillRedundantConstraints(std::shared_ptr<Constraint> sptr, std::shared_ptr<std::vector<std::shared_ptr<Constraint>>> allConstraints) override;
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 col) override;
void discontinuityAtaddTypeTo(double t, std::shared_ptr<std::vector<DiscontinuityType>> disconTypes) override;
std::shared_ptr<Constraint> constraint;
};
}