mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Updated Info, Warning and Error messages
This commit is contained in:
@ -118,14 +118,8 @@ Foam::triSurface& Foam::searchableSurfaceModifiers::cut::triangulate
|
||||
}
|
||||
else
|
||||
{
|
||||
FatalErrorIn
|
||||
(
|
||||
"searchableSurfaceModifiers::cut::triangulate\n"
|
||||
"(\n"
|
||||
" const searchableSurface&,\n"
|
||||
" triSurface&\n"
|
||||
")"
|
||||
) << "Triangulation only supported for triSurfaceMesh, searchableBox"
|
||||
FatalErrorInFunction
|
||||
<< "Triangulation only supported for triSurfaceMesh, searchableBox"
|
||||
<< ", not for surface " << cutter.name()
|
||||
<< " of type " << cutter.type()
|
||||
<< exit(FatalError);
|
||||
|
||||
@ -69,11 +69,8 @@ Foam::searchableSurfaceModifier::New
|
||||
|
||||
if (cstrIter == dictionaryConstructorTablePtr_->end())
|
||||
{
|
||||
FatalErrorIn
|
||||
(
|
||||
"searchableSurfaceModifier::New"
|
||||
"(const word&, const searchableSurfaces&, const dictionary&)"
|
||||
) << "Unknown searchableSurfaceModifier type "
|
||||
FatalErrorInFunction
|
||||
<< "Unknown searchableSurfaceModifier type "
|
||||
<< type << nl << nl
|
||||
<< "Valid searchableSurfaceModifier types : " << endl
|
||||
<< dictionaryConstructorTablePtr_->sortedToc()
|
||||
|
||||
Reference in New Issue
Block a user