46 #ifndef Xyce_N_DEV_ThermalResistor_h
47 #define Xyce_N_DEV_ThermalResistor_h
60 namespace ThermalResistor {
67 static const char *
name() {
return "Resistor";}
123 void registerLIDs(
const std::vector<int> & intLIDVecRef,
124 const std::vector<int> & extLIDVecRef );
137 const std::vector< std::vector<int> > &
jacobianStamp()
const;
138 void registerJacLIDs(
const std::vector< std::vector<int> > & jacLIDVec );
295 virtual bool updateState (
double * solVec,
double * staVec,
double * stoVec);
298 virtual bool loadDAEVectors (
double * solVec,
double * fVec,
double * qVec,
double * bVec,
double * storeLeadF,
double * storeLeadQ,
double * leadF,
double * leadQ,
double * junctionV);
299 virtual bool loadDAEMatrices (Linear::Matrix & dFdx, Linear::Matrix & dQdx);
std::vector< Instance * > InstanceVector
virtual void loadNodeSymbols(Util::SymbolTable &symbol_table) const
Populates and returns the store name map.
void registerStoreLIDs(const std::vector< int > &stoLIDVecRef)
static const char * deviceTypeName()
virtual void forEachInstance(DeviceInstanceOp &op) const
Apply a device instance "op" to all instances associated with this model.
Pure virtual class to augment a linear system.
void registerStateLIDs(const std::vector< int > &staLIDVecRef)
void addInstance(Instance *instance)
static std::vector< std::vector< int > > jacStamp
void registerLIDs(const std::vector< int > &intLIDVecRef, const std::vector< int > &extLIDVecRef)
double thermalHeatCapacity
Model & operator=(const Model &)
bool processInstanceParams()
processInstanceParams
double resistanceMultiplier
DeviceMaster instantiates a device as described by the device traits T.
The FactoryBlock contains parameters needed by the device, instance and model creation functions...
static void loadModelParameters(ParametricData< Model > &model_parameters)
Instance(const Configuration &configuration, const InstanceBlock &IB, Model &Riter, const FactoryBlock &factory_block)
double * f_NegEquPosNodePtr
virtual std::ostream & printOutInstances(std::ostream &os) const
bool outputInternalVarsFlag
bool updateIntermediateVars()
static const char * primaryParameter()
static bool isLinearDevice()
The Device class is an interface for device implementations.
static const char * instanceDefaultParameter()
virtual bool loadDAEVectors(double *solVec, double *fVec, double *qVec, double *bVec, double *storeLeadF, double *storeLeadQ, double *leadF, double *leadQ, double *junctionV)
Populates the device's ExternData object with these pointers.
static void loadInstanceParameters(ParametricData< Instance > &instance_parameters)
bool processParams()
processParams
Class Configuration contains device configuration data.
Master(const Configuration &configuration, const FactoryBlock &factory_block, const SolverState &ss1, const DeviceOptions &do1)
virtual bool updateState(double *solVec, double *staVec, double *stoVec)
Updates the devices state information.
virtual bool loadDAEMatrices(Linear::Matrix &dFdx, Linear::Matrix &dQdx)
Populates the device's Jacobian object with these pointers.
double * f_NegEquNegNodePtr
bool updateTemperature(const double &temp_tmp)
Instance & operator=(const Instance &)
static const char * name()
bool updatePrimaryState()
static Device * factory(const Configuration &configuration, const FactoryBlock &factory_block)
double * f_PosEquPosNodePtr
ModelBlock represents a .MODEL line from the netlist.
The DeviceTraits template describes the configuration of a device.
double thermalHeatCapacity
Manages parameter binding for class C.
double * f_PosEquNegNodePtr
InstanceBlock represent a device instance line from the netlist.
void registerJacLIDs(const std::vector< std::vector< int > > &jacLIDVec)
std::vector< Instance * > instanceContainer
const std::vector< std::vector< int > > & jacobianStamp() const