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
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
Yuhao Liu
ogs
Commits
088b2dab
Commit
088b2dab
authored
3 years ago
by
renchao.lu
Browse files
Options
Downloads
Patches
Plain Diff
[CL] remove print func from struct DensityBasedSurfaceSite.
parent
90e8026a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChemistryLib/PhreeqcIOData/Surface.cpp
+0
-28
0 additions, 28 deletions
ChemistryLib/PhreeqcIOData/Surface.cpp
ChemistryLib/PhreeqcIOData/Surface.h
+5
-13
5 additions, 13 deletions
ChemistryLib/PhreeqcIOData/Surface.h
with
5 additions
and
41 deletions
ChemistryLib/PhreeqcIOData/Surface.cpp
deleted
100644 → 0
+
0
−
28
View file @
90e8026a
/**
* \file
* \copyright
* Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#include
"Surface.h"
#include
<ostream>
namespace
ChemistryLib
{
namespace
PhreeqcIOData
{
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
SurfaceSite
const
&
surface_site
)
{
os
<<
surface_site
.
name
<<
" "
<<
surface_site
.
site_density
<<
" "
<<
surface_site
.
specific_surface_area
<<
" "
<<
surface_site
.
mass
<<
"
\n
"
;
return
os
;
}
}
// namespace PhreeqcIOData
}
// namespace ChemistryLib
This diff is collapsed.
Click to expand it.
ChemistryLib/PhreeqcIOData/Surface.h
+
5
−
13
View file @
088b2dab
...
...
@@ -10,24 +10,19 @@
#pragma once
#include
<iosfwd>
#include
<string>
namespace
BaseLib
{
class
ConfigTree
;
}
namespace
ChemistryLib
{
namespace
PhreeqcIOData
{
struct
SurfaceSite
struct
DensityBased
SurfaceSite
{
SurfaceSite
(
std
::
string
name_
,
double
const
site_density_
,
double
const
specific_surface_area_
,
double
const
mass_
)
DensityBased
SurfaceSite
(
std
::
string
name_
,
double
const
site_density_
,
double
const
specific_surface_area_
,
double
const
mass_
)
:
name
(
std
::
move
(
name_
)),
site_density
(
site_density_
),
specific_surface_area
(
specific_surface_area_
),
...
...
@@ -35,9 +30,6 @@ struct SurfaceSite
{
}
friend
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
SurfaceSite
const
&
surface_site
);
std
::
string
const
name
;
double
const
site_density
;
double
const
specific_surface_area
;
...
...
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