LifeV
ZeroDimensionalElementS Class Reference

ZeroDimensionalElementS - Container of elements. More...

#include <ZeroDimensionalCircuitData.hpp>

+ Collaboration diagram for ZeroDimensionalElementS:

Public Member Functions

 ZeroDimensionalElementS ()
 constructor More...
 
virtual ~ZeroDimensionalElementS ()
 Destructor. More...
 
void showMe (const Int &flag=0)
 
void setelementList (const zeroDimensionalElementPtr_Type &theElement)
 add element to the list. More...
 
const zeroDimensionalElementPtr_TypeelementListAt (const Int &index) const
 get element. More...
 
const ptrVecZeroDimensionalElementPtr_TypeelementList () const
 
const ptrVecZeroDimensionalElementPassiveResistorPtr_TyperesistorList () const
 
const ptrVecZeroDimensionalElementPassiveCapacitorPtr_TypecapacitorList () const
 
const ptrVecZeroDimensionalElementPassiveInductorPtr_TypeinductorList () const
 
const ptrVecZeroDimensionalElementPassiveDiodePtr_TypediodeList () const
 
const ptrVecZeroDimensionalElementVoltageSourcePtr_TypevoltageSourceList () const
 
const ptrVecZeroDimensionalElementCurrentSourcePtr_TypecurrentSourceList () const
 
Int elementCounter () const
 total number of elements including sources. More...
 
Int resistorCounter () const
 
Int capacitorCounter () const
 
Int inductorCounter () const
 
Int diodeCounter () const
 
Int voltageSourceCounter () const
 
Int currentSourceCounter () const
 
void setResistorList (const zeroDimensionalElementPassiveResistorPtr_Type &resistorPtr)
 add resistor to the resistor list. More...
 
void setCapacitorList (const zeroDimensionalElementPassiveCapacitorPtr_Type &capacitorPtr)
 add capacitor to the capacitor list. More...
 
void setInductorList (const zeroDimensionalElementPassiveInductorPtr_Type &inductorPtr)
 add inductor to the inductor list. More...
 
void setDiodeList (const zeroDimensionalElementPassiveDiodePtr_Type &diodePtr)
 add diode to the diode list. More...
 
void setCurrentSourceList (const zeroDimensionalElementCurrentSourcePtr_Type &currentSourcePtr)
 add currentSource to the current Source list. More...
 
void setVoltageSourceList (const zeroDimensionalElementVoltageSourcePtr_Type &voltageSourcePtr)
 add voltgeSource to the voltage source list. More...
 
void setVoltageSourceMap (const Int &id, const zeroDimensionalElementVoltageSourcePtr_Type &voltageSource)
 add object to the map from voltage source index to the voltage source object. More...
 
const zeroDimensionalElementVoltageSourcePtr_Type voltageSourceMap (Int &id) const
 

Protected Attributes

ptrVecZeroDimensionalElementPtr_Type M_elementList
 List of Elements Ptr. More...
 
ptrVecZeroDimensionalElementPassiveResistorPtr_Type M_resistorList
 
ptrVecZeroDimensionalElementPassiveCapacitorPtr_Type M_capacitorList
 
ptrVecZeroDimensionalElementPassiveInductorPtr_Type M_inductorList
 
ptrVecZeroDimensionalElementPassiveDiodePtr_Type M_diodeList
 
ptrVecZeroDimensionalElementCurrentSourcePtr_Type M_currentSourceList
 
ptrVecZeroDimensionalElementVoltageSourcePtr_Type M_voltageSourceList
 
mapVoltageSourcePtr_Type M_voltageSourceMap
 

Detailed Description

ZeroDimensionalElementS - Container of elements.

Authors
Mahmoud Jafargholi

Definition at line 1046 of file ZeroDimensionalCircuitData.hpp.

Constructor & Destructor Documentation

◆ ZeroDimensionalElementS()

constructor

Definition at line 562 of file ZeroDimensionalCircuitData.cpp.

+ Here is the caller graph for this function:

◆ ~ZeroDimensionalElementS()

virtual ~ZeroDimensionalElementS ( )
inlinevirtual

Destructor.

Definition at line 1054 of file ZeroDimensionalCircuitData.hpp.

Member Function Documentation

◆ showMe()

void showMe ( const Int flag = 0)

Definition at line 572 of file ZeroDimensionalCircuitData.cpp.

◆ setelementList()

void setelementList ( const zeroDimensionalElementPtr_Type theElement)
inline

add element to the list.

Definition at line 1059 of file ZeroDimensionalCircuitData.hpp.

◆ elementListAt()

const zeroDimensionalElementPtr_Type& elementListAt ( const Int index) const
inline

get element.

Parameters
elementindex
Returns
element

Definition at line 1069 of file ZeroDimensionalCircuitData.hpp.

◆ elementList()

const ptrVecZeroDimensionalElementPtr_Type& elementList ( ) const
inline

Definition at line 1074 of file ZeroDimensionalCircuitData.hpp.

◆ resistorList()

const ptrVecZeroDimensionalElementPassiveResistorPtr_Type& resistorList ( ) const
inline

Definition at line 1079 of file ZeroDimensionalCircuitData.hpp.

◆ capacitorList()

const ptrVecZeroDimensionalElementPassiveCapacitorPtr_Type& capacitorList ( ) const
inline

Definition at line 1084 of file ZeroDimensionalCircuitData.hpp.

◆ inductorList()

const ptrVecZeroDimensionalElementPassiveInductorPtr_Type& inductorList ( ) const
inline

Definition at line 1089 of file ZeroDimensionalCircuitData.hpp.

◆ diodeList()

const ptrVecZeroDimensionalElementPassiveDiodePtr_Type& diodeList ( ) const
inline

Definition at line 1094 of file ZeroDimensionalCircuitData.hpp.

◆ voltageSourceList()

const ptrVecZeroDimensionalElementVoltageSourcePtr_Type& voltageSourceList ( ) const
inline

Definition at line 1099 of file ZeroDimensionalCircuitData.hpp.

◆ currentSourceList()

const ptrVecZeroDimensionalElementCurrentSourcePtr_Type& currentSourceList ( ) const
inline

Definition at line 1104 of file ZeroDimensionalCircuitData.hpp.

◆ elementCounter()

Int elementCounter ( ) const
inline

total number of elements including sources.

Definition at line 1110 of file ZeroDimensionalCircuitData.hpp.

◆ resistorCounter()

Int resistorCounter ( ) const
inline

Definition at line 1115 of file ZeroDimensionalCircuitData.hpp.

◆ capacitorCounter()

Int capacitorCounter ( ) const
inline

Definition at line 1120 of file ZeroDimensionalCircuitData.hpp.

◆ inductorCounter()

Int inductorCounter ( ) const
inline

Definition at line 1125 of file ZeroDimensionalCircuitData.hpp.

◆ diodeCounter()

Int diodeCounter ( ) const
inline

Definition at line 1130 of file ZeroDimensionalCircuitData.hpp.

◆ voltageSourceCounter()

Int voltageSourceCounter ( ) const
inline

Definition at line 1135 of file ZeroDimensionalCircuitData.hpp.

◆ currentSourceCounter()

Int currentSourceCounter ( ) const
inline

Definition at line 1140 of file ZeroDimensionalCircuitData.hpp.

◆ setResistorList()

void setResistorList ( const zeroDimensionalElementPassiveResistorPtr_Type resistorPtr)
inline

add resistor to the resistor list.

Definition at line 1146 of file ZeroDimensionalCircuitData.hpp.

◆ setCapacitorList()

void setCapacitorList ( const zeroDimensionalElementPassiveCapacitorPtr_Type capacitorPtr)
inline

add capacitor to the capacitor list.

Definition at line 1152 of file ZeroDimensionalCircuitData.hpp.

◆ setInductorList()

void setInductorList ( const zeroDimensionalElementPassiveInductorPtr_Type inductorPtr)
inline

add inductor to the inductor list.

Definition at line 1158 of file ZeroDimensionalCircuitData.hpp.

◆ setDiodeList()

void setDiodeList ( const zeroDimensionalElementPassiveDiodePtr_Type diodePtr)
inline

add diode to the diode list.

Definition at line 1164 of file ZeroDimensionalCircuitData.hpp.

◆ setCurrentSourceList()

void setCurrentSourceList ( const zeroDimensionalElementCurrentSourcePtr_Type currentSourcePtr)
inline

add currentSource to the current Source list.

Definition at line 1170 of file ZeroDimensionalCircuitData.hpp.

◆ setVoltageSourceList()

void setVoltageSourceList ( const zeroDimensionalElementVoltageSourcePtr_Type voltageSourcePtr)
inline

add voltgeSource to the voltage source list.

Definition at line 1176 of file ZeroDimensionalCircuitData.hpp.

◆ setVoltageSourceMap()

void setVoltageSourceMap ( const Int id,
const zeroDimensionalElementVoltageSourcePtr_Type voltageSource 
)
inline

add object to the map from voltage source index to the voltage source object.

Definition at line 1182 of file ZeroDimensionalCircuitData.hpp.

◆ voltageSourceMap()

const zeroDimensionalElementVoltageSourcePtr_Type voltageSourceMap ( Int id) const
inline

Definition at line 1187 of file ZeroDimensionalCircuitData.hpp.

Field Documentation

◆ M_elementList

ptrVecZeroDimensionalElementPtr_Type M_elementList
protected

List of Elements Ptr.

Definition at line 1195 of file ZeroDimensionalCircuitData.hpp.

◆ M_resistorList

Definition at line 1196 of file ZeroDimensionalCircuitData.hpp.

◆ M_capacitorList

Definition at line 1197 of file ZeroDimensionalCircuitData.hpp.

◆ M_inductorList

Definition at line 1198 of file ZeroDimensionalCircuitData.hpp.

◆ M_diodeList

◆ M_currentSourceList

Definition at line 1200 of file ZeroDimensionalCircuitData.hpp.

◆ M_voltageSourceList

Definition at line 1201 of file ZeroDimensionalCircuitData.hpp.

◆ M_voltageSourceMap

mapVoltageSourcePtr_Type M_voltageSourceMap
protected

Definition at line 1202 of file ZeroDimensionalCircuitData.hpp.


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