72 std::ostream&
Restart(std::ostream& out)
const;
84 unsigned uLabel,
const DofOwner *pDO,
94 "Author: Pierangelo Masarati <masarati@aero.polimi.it> \n"
95 "Organization: Dipartimento di Ingegneria Aerospaziale \n"
96 " Politecnico di Milano \n"
97 " http://www.aero.polimi.it/ \n"
99 " All rights reserved \n"
188 WM(1, 1) =
dM + dCoef*
dD;
211 dVP = XPrimeCurr(iFirstIndex + 1);
213 dV = XCurr(iFirstIndex + 1);
214 dX = XCurr(iFirstIndex + 2);
228 WorkVec(2) =
dV - dXP;
248 connectedNodes.resize(0);
280 return out <<
"# ModuleMDS: not implemented" << std::endl;
332 silent_cerr(
"module-mds: "
333 "module_init(" << module_name <<
") "
334 "failed" << std::endl);
flag fReadOutput(MBDynParser &HP, const T &t) const
void PutColIndex(integer iSubCol, integer iCol)
virtual void Output(OutputHandler &OH) const
virtual bool bToBeOutput(void) const
#define MBDYN_EXCEPT_ARGS
virtual void ResizeReset(integer)
FullSubMatrixHandler & SetFull(void)
void Resize(integer iNewRow, integer iNewCol)
void PutCoef(integer iRow, integer iCol, const doublereal &dCoef)
int module_init(const char *module_name, void *pdm, void *php)
This function registers our user defined element for the math parser.
std::vector< Hint * > Hints
SubVectorHandler & AssRes(SubVectorHandler &WorkVec, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
virtual void PutRowIndex(integer iSubRow, integer iRow)=0
void GetConnectedNodes(std::vector< const Node * > &connectedNodes) const
void SetValue(DataManager *pDM, VectorHandler &X, VectorHandler &XP, SimulationEntity::Hints *ph)
virtual DofOrder::Order GetEqType(unsigned int i) const
virtual bool IsKeyWord(const char *sKeyWord)
std::ostream & Loadable(void) const
std::ostream & Restart(std::ostream &out) const
int iGetNumConnectedNodes(void) const
#define ASSERT(expression)
VariableSubMatrixHandler & AssJac(VariableSubMatrixHandler &WorkMat, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
virtual void PutCoef(integer iRow, const doublereal &dCoef)=0
ModuleMDS(unsigned uLabel, const DofOwner *pDO, DataManager *pDM, MBDynParser &HP)
virtual DofOrder::Order GetDofType(unsigned int i) const
SubVectorHandler & InitialAssRes(SubVectorHandler &WorkVec, const VectorHandler &XCurr)
VariableSubMatrixHandler & InitialAssJac(VariableSubMatrixHandler &WorkMat, const VectorHandler &XCurr)
void PutRowIndex(integer iSubRow, integer iRow)
bool SetUDE(const std::string &s, UserDefinedElemRead *rude)
void Set(const DriveCaller *pDC)
doublereal dGet(const doublereal &dVar) const
virtual void InitialWorkSpaceDim(integer *piNumRows, integer *piNumCols) const
DriveCaller * GetDriveCaller(bool bDeferred=false)
unsigned int iGetNumPrivData(void) const
virtual void SetOutputFlag(flag f=flag(1))
virtual integer iGetFirstIndex(void) const
virtual unsigned int iGetNumDof(void) const
unsigned int GetLabel(void) const
virtual unsigned int iGetInitialNumDof(void) const
virtual void WorkSpaceDim(integer *piNumRows, integer *piNumCols) const
virtual doublereal GetReal(const doublereal &dDefval=0.0)