![]() |
LifeV
|
ZeroDimensionalElementPassiveResistor - Resistor. More...
#include <ZeroDimensionalCircuitData.hpp>
Inheritance diagram for ZeroDimensionalElementPassiveResistor:
Collaboration diagram for ZeroDimensionalElementPassiveResistor:Constructors and Destructor | |
| ZeroDimensionalElementPassiveResistor () | |
| Contructor. More... | |
| virtual | ~ZeroDimensionalElementPassiveResistor () |
| Destructor. More... | |
Methods | |
| void | showMe (const Int &flag=0) |
| Show some information. More... | |
| void | buildABC (matrix_Type &A, matrix_Type &B, vector_Type &C, const zeroDimensionalNodeSPtr_Type &Nodes) |
| Contribution of the element of matrix {A} and {B} and vector {C}. More... | |
| void | extractSolution (const ZeroDimensionalNodeS &nodes) |
| Compute outputs (currents and voltages) from the solution vector after each succesful iteration. More... | |
Additional Inherited Members | |
Public Member Functions inherited from ZeroDimensionalElementPassive | |
| ZeroDimensionalElementPassive () | |
| Constructor. More... | |
| virtual | ~ZeroDimensionalElementPassive () |
| Destructor. More... | |
| void | connectElement (zeroDimensionalNodeSPtr_Type &nodes) |
| Impleaments the abstarct class for passive elements. More... | |
| void | setParameter (const Real ¶meter) |
| set parameter (1/R, 1/L, C, 1/R_{eff}) More... | |
| void | setNodeIndex (const Int &index) |
| add the node to the list. More... | |
| const Real & | parameter () const |
| get the parameter (1/R, 1/L, C, 1/R_{eff}) More... | |
| const Int & | nodeIndex (const Int &position) const |
| get the node index connected to the node. More... | |
| Real | direction (const Int &nodeId) const |
| This method specifies the convention of current direction in an element. More... | |
Public Member Functions inherited from ZeroDimensionalElement | |
| ZeroDimensionalElement () | |
| Constructor. More... | |
| virtual | ~ZeroDimensionalElement () |
| Destructor. More... | |
| const std::string | enum2string (const ZeroDimensionalElementType &type) |
| void | setId (const Int &id) |
| void | setCurrent (const Real ¤t) |
| void | setDeltaCurrent (const Real &deltaCurrent) |
| Set derivative of current respect to time. More... | |
| const Int & | id () const |
| const ZeroDimensionalElementType & | type () const |
| const Real & | current () const |
| const Real & | deltaCurrent () const |
| Get derivative of current respect to time. More... | |
Protected Attributes inherited from ZeroDimensionalElementPassive | |
| Real | M_parameter |
| vecInt_Type | M_nodeIndex |
Protected Attributes inherited from ZeroDimensionalElement | |
| Int | M_id |
| ZeroDimensionalElementType | M_type |
| Real | M_current |
| Real | M_deltaCurrent |
ZeroDimensionalElementPassiveResistor - Resistor.
Definition at line 289 of file ZeroDimensionalCircuitData.hpp.
|
explicit |
Contructor.
Definition at line 139 of file ZeroDimensionalCircuitData.cpp.
|
inlinevirtual |
Destructor.
Definition at line 300 of file ZeroDimensionalCircuitData.hpp.
|
virtual |
Show some information.
Reimplemented from ZeroDimensionalElementPassive.
Reimplemented in ZeroDimensionalElementPassiveDiode.
Definition at line 144 of file ZeroDimensionalCircuitData.cpp.
Here is the caller graph for this function:
|
virtual |
Contribution of the element of matrix {A} and {B} and vector {C}.
After updating the BCs ( or Terminal nodes ) this each element will invoke this method to compute it's contribution on matrices.
Reimplemented from ZeroDimensionalElement.
Reimplemented in ZeroDimensionalElementPassiveDiode.
Definition at line 150 of file ZeroDimensionalCircuitData.cpp.
Here is the caller graph for this function:
|
virtual |
Compute outputs (currents and voltages) from the solution vector after each succesful iteration.
After each time step, when Rythmos solver is succesfully finishes, this method will compute finial outputs ( for exmple currents) from the finial solution vector.
Reimplemented from ZeroDimensionalElement.
Reimplemented in ZeroDimensionalElementPassiveDiode.
Definition at line 185 of file ZeroDimensionalCircuitData.cpp.