Xyce
6.1
|
#include <N_DEV_LTRA.h>
Public Member Functions | |
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. More... | |
virtual bool | updateSecondaryState (double *staDeriv, double *stoVec) |
Updates the devices secondary state information. More... | |
virtual bool | loadDAEVectors (double *solVec, double *fVec, double *qVec, double *storeLeadF, double *storeLeadQ) |
Populates the device's ExternData object with these pointers. More... | |
virtual bool | loadDAEMatrices (N_LAS_Matrix &dFdx, N_LAS_Matrix &dQdx) |
Populates the device's Jacobian object with these pointers. More... | |
![]() | |
DeviceMaster (const Configuration &configuration, const FactoryBlock &factory_block, const SolverState &solver_state, const DeviceOptions &device_options) | |
Constructs a device. More... | |
DeviceMaster (const std::string &model_type_name, const Configuration &configuration, const FactoryBlock &factory_block, const SolverState &solver_state, const DeviceOptions &device_options) | |
Constructs a device. More... | |
virtual | ~DeviceMaster () |
Destroys the device. More... | |
virtual const std::string & | getName () const |
Returns the name of this device. More... | |
virtual const std::string & | getDefaultModelName () const |
Returns the default model name to use if the instance being created does not specify one. More... | |
virtual DeviceEntity * | findEntity (const std::string &entity_name) |
Returns a pointer to the model or instance entity with the specified name. More... | |
virtual const DeviceEntity * | findEntity (const std::string &entity_name) const |
Returns a pointer to the model or instance entity with the specified name. More... | |
virtual bool | isLinearDevice () const |
Returns true if this device is a linear device. More... | |
virtual bool | isPDEDevice () const |
Returns true if this device is a PDE device. More... | |
virtual void | forEachModel (DeviceModelOp &op) const |
Executes operator op, passing its DeviceModel pointer, for each device model. More... | |
virtual void | forEachInstance (DeviceInstanceOp &op) const |
Executes operator op, passing its DeviceInstance pointer, for each device instance. More... | |
virtual DeviceModel * | addModel (const ModelBlock &MB, const FactoryBlock &factory_block) |
Creates a device model and adds it to the device's list of models. More... | |
virtual DeviceInstance * | addInstance (const InstanceBlock &instance_block, const FactoryBlock &factory_block) |
Creates a device instance and adds to the device model's instance list. More... | |
virtual bool | updateSources () |
Updates the devices source information. More... | |
![]() | |
Device () | |
virtual | ~Device () |
Private Member Functions | |
void | initialize_vars_ () |
Private Attributes | |
bool | vars_initialized |
Friends | |
class | Instance |
class | Model |
Additional Inherited Members | |
![]() | |
typedef Traits::ModelType | ModelType |
Make the model begin defined available. More... | |
typedef Traits::InstanceType | InstanceType |
Make the instance being define available. More... | |
![]() | |
typedef std::vector < InstanceType * > | InstanceVector |
typedef std::map< std::string, ModelType *, LessNoCase > | ModelMap |
typedef std::map< std::string, DeviceEntity *, LessNoCase > | EntityMap |
![]() | |
const SolverState & | getSolverState () const |
Returns the solver state given during device construction. More... | |
const DeviceOptions & | getDeviceOptions () const |
Returns the device options given during device construction. More... | |
InstanceVector::const_iterator | getInstanceBegin () const |
Returns an iterator to the beginning of the vector of all instances created for this device. More... | |
InstanceVector::const_iterator | getInstanceEnd () const |
Returns an iterator to the ending of the vector of all instances created for this device. More... | |
bool | isModelRequired () const |
Returns true if the model name must be specified for each instance. More... | |
Definition at line 530 of file N_DEV_LTRA.h.
|
inline |
Definition at line 536 of file N_DEV_LTRA.h.
|
private |
Definition at line 3012 of file N_DEV_LTRA.C.
|
virtual |
Populates the device's Jacobian object with these pointers.
THIS FUNCTION MUST BE CALLED AFTER CALLING loadDAEVectors.
dFdx | pointer to the analysis dFdx matrix |
dQdx | pointer to the analysis dQdx matrix |
Reimplemented from Xyce::Device::DeviceMaster< Traits >.
Definition at line 3722 of file N_DEV_LTRA.C.
|
virtual |
Populates the device's ExternData object with these pointers.
THIS FUNCTION MUST BE CALLED PRIOR TO CALLING loadDAEMatrices.
solVec | pointer to the analysis solution vector for this device |
fVec | pointer to the analysis f vector for this device |
qVec | pointer to the analysis q vector for this device |
storeLeadF | pointer to the analysis lead store f vector for this device |
storeLeadQ | poitner to the analysis load store q vector for this device |
Reimplemented from Xyce::Device::DeviceMaster< Traits >.
Definition at line 3193 of file N_DEV_LTRA.C.
|
inlinevirtual |
Updates the devices secondary state information.
This function is called by the analysis subsystem when it is time to update the device secondary state information.
Reimplemented from Xyce::Device::DeviceMaster< Traits >.
Definition at line 546 of file N_DEV_LTRA.h.
|
virtual |
Updates the devices state information.
This function is called by the analysis subsystem when it is time to update the device state information.
Reimplemented from Xyce::Device::DeviceMaster< Traits >.
Definition at line 2959 of file N_DEV_LTRA.C.
|
friend |
Definition at line 532 of file N_DEV_LTRA.h.
|
friend |
Definition at line 533 of file N_DEV_LTRA.h.
|
private |
Definition at line 552 of file N_DEV_LTRA.h.