Skip to content
Snippets Groups Projects
Commit ea317a12 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[MatL] Adsorption; Remove unused getMassFraction()

AdsorptionReaction::getMassFraction
parent f517be70
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
...@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment