MBDyn-1.7.3
|
#include <nestedelem.h>
Public Member Functions | |
NestedElem (const Elem *pE) | |
~NestedElem (void) | |
virtual Elem * | pGetElem (void) const |
virtual void | OutputPrepare (OutputHandler &OH) |
virtual void | Output (OutputHandler &OH) const |
virtual void | SetOutputFlag (flag f) |
virtual void | SetValue (DataManager *pdm, VectorHandler &X, VectorHandler &XP, SimulationEntity::Hints *ph=0) |
virtual Elem::Type | GetElemType (void) const |
virtual unsigned int | iGetNumDof (void) const |
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 DofOrder::Order | GetDofType (unsigned int i) const |
virtual DofOrder::Order | GetEqType (unsigned int i) const |
virtual void | WorkSpaceDim (integer *piNumRows, integer *piNumCols) const |
virtual void | BeforePredict (VectorHandler &X, VectorHandler &XP, VectorHandler &XPrev, VectorHandler &XPPrev) const |
virtual void | AfterPredict (VectorHandler &X, VectorHandler &XP) |
virtual void | Update (const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual void | AfterConvergence (const VectorHandler &X, const VectorHandler &XP) |
virtual VariableSubMatrixHandler & | AssJac (VariableSubMatrixHandler &WorkMat, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual void | AssMats (VariableSubMatrixHandler &WorkMatA, VariableSubMatrixHandler &WorkMatB, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual SubVectorHandler & | AssRes (SubVectorHandler &WorkVec, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual unsigned int | iGetNumPrivData (void) const |
virtual unsigned int | iGetPrivDataIdx (const char *s) const |
virtual doublereal | dGetPrivData (unsigned int i) const |
virtual int | GetNumConnectedNodes (void) const |
virtual void | GetConnectedNodes (std::vector< const Node * > &connectedNodes) const |
virtual bool | bInverseDynamics (void) const |
virtual void | Update (const VectorHandler &XCurr, InverseDynamics::Order iOrder) |
virtual VariableSubMatrixHandler & | AssJac (VariableSubMatrixHandler &WorkMat, const VectorHandler &XCurr) |
virtual SubVectorHandler & | AssRes (SubVectorHandler &WorkVec, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr, const VectorHandler &XPrimePrimeCurr, InverseDynamics::Order iOrder=InverseDynamics::INVERSE_DYNAMICS) |
virtual void | AfterConvergence (const VectorHandler &X, const VectorHandler &XP, const VectorHandler &XPP) |
virtual unsigned int | iGetInitialNumDof (void) const |
virtual void | InitialWorkSpaceDim (integer *piNumRows, integer *piNumCols) const |
virtual VariableSubMatrixHandler & | InitialAssJac (VariableSubMatrixHandler &WorkMat, const VectorHandler &XCurr) |
virtual SubVectorHandler & | InitialAssRes (SubVectorHandler &WorkVec, const VectorHandler &XCurr) |
virtual AerodynamicElem::Type | GetAerodynamicElemType (void) const |
virtual bool | NeedsAirProperties (void) const |
virtual const InducedVelocity * | pGetInducedVelocity (void) const |
virtual void | PutAirProperties (const AirProperties *pAP) |
virtual doublereal | dGetM (void) const |
Vec3 | GetS (void) const |
Mat3x3 | GetJ (void) const |
virtual const DofOwner * | pGetDofOwner (void) const |
virtual integer | iGetFirstIndex (void) const |
virtual void | SetInitialValue (VectorHandler &X) |
Public Member Functions inherited from Elem | |
Elem (unsigned int uL, flag fOut) | |
virtual | ~Elem (void) |
virtual std::ostream & | Restart (std::ostream &out) const =0 |
void | SetInverseDynamicsFlags (unsigned uIDF) |
unsigned | GetInverseDynamicsFlags (void) const |
bool | bIsErgonomy (void) const |
bool | bIsRightHandSide (void) 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 Hint * | ParseHint (DataManager *pDM, const char *s) const |
virtual void | DerivativesUpdate (const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual std::ostream & | OutputAppend (std::ostream &out) const |
virtual void | ReadInitialState (MBDynParser &HP) |
Public Member Functions inherited from ToBeOutput | |
ToBeOutput (flag fOut=fDefaultOut) | |
virtual | ~ToBeOutput (void) |
virtual void | Output (OutputHandler &OH, const VectorHandler &X, const VectorHandler &XP) const |
virtual flag | fToBeOutput (void) const |
virtual bool | bToBeOutput (void) const |
Public Member Functions inherited from InitialAssemblyElem | |
InitialAssemblyElem (unsigned int uL, flag fOut) | |
virtual | ~InitialAssemblyElem (void) |
Public Member Functions inherited from SubjectToInitialAssembly | |
SubjectToInitialAssembly (void) | |
virtual | ~SubjectToInitialAssembly (void) |
Public Member Functions inherited from AerodynamicElem | |
AerodynamicElem (unsigned int uL, const DofOwner *pDO, flag fOut) | |
virtual | ~AerodynamicElem (void) |
Public Member Functions inherited from ElemWithDofs | |
ElemWithDofs (unsigned int uL, const DofOwner *pDO, flag fOut) | |
virtual | ~ElemWithDofs (void) |
Public Member Functions inherited from DofOwnerOwner | |
DofOwnerOwner (const DofOwner *pDO) | |
virtual | ~DofOwnerOwner () |
Public Member Functions inherited from AirPropOwner | |
AirPropOwner (void) | |
virtual | ~AirPropOwner (void) |
virtual flag | fGetAirVelocity (Vec3 &Velocity, const Vec3 &X) const |
virtual doublereal | dGetAirDensity (const Vec3 &X) const |
virtual doublereal | dGetAirPressure (const Vec3 &X) const |
virtual doublereal | dGetAirTemperature (const Vec3 &X) const |
virtual doublereal | dGetSoundSpeed (const Vec3 &X) const |
virtual bool | GetAirProps (const Vec3 &X, doublereal &rho, doublereal &c, doublereal &p, doublereal &T) const |
Public Member Functions inherited from ElemGravityOwner | |
ElemGravityOwner (unsigned int uL, flag fOut) | |
virtual | ~ElemGravityOwner (void) |
Vec3 | GetS (void) const |
Mat3x3 | GetJ (void) const |
Vec3 | GetB (void) const |
Vec3 | GetG (void) const |
Public Member Functions inherited from GravityOwner | |
GravityOwner (void) | |
virtual | ~GravityOwner (void) |
void | PutGravity (const Gravity *pG) |
virtual bool | bGetGravity (const Vec3 &X, Vec3 &Acc) const |
Protected Member Functions | |
virtual Vec3 | GetS_int (void) const |
virtual Mat3x3 | GetJ_int (void) const |
virtual Vec3 | GetB_int (void) const |
virtual Vec3 | GetG_int (void) const |
Protected Attributes | |
Elem * | pElem |
Protected Attributes inherited from WithLabel | |
unsigned int | uLabel |
std::string | sName |
Protected Attributes inherited from ToBeOutput | |
flag | fOutput |
Protected Attributes inherited from AirPropOwner | |
const AirProperties * | pAirProperties |
Protected Attributes inherited from GravityOwner | |
Gravity * | pGravity |
Additional Inherited Members | |
Public Types inherited from Elem | |
enum | Type { UNKNOWN = -1, AIRPROPERTIES = 0, INDUCEDVELOCITY, AUTOMATICSTRUCTURAL, GRAVITY, BODY, JOINT, JOINT_REGULARIZATION, BEAM, PLATE, FORCE, INERTIA, ELECTRICBULK, ELECTRIC, THERMAL, HYDRAULIC, BULK, LOADABLE, DRIVEN, EXTERNAL, AEROMODAL, AERODYNAMIC, GENEL, SOCKETSTREAM_OUTPUT, RTAI_OUTPUT = SOCKETSTREAM_OUTPUT, LASTELEMTYPE } |
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 } |
Public Types inherited from AerodynamicElem | |
enum | Type { UNKNOWN = -1, INDUCEDVELOCITY = 0, AEROMODAL, AERODYNAMICBODY, AERODYNAMICBEAM, AERODYNAMICEXTERNAL, AERODYNAMICEXTERNALMODAL, AERODYNAMICLOADABLE, AIRCRAFTINSTRUMENTS, GENERICFORCE, LASTAEROTYPE } |
Definition at line 44 of file nestedelem.h.
NestedElem::NestedElem | ( | const Elem * | pE | ) |
Definition at line 39 of file nestedelem.cc.
References ASSERT.
NestedElem::~NestedElem | ( | void | ) |
|
virtual |
Reimplemented from SimulationEntity.
Reimplemented in DrivenElem.
Definition at line 202 of file nestedelem.cc.
References SimulationEntity::AfterConvergence(), ASSERT, and pElem.
|
virtual |
Reimplemented from SimulationEntity.
Reimplemented in DrivenElem.
Definition at line 308 of file nestedelem.cc.
References SimulationEntity::AfterConvergence(), ASSERT, and pElem.
|
virtual |
Reimplemented from SimulationEntity.
Reimplemented in DrivenElem.
Definition at line 177 of file nestedelem.cc.
References SimulationEntity::AfterPredict(), ASSERT, and pElem.
|
virtual |
Implements Elem.
Reimplemented in DrivenElem.
Definition at line 210 of file nestedelem.cc.
References ASSERT, Elem::AssJac(), and pElem.
|
virtual |
Reimplemented from Elem.
Reimplemented in DrivenElem.
Definition at line 316 of file nestedelem.cc.
References ASSERT, Elem::AssJac(), and pElem.
|
virtual |
Reimplemented from Elem.
Reimplemented in DrivenElem.
Definition at line 220 of file nestedelem.cc.
References ASSERT, Elem::AssMats(), and pElem.
|
virtual |
Implements Elem.
Reimplemented in DrivenElem.
Definition at line 232 of file nestedelem.cc.
References ASSERT, Elem::AssRes(), and pElem.
|
virtual |
Reimplemented from Elem.
Reimplemented in DrivenElem.
Definition at line 325 of file nestedelem.cc.
References ASSERT, Elem::AssRes(), and pElem.
|
virtual |
Reimplemented from SimulationEntity.
Reimplemented in DrivenElem.
Definition at line 167 of file nestedelem.cc.
References ASSERT, SimulationEntity::BeforePredict(), and pElem.
|
virtual |
Reimplemented from Elem.
Definition at line 292 of file nestedelem.cc.
References ASSERT, Elem::bInverseDynamics(), and pElem.
|
virtual |
Reimplemented from Elem.
Definition at line 122 of file nestedelem.cc.
References ASSERT, Elem::DescribeDof(), and pElem.
|
virtual |
Reimplemented from Elem.
Definition at line 130 of file nestedelem.cc.
References ASSERT, Elem::DescribeDof(), and pElem.
|
virtual |
Reimplemented from Elem.
Definition at line 138 of file nestedelem.cc.
References ASSERT, Elem::DescribeEq(), and pElem.
|
virtual |
Reimplemented from Elem.
Definition at line 146 of file nestedelem.cc.
References ASSERT, Elem::DescribeEq(), and pElem.
|
virtual |
Reimplemented from ElemGravityOwner.
Reimplemented in DrivenElem.
Definition at line 486 of file nestedelem.cc.
References ASSERT, ElemGravityOwner::dGetM(), and pElem.
Referenced by DrivenElem::dGetM().
|
virtual |
Reimplemented from SimulationEntity.
Reimplemented in DrivenElem.
Definition at line 268 of file nestedelem.cc.
References SimulationEntity::dGetPrivData(), and pElem.
|
virtual |
Implements AerodynamicElem.
Definition at line 388 of file nestedelem.cc.
References ASSERT, AerodynamicElem::GetAerodynamicElemType(), pElem, and AerodynamicElem::UNKNOWN.
|
protectedvirtual |
Reimplemented from ElemGravityOwner.
Reimplemented in DrivenElem.
Definition at line 460 of file nestedelem.cc.
References ASSERT, ElemGravityOwner::GetB_int(), pElem, and Zero3.
Referenced by DrivenElem::GetB_int().
|
virtual |
Reimplemented from Elem.
Definition at line 285 of file nestedelem.cc.
References ASSERT, Elem::GetConnectedNodes(), and pElem.
|
virtual |
Reimplemented from Elem.
Definition at line 108 of file nestedelem.cc.
References ASSERT, Elem::GetDofType(), and pElem.
|
virtual |
Implements Elem.
Definition at line 92 of file nestedelem.cc.
References ASSERT, Elem::GetElemType(), and pElem.
|
virtual |
Reimplemented from SimulationEntity.
Definition at line 115 of file nestedelem.cc.
References ASSERT, SimulationEntity::GetEqType(), and pElem.
|
protectedvirtual |
Reimplemented from ElemGravityOwner.
Reimplemented in DrivenElem.
Definition at line 474 of file nestedelem.cc.
References ASSERT, ElemGravityOwner::GetG_int(), pElem, and Zero3.
Referenced by DrivenElem::GetG_int().
Mat3x3 NestedElem::GetJ | ( | void | ) | const |
Definition at line 510 of file nestedelem.cc.
References ASSERT, ElemGravityOwner::GetJ(), pElem, and Zero3x3.
Referenced by DrivenElem::GetJ().
|
protectedvirtual |
Reimplemented from ElemGravityOwner.
Reimplemented in DrivenElem.
Definition at line 448 of file nestedelem.cc.
References ASSERT, ElemGravityOwner::GetJ_int(), pElem, and Zero3x3.
Referenced by DrivenElem::GetJ_int().
|
virtual |
Reimplemented from Elem.
Definition at line 278 of file nestedelem.cc.
References ASSERT, Elem::GetNumConnectedNodes(), and pElem.
Vec3 NestedElem::GetS | ( | void | ) | const |
Definition at line 498 of file nestedelem.cc.
References ASSERT, ElemGravityOwner::GetS(), pElem, and Zero3.
Referenced by DrivenElem::GetS().
|
protectedvirtual |
Reimplemented from ElemGravityOwner.
Reimplemented in DrivenElem.
Definition at line 436 of file nestedelem.cc.
References ASSERT, ElemGravityOwner::GetS_int(), pElem, and Zero3.
Referenced by DrivenElem::GetS_int().
|
virtual |
Reimplemented from DofOwnerOwner.
Definition at line 536 of file nestedelem.cc.
References ASSERT, DofOwnerOwner::iGetFirstIndex(), and pElem.
Referenced by DrivenElem::AssJac(), DrivenElem::AssMats(), and DrivenElem::AssRes().
|
virtual |
Implements SubjectToInitialAssembly.
Reimplemented in DrivenElem.
Definition at line 337 of file nestedelem.cc.
References ASSERT, SubjectToInitialAssembly::iGetInitialNumDof(), and pElem.
Referenced by DrivenElem::iGetInitialNumDof().
|
virtual |
Reimplemented from Elem.
Definition at line 100 of file nestedelem.cc.
References ASSERT, Elem::iGetNumDof(), and pElem.
|
virtual |
Reimplemented from SimulationEntity.
Definition at line 247 of file nestedelem.cc.
References SimulationEntity::iGetNumPrivData(), and pElem.
|
virtual |
Reimplemented from SimulationEntity.
Definition at line 258 of file nestedelem.cc.
References SimulationEntity::iGetPrivDataIdx(), and pElem.
|
virtual |
Implements SubjectToInitialAssembly.
Reimplemented in DrivenElem.
Definition at line 358 of file nestedelem.cc.
References ASSERT, SubjectToInitialAssembly::InitialAssJac(), pElem, and VariableSubMatrixHandler::SetNullMatrix().
Referenced by DrivenElem::InitialAssJac().
|
virtual |
Implements SubjectToInitialAssembly.
Reimplemented in DrivenElem.
Definition at line 373 of file nestedelem.cc.
References ASSERT, SubjectToInitialAssembly::InitialAssRes(), pElem, and VectorHandler::Resize().
Referenced by DrivenElem::InitialAssRes().
Implements SubjectToInitialAssembly.
Reimplemented in DrivenElem.
Definition at line 348 of file nestedelem.cc.
References ASSERT, SubjectToInitialAssembly::InitialWorkSpaceDim(), and pElem.
Referenced by DrivenElem::InitialWorkSpaceDim().
|
virtual |
Reimplemented from AerodynamicElem.
Definition at line 400 of file nestedelem.cc.
References ASSERT, AerodynamicElem::NeedsAirProperties(), and pElem.
Referenced by PutAirProperties().
|
virtual |
Reimplemented from ToBeOutput.
Reimplemented in DrivenElem.
Definition at line 78 of file nestedelem.cc.
References ASSERT, ToBeOutput::Output(), and pElem.
|
virtual |
Reimplemented from ToBeOutput.
Definition at line 71 of file nestedelem.cc.
References ASSERT, ToBeOutput::OutputPrepare(), and pElem.
|
virtual |
Reimplemented from DofOwnerOwner.
Definition at line 523 of file nestedelem.cc.
References ASSERT, pElem, and DofOwnerOwner::pGetDofOwner().
|
virtual |
Definition at line 60 of file nestedelem.cc.
References pElem, and pGetElem().
Referenced by DataManager::Cast(), InitialAssemblyIterator::GetFirst(), InitialAssemblyIterator::GetNext(), LoadIncForce::LoadIncForce(), pGetElem(), and ReadJointRegularization().
|
virtual |
Reimplemented from AerodynamicElem.
Definition at line 423 of file nestedelem.cc.
References ASSERT, pElem, and AerodynamicElem::pGetInducedVelocity().
|
virtual |
Reimplemented from AirPropOwner.
Definition at line 412 of file nestedelem.cc.
References ASSERT, NeedsAirProperties(), pElem, and AirPropOwner::PutAirProperties().
|
virtual |
Initialize state vector used in initial assembly. May set internal states of the element. Do not rely on being always called, because initial assembly could be implicitly or explicitly skipped
Reimplemented from DofOwnerOwner.
Reimplemented in DrivenElem.
Definition at line 548 of file nestedelem.cc.
References ASSERT, pElem, and DofOwnerOwner::SetInitialValue().
Referenced by DrivenElem::SetInitialValue().
|
virtual |
Reimplemented from ToBeOutput.
Definition at line 85 of file nestedelem.cc.
References ASSERT, pElem, and ToBeOutput::SetOutputFlag().
|
virtual |
Implements ElemGravityOwner.
Reimplemented in DrivenElem.
Definition at line 184 of file nestedelem.cc.
References ASSERT, pElem, and SimulationEntity::SetValue().
|
virtual |
Reimplemented from SimulationEntity.
Reimplemented in DrivenElem.
Definition at line 194 of file nestedelem.cc.
References ASSERT, pElem, and SimulationEntity::Update().
|
virtual |
Reimplemented from SimulationEntity.
Reimplemented in DrivenElem.
Definition at line 300 of file nestedelem.cc.
References ASSERT, pElem, and SimulationEntity::Update().
Implements Elem.
Definition at line 156 of file nestedelem.cc.
References ASSERT, pElem, and Elem::WorkSpaceDim().
|
protected |
Definition at line 50 of file nestedelem.h.
Referenced by AfterConvergence(), DrivenElem::AfterConvergence(), DrivenElem::AfterPredict(), AfterPredict(), DrivenElem::AssJac(), AssJac(), DrivenElem::AssMats(), AssMats(), DrivenElem::AssRes(), AssRes(), DrivenElem::BeforePredict(), BeforePredict(), bInverseDynamics(), DescribeDof(), DescribeEq(), dGetM(), DrivenElem::dGetPrivData(), dGetPrivData(), GetAerodynamicElemType(), GetB_int(), GetConnectedNodes(), GetDofType(), GetElemType(), GetEqType(), GetG_int(), GetJ(), GetJ_int(), GetNumConnectedNodes(), GetS(), GetS_int(), iGetFirstIndex(), iGetInitialNumDof(), iGetNumDof(), iGetNumPrivData(), iGetPrivDataIdx(), InitialAssJac(), InitialAssRes(), InitialWorkSpaceDim(), NeedsAirProperties(), Output(), DrivenElem::Output(), OutputPrepare(), pGetDofOwner(), pGetElem(), pGetInducedVelocity(), PutAirProperties(), DrivenElem::Restart(), SetInitialValue(), SetOutputFlag(), DrivenElem::SetValue(), SetValue(), DrivenElem::Update(), Update(), WorkSpaceDim(), DrivenElem::~DrivenElem(), and ~NestedElem().