mbsimelectronics  4.0.0
MBSim Electronics Module
Public Member Functions | Protected Attributes | List of all members
MBSimElectronics::Inductor Class Reference
Inheritance diagram for MBSimElectronics::Inductor:
[legend]

Public Member Functions

 Inductor (const std::string &name)
 
void updateM () override
 
void setInductance (double L_)
 
- Public Member Functions inherited from MBSimElectronics::ElectronicObject
 ElectronicObject (const std::string &name)
 
void calcSize () override
 
void init (InitStage stage, const MBSim::InitConfigSet &config) override
 
Element * getParent () override
 
const Element * getParent () const override
 
void setParent (Element *parent_) override
 
void plot () override
 
std::string getName () const override
 
void setName (std::string name) override
 
void resetUpToDate () override
 
std::shared_ptr< OpenMBV::Group > getOpenMBVGrp () override
 
- Public Member Functions inherited from MBSim::Object
 Object (const std::string &name)
 
virtual void updateqRef (fmatvec::Vec &qRef)
 
virtual void updateqdRef (fmatvec::Vec &qdRef)
 
virtual void updatedqRef (fmatvec::Vec &dqRef)
 
virtual void updateuRef (fmatvec::Vec &uRef)
 
virtual void updateuallRef (fmatvec::Vec &uallRef)
 
virtual void updateudRef (fmatvec::Vec &udRef)
 
virtual void updateduRef (fmatvec::Vec &duRef)
 
virtual void updateudallRef (fmatvec::Vec &udallRef)
 
virtual void updatehRef (fmatvec::Vec &hRef, int i=0)
 
virtual void updatedhdqRef (fmatvec::Mat &dhdqRef, int i=0)
 
virtual void updatedhduRef (fmatvec::SqrMat &dhduRef, int i=0)
 
virtual void updatedhdtRef (fmatvec::Vec &dhdtRef, int i=0)
 
virtual void updaterRef (fmatvec::Vec &ref, int i=0)
 
virtual void updaterdtRef (fmatvec::Vec &ref)
 
virtual void updateTRef (fmatvec::Mat &ref)
 
virtual void updateMRef (fmatvec::SymMat &ref)
 
virtual void updateLLMRef (fmatvec::SymMat &ref)
 
void init (InitStage stage, const InitConfigSet &config) override
 
virtual void initz ()
 
virtual void writez (H5::GroupBase *group)
 
virtual void readz0 (H5::GroupBase *group)
 
virtual void updateLLM ()
 
virtual void setUpInverseKinetics ()
 
void createPlotGroup () override
 
- Public Member Functions inherited from MBSim::Element
 Element (const std::string &name)
 
virtual void setDynamicSystemSolver (DynamicSystemSolver *sys)
 
virtual void plotAtSpecialEvent ()
 
const std::string & getName () const
 
void setName (const std::string &str)
 
DynamicSystemSolver * getDynamicSystemSolver ()
 
H5::GroupBase * getPlotGroup ()
 
bool getPlotFeature (const PlotFeatureEnum &pf)
 
virtual void setPlotFeature (const PlotFeatureEnum &pf, bool value)
 
void setPlotFeatureForChildren (const PlotFeatureEnum &pf, bool value)
 
void setPlotFeatureRecursive (const PlotFeatureEnum &pf, bool value)
 
T * getByPath (const std::string &path, bool initialCaller=true) const
 
std::string getPath (const Element *relTo=nullptr, std::string sep="/") const
 
virtual Element * getChildByContainerAndName (const std::string &container, const std::string &name) const
 
std::vector< Element * > getDependencies () const
 
int computeLevel ()
 
- Public Member Functions inherited from fmatvec::Atom
Atom & operator= (const Atom &)
 
void setMessageStreamActive (MsgType type, bool activeFlag)
 
void getMessageStream (MsgType type, std::shared_ptr< bool > &a, std::shared_ptr< std::ostream > &s) const
 
void adoptMessageStreams (const Atom *src=nullptr)
 
std::ostream & msg (MsgType type) const
 
bool msgAct (MsgType type) const
 
- Public Member Functions inherited from MBSimElectronics::ElectronicComponent
void addTerminal (Terminal *terminal)
 
void addTerminal (const std::string &str)
 
Terminal * getTerminal (const std::string &name, bool check=true)
 
void buildListOfTerminals (std::vector< Terminal * > &terminal)
 
void connect (Branch *branch_, double vz=0)
 
Branch * getBranch ()
 
void processModellList (std::vector< ModellingInterface * > &modellList, std::vector< MBSim::Object * > &objectList, std::vector< MBSim::Link * > &linkList) override
 
double getvz () const
 
virtual void updateCharge ()
 
virtual void updateCurrent ()
 
double evalCurrent ()
 
double evalCharge ()
 
- Public Member Functions inherited from MBSim::ModellingInterface
virtual void init (Element::InitStage stage, const InitConfigSet &config)=0
 
virtual void processModellList (std::vector< ModellingInterface * > &modellList, std::vector< MBSim::Object * > &objectList, std::vector< MBSim::Link * > &linkList)=0
 

Protected Attributes

double L
 
- Protected Attributes inherited from MBSim::Object
int qSize
 
int uSize [2]
 
int hSize [2]
 
int qInd
 
fmatvec::Vec q
 
fmatvec::Vec q0
 
fmatvec::Vec qd
 
fmatvec::Vec h [2]
 
fmatvec::Mat dhdq
 
fmatvec::Mat T
 
fmatvec::SymMat M
 
fmatvec::SymMat LLM
 
- Protected Attributes inherited from MBSim::Element
std::string name
 
std::string path
 
MBXMLUtils::DOMEvalException domEvalError
 
DynamicSystemSolver * ds
 
H5::VectorSerie< double > * plotVectorSerie
 
std::vector< double > plotVector
 
std::vector< std::string > plotColumns
 
H5::GroupBase * plotGroup
 
std::vector< Element * > dependency
 
PlotFeatureMap plotFeature
 
- Protected Attributes inherited from MBSimElectronics::ElectronicComponent
std::vector< Terminal * > terminal
 
Branch * branch {nullptr}
 
double vz {0}
 
double Q {0}
 
double I {0}
 
bool updQ {true}
 
bool updI {true}
 

Additional Inherited Members

- Public Types inherited from MBSim::Element
enum  InitStage
 
- Public Types inherited from fmatvec::Atom
enum  MsgType
 
- Static Public Member Functions inherited from fmatvec::Atom
static void setCurrentMessageStream (MsgType type, const std::shared_ptr< bool > &a=std::make_shared< bool >(true), const std::shared_ptr< std::ostream > &s=std::make_shared< std::ostream >(std::cout.rdbuf()))
 
static std::ostream & msgStatic (MsgType type)
 
static bool msgActStatic (MsgType type)
 
- Public Attributes inherited from MBSim::Element
 resolveStringRef
 
 preInit
 
 plotting
 
 unknownStage
 
- Protected Member Functions inherited from fmatvec::Atom
 Atom (const Atom &src)
 

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