IRM_RESULT RM_SpeciesConcentrations2Module ( int id,double * species_conc ) Set solution concentrations in the reaction cells based on the vector of aqueous species concentrations (species_conc). This method is intended for use with multicomponent-diffusion transport calculations, and RM_SetSpeciesSaveOn must be set to true. The list of aqueous species is determined by RM_FindComponents and includes all aqueous species that can be made from the set of components. The method determines the total concentration of a component by summing the molarities of the individual species times the stoichiometric coefficient of the element in each species. Solution compositions in the reaction cells are updated with these component concentrations.
The method determines the total concentration of a component by summing the molarities of the individual species times the stoichiometric coefficient of the element in each species.