Files
solver/OndselSolver/DispCompIecJecIe.cpp
John Dupuy 3952f45945 WIP: fixes mac errors and warnings (#34)
* 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
2023-11-21 08:16:25 -07:00

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;
}