OGS
ReactionInert.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include "
BaseLib/Error.h
"
13
14
#include "
Reaction.h
"
15
16
namespace
Adsorption
17
{
18
19
class
ReactionInert
final :
public
Reaction
20
{
21
public
:
22
double
getEnthalpy
(
const
double
/*p_Ads*/
,
const
double
/*T_Ads*/
,
23
const
double
/*M_Ads*/
)
const override
24
{
25
return
0.0;
26
}
27
28
double
getReactionRate
(
const
double
/*p_Ads*/
,
const
double
/*T_Ads*/
,
const
double
/*M_Ads*/
,
29
const
double
/*loading*/
)
const override
30
{
31
OGS_FATAL
(
"Method getReactionRate() should never be called directly"
);
32
}
33
};
34
35
}
// namespace Adsorption
Error.h
OGS_FATAL
#define OGS_FATAL(...)
Definition
Error.h:26
Reaction.h
Adsorption::ReactionInert
Definition
ReactionInert.h:20
Adsorption::ReactionInert::getEnthalpy
double getEnthalpy(const double, const double, const double) const override
Definition
ReactionInert.h:22
Adsorption::ReactionInert::getReactionRate
double getReactionRate(const double, const double, const double, const double) const override
Definition
ReactionInert.h:28
Adsorption::Reaction
Definition
Reaction.h:20
Adsorption
Definition
Adsorption.cpp:38
MaterialLib
Adsorption
ReactionInert.h
Generated by
1.12.0