20 class VCS_SPECIES_THERMO;
70 std::vector<double>
w;
77 std::vector<double>
mf;
84 std::vector<double>
gai;
224 VCS_PROB(
size_t nsp,
size_t nel,
size_t nph);
304 size_t addElement(
const char* elNameNew,
int elType,
int elactive);
321 void reportCSV(
const std::string& reportFile);
std::vector< int > ElActive
Specifies whether an element constraint is active.
std::vector< double > WtSpecies
Molecular weight of species.
int m_printLvl
Print level for print routines.
std::vector< int > SpeciesUnknownType
Specifies the species unknown type.
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.
std::vector< double > w
Total number of moles of the kth species.
size_t NSPECIES0
Species number used to malloc 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< double > VolPM
Partial Molar Volumes of species.
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.
int m_VCS_UnitsFormat
Units for the chemical potential data, pressure data, volume, and species amounts.
size_t NPHASE0
Number of phases used to malloc data structures.
size_t nspecies
Total number of species in the problems.
std::vector< double > mf
Mole fraction vector.
void prob_report(int print_lvl)
Print out the problem specification in all generality as it currently exists in the VCS_PROB object...
std::vector< double > Charge
Charge of each species.
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.
std::vector< int > m_elType
vector of Element types
size_t ne
Number of element constraints in the equilibrium problem.
int prob_type
Problem type. I.e., the identity of what is held constant.
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 > gai
Element abundances for jth element.
std::vector< std::string > SpName
Vector of strings containing the species names.
size_t NE0
Number of element constraints used to malloc data structures involving elements.
std::vector< double > m_gibbsSpecies
Vector of chemical potentials of the species.
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.
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.