LifeV
ZeroDimensionalNodeUnknown Class Reference

ZeroDimensionalNodeUnknown - This class defines the unknown node class. More...

#include <ZeroDimensionalCircuitData.hpp>

+ Inheritance diagram for ZeroDimensionalNodeUnknown:
+ Collaboration diagram for ZeroDimensionalNodeUnknown:

Protected Attributes

Int M_variableIndex
 
Int M_equationRow
 
- 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

 ZeroDimensionalNodeUnknown ()
 Constructor. More...
 
virtual ~ZeroDimensionalNodeUnknown ()
 Destructor. More...
 

Methods

void showMe (const Int &flag=0)
 

Set Methods

void assignVariableIndex (const Int &index)
 assign the index of the unknown voltage. More...
 

Get Methods

const IntvariableIndex () const
 
const IntequationRow () 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...
 
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 const Realvoltage () const
 
virtual Real deltaVoltage () const
 
const RealcurrentBalance () const
 

Detailed Description

ZeroDimensionalNodeUnknown - This class defines the unknown node class.

Authors
Mahmoud Jafargholi

Definition at line 894 of file ZeroDimensionalCircuitData.hpp.

Constructor & Destructor Documentation

◆ ZeroDimensionalNodeUnknown()

Constructor.

Definition at line 525 of file ZeroDimensionalCircuitData.cpp.

◆ ~ZeroDimensionalNodeUnknown()

virtual ~ZeroDimensionalNodeUnknown ( )
inlinevirtual

Destructor.

Definition at line 905 of file ZeroDimensionalCircuitData.hpp.

Member Function Documentation

◆ showMe()

void showMe ( const Int flag = 0)
virtual

Reimplemented from ZeroDimensionalNode.

Definition at line 537 of file ZeroDimensionalCircuitData.cpp.

◆ assignVariableIndex()

void assignVariableIndex ( const Int index)

assign the index of the unknown voltage.

Definition at line 530 of file ZeroDimensionalCircuitData.cpp.

◆ variableIndex()

const Int& variableIndex ( ) const
inline

Definition at line 930 of file ZeroDimensionalCircuitData.hpp.

◆ equationRow()

const Int& equationRow ( ) const
inline

Definition at line 935 of file ZeroDimensionalCircuitData.hpp.

+ Here is the caller graph for this function:

Field Documentation

◆ M_variableIndex

Int M_variableIndex
protected

Definition at line 943 of file ZeroDimensionalCircuitData.hpp.

◆ M_equationRow

Int M_equationRow
protected

Definition at line 944 of file ZeroDimensionalCircuitData.hpp.


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