MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
ElectricNode Class Reference

#include <elecnode.h>

Inheritance diagram for ElectricNode:
Collaboration diagram for ElectricNode:

Public Member Functions

 ElectricNode (unsigned int uL, const DofOwner *pDO, doublereal dx, doublereal dxp, flag fOut)
 
virtual ~ElectricNode (void)
 
virtual Node::Type GetNodeType (void) const
 
virtual void Output (OutputHandler &OH) const
 
- Public Member Functions inherited from ScalarDifferentialNode
 ScalarDifferentialNode (unsigned int uL, const DofOwner *pDO, const doublereal &dx, const doublereal &dxp, flag fOut)
 
virtual ~ScalarDifferentialNode (void)
 
virtual DofOrder::Order GetDofType (unsigned int i) const
 
virtual const doublerealdGetDofValue (int iDof, int iOrder=0) const
 
virtual const doublerealdGetDofValuePrev (int iDof, int iOrder=0) const
 
virtual void SetDofValue (const doublereal &dValue, unsigned int iDof, unsigned int iOrder=0)
 
virtual void SetX (const doublereal &d)
 
virtual const doublerealdGetX (void) const
 
virtual void SetXPrime (const doublereal &d)
 
virtual const doublerealdGetXPrime (void) const
 
virtual void SetValue (DataManager *pDM, VectorHandler &X, VectorHandler &XP, SimulationEntity::Hints *ph=0)
 
virtual void Update (const class VectorHandler &, const class VectorHandler &)
 
std::ostream & Restart (std::ostream &out) const
 
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 ScalarNode
 ScalarNode (unsigned int uL, const DofOwner *pDO, flag fOut)
 
virtual ~ScalarNode (void)
 
virtual unsigned int iGetNumDof (void) const
 
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 NodeGetNode (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 integer iGetFirstRowIndex (void) const
 
virtual integer iGetFirstColIndex (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 DofOrder::Order GetEqType (unsigned int i) const
 
virtual HintParseHint (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 DofOwnerpGetDofOwner (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))
 

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 Member Functions inherited from ScalarDifferentialNode
virtual std::ostream & Output (std::ostream &out) const
 
- Protected Attributes inherited from ScalarDifferentialNode
doublereal dX
 
doublereal dXP
 
doublereal dXPrev
 
doublereal dXPPrev
 
- Protected Attributes inherited from WithLabel
unsigned int uLabel
 
std::string sName
 
- Protected Attributes inherited from ToBeOutput
flag fOutput
 

Detailed Description

Definition at line 84 of file elecnode.h.

Constructor & Destructor Documentation

ElectricNode::ElectricNode ( unsigned int  uL,
const DofOwner pDO,
doublereal  dx,
doublereal  dxp,
flag  fOut 
)

Definition at line 41 of file elecnode.cc.

References NO_OP.

46 : ScalarDifferentialNode(uL, pDO, dx, dxp, fOut)
47 {
48  NO_OP;
49 }
ScalarDifferentialNode(unsigned int uL, const DofOwner *pDO, const doublereal &dx, const doublereal &dxp, flag fOut)
Definition: node.cc:152
#define NO_OP
Definition: myassert.h:74
ElectricNode::~ElectricNode ( void  )
virtual

Definition at line 52 of file elecnode.cc.

References NO_OP.

53 {
54  NO_OP;
55 }
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

Node::Type ElectricNode::GetNodeType ( void  ) const
virtual

Reimplemented from ScalarDifferentialNode.

Definition at line 59 of file elecnode.cc.

References Node::ELECTRIC.

60 {
61  return Node::ELECTRIC;
62 }
virtual void ElectricNode::Output ( OutputHandler OH) const
inlinevirtual

Reimplemented from ScalarNode.

Definition at line 96 of file elecnode.h.

References OutputHandler::Electric(), and ScalarDifferentialNode::Output().

96  {
98  };
virtual std::ostream & Output(std::ostream &out) const
Definition: node.cc:268
std::ostream & Electric(void) const
Definition: output.h:408

Here is the call graph for this function:


The documentation for this class was generated from the following files: