diff --git a/ProcessLib/SmallDeformationWithLIE/Common/PostUtils.cpp b/ProcessLib/SmallDeformationWithLIE/Common/PostUtils.cpp index 704226cf49bd8f2071915d4dc0f4931182be43c4..8e6ac5bd39835005c181e188db8a8a4760bf6ee9 100644 --- a/ProcessLib/SmallDeformationWithLIE/Common/PostUtils.cpp +++ b/ProcessLib/SmallDeformationWithLIE/Common/PostUtils.cpp @@ -126,6 +126,13 @@ void PostProcessTool::createProperties() name, MeshLib::MeshItemType::Cell, n_dest_comp); new_prop->resize(src_prop->size()); } + else + { + WARN( + "Property '%s' cannot be created because its mesh item type is " + "not supported.", + name.c_str()); + } } } @@ -165,6 +172,13 @@ void PostProcessTool::copyProperties() { std::copy(src_prop->begin(), src_prop->end(), dest_prop->begin()); } + else + { + WARN( + "Property '%s' cannot be created because its mesh item type is " + "not supported.", + name.c_str()); + } } }