18 class VCS_SPECIES_THERMO;
189 VCS_PROB(
size_t nsp,
size_t nel,
size_t nph);
267 size_t addElement(
const char* elNameNew,
int elType,
int elactive);
284 void reportCSV(
const std::string& reportFile);
vector_fp VolPM
Partial Molar Volumes of species.
int m_printLvl
Print level for print routines.
double Vol
Volume of the entire system.
std::vector< std::string > ElName
vector of strings containing the element names
int iest
Specification of the initial estimate method.
size_t NSPECIES0
Species number used to size data structures.
size_t addOnePhaseSpecies(vcs_VolPhase *volPhase, size_t k, size_t kT)
This routines adds entries for the formula matrix for one species.
void resizePhase(size_t nPhase, int force)
Resizes all of the phase lists within the structure.
std::vector< vcs_VolPhase * > VPhaseList
Array of phase structures.
int m_Iterations
Number of iterations. This is an output variable.
A class for 2D arrays stored in column-major (Fortran-compatible) form.
void resizeElements(size_t nel, int force)
Resizes all of the element lists within the structure.
std::vector< size_t > PhaseID
Mapping between the species and the phases.
Header file for class Cantera::Array2D.
std::vector< int > vector_int
Vector of ints.
vector_fp gai
Element abundances for jth element.
double tolmin
Tolerance requirement for minor species.
void addPhaseElements(vcs_VolPhase *volPhase)
Add elements to the local element list.
Array2D FormulaMatrix
Formula Matrix for the problem.
void setDebugPrintLvl(int vcs_debug_print_lvl)
Set the debug level.
double tolmaj
Tolerance requirement for major species.
vector_int ElActive
Specifies whether an element constraint is active.
vector_int SpeciesUnknownType
Specifies the species unknown type.
size_t NPHASE0
Number of phases used to size data structures.
vector_fp Charge
Charge of each species.
size_t nspecies
Total number of species in the problems.
vector_fp w
Total number of moles of the kth species.
void prob_report(int print_lvl)
Print out the problem specification in all generality as it currently exists in the VCS_PROB object...
vector_fp WtSpecies
Molecular weight of species.
vector_fp mf
Mole fraction vector.
int m_NumBasisOptimizations
Number of basis optimizations used. This is an output variable.
size_t addElement(const char *elNameNew, int elType, int elactive)
This routine resizes the number of elements in the VCS_PROB object by adding a new element to the end...
Phase information and Phase calculations for vcs.
size_t ne
Number of element constraints in the equilibrium problem.
vector_fp m_gibbsSpecies
Vector of chemical potentials of the species.
int prob_type
Problem type.
std::vector< VCS_SPECIES_THERMO * > SpeciesThermo
Vector of pointers to thermo structures which identify the model and parameters for evaluating the th...
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
std::vector< std::string > SpName
Vector of strings containing the species names.
vector_int m_elType
vector of Element types
size_t NE0
Number of element constraints used to size data structures involving elements.
double T
Temperature (Kelvin)
void resizeSpecies(size_t nsp, int force)
Resizes all of the species lists within the structure.
void set_gai()
Calculate the element abundance vector from the mole numbers.
size_t NPhase
Number of phases in the problem.
Namespace for the Cantera kernel.
Interface class for the vcs thermo equilibrium solver package, which generally describes the problem ...
int vcs_debug_print_lvl
Debug print lvl.
VCS_PROB(size_t nsp, size_t nel, size_t nph)
Constructor.