Files
solver/MbDCode/EulerConstraint.h
Aik-Siong Koh 475b8d16bc First commit
2023-04-26 17:23:31 -06:00

23 lines
400 B
C++

#pragma once
#include <memory>
#include <vector>
#include "Constraint.h"
#include "FullRow.h"
namespace MbD {
using FullRowDPtr = std::shared_ptr<FullRow<double>>;
class EulerConstraint : public Constraint
{
public:
EulerConstraint() : Constraint() {
pGpE = std::make_shared<FullRow<double>>(4);
}
//pGpE iqE
FullRowDPtr pGpE; //partial derivative of G wrt pE
int iqE;
};
}