From dd0fcd453f1eb8072e586f4930d9f1283c902e9a Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <github@naumov.de> Date: Wed, 5 Oct 2016 19:44:39 +0200 Subject: [PATCH] [MatL] ogs_file_param comment for Lubby2 type. --- MaterialLib/SolidModels/CreateLubby2.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/MaterialLib/SolidModels/CreateLubby2.h b/MaterialLib/SolidModels/CreateLubby2.h index d06dad3c2e3..14d05ebb05b 100644 --- a/MaterialLib/SolidModels/CreateLubby2.h +++ b/MaterialLib/SolidModels/CreateLubby2.h @@ -25,11 +25,13 @@ std::unique_ptr<MechanicsBase<DisplacementDim>> createLubby2( std::vector<std::unique_ptr<ProcessLib::ParameterBase>> const& parameters, BaseLib::ConfigTree const& config) { + //! \ogs_file_param{process__SMALL_DEFORMATION__constitutive_relation__type} config.checkConfigParameter("type", "Lubby2"); DBUG("Create Lubby2 material"); // Kelvin shear modulus. auto& kelvin_shear_modulus = ProcessLib::findParameter<double>( + //! \ogs_file_param_special{process__SMALL_DEFORMATION__constitutive_relation__Lubby2__kelvin_shear_modulus} config, "kelvin_shear_modulus", parameters, 1); DBUG("Use '%s' as kelvin shear modulus parameter.", @@ -37,6 +39,7 @@ std::unique_ptr<MechanicsBase<DisplacementDim>> createLubby2( // Kelvin viscosity. auto& kelvin_viscosity = ProcessLib::findParameter<double>( + //! \ogs_file_param_special{process__SMALL_DEFORMATION__constitutive_relation__Lubby2__kelvin_viscosity} config, "kelvin_viscosity", parameters, 1); DBUG("Use '%s' as kelvin viscosity parameter.", @@ -44,6 +47,7 @@ std::unique_ptr<MechanicsBase<DisplacementDim>> createLubby2( // Maxwell shear modulus. auto& maxwell_shear_modulus = ProcessLib::findParameter<double>( + //! \ogs_file_param_special{process__SMALL_DEFORMATION__constitutive_relation__Lubby2__maxwell_shear_modulus} config, "maxwell_shear_modulus", parameters, 1); DBUG("Use '%s' as maxwell shear modulus parameter.", @@ -51,6 +55,7 @@ std::unique_ptr<MechanicsBase<DisplacementDim>> createLubby2( // Maxwell bulk modulus. auto& maxwell_bulk_modulus = ProcessLib::findParameter<double>( + //! \ogs_file_param_special{process__SMALL_DEFORMATION__constitutive_relation__Lubby2__maxwell_bulk_modulus} config, "maxwell_bulk_modulus", parameters, 1); DBUG("Use '%s' as maxwell bulk modulus parameter.", @@ -58,6 +63,7 @@ std::unique_ptr<MechanicsBase<DisplacementDim>> createLubby2( // Maxwell viscosity. auto& maxwell_viscosity = ProcessLib::findParameter<double>( + //! \ogs_file_param_special{process__SMALL_DEFORMATION__constitutive_relation__Lubby2__maxwell_viscosity} config, "maxwell_viscosity", parameters, 1); DBUG("Use '%s' as maxwell viscosity parameter.", @@ -65,6 +71,7 @@ std::unique_ptr<MechanicsBase<DisplacementDim>> createLubby2( // Dependency parameter for mK. auto& dependency_parameter_mK = ProcessLib::findParameter<double>( + //! \ogs_file_param_special{process__SMALL_DEFORMATION__constitutive_relation__Lubby2__dependency_parameter_mk} config, "dependency_parameter_mk", parameters, 1); DBUG("Use '%s' as dependency parameter mK.", @@ -72,6 +79,7 @@ std::unique_ptr<MechanicsBase<DisplacementDim>> createLubby2( // Dependency parameter for mvK. auto& dependency_parameter_mvK = ProcessLib::findParameter<double>( + //! \ogs_file_param_special{process__SMALL_DEFORMATION__constitutive_relation__Lubby2__dependency_parameter_mvk} config, "dependency_parameter_mvk", parameters, 1); DBUG("Use '%s' as dependency parameter mvK.", @@ -79,6 +87,7 @@ std::unique_ptr<MechanicsBase<DisplacementDim>> createLubby2( // Dependency parameter for mvM. auto& dependency_parameter_mvM = ProcessLib::findParameter<double>( + //! \ogs_file_param_special{process__SMALL_DEFORMATION__constitutive_relation__Lubby2__dependency_parameter_mvm} config, "dependency_parameter_mvm", parameters, 1); DBUG("Use '%s' as dependency parameter mvM.", -- GitLab