Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dmitri Naumov
ogs
Commits
6a93b86d
Commit
6a93b86d
authored
4 years ago
by
renchao.lu
Browse files
Options
Downloads
Patches
Plain Diff
[CL] Rename function.
parent
ddb21edb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ChemistryLib/PhreeqcIO.cpp
+7
-7
7 additions, 7 deletions
ChemistryLib/PhreeqcIO.cpp
with
7 additions
and
7 deletions
ChemistryLib/PhreeqcIO.cpp
+
7
−
7
View file @
6a93b86d
...
...
@@ -68,11 +68,11 @@ void setAqueousSolution(std::vector<double> const& concentrations,
}
template
<
typename
Reactant
>
void
set
ReactantMolality
(
Reactant
&
reactant
,
GlobalIndexType
const
&
chemical_system_id
,
MaterialPropertyLib
::
Medium
const
*
medium
,
ParameterLib
::
SpatialPosition
const
&
pos
,
double
const
t
)
void
initialize
ReactantMolality
(
Reactant
&
reactant
,
GlobalIndexType
const
&
chemical_system_id
,
MaterialPropertyLib
::
Medium
const
*
medium
,
ParameterLib
::
SpatialPosition
const
&
pos
,
double
const
t
)
{
auto
const
&
solid_phase
=
medium
->
phase
(
"Solid"
);
auto
const
&
solid_constituent
=
solid_phase
.
component
(
reactant
.
name
);
...
...
@@ -206,13 +206,13 @@ void PhreeqcIO::initializeChemicalSystemConcrete(
for
(
auto
&
kinetic_reactant
:
_chemical_system
->
kinetic_reactants
)
{
set
ReactantMolality
(
kinetic_reactant
,
chemical_system_id
,
medium
,
pos
,
initialize
ReactantMolality
(
kinetic_reactant
,
chemical_system_id
,
medium
,
pos
,
t
);
}
for
(
auto
&
equilibrium_reactant
:
_chemical_system
->
equilibrium_reactants
)
{
set
ReactantMolality
(
equilibrium_reactant
,
chemical_system_id
,
medium
,
initialize
ReactantMolality
(
equilibrium_reactant
,
chemical_system_id
,
medium
,
pos
,
t
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment