8 #ifndef _VCS_INTERNAL_H 9 #define _VCS_INTERNAL_H 18 #define plogf writelogf 25 #define plogendl() writelogendl() 36 class VCS_SPECIES_THERMO;
91 int varID,
void* fptrPassthrough,
110 size_t vcs_optMax(
const double* x,
const double* xSize,
size_t j,
size_t n);
bool vcs_doubleEqual(double d1, double d2)
Simple routine to check whether two doubles are equal up to roundoff error.
int Its
Current number of iterations in the main loop of vcs_TP() to solve for thermo equilibrium.
int T_Calls_Inest
Current number of times the initial thermo equilibrium estimator has been called. ...
double Time_vcs_TP
Current time spent in vcs_TP.
int Basis_Opts
number of optimizations of the components basis set done
double T_Time_basopt
Total Time spent in basopt.
int vcs_timing_print_lvl
Global hook for turning on and off time printing.
This file contains definitions for utility functions and text for modules, inputfiles, logs, textlogs, (see Input File Handling, Diagnostic Output, and Writing messages to the screen).
int T_Basis_Opts
Total number of optimizations of the components basis set done.
double(* VCS_FUNC_PTR)(double xval, double Vtarget, int varID, void *fptrPassthrough, int *err)
Definition of the function pointer for the root finder.
double T_Time_vcs_TP
Current time spent in vcs_TP.
int T_Its
Total number of iterations in the main loop of vcs_TP() to solve for thermo equilibrium.
double T_Time_inest
Time spent in initial estimator.
double Time_basopt
Current Time spent in basopt.
double vcs_l2norm(const vector_fp &vec)
determine the l2 norm of a vector of doubles
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
size_t vcs_optMax(const double *x, const double *xSize, size_t j, size_t n)
Finds the location of the maximum component in a double vector.
const char * vcs_speciesType_string(int speciesStatus, int length)
Returns a const char string representing the type of the species given by the first argument...
Class to keep track of time and iterations.
double T_Time_vcs
Time spent in the vcs suite of programs.
Namespace for the Cantera kernel.
int T_Calls_vcs_TP
Current number of calls to vcs_TP.