LifeV
|
ZeroDimensionalNodeKnown - This class defines the known node class. A Voltage Source element is connected to this class. More...
#include <ZeroDimensionalCircuitData.hpp>
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 Real & | voltage () 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 Int & | id () const |
const ZeroDimensionalNodeType & | type () const |
const Int & | elementListIndexAt (const Int &position) const |
const vecInt_Type & | elementListIndex () const |
const Int & | nodeListIndexAt (const Int &position) const |
virtual Real | deltaVoltage () const |
const Real & | currentBalance () const |
ZeroDimensionalNodeKnown - This class defines the known node class. A Voltage Source element is connected to this class.
Definition at line 953 of file ZeroDimensionalCircuitData.hpp.
|
explicit |
Contructor.
Definition at line 549 of file ZeroDimensionalCircuitData.cpp.
ZeroDimensionalNodeKnown | ( | const zeroDimensionalElementVoltageSourcePtr_Type & | theElement | ) |
Contructor.
Voltage | Source connected to the knwn node. |
Definition at line 553 of file ZeroDimensionalCircuitData.cpp.
|
inlinevirtual |
Destructor.
Definition at line 971 of file ZeroDimensionalCircuitData.hpp.
|
inline |
Set the VoltageSource Element which is connected to the Node.
Definition at line 980 of file ZeroDimensionalCircuitData.hpp.
|
inline |
Definition at line 985 of file ZeroDimensionalCircuitData.hpp.
|
inline |
Definition at line 991 of file ZeroDimensionalCircuitData.hpp.
|
inlinevirtual |
Reimplemented from ZeroDimensionalNode.
Definition at line 997 of file ZeroDimensionalCircuitData.hpp.
Definition at line 1002 of file ZeroDimensionalCircuitData.hpp.
Definition at line 1007 of file ZeroDimensionalCircuitData.hpp.
|
protected |
Definition at line 1016 of file ZeroDimensionalCircuitData.hpp.