46 #ifndef Xyce_N_DEV_Vsrc_h
47 #define Xyce_N_DEV_Vsrc_h
75 const std::string &name,
76 std::vector<double> & dfdp,
77 std::vector<double> & dqdp,
78 std::vector<double> & dbdp,
79 std::vector<int> & Findices,
80 std::vector<int> & Qindices,
81 std::vector<int> & Bindices
89 static const char *
name() {
return "Independent Voltage Source";}
129 void registerLIDs(
const std::vector<int> & intLIDVecRef,
130 const std::vector<int> & extLIDVecRef );
134 const std::vector< std::vector<int> > &
jacobianStamp()
const;
135 void registerJacLIDs(
const std::vector< std::vector<int> > & jacLIDVec );
156 void varTypes( std::vector<char> & varTypeVec );
158 void getLIDs(
int & lpos,
int & lneg,
int & lbra)
247 #ifndef Xyce_NONPOINTER_MATRIX_LOAD
344 virtual bool updateState (
double * solVec,
double * staVec,
double * stoVec);
347 virtual bool loadDAEVectors (
double * solVec,
double * fVec,
double * qVec,
double * bVec,
double * storeLeadF,
double * storeLeadQ);
348 virtual bool loadDAEMatrices (N_LAS_Matrix & dFdx, N_LAS_Matrix & dQdx);