diff --git a/include/cantera/base/AnyMap.h b/include/cantera/base/AnyMap.h index ac0d40abf..2718ac1a1 100644 --- a/include/cantera/base/AnyMap.h +++ b/include/cantera/base/AnyMap.h @@ -285,7 +285,7 @@ public: bool hasMapWhere(const string& key, const string& value) const; //! Return values used to determine the sort order when outputting to YAML - pair order() const; + pair order() const; //! See AnyMap::applyUnits() void applyUnits(shared_ptr& units); diff --git a/include/cantera/base/ValueCache.h b/include/cantera/base/ValueCache.h index 65b973c3c..33b1a8808 100644 --- a/include/cantera/base/ValueCache.h +++ b/include/cantera/base/ValueCache.h @@ -176,10 +176,10 @@ public: protected: //! Cached scalar values - map > m_scalarCache; + map> m_scalarCache; //! Cached array values - map> > m_arrayCache; + map>> m_arrayCache; //! The last assigned id. Automatically incremented by the getId() method. static int m_last_id; diff --git a/include/cantera/equil/vcs_solve.h b/include/cantera/equil/vcs_solve.h index af603eb0e..bcf90a35b 100644 --- a/include/cantera/equil/vcs_solve.h +++ b/include/cantera/equil/vcs_solve.h @@ -1451,7 +1451,7 @@ public: //! Charge of each species. Length = number of species. vector m_chargeSpecies; - vector > phasePopProblemLists_; + vector> phasePopProblemLists_; //! Vector of pointers to thermo structures which identify the model //! and parameters for evaluating the thermodynamic functions for that diff --git a/include/cantera/kinetics/InterfaceKinetics.h b/include/cantera/kinetics/InterfaceKinetics.h index 55f43646d..057bbbef9 100644 --- a/include/cantera/kinetics/InterfaceKinetics.h +++ b/include/cantera/kinetics/InterfaceKinetics.h @@ -483,7 +483,7 @@ protected: * m_rxnPhaseIsReactant[j][p] indicates whether a species in phase p * participates in reaction j as a reactant. */ - vector > m_rxnPhaseIsReactant; + vector> m_rxnPhaseIsReactant; //! Vector of vector of booleans indicating whether a phase participates in a //! reaction as a product @@ -491,7 +491,7 @@ protected: * m_rxnPhaseIsReactant[j][p] indicates whether a species in phase p * participates in reaction j as a product. */ - vector > m_rxnPhaseIsProduct; + vector> m_rxnPhaseIsProduct; int m_ioFlag = 0; diff --git a/include/cantera/kinetics/Kinetics.h b/include/cantera/kinetics/Kinetics.h index 1eeb2fbaa..9d8af48d1 100644 --- a/include/cantera/kinetics/Kinetics.h +++ b/include/cantera/kinetics/Kinetics.h @@ -1546,7 +1546,7 @@ protected: vector m_perturb; //! Vector of Reaction objects represented by this Kinetics manager - vector > m_reactions; + vector> m_reactions; //! m_thermo is a vector of pointers to ThermoPhase objects that are //! involved with this kinetics operator diff --git a/include/cantera/kinetics/ReactionPath.h b/include/cantera/kinetics/ReactionPath.h index 7b0378b85..e5acd2b45 100644 --- a/include/cantera/kinetics/ReactionPath.h +++ b/include/cantera/kinetics/ReactionPath.h @@ -279,7 +279,7 @@ public: protected: double m_flxmax = 0.0; - map > m_paths; + map> m_paths; //! map of species index to SpeciesNode map m_nodes; @@ -317,8 +317,8 @@ protected: vector m_ropf; vector m_ropr; vector m_x; - vector > m_reac; - vector > m_prod; + vector> m_reac; + vector> m_prod; DenseMatrix m_elatoms; vector> m_groups; vector m_sgroup; @@ -327,7 +327,7 @@ protected: //! m_transfer[reaction][reactant number][product number] where "reactant //! number" means the number of the reactant in the reaction equation. For example, //! for "A+B -> C+D", "B" is reactant number 1 and "C" is product number 0. - map > > m_transfer; + map>> m_transfer; vector m_determinate; Array2D m_atoms; diff --git a/include/cantera/kinetics/ThirdBodyCalc.h b/include/cantera/kinetics/ThirdBodyCalc.h index 2382f0878..8fccca9cd 100644 --- a/include/cantera/kinetics/ThirdBodyCalc.h +++ b/include/cantera/kinetics/ThirdBodyCalc.h @@ -136,7 +136,7 @@ protected: vector m_no_mass_action_index; //! m_species[i][j] is the index of the j-th species in reaction i. - vector > m_species; + vector> m_species; //! m_eff[i][j] is the efficiency of the j-th species in reaction i. vector> m_eff; diff --git a/include/cantera/thermo/MultiSpeciesThermo.h b/include/cantera/thermo/MultiSpeciesThermo.h index 8c5fb81b7..b0c6e272c 100644 --- a/include/cantera/thermo/MultiSpeciesThermo.h +++ b/include/cantera/thermo/MultiSpeciesThermo.h @@ -199,8 +199,8 @@ protected: //! Mark species *k* as having its thermodynamic data installed void markInstalled(size_t k); - typedef pair > index_STIT; - typedef map > STIT_map; + typedef pair> index_STIT; + typedef map> STIT_map; typedef map> tpoly_map; //! This is the main data structure, which contains the @@ -215,7 +215,7 @@ protected: //! Map from species index to location within #m_sp, such that //! `m_sp[m_speciesLoc[k].first][m_speciesLoc[k].second]` is the //! SpeciesThermoInterpType object for species `k`. - map > m_speciesLoc; + map> m_speciesLoc; //! Maximum value of the lowest temperature double m_tlow_max = 0.0; diff --git a/include/cantera/thermo/Phase.h b/include/cantera/thermo/Phase.h index feb6aa014..49a3b31bb 100644 --- a/include/cantera/thermo/Phase.h +++ b/include/cantera/thermo/Phase.h @@ -969,7 +969,7 @@ protected: vector m_speciesCharge; //!< Vector of species charges. length m_kk. - map > m_species; + map> m_species; //! Flag determining behavior when adding species with an undefined element UndefElement::behavior m_undefinedElementBehavior = UndefElement::add; diff --git a/src/equil/MultiPhaseEquil.cpp b/src/equil/MultiPhaseEquil.cpp index 39a77b420..0cdf7a2bc 100644 --- a/src/equil/MultiPhaseEquil.cpp +++ b/src/equil/MultiPhaseEquil.cpp @@ -591,7 +591,7 @@ double MultiPhaseEquil::computeReactionSteps(vector& dxi) void MultiPhaseEquil::computeN() { // Sort the list of species by mole fraction (decreasing order) - vector > moleFractions(m_nsp); + vector> moleFractions(m_nsp); for (size_t k = 0; k < m_nsp; k++) { // use -Xk to generate reversed sort order moleFractions[k] = {-m_mix->speciesMoles(m_species[k]), k}; diff --git a/src/kinetics/Kinetics.cpp b/src/kinetics/Kinetics.cpp index 0e21dcc33..5710d69e3 100644 --- a/src/kinetics/Kinetics.cpp +++ b/src/kinetics/Kinetics.cpp @@ -107,8 +107,8 @@ void Kinetics::checkSpeciesArraySize(size_t kk) const pair Kinetics::checkDuplicates(bool throw_err) const { //! Map of (key indicating participating species) to reaction numbers - map > participants; - vector > net_stoich; + map> participants; + vector> net_stoich; std::unordered_set unmatched_duplicates; for (size_t i = 0; i < m_reactions.size(); i++) { if (m_reactions[i]->duplicate) { diff --git a/src/kinetics/ReactionPath.cpp b/src/kinetics/ReactionPath.cpp index 43146ac3f..37b11efc4 100644 --- a/src/kinetics/ReactionPath.cpp +++ b/src/kinetics/ReactionPath.cpp @@ -540,8 +540,8 @@ int ReactionPathBuilder::init(ostream& logfile, Kinetics& kin) // all reactants / products, even ones appearing on both sides of the // reaction - vector > allProducts(m_nr); - vector > allReactants(m_nr); + vector> allProducts(m_nr); + vector> allReactants(m_nr); for (size_t i = 0; i < m_nr; i++) { for (size_t k = 0; k < m_ns; k++) { for (int n = 0; n < kin.reactantStoichCoeff(k, i); n++) { @@ -733,7 +733,7 @@ int ReactionPathBuilder::build(Kinetics& s, const string& element, double f; if ((m_atoms(kkp,m) < m_elatoms(m, i)) && (m_atoms(kkr,m) < m_elatoms(m, i))) { - map >& g = m_transfer[i]; + map>& g = m_transfer[i]; if (g.empty()) { if (!warn[i] && !quiet) { output << endl; diff --git a/src/numerics/CVodesIntegrator.cpp b/src/numerics/CVodesIntegrator.cpp index 4251328db..4f96f1883 100644 --- a/src/numerics/CVodesIntegrator.cpp +++ b/src/numerics/CVodesIntegrator.cpp @@ -660,7 +660,7 @@ string CVodesIntegrator::getErrorInfo(int N) CVodeGetErrWeights(m_cvode_mem, errw); CVodeGetEstLocalErrors(m_cvode_mem, errs); - vector > weightedErrors; + vector> weightedErrors; for (size_t i=0; i newSpecies(const AnyMap& node) vector> getSpecies(const AnyValue& items) { - vector > all_species; + vector> all_species; for (const auto& node : items.asVector()) { all_species.emplace_back(newSpecies(node)); }