Files
solver/OndselSolver/DispCompIecJecO.cpp
2024-04-03 08:56:40 +02:00

31 lines
949 B
C++

/***************************************************************************
* Copyright (c) 2023 Ondsel, Inc. *
* *
* This file is part of OndselSolver. *
* *
* See LICENSE file for details about copyright. *
***************************************************************************/
#include "DispCompIecJecO.h"
#include "EndFramec.h"
using namespace MbD;
DispCompIecJecO::DispCompIecJecO()
{
}
DispCompIecJecO::DispCompIecJecO(EndFrmsptr frmi, EndFrmsptr frmj, size_t axis) : KinematicIeJe(frmi, frmj), axis(axis)
{
}
void DispCompIecJecO::calcPostDynCorrectorIteration()
{
riIeJeO = frmJ->riOeO(axis) - frmI->riOeO(axis);
}
double MbD::DispCompIecJecO::value()
{
return riIeJeO;
}