24 lines
459 B
C++
24 lines
459 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:
|
|
static std::shared_ptr<EulerConstraint> Create();
|
|
EulerConstraint();
|
|
EulerConstraint(const char* str);
|
|
void initialize();
|
|
void calcPostDynCorrectorIteration() override;
|
|
|
|
FRowDsptr pGpE; //partial derivative of G wrt pE
|
|
int iqE = -1;
|
|
};
|
|
}
|
|
|