From e2ff3c0c34e6d704927e0d98abd81fcca4ed712a Mon Sep 17 00:00:00 2001 From: Pierre Date: Thu, 19 Sep 2024 11:54:57 -0400 Subject: [PATCH] indent --- include/core/parameters.h | 72 +++++++++++++++++++-------------------- source/core/parameters.cc | 4 +-- 2 files changed, 37 insertions(+), 39 deletions(-) diff --git a/include/core/parameters.h b/include/core/parameters.h index 2459fa454d..9a44fa9535 100644 --- a/include/core/parameters.h +++ b/include/core/parameters.h @@ -350,22 +350,22 @@ namespace Parameters // Liquidus temperature - Units in K double T_liquidus; - /** - * @brief Declare the parameters. - * - * @param[in,out] prm The ParameterHandler. - */ + /** + * @brief Declare the parameters. + * + * @param[in,out] prm The ParameterHandler. + */ void declare_parameters(ParameterHandler &prm); void /** - * @brief Parse the parameters. - * - * @param[in,out] prm The ParameterHandler. - * - * @param[in] dimensions The Dimensionality object controling the - * fundamental dimensions (length, time, mass, temperature) of the problem. - */ + * @brief Parse the parameters. + * + * @param[in,out] prm The ParameterHandler. + * + * @param[in] dimensions The Dimensionality object controling the + * fundamental dimensions (length, time, mass, temperature) of the problem. + */ parse_parameters(ParameterHandler &prm, const Parameters::Dimensionality dimensions); }; @@ -379,22 +379,22 @@ namespace Parameters // Mobility constant (M) in m^2/s double mobility_cahn_hilliard_constant; - /** - * @brief Declare the parameters. - * - * @param[in,out] prm The ParameterHandler. - */ + /** + * @brief Declare the parameters. + * + * @param[in,out] prm The ParameterHandler. + */ void declare_parameters(ParameterHandler &prm); - /** -* @brief Parse the parameters. -* -* @param[in,out] prm The ParameterHandler. -* -* @param[in] dimensions The Dimensionality object controling the -* fundamental dimensions (length, time, mass, temperature) of the problem. -*/ + /** + * @brief Parse the parameters. + * + * @param[in,out] prm The ParameterHandler. + * + * @param[in] dimensions The Dimensionality object controling the + * fundamental dimensions (length, time, mass, temperature) of the problem. + */ void parse_parameters(ParameterHandler &prm, const Parameters::Dimensionality dimensions); @@ -527,7 +527,7 @@ namespace Parameters std::pair, unsigned int> fluid_solid_interaction_with_material_interaction_id; -/** + /** * @brief Declare the parameters. * * @param[in,out] prm The ParameterHandler. @@ -537,16 +537,16 @@ namespace Parameters void declare_parameters(ParameterHandler &prm, unsigned int id); - /** - * @brief Parse the parameters. - * - * @param[in,out] prm The ParameterHandler. - * - * @param[in] id The material id. - * - * @param[in] dimensions The Dimensionality object controling the - * fundamental dimensions (length, time, mass, temperature) of the problem. - */ + /** + * @brief Parse the parameters. + * + * @param[in,out] prm The ParameterHandler. + * + * @param[in] id The material id. + * + * @param[in] dimensions The Dimensionality object controling the + * fundamental dimensions (length, time, mass, temperature) of the problem. + */ void parse_parameters(ParameterHandler &prm, const unsigned int id, diff --git a/source/core/parameters.cc b/source/core/parameters.cc index b3b3df3e16..75dc1f3b41 100644 --- a/source/core/parameters.cc +++ b/source/core/parameters.cc @@ -1371,7 +1371,6 @@ namespace Parameters { mobility_cahn_hilliard_model = MobilityCahnHilliardModel::constant; - } else if (op == "quartic") { @@ -1382,8 +1381,7 @@ namespace Parameters throw(std::runtime_error( "Invalid mobility model. The choices are .")); - mobility_cahn_hilliard_parameters.parse_parameters(prm, - dimensions); + mobility_cahn_hilliard_parameters.parse_parameters(prm, dimensions); } prm.leave_subsection(); }