Files
solver/MbDCode/EulerConstraint.h
Aik-Siong Koh 371b13a9e0 runVelIC
2023-06-18 01:06:39 -06:00

27 lines
590 B
C++

#pragma once
#include <memory>
#include <vector>
#include "Constraint.h"
#include "FullRow.h" //FRowDsptr is defined
namespace MbD {
class EulerConstraint : public Constraint
{
//pGpE iqE
public:
EulerConstraint();
EulerConstraint(const char* str);
void initialize();
void calcPostDynCorrectorIteration() override;
void useEquationNumbers() override;
void fillPosICError(FColDsptr col) override;
void fillPosICJacob(SpMatDsptr mat) override;
void fillPosKineJacob(SpMatDsptr mat) override;
FRowDsptr pGpE; //partial derivative of G wrt pE
int iqE = -1;
};
}