Skip to content
Snippets Groups Projects
Commit f75fae32 authored by wenqing's avatar wenqing
Browse files

[Doc] Added parameter documentation of WaterVapourDensity

parent 73bec68c
No related branches found
No related tags found
No related merge requests found
\copydoc MaterialPropertyLib::WaterVapourDensity
It belongs to <b>vapour_density</b>.
That means the name of this property is <b>vapour_density</b>.
Besides, it has no parameter to be input.
...@@ -23,8 +23,9 @@ std::unique_ptr<Property> createWaterVapourDensity( ...@@ -23,8 +23,9 @@ std::unique_ptr<Property> createWaterVapourDensity(
//! \ogs_file_param{properties__property__type} //! \ogs_file_param{properties__property__type}
config.checkConfigParameter("type", "WaterVapourDensity"); config.checkConfigParameter("type", "WaterVapourDensity");
// Second access for storage. // Here ogs_file_param is used just to create a documentation entry for this
//! \ogs_file_param{properties__property__name} // property without any input parameter.
//! \ogs_file_param{properties__property__WaterVapourDensity}
auto property_name = config.peekConfigParameter<std::string>("name"); auto property_name = config.peekConfigParameter<std::string>("name");
return std::make_unique<WaterVapourDensity>(std::move(property_name)); return std::make_unique<WaterVapourDensity>(std::move(property_name));
......
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