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

[PL] HT: Fix ogs_file_param/specific_body_force.

parent bf9cb1d9
No related branches found
No related tags found
No related merge requests found
...@@ -135,7 +135,7 @@ std::unique_ptr<Process> createHTProcess( ...@@ -135,7 +135,7 @@ std::unique_ptr<Process> createHTProcess(
// Specific body force parameter. // Specific body force parameter.
Eigen::Vector3d specific_body_force; Eigen::Vector3d specific_body_force;
std::vector<double> const b = std::vector<double> const b =
//! \ogs_file_param_special{process__HT__specific_body_force} //! \ogs_file_param{process__HT__specific_body_force}
config.getConfigParameter<std::vector<double>>("specific_body_force"); config.getConfigParameter<std::vector<double>>("specific_body_force");
assert(b.size() > 0 && b.size() < 4); assert(b.size() > 0 && b.size() < 4);
bool const has_gravity = MathLib::toVector(b).norm() > 0; bool const has_gravity = MathLib::toVector(b).norm() > 0;
......
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