* fixes mac errors and warnings; check on TODO items * renamed function as override was not of virtual * removed another using * experimental adjustment * move fcDot to public * renaming things
37 lines
1.1 KiB
C++
37 lines
1.1 KiB
C++
/***************************************************************************
|
|
* Copyright (c) 2023 Ondsel, Inc. *
|
|
* *
|
|
* This file is part of OndselSolver. *
|
|
* *
|
|
* See LICENSE file for details about copyright. *
|
|
***************************************************************************/
|
|
|
|
#include <memory>
|
|
|
|
#include "DirectionCosineIecJec.h"
|
|
#include "EndFramec.h"
|
|
|
|
namespace MbD {
|
|
DirectionCosineIecJec::DirectionCosineIecJec()
|
|
= default;
|
|
|
|
DirectionCosineIecJec::DirectionCosineIecJec(EndFrmsptr frmi, EndFrmsptr frmj, int axisi, int axisj) :
|
|
KinematicIeJe(frmi, frmj), axisI(axisi), axisJ(axisj)
|
|
{
|
|
|
|
}
|
|
|
|
void DirectionCosineIecJec::calcPostDynCorrectorIteration()
|
|
{
|
|
aAjOIe = frmI->aAjOe(axisI);
|
|
aAjOJe = frmJ->aAjOe(axisJ);
|
|
aAijIeJe = aAjOIe->dotVec(aAjOJe);
|
|
}
|
|
|
|
double MbD::DirectionCosineIecJec::value()
|
|
{
|
|
return aAijIeJe;
|
|
}
|
|
}
|
|
|