runPosIC, initializeGlobally
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "Part.h"
|
||||
#include "PartFrame.h"
|
||||
#include "CREATE.h"
|
||||
|
||||
using namespace MbD;
|
||||
|
||||
@@ -11,7 +12,7 @@ Part::Part(const char* str) : Item(str) {
|
||||
|
||||
void Part::initialize()
|
||||
{
|
||||
partFrame = PartFrame::Create();
|
||||
partFrame = CREATE<PartFrame>::With();
|
||||
partFrame->setPart(this);
|
||||
pTpE = std::make_shared<FullColumn<double>>(4);
|
||||
ppTpEpE = std::make_shared<FullMatrix<double>>(4, 4);
|
||||
@@ -21,6 +22,9 @@ void Part::initialize()
|
||||
void Part::initializeLocally()
|
||||
{
|
||||
partFrame->initializeLocally();
|
||||
//mX: = m > 0
|
||||
//ifTrue: [StMDiagonalMatrix new:3 withAll : m]
|
||||
//ifFalse : [StMDiagonalMatrix new:3 withAll : 0.0d]
|
||||
}
|
||||
|
||||
void Part::initializeGlobally()
|
||||
@@ -77,3 +81,19 @@ void MbD::Part::postInput()
|
||||
void MbD::Part::calcPostDynCorrectorIteration()
|
||||
{
|
||||
}
|
||||
|
||||
void MbD::Part::prePosIC()
|
||||
{
|
||||
partFrame->prePosIC();
|
||||
}
|
||||
|
||||
void MbD::Part::iqX(int eqnNo)
|
||||
{
|
||||
partFrame->iqX = eqnNo;
|
||||
}
|
||||
|
||||
void MbD::Part::iqE(int eqnNo)
|
||||
{
|
||||
partFrame->iqE = eqnNo;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user