#include "AtPointConstraintIJ.h" #include "DispCompIecJecO.h" #include "CREATE.h" using namespace MbD; AtPointConstraintIJ::AtPointConstraintIJ(EndFrmcptr frmi, EndFrmcptr frmj, int axisi) : ConstraintIJ(frmi, frmj), axis(axisi) { } void AtPointConstraintIJ::initialize() { ConstraintIJ::initialize(); initriIeJeO(); } void MbD::AtPointConstraintIJ::initializeLocally() { riIeJeO->initializeLocally(); } void MbD::AtPointConstraintIJ::initializeGlobally() { riIeJeO->initializeGlobally(); } void AtPointConstraintIJ::initriIeJeO() { riIeJeO = CREATE::With(frmI, frmJ, axis); } void MbD::AtPointConstraintIJ::postInput() { riIeJeO->postInput(); Constraint::postInput(); } void MbD::AtPointConstraintIJ::calcPostDynCorrectorIteration() { aG = riIeJeO->riIeJeO - aConstant; } void MbD::AtPointConstraintIJ::prePosIC() { riIeJeO->prePosIC(); Constraint::prePosIC(); } MbD::ConstraintType MbD::AtPointConstraintIJ::type() { return MbD::displacement; } void MbD::AtPointConstraintIJ::postPosICIteration() { riIeJeO->postPosICIteration(); Item::postPosICIteration(); } void MbD::AtPointConstraintIJ::preVelIC() { riIeJeO->preVelIC(); Item::preVelIC(); } void MbD::AtPointConstraintIJ::preAccIC() { riIeJeO->preAccIC(); Constraint::preAccIC(); }