OGS 6.2.0-97-g4a610c866
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
double getReactionRate(const double, const double, const double, const double) const override
Definition: ReactionInert.h:28
double getEnthalpy(const double, const double, const double) const override
Definition: ReactionInert.h:22
#define OGS_FATAL(fmt,...)
Definition: Error.h:63