46 #ifndef Xyce_N_DEV_MESFET_h
47 #define Xyce_N_DEV_MESFET_h
64 static const char *
name() {
return "MESFET";}
104 void registerLIDs(
const std::vector<int> & intLIDVecRef,
105 const std::vector<int> & extLIDVecRef );
111 const std::vector< std::vector<int> > &
jacobianStamp()
const;
112 void registerJacLIDs(
const std::vector< std::vector<int> > & jacLIDVec );
153 static std::vector< std::vector<int> >
jacMap2;
275 #ifndef Xyce_NONPOINTER_MATRIX_LOAD
490 virtual bool updateState (
double * solVec,
double * staVec,
double * stoVec);
492 virtual bool loadDAEVectors (
double * solVec,
double * fVec,
double * qVec,
double * bVec,
double * storeLeadF,
double * storeLeadQ,
double * leadF,
double * leadQ,
double * junctionV);
493 virtual bool loadDAEMatrices (Linear::Matrix & dFdx, Linear::Matrix & dQdx);
int ADrainPrimeEquDrainNodeOffset
Master(const Configuration &configuration, const FactoryBlock &factory_block, const SolverState &ss1, const DeviceOptions &do1)
double * f_SourcePrimeEquGateNodePtr
static std::vector< std::vector< int > > jacMap2_DC_SC
static const char * deviceTypeName()
static std::vector< std::vector< int > > jacStamp_SC
double * f_SourceEquSourcePrimeNodePtr
static std::vector< std::vector< int > > jacStamp_DC
std::vector< Instance * > instanceContainer
double GateDrainOverlapCap
double * q_SourcePrimeEquSourceNodePtr
double * q_DrainEquDrainPrimeNodePtr
int AGateEquGateNodeOffset
double * f_DrainEquDrainPrimeNodePtr
int ASourceEquSourceNodeOffset
Pure virtual class to augment a linear system.
virtual bool loadDAEMatrices(Linear::Matrix &dFdx, Linear::Matrix &dQdx)
Populates the device's Jacobian object with these pointers.
double * f_SourceEquSourceNodePtr
double * f_GateEquGateNodePtr
double * f_GateEquDrainPrimeNodePtr
double * f_DrainPrimeEquDrainNodePtr
int ASourcePrimeEquSourceNodeOffset
double * q_GateEquGateNodePtr
void loadNodeSymbols(Util::SymbolTable &symbol_table) const
Populates and returns the store name map.
int ADrainPrimeEquDrainPrimeNodeOffset
static Device * factory(const Configuration &configuration, const FactoryBlock &factory_block)
double * q_SourcePrimeEquGateNodePtr
double * f_DrainEquDrainNodePtr
bool updateTemperature(const double &temp_tmp)
static bool isLinearDevice()
void registerJacLIDs(const std::vector< std::vector< int > > &jacLIDVec)
int ADrainEquDrainPrimeNodeOffset
static std::vector< int > jacMap_DC
double * q_DrainPrimeEquDrainNodePtr
double * f_DrainPrimeEquGateNodePtr
double * q_DrainEquDrainNodePtr
int ADrainPrimeEquSourcePrimeNodeOffset
void registerStateLIDs(const std::vector< int > &staLIDVecRef)
double * q_SourcePrimeEquDrainPrimeNodePtr
static std::vector< std::vector< int > > jacStamp
virtual bool updateState(double *solVec, double *staVec, double *stoVec)
Updates the devices state information.
static std::vector< std::vector< int > > jacMap2
double * f_SourcePrimeEquSourceNodePtr
DeviceMaster instantiates a device as described by the device traits T.
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.
The FactoryBlock contains parameters needed by the device, instance and model creation functions...
int ADrainPrimeEquGateNodeOffset
int ASourcePrimeEquDrainPrimeNodeOffset
double * q_SourcePrimeEquSourcePrimeNodePtr
static std::vector< std::vector< int > > jacMap2_SC
int ASourcePrimeEquSourcePrimeNodeOffset
static void loadInstanceParameters(ParametricData< Instance > &instance_parameters)
double * q_GateEquSourcePrimeNodePtr
static bool modelRequired()
int AGateEquDrainPrimeNodeOffset
int ASourceEquSourcePrimeNodeOffset
The Device class is an interface for device implementations.
double * q_DrainPrimeEquSourcePrimeNodePtr
void addInstance(Instance *instance)
double * f_GateEquSourcePrimeNodePtr
double * q_SourceEquSourceNodePtr
Instance & operator=(const Instance &)
static std::vector< int > jacMap_DC_SC
bool updatePrimaryState()
Class Configuration contains device configuration data.
void registerStoreLIDs(const std::vector< int > &stoLIDVecRef)
virtual std::ostream & printOutInstances(std::ostream &os) const
const std::vector< std::vector< int > > & jacobianStamp() const
static std::vector< std::vector< int > > jacMap2_DC
static void loadModelParameters(ParametricData< Model > &model_parameters)
static std::vector< int > jacMap
bool processInstanceParams()
processInstanceParams
Instance(const Configuration &configuration, const InstanceBlock &instance_block, Model &model, const FactoryBlock &factory_block)
double * f_DrainPrimeEquDrainPrimeNodePtr
double * q_DrainPrimeEquDrainPrimeNodePtr
virtual void forEachInstance(DeviceInstanceOp &op) const
Apply a device instance "op" to all instances associated with this model.
double * q_DrainPrimeEquGateNodePtr
static std::vector< int > jacMap_SC
double * q_SourceEquSourcePrimeNodePtr
double GateSourceOverlapCap
ModelBlock represents a .MODEL line from the netlist.
The DeviceTraits template describes the configuration of a device.
Model & operator=(const Model &)
double * f_DrainPrimeEquSourcePrimeNodePtr
Manages parameter binding for class C.
bool updateIntermediateVars()
InstanceBlock represent a device instance line from the netlist.
double * f_SourcePrimeEquDrainPrimeNodePtr
void registerLIDs(const std::vector< int > &intLIDVecRef, const std::vector< int > &extLIDVecRef)
int ASourcePrimeEquGateNodeOffset
int ADrainEquDrainNodeOffset
static const char * name()
double * f_SourcePrimeEquSourcePrimeNodePtr
std::vector< Instance * > InstanceVector
static std::vector< std::vector< int > > jacStamp_DC_SC
bool processParams()
processParams
double * q_GateEquDrainPrimeNodePtr
int AGateEquSourcePrimeNodeOffset