MatrixSolver NewtonRaphson

This commit is contained in:
Aik-Siong Koh
2023-05-20 17:55:13 -06:00
parent c147f2a33d
commit 6a577c052c
168 changed files with 2429 additions and 325 deletions

View File

@@ -0,0 +1,38 @@
#include "TranslationConstraintIJ.h"
using namespace MbD;
std::shared_ptr<TranslationConstraintIJ> MbD::TranslationConstraintIJ::Create(EndFrmcptr frmi, EndFrmcptr frmj, int axisk)
{
auto item = std::make_shared<TranslationConstraintIJ>(frmi, frmj, axisk);
item->initialize();
return item;
}
TranslationConstraintIJ::TranslationConstraintIJ(EndFrmcptr frmi, EndFrmcptr frmj, int axisk) :
ConstraintIJ(frmi, frmj), axisK(axisk)
{
}
void TranslationConstraintIJ::initialize()
{
}
void MbD::TranslationConstraintIJ::initializeLocally()
{
riIeJeIe->initializeLocally();
}
void MbD::TranslationConstraintIJ::initializeGlobally()
{
riIeJeIe->initializeGlobally();
}
void MbD::TranslationConstraintIJ::initriIeJeIe()
{
riIeJeIe = std::make_shared<DispCompIecJecKec>();
}
void MbD::TranslationConstraintIJ::postInput()
{
}