Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic
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
MostafaMollaali
dynamic
Commits
ea317a12
Commit
ea317a12
authored
5 years ago
by
Dmitri Naumov
Browse files
Options
Downloads
Patches
Plain Diff
[MatL] Adsorption; Remove unused getMassFraction()
AdsorptionReaction::getMassFraction
parent
f517be70
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
MaterialLib/Adsorption/Adsorption.cpp
+0
-6
0 additions, 6 deletions
MaterialLib/Adsorption/Adsorption.cpp
MaterialLib/Adsorption/Adsorption.h
+0
-1
0 additions, 1 deletion
MaterialLib/Adsorption/Adsorption.h
with
0 additions
and
7 deletions
MaterialLib/Adsorption/Adsorption.cpp
+
0
−
6
View file @
ea317a12
...
@@ -91,12 +91,6 @@ double AdsorptionReaction::getMolarFraction(double xm, double M_this, double M_o
...
@@ -91,12 +91,6 @@ double AdsorptionReaction::getMolarFraction(double xm, double M_this, double M_o
}
}
double
AdsorptionReaction
::
getMassFraction
(
double
xn
,
double
M_this
,
double
M_other
)
{
return
M_this
*
xn
/
(
M_this
*
xn
+
M_other
*
(
1.0
-
xn
));
}
double
AdsorptionReaction
::
dMolarFraction
(
double
xm
,
double
M_this
,
double
M_other
)
double
AdsorptionReaction
::
dMolarFraction
(
double
xm
,
double
M_this
,
double
M_other
)
{
{
return
M_other
*
M_this
return
M_other
*
M_this
...
...
This diff is collapsed.
Click to expand it.
MaterialLib/Adsorption/Adsorption.h
+
0
−
1
View file @
ea317a12
...
@@ -26,7 +26,6 @@ public:
...
@@ -26,7 +26,6 @@ public:
static
double
getSpecificHeatCapacity
(
const
double
T_Ads
);
// TODO [CL] why unused?
static
double
getSpecificHeatCapacity
(
const
double
T_Ads
);
// TODO [CL] why unused?
static
double
getMolarFraction
(
double
xm
,
double
M_this
,
double
M_other
);
static
double
getMolarFraction
(
double
xm
,
double
M_this
,
double
M_other
);
static
double
getMassFraction
(
double
xn
,
double
M_this
,
double
M_other
);
static
double
dMolarFraction
(
double
xm
,
double
M_this
,
double
M_other
);
static
double
dMolarFraction
(
double
xm
,
double
M_this
,
double
M_other
);
static
double
getLoading
(
const
double
rho_curr
,
const
double
rho_dry
);
static
double
getLoading
(
const
double
rho_curr
,
const
double
rho_dry
);
...
...
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