Cantera
2.0
|
Internal declarations for the VCSnonideal packageMore...
Go to the source code of this file.
Classes | |
class | VCS_COUNTERS |
Amount of extra printing that is done while in debug mode. More... | |
Macros | |
#define | ALTLINPROG |
#define | VCS_DATA_PTR(vvv) (&(vvv[0])) |
Points to the data in a std::vector<> object. | |
#define | plogf Cantera::writelogf |
define this Cantera function to replace printf | |
#define | plogendl() Cantera::writelogendl() |
define this Cantera function to replace cout << endl; | |
#define | USE_MEMSET |
This define turns on using memset and memcpy. | |
Typedefs | |
typedef double(* | VCS_FUNC_PTR )(double xval, double Vtarget, int varID, void *fptrPassthrough, int *err) |
Definition of the function pointer for the root finder. | |
Internal declarations for the VCSnonideal package
Definition in file vcs_internal.h.
#define VCS_DATA_PTR | ( | vvv | ) | (&(vvv[0])) |
Points to the data in a std::vector<> object.
Definition at line 29 of file vcs_internal.h.
Referenced by vcs_VolPhase::_updateActCoeff(), vcs_VolPhase::_updateG0(), vcs_VolPhase::_updateGStar(), vcs_VolPhase::_updateLnActCoeffJac(), vcs_VolPhase::_updateVolPM(), vcs_VolPhase::_updateVolStar(), vcs_MultiPhaseEquil::reportCSV(), VCS_PROB::set_gai(), vcs_VolPhase::setCreationMoleNumbers(), vcs_VolPhase::setMolesFromVCS(), vcs_VolPhase::setPtrThermoPhase(), VCS_SOLVE::vcs_add_all_deleted(), VCS_SOLVE::vcs_basopt(), VCS_SOLVE::vcs_delete_species(), VCS_SOLVE::vcs_deltag(), VCS_SOLVE::vcs_deltag_Phase(), VCS_SOLVE::vcs_dfe(), VCS_SOLVE::vcs_globStepDamp(), VCS_SOLVE::vcs_inest(), VCS_SOLVE::vcs_inest_TP(), VCS_SOLVE::vcs_phaseStabilityTest(), VCS_SOLVE::vcs_prep(), VCS_SOLVE::vcs_prep_oneTime(), VCS_SOLVE::vcs_printSpeciesChemPot(), VCS_SOLVE::vcs_prob_specifyFully(), VCS_SOLVE::vcs_prob_update(), VCS_SOLVE::vcs_recheck_deleted(), VCS_SOLVE::vcs_report(), VCS_SOLVE::vcs_RxnStepSizes(), VCS_SOLVE::vcs_solve_TP(), and VCS_SOLVE::vcs_updateVP().
#define plogf Cantera::writelogf |
define this Cantera function to replace printf
We can replace this with printf easily
Definition at line 35 of file vcs_internal.h.
Referenced by VCS_PROB::addElement(), VCS_PROB::addOnePhaseSpecies(), VCS_SOLVE::delta_species(), vcs_MultiPhaseEquil::determine_PhaseStability(), vcs_MultiPhaseEquil::equilibrate_HP(), vcs_MultiPhaseEquil::equilibrate_SP(), vcs_MultiPhaseEquil::equilibrate_TP(), VCS_PROB::prob_report(), vcs_MultiPhaseEquil::reportCSV(), vcs_VolPhase::resize(), VCS_PROB::resizeSpecies(), vcs_VolPhase::setExistence(), vcs_VolPhase::setMolesFromVCSCheck(), vcs_VolPhase::setPtrThermoPhase(), VCS_SOLVE::vcs(), VCS_SOLVE::vcs_add_all_deleted(), VCS_SOLVE::vcs_basopt(), VCS_SOLVE::vcs_birthGuess(), VCS_SOLVE::vcs_chemPotPhase(), VCS_SOLVE::vcs_delete_multiphase(), VCS_SOLVE::vcs_delete_species(), VCS_SOLVE::vcs_deltag(), VCS_SOLVE::vcs_deltag_Phase(), VCS_SOLVE::vcs_dfe(), VCS_SOLVE::vcs_elem_rearrange(), VCS_SOLVE::vcs_globStepDamp(), VCS_SOLVE::vcs_Hessian_diag_adj(), VCS_SOLVE::vcs_inest(), VCS_SOLVE::vcs_inest_TP(), VCS_SOLVE::vcs_initSizes(), vcs_MultiPhaseEquil::vcs_MultiPhaseEquil(), VCS_SOLVE::vcs_nondim_Farad(), VCS_SOLVE::vcs_nondim_TP(), VCS_SOLVE::vcs_nondimMult_TP(), VCS_SOLVE::vcs_phaseStabilityTest(), VCS_SOLVE::vcs_popPhaseID(), VCS_SOLVE::vcs_popPhaseRxnStepSizes(), VCS_SOLVE::vcs_prep_oneTime(), VCS_SOLVE::vcs_printChemPotUnits(), VCS_PROB::VCS_PROB(), VCS_SOLVE::vcs_prob_specify(), VCS_SOLVE::vcs_prob_specifyFully(), VCS_SOLVE::vcs_prob_update(), VCS_SOLVE::vcs_recheck_deleted(), VCS_SOLVE::vcs_redim_TP(), VCS_SOLVE::vcs_report(), VCS_SOLVE::vcs_rxn_adj_cg(), VCS_SOLVE::vcs_RxnStepSizes(), VCS_SOLVE::vcs_solve_TP(), VCS_SOLVE::vcs_species_type(), VCS_SOLVE::vcs_switch_elem_pos(), VCS_SOLVE::vcs_switch_pos(), VCS_SOLVE::vcs_TCounters_report(), VCS_SOLVE::vcs_TP(), VCS_SOLVE::vcs_updateVP(), VCS_SOLVE::vcs_wellPosed(), and VCS_SOLVE::vcs_zero_species().
#define plogendl | ( | ) | Cantera::writelogendl() |
define this Cantera function to replace cout << endl;
We use this to place an endl in the log file, and ensure that the IO buffers are flushed.
Definition at line 42 of file vcs_internal.h.
Referenced by VCS_SOLVE::delta_species(), vcs_MultiPhaseEquil::equilibrate_HP(), vcs_VolPhase::setExistence(), VCS_SOLVE::vcs_add_all_deleted(), VCS_SOLVE::vcs_basopt(), VCS_SOLVE::vcs_delete_species(), VCS_SOLVE::vcs_deltag_Phase(), VCS_SOLVE::vcs_dfe(), VCS_SOLVE::vcs_elem_rearrange(), VCS_SOLVE::vcs_globStepDamp(), VCS_SOLVE::vcs_inest(), VCS_SOLVE::vcs_inest_TP(), VCS_SOLVE::vcs_nondim_Farad(), VCS_SOLVE::vcs_nondim_TP(), VCS_SOLVE::vcs_nondimMult_TP(), VCS_SOLVE::vcs_redim_TP(), VCS_SOLVE::vcs_RxnStepSizes(), VCS_SOLVE::vcs_solve_TP(), VCS_SOLVE::vcs_switch_elem_pos(), VCS_SOLVE::vcs_updateVP(), and VCS_SOLVE::vcs_zero_species().
#define USE_MEMSET |
This define turns on using memset and memcpy.
I have not run into any systems where this is a problem. It's the fastest way to do low lvl operations where applicable. There are alternative routines available if this ever fails.
Definition at line 331 of file vcs_internal.h.