52 const int SFLUX_RESIDUAL = 2;
53 const int SFLUX_JACOBIAN = 3;
54 const int SFLUX_TRANSIENT = 4;
70 const int BULK_DEPOSITION = 1;
71 const int BULK_ETCH = 2;
76 class InterfaceKinetics;
251 int solveSurfProb(
int ifunc, doublereal time_scale, doublereal TKelvin,
252 doublereal PGas, doublereal reltol, doublereal abstol);
258 void print_header(
int ioflag,
int ifunc, doublereal time_scale,
259 int damping, doublereal reltol, doublereal abstol,
260 doublereal TKelvin, doublereal PGas, doublereal netProdRate[],
261 doublereal XMolKinSpecies[]);
264 void printIteration(
int ioflag, doublereal damp,
int label_d,
int label_t,
265 doublereal inv_t, doublereal t_real,
size_t iter,
266 doublereal update_norm, doublereal resid_norm,
267 doublereal netProdRate[], doublereal CSolnSP[],
268 doublereal resid[], doublereal XMolSolnSP[],
269 doublereal wtSpecies[],
size_t dim,
bool do_time);
276 void printFinal(
int ioflag, doublereal damp,
int label_d,
int label_t,
277 doublereal inv_t, doublereal t_real,
size_t iter,
278 doublereal update_norm, doublereal resid_norm,
279 doublereal netProdRateKinSpecies[],
const doublereal CSolnSP[],
280 const doublereal resid[], doublereal XMolSolnSP[],
281 const doublereal wtSpecies[],
const doublereal wtRes[],
282 size_t dim,
bool do_time,
283 doublereal TKelvin, doublereal PGas);
316 doublereal
calc_t(doublereal netProdRateSolnSP[], doublereal XMolSolnSP[],
317 int* label,
int* label_old,
318 doublereal* label_factor,
int ioflag);
331 void calcWeights(doublereal wtSpecies[], doublereal wtResid[],
332 const Array2D& Jac,
const doublereal CSolnSP[],
333 const doublereal abstol,
const doublereal reltol);
378 void fun_eval(doublereal* resid,
const doublereal* CSolnSP,
379 const doublereal* CSolnOldSP,
const bool do_time,
const doublereal deltaT);
394 void resjac_eval(std::vector<doublereal*>& JacCol, doublereal* resid,
396 const doublereal* CSolnSPOld,
const bool do_time,
397 const doublereal deltaT);