LifeV
ZeroDimensionalNodeKnown Class Reference

ZeroDimensionalNodeKnown - This class defines the known node class. A Voltage Source element is connected to this class. More...

#include <ZeroDimensionalCircuitData.hpp>

+ Inheritance diagram for ZeroDimensionalNodeKnown:
+ Collaboration diagram for ZeroDimensionalNodeKnown:

Protected Attributes

zeroDimensionalElementVoltageSourcePtr_Type M_element
 
- Protected Attributes inherited from ZeroDimensionalNode
Int M_id
 
ZeroDimensionalNodeType M_type
 
Real M_currentBalance
 
vecInt_Type M_elementListIndex
 
vecInt_Type M_nodeListIndex
 
Real M_voltage
 
Real M_deltaVoltage
 

Constructors and Destructor

 ZeroDimensionalNodeKnown ()
 Contructor. More...
 
 ZeroDimensionalNodeKnown (const zeroDimensionalElementVoltageSourcePtr_Type &theElement)
 Contructor. More...
 
virtual ~ZeroDimensionalNodeKnown ()
 Destructor. More...
 

Set Methods

void setElement (const zeroDimensionalElementVoltageSourcePtr_Type &element)
 Set the VoltageSource Element which is connected to the Node. More...
 
void setVoltageByTime (const Real &time)
 
void setDeltaVoltageByTime (const Real &time)
 
const Realvoltage () const
 
Real voltageByTime (Real &time) const
 
Real deltaVoltageByTime (Real &time) const
 

Additional Inherited Members

- Public Member Functions inherited from ZeroDimensionalNode
 ZeroDimensionalNode ()
 Constructor. More...
 
virtual ~ZeroDimensionalNode ()
 Destructor. More...
 
void calculateCurrentBalance (const ZeroDimensionalElementS &Elements)
 Calculate current balance at node. More...
 
virtual void showMe (const Int &flag=0)
 
const std::string enum2string (const ZeroDimensionalNodeType &type) const
 
void setId (const Int &id)
 
void setElementListIndex (const Int &index)
 add an element index to the elelemt list. More...
 
void setNodeListIndex (const Int &index)
 add an node index which is connected by an element in element list. More...
 
virtual void setVoltage (const Real &voltage)
 
virtual void setDeltaVoltage (const Real &deltaVoltage)
 
const Intid () const
 
const ZeroDimensionalNodeTypetype () const
 
const IntelementListIndexAt (const Int &position) const
 
const vecInt_TypeelementListIndex () const
 
const IntnodeListIndexAt (const Int &position) const
 
virtual Real deltaVoltage () const
 
const RealcurrentBalance () const
 

Detailed Description

ZeroDimensionalNodeKnown - This class defines the known node class. A Voltage Source element is connected to this class.

Authors
Mahmoud Jafargholi

Definition at line 953 of file ZeroDimensionalCircuitData.hpp.

Constructor & Destructor Documentation

◆ ZeroDimensionalNodeKnown() [1/2]

Contructor.

Definition at line 549 of file ZeroDimensionalCircuitData.cpp.

◆ ZeroDimensionalNodeKnown() [2/2]

Contructor.

Parameters
VoltageSource connected to the knwn node.

Definition at line 553 of file ZeroDimensionalCircuitData.cpp.

◆ ~ZeroDimensionalNodeKnown()

virtual ~ZeroDimensionalNodeKnown ( )
inlinevirtual

Destructor.

Definition at line 971 of file ZeroDimensionalCircuitData.hpp.

Member Function Documentation

◆ setElement()

void setElement ( const zeroDimensionalElementVoltageSourcePtr_Type element)
inline

Set the VoltageSource Element which is connected to the Node.

Definition at line 980 of file ZeroDimensionalCircuitData.hpp.

◆ setVoltageByTime()

void setVoltageByTime ( const Real time)
inline

Definition at line 985 of file ZeroDimensionalCircuitData.hpp.

◆ setDeltaVoltageByTime()

void setDeltaVoltageByTime ( const Real time)
inline

Definition at line 991 of file ZeroDimensionalCircuitData.hpp.

◆ voltage()

const Real& voltage ( ) const
inlinevirtual

Reimplemented from ZeroDimensionalNode.

Definition at line 997 of file ZeroDimensionalCircuitData.hpp.

+ Here is the caller graph for this function:

◆ voltageByTime()

Real voltageByTime ( Real time) const
inline

Definition at line 1002 of file ZeroDimensionalCircuitData.hpp.

◆ deltaVoltageByTime()

Real deltaVoltageByTime ( Real time) const
inline

Definition at line 1007 of file ZeroDimensionalCircuitData.hpp.

Field Documentation

◆ M_element

Definition at line 1016 of file ZeroDimensionalCircuitData.hpp.


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