* 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
38 lines
1.1 KiB
C++
38 lines
1.1 KiB
C++
/***************************************************************************
|
|
* Copyright (c) 2023 Ondsel, Inc. *
|
|
* *
|
|
* This file is part of OndselSolver. *
|
|
* *
|
|
* See LICENSE file for details about copyright. *
|
|
***************************************************************************/
|
|
|
|
#include "DispCompIecJecIe.h"
|
|
#include "EndFramec.h"
|
|
|
|
using namespace MbD;
|
|
|
|
MbD::DispCompIecJecIe::DispCompIecJecIe()
|
|
{
|
|
}
|
|
|
|
MbD::DispCompIecJecIe::DispCompIecJecIe(EndFrmsptr frmi, EndFrmsptr frmj, int axis) : KinematicIeJe(frmi, frmj), axis(axis)
|
|
{
|
|
}
|
|
|
|
void MbD::DispCompIecJecIe::calc_value()
|
|
{
|
|
aAjOIe = frmI->aAjOe(axis);
|
|
rIeJeO = frmJ->rOeO->minusFullColumn(frmI->rOeO);
|
|
riIeJeIe = aAjOIe->dotVec(rIeJeO);
|
|
}
|
|
|
|
void MbD::DispCompIecJecIe::calcPostDynCorrectorIteration()
|
|
{
|
|
calc_value();
|
|
}
|
|
|
|
double MbD::DispCompIecJecIe::value()
|
|
{
|
|
return riIeJeIe;
|
|
}
|