eisgenerator 1.0.x
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
eis::Componant Class Referenceabstract

Inherited by eis::Cap, eis::Cpe, eis::FiniteTransmitionline, eis::Inductor, eis::Parallel, eis::Resistor, eis::Serial, and eis::Warburg.

Public Member Functions

virtual std::complex< fvalue > execute (fvalue omega)
 
virtual void setParamRanges (const std::vector< eis::Range > &ranges)
 
virtual std::vector< eis::Range > & getParamRanges ()
 
virtual std::vector< eis::RangegetParamRanges () const
 
virtual std::vector< eis::RangegetDefaultParameters (bool range=true) const
 
virtual size_t paramCount () const
 
virtual char getComponantChar () const =0
 
virtual std::string getComponantString (bool currentValue=true) const
 
virtual std::string componantName () const =0
 
virtual std::string getCode (std::vector< std::string > &parameters)
 
virtual std::string getTorchScript (std::vector< std::string > &parameters)
 
virtual bool compileable ()
 
std::string getUniqueName ()
 

Static Public Member Functions

static Componantcopy (Componant *componant)
 
static ComponantcreateNewComponant (char componant, std::string paramStr="", size_t count=1, bool defaultToRange=false)
 
static bool isValidComponantChar (char componant)
 

Protected Attributes

std::vector< eis::Rangeranges
 
std::string uniqueName