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
16namespace Adsorption
17{
18
19class ReactionInert final : public Reaction
20{
21public:
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
#define OGS_FATAL(...)
Definition Error.h:26
double getEnthalpy(const double, const double, const double) const override
double getReactionRate(const double, const double, const double, const double) const override