systemSolver->runBasicKinematic();
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#include <windows.h>
|
||||
#include <assert.h>
|
||||
#include <debugapi.h>
|
||||
#include <sstream>
|
||||
|
||||
#include "Item.h"
|
||||
#include "System.h"
|
||||
|
||||
@@ -45,7 +47,11 @@ void MbD::Item::calcPostDynCorrectorIteration()
|
||||
{
|
||||
}
|
||||
|
||||
void MbD::Item::removeRedundantConstraints(std::shared_ptr<std::vector<size_t>> redunEqnNos)
|
||||
void MbD::Item::removeRedundantConstraints(std::shared_ptr<std::vector<int>> redunEqnNos)
|
||||
{
|
||||
}
|
||||
|
||||
void MbD::Item::reactivateRedundantConstraints()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -61,6 +67,10 @@ void MbD::Item::fillEssenConstraints(std::shared_ptr<std::vector<std::shared_ptr
|
||||
{
|
||||
}
|
||||
|
||||
void MbD::Item::fillRedundantConstraints(std::shared_ptr<std::vector<std::shared_ptr<Constraint>>> redunConstraints)
|
||||
{
|
||||
}
|
||||
|
||||
void MbD::Item::fillqsu(FColDsptr col)
|
||||
{
|
||||
}
|
||||
@@ -77,11 +87,47 @@ void MbD::Item::setqsulam(FColDsptr col)
|
||||
{
|
||||
}
|
||||
|
||||
void MbD::Item::outputStates()
|
||||
{
|
||||
std::stringstream ss;
|
||||
ss << classname() << " " << name;
|
||||
auto str = ss.str();
|
||||
this->logString(str);
|
||||
}
|
||||
|
||||
void MbD::Item::preDyn()
|
||||
{
|
||||
}
|
||||
|
||||
std::string MbD::Item::classname()
|
||||
{
|
||||
std::string str = typeid(*this).name();
|
||||
auto answer = str.substr(11, str.size() - 11);
|
||||
return answer;
|
||||
}
|
||||
|
||||
void MbD::Item::preDynFirstStep()
|
||||
{
|
||||
//"Called before the start of the first step in the dynamic solution."
|
||||
this->preDynStep();
|
||||
}
|
||||
|
||||
void MbD::Item::preDynStep()
|
||||
{
|
||||
}
|
||||
|
||||
double MbD::Item::suggestSmallerOrAcceptDynFirstStepSize(double hnew)
|
||||
{
|
||||
//"Default is return hnew."
|
||||
//"Best to do nothing so as not to disrupt the starting algorithm."
|
||||
return hnew;
|
||||
}
|
||||
|
||||
void MbD::Item::constraintsReport()
|
||||
{
|
||||
}
|
||||
|
||||
void MbD::Item::setqsu(std::shared_ptr<FullColumn<double>> qsuOld)
|
||||
void MbD::Item::setqsu(FColDsptr qsuOld)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -89,6 +135,11 @@ void MbD::Item::useEquationNumbers()
|
||||
{
|
||||
}
|
||||
|
||||
void MbD::Item::logString(std::string& str)
|
||||
{
|
||||
System::getInstance().logString(str);
|
||||
}
|
||||
|
||||
void MbD::Item::prePosIC()
|
||||
{
|
||||
//"Called once before solving for position initial conditions."
|
||||
@@ -110,6 +161,10 @@ void MbD::Item::prePostICRestart()
|
||||
{
|
||||
}
|
||||
|
||||
void MbD::Item::postPosIC()
|
||||
{
|
||||
}
|
||||
|
||||
void MbD::Item::postPosICIteration()
|
||||
{
|
||||
this->calcPostDynCorrectorIteration();
|
||||
|
||||
Reference in New Issue
Block a user