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

[MeL] Fix Properties::existsPropertyVector docu.

parent c51a1cab
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,7 @@ bool Properties::existsPropertyVector(std::string const& name) const
template <typename T>
bool Properties::existsPropertyVector(std::string const& name,
MeshItemType const item_type,
MeshItemType const mesh_item_type,
int const number_of_components) const
{
auto const it = _properties.find(name);
......@@ -103,7 +103,7 @@ bool Properties::existsPropertyVector(std::string const& name,
{
return false;
}
if (property->getMeshItemType() != item_type)
if (property->getMeshItemType() != mesh_item_type)
{
return false;
}
......
......@@ -85,12 +85,11 @@ public:
template <typename T>
bool existsPropertyVector(std::string const& name) const;
/// Checks if a property vector with given type \c T, \c name, \c item_type
/// and \c number_of_components exists.
/// @param name name of the requested property vector
/// Checks if a property vector with given type \c T, \c name, \c
/// mesh_item_type, and \c number_of_components exists.
template <typename T>
bool existsPropertyVector(std::string const& name,
MeshItemType const item_type,
bool existsPropertyVector(std::string const& property_name,
MeshItemType const mesh_item_type,
int const number_of_components) const;
/// Returns a property vector with given \c name or aborts calling OGS_FATAL
......
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