MBDyn-1.7.3
|
#include <node.h>
Public Member Functions | |
ScalarNode (unsigned int uL, const DofOwner *pDO, flag fOut) | |
virtual | ~ScalarNode (void) |
virtual void | Output (OutputHandler &OH) const |
virtual unsigned int | iGetNumDof (void) const |
virtual void | SetX (const doublereal &d)=0 |
virtual const doublereal & | dGetX (void) const =0 |
virtual void | SetXPrime (const doublereal &d)=0 |
virtual const doublereal & | dGetXPrime (void) const =0 |
virtual void | AfterPredict (VectorHandler &X, VectorHandler &XP) |
Public Member Functions inherited from Node | |
Node (unsigned int uL, const DofOwner *pDO, flag fOut) | |
virtual | ~Node (void) |
const Node * | GetNode (void) const |
virtual Node::Type | GetNodeType (void) const =0 |
virtual std::ostream & | Restart (std::ostream &out) const =0 |
virtual std::ostream & | DescribeDof (std::ostream &out, const char *prefix="", bool bInitial=false) const |
virtual void | DescribeDof (std::vector< std::string > &desc, bool bInitial=false, int i=-1) const |
virtual std::ostream & | DescribeEq (std::ostream &out, const char *prefix="", bool bInitial=false) const |
virtual void | DescribeEq (std::vector< std::string > &desc, bool bInitial=false, int i=-1) const |
virtual integer | iGetFirstRowIndex (void) const |
virtual integer | iGetFirstColIndex (void) const |
virtual const doublereal & | dGetDofValue (int iDof, int iOrder=0) const =0 |
virtual const doublereal & | dGetDofValuePrev (int iDof, int iOrder=0) const =0 |
virtual void | SetDofValue (const doublereal &dValue, unsigned int iDof, unsigned int iOrder=0)=0 |
virtual unsigned int | iGetNumPrivData (void) const |
virtual unsigned int | iGetPrivDataIdx (const char *s) const |
virtual doublereal | dGetPrivData (unsigned int i) const |
Public Member Functions inherited from WithLabel | |
WithLabel (unsigned int uL=0, const std::string &sN="") | |
virtual | ~WithLabel (void) |
void | PutLabel (unsigned int uL) |
void | PutName (const std::string &sN) |
unsigned int | GetLabel (void) const |
const std::string & | GetName (void) const |
Public Member Functions inherited from SimulationEntity | |
SimulationEntity (void) | |
virtual | ~SimulationEntity (void) |
virtual bool | bIsValidIndex (unsigned int i) const |
virtual DofOrder::Order | GetDofType (unsigned int i) const =0 |
virtual DofOrder::Order | GetEqType (unsigned int i) const |
virtual void | SetValue (DataManager *pDM, VectorHandler &X, VectorHandler &XP, SimulationEntity::Hints *h=0) |
virtual Hint * | ParseHint (DataManager *pDM, const char *s) const |
virtual void | BeforePredict (VectorHandler &, VectorHandler &, VectorHandler &, VectorHandler &) const |
virtual void | Update (const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual void | DerivativesUpdate (const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual void | Update (const VectorHandler &XCurr, InverseDynamics::Order iOrder) |
virtual void | AfterConvergence (const VectorHandler &X, const VectorHandler &XP) |
virtual void | AfterConvergence (const VectorHandler &X, const VectorHandler &XP, const VectorHandler &XPP) |
virtual std::ostream & | OutputAppend (std::ostream &out) const |
virtual void | ReadInitialState (MBDynParser &HP) |
Public Member Functions inherited from DofOwnerOwner | |
DofOwnerOwner (const DofOwner *pDO) | |
virtual | ~DofOwnerOwner () |
virtual const DofOwner * | pGetDofOwner (void) const |
virtual integer | iGetFirstIndex (void) const |
virtual void | SetInitialValue (VectorHandler &X) |
Public Member Functions inherited from ToBeOutput | |
ToBeOutput (flag fOut=fDefaultOut) | |
virtual | ~ToBeOutput (void) |
virtual void | OutputPrepare (OutputHandler &OH) |
virtual void | Output (OutputHandler &OH, const VectorHandler &X, const VectorHandler &XP) const |
virtual flag | fToBeOutput (void) const |
virtual bool | bToBeOutput (void) const |
virtual void | SetOutputFlag (flag f=flag(1)) |
Protected Member Functions | |
virtual std::ostream & | Output (std::ostream &out) const |
Additional Inherited Members | |
Public Types inherited from Node | |
enum | Type { UNKNOWN = -1, ABSTRACT = 0, STRUCTURAL, ELECTRIC, THERMAL, PARAMETER, HYDRAULIC, LASTNODETYPE } |
Public Types inherited from SimulationEntity | |
typedef std::vector< Hint * > | Hints |
Public Types inherited from ToBeOutput | |
enum | { OUTPUT = 0x1U, OUTPUT_MASK = 0xFU, OUTPUT_PRIVATE = 0x10U, OUTPUT_PRIVATE_MASK = ~OUTPUT_MASK } |
Protected Attributes inherited from WithLabel | |
unsigned int | uLabel |
std::string | sName |
Protected Attributes inherited from ToBeOutput | |
flag | fOutput |
|
virtual |
|
virtual |
Reimplemented from SimulationEntity.
Reimplemented in ParameterNode.
Definition at line 142 of file node.cc.
References SimulationEntity::Update().
|
pure virtual |
Implemented in Node2Scalar, ScalarAlgebraicNode, ScalarDifferentialNode, StrainGageParam, and Elem2Param.
Referenced by GenelStateSpaceSISO::AssRes(), GenelStateSpaceMIMO::AssRes(), GenelSpringSupport::AssRes(), GenelCrossSpringSupport::AssRes(), GenelCrossSpringDamperSupport::AssRes(), GenelSpringDamperSupport::AssRes(), ReadGenel(), SampleAndHold::SetValue(), GenelDistance::SetValue(), and SampleAndHold::Update().
|
pure virtual |
Implemented in Node2Scalar, ScalarAlgebraicNode, and ScalarDifferentialNode.
Referenced by GenelCrossSpringDamperSupport::AssRes(), GenelSpringDamperSupport::AssRes(), GenelMass::AssRes(), GenelDistance::SetValue(), and GenelMass::SetValue().
|
virtual |
Implements SimulationEntity.
Reimplemented in Node2Scalar, and ParameterNode.
Definition at line 136 of file node.cc.
Referenced by ScalarDifferentialNode::GetDofType(), and ScalarAlgebraicNode::GetDofType().
|
protectedvirtual |
Reimplemented in ScalarAlgebraicNode, and ScalarDifferentialNode.
Definition at line 123 of file node.cc.
Referenced by Output().
|
virtual |
Reimplemented from ToBeOutput.
Reimplemented in ParameterNode, ElectricNode, PressureNode, and ThermalNode.
Definition at line 130 of file node.cc.
References OutputHandler::Abstract(), and Output().
|
pure virtual |
Implemented in Node2Scalar, ScalarAlgebraicNode, and ScalarDifferentialNode.
|
pure virtual |
Implemented in Node2Scalar, ScalarAlgebraicNode, and ScalarDifferentialNode.