Skip to content
Snippets Groups Projects
Commit 046947c4 authored by Christoph Lehmann's avatar Christoph Lehmann
Browse files

added docu for adsorption materials

parent 58fa6d69
No related branches found
No related tags found
No related merge requests found
Showing
with 13 additions and 4 deletions
\todo document
\todo document
\todo document
\todo document
\todo document
\todo document
...@@ -32,6 +32,7 @@ std::unique_ptr<Reaction> ...@@ -32,6 +32,7 @@ std::unique_ptr<Reaction>
Reaction:: Reaction::
newInstance(BaseLib::ConfigTree const& conf) newInstance(BaseLib::ConfigTree const& conf)
{ {
//! \ogs_file_param{materials__adsorption__reaction__type}
auto const type = conf.getConfParam<std::string>("type"); auto const type = conf.getConfParam<std::string>("type");
if (type == "Z13XBF") if (type == "Z13XBF")
......
...@@ -26,8 +26,9 @@ namespace Adsorption ...@@ -26,8 +26,9 @@ namespace Adsorption
class ReactionCaOH2 final : public Reaction class ReactionCaOH2 final : public Reaction
{ {
public: public:
explicit ReactionCaOH2(BaseLib::ConfigTree const& conf) explicit ReactionCaOH2(BaseLib::ConfigTree const& conf) :
: _ode_solver_config{conf.getConfSubtree("ode_solver_config")} //! \ogs_file_param{materials__adsorption__reaction__CaOH2__ode_solver_config}
_ode_solver_config{conf.getConfSubtree("ode_solver_config")}
{} {}
double getEnthalpy(const double /*p_Ads*/, const double /*T_Ads*/, double getEnthalpy(const double /*p_Ads*/, const double /*T_Ads*/,
......
...@@ -21,8 +21,9 @@ namespace Adsorption ...@@ -21,8 +21,9 @@ namespace Adsorption
class ReactionSinusoidal final : public Reaction class ReactionSinusoidal final : public Reaction
{ {
public: public:
explicit ReactionSinusoidal(BaseLib::ConfigTree const& conf) explicit ReactionSinusoidal(BaseLib::ConfigTree const& conf) :
: _enthalpy(conf.getConfParam<double>("reaction_enthalpy")) //! \ogs_file_param{materials__adsorption__reaction__Sinusoidal__reaction_enthalpy}
_enthalpy(conf.getConfParam<double>("reaction_enthalpy"))
{ {
} }
......
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