Skip to content

Commit

Permalink
indent
Browse files Browse the repository at this point in the history
PierreLaurentinCS committed Sep 19, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent b54445e commit e2ff3c0
Showing 2 changed files with 37 additions and 39 deletions.
72 changes: 36 additions & 36 deletions include/core/parameters.h
Original file line number Diff line number Diff line change
@@ -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<std::pair<unsigned int, unsigned int>, 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,
4 changes: 1 addition & 3 deletions source/core/parameters.cc
Original file line number Diff line number Diff line change
@@ -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 <constant|quartic>."));

mobility_cahn_hilliard_parameters.parse_parameters(prm,
dimensions);
mobility_cahn_hilliard_parameters.parse_parameters(prm, dimensions);
}
prm.leave_subsection();
}

0 comments on commit e2ff3c0

Please sign in to comment.