Updated notImplemented -> NotImplemented

The new NotImplemented macro uses __PRETTY_FUNCTION__ for GNU compatible
compilers otherwise __func__ to provide the function name string.
This commit is contained in:
Henry Weller
2015-11-01 10:26:37 +00:00
parent dfecb23b08
commit 03494fef5d
146 changed files with 331 additions and 967 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2012-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -149,11 +149,7 @@ public:
point& result
) const
{
notImplemented
(
"dynamicTreeDataPoint::intersects"
"(const label, const point&, const point&, point&)"
);
NotImplemented;
return false;
}

View File

@ -232,18 +232,7 @@ void Foam::treeDataCell::findNearestOp::operator()
point& nearestPoint
) const
{
notImplemented
(
"treeDataCell::findNearestOp::operator()"
"("
" const labelUList&,"
" const linePointRef&,"
" treeBoundBox&,"
" label&,"
" point&,"
" point&"
") const"
);
NotImplemented;
}

View File

@ -203,11 +203,7 @@ public:
const point&
) const
{
notImplemented
(
"treeDataCell::getVolumeType"
"(const indexedOctree<treeDataCell>&, const point&)"
);
NotImplemented;
return volumeType::UNKNOWN;
}