34 #ifndef __E_TRSOLVER_H__
35 #define __E_TRSOLVER_H__
55 class e_trsolver :
public trsolver
64 int init (nr_double_t, nr_double_t,
int);
125 int getNodeV (
char * label, nr_double_t& nodeV);
137 int getVProbeV (
char * probename, nr_double_t& probeV);
149 int getIProbeI (
char * probename, nr_double_t& probeI);
void getsolution(double *)
void fillLastSolution(tvector< nr_double_t > *)
tvector< nr_double_t > * lastsolution[8]
int setECVSVoltage(char *ecvsname, nr_double_t V)
Sets the voltage of an exterally controlled voltage source.
void updateExternalInterpTime(nr_double_t)
void storeHistoryAges(void)
void(* messagefcn)(int level, const char *format,...)
Pointer to function used to print messages during a sim.
void updateHistoryAges(nr_double_t)
void restoreSolution(void)
void truncateHistory(nr_double_t)
int getJacCols()
Returns the number of columns in the Jacobian matrix for the circuit.
nr_double_t lastdeltas[8]
void adjustDelta_sync(nr_double_t)
void copySolution(tvector< nr_double_t > *[8], tvector< nr_double_t > *[8])
int getNodeV(char *label, nr_double_t &nodeV)
Obtains the voltage of a node by name.
std::vector< nr_double_t > initialhistages
int getVProbeV(char *probename, nr_double_t &probeV)
Obtains the voltage reported by a voltage probe.
void initETR(nr_double_t start, nr_double_t, int)
void rejectstep_async(void)
int stepsolve_async(nr_double_t steptime)
int getJacRows()
Returns the number of rows in the Jacobian matrix for the circuit.
The generic external interface class header file.
int stepsolve_sync(nr_double_t synctime)
void getJacData(int r, int c, nr_double_t &data)
Obtains the data from the Jacobian matrix for the circuit.
int getIProbeI(char *probename, nr_double_t &probeI)
Obtains the current reported by a current probe.
nr_double_t lastasynctime
int init(nr_double_t, nr_double_t, int)
void acceptstep_async(void)
bool isExternal()
informs whether this is an external sim
void acceptstep_sync(void)