void Phase::getMolecularWeights(vector_fp& weights) const { const vector_fp& mw = molecularWeights(); if (weights.size() < mw.size()) { weights.resize(mw.size()); } copy(mw.begin(), mw.end(), weights.begin()); }
void Phase::getMolecularWeights(doublereal* weights) const { const vector_fp& mw = molecularWeights(); copy(mw.begin(), mw.end(), weights); }
void Phase::getMolecularWeights(vector_fp& weights) const { weights = molecularWeights(); }
void Phase::freezeSpecies() { m_speciesFrozen = true; init(molecularWeights()); }