MatrixSolver NewtonRaphson
This commit is contained in:
@@ -10,11 +10,9 @@ using namespace MbD;
|
||||
|
||||
MarkerFrame::MarkerFrame()
|
||||
{
|
||||
initialize();
|
||||
}
|
||||
|
||||
MarkerFrame::MarkerFrame(const char* str) : CartesianFrame(str) {
|
||||
initialize();
|
||||
}
|
||||
|
||||
void MarkerFrame::initialize()
|
||||
@@ -26,6 +24,26 @@ void MarkerFrame::initialize()
|
||||
this->addEndFrame(endFrm);
|
||||
}
|
||||
|
||||
void MarkerFrame::initializeLocally()
|
||||
{
|
||||
pprOmOpEpE = EulerParameters<double>::ppApEpEtimesColumn(rpmp);
|
||||
ppAOmpEpE = EulerParameters<double>::ppApEpEtimesMatrix(aApm);
|
||||
std::for_each(endFrames->begin(), endFrames->end(), [](const auto& endFrame) { endFrame->initializeLocally(); });
|
||||
}
|
||||
|
||||
void MarkerFrame::initializeGlobally()
|
||||
{
|
||||
std::for_each(endFrames->begin(), endFrames->end(), [](const auto& endFrame) { endFrame->initializeGlobally(); });
|
||||
}
|
||||
|
||||
void MbD::MarkerFrame::postInput()
|
||||
{
|
||||
}
|
||||
|
||||
void MbD::MarkerFrame::calcPostDynCorrectorIteration()
|
||||
{
|
||||
}
|
||||
|
||||
void MarkerFrame::setPartFrame(PartFrame* partFrm)
|
||||
{
|
||||
partFrame = partFrm;
|
||||
@@ -49,15 +67,3 @@ void MarkerFrame::addEndFrame(EndFrmcptr endFrm)
|
||||
endFrm->setMarkerFrame(this);
|
||||
endFrames->push_back(endFrm);
|
||||
}
|
||||
|
||||
void MarkerFrame::initializeLocally()
|
||||
{
|
||||
pprOmOpEpE = EulerParameters::ppApEpEtimesColumn(rpmp);
|
||||
ppAOmpEpE = EulerParameters::ppApEpEtimesMatrix(aApm);
|
||||
std::for_each(endFrames->begin(), endFrames->end(), [](const auto& endFrame) { endFrame->initializeLocally(); });
|
||||
}
|
||||
|
||||
void MarkerFrame::initializeGlobally()
|
||||
{
|
||||
std::for_each(endFrames->begin(), endFrames->end(), [](const auto& endFrame) { endFrame->initializeGlobally(); });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user