mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
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:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -134,21 +134,14 @@ public:
|
||||
const scalarField& pointWeights
|
||||
)
|
||||
{
|
||||
notImplemented
|
||||
(
|
||||
"decompositionMethod:decompose(const pointField&"
|
||||
", const scalarField&)"
|
||||
);
|
||||
NotImplemented;
|
||||
return labelList(0);
|
||||
}
|
||||
|
||||
//- Like decompose but with uniform weights on the points
|
||||
virtual labelList decompose(const pointField&)
|
||||
{
|
||||
notImplemented
|
||||
(
|
||||
"decompositionMethod:decompose(const pointField&)"
|
||||
);
|
||||
NotImplemented;
|
||||
return labelList(0);
|
||||
}
|
||||
|
||||
|
||||
@ -108,11 +108,7 @@ public:
|
||||
const scalarField& cWeights
|
||||
)
|
||||
{
|
||||
notImplemented
|
||||
(
|
||||
"decompose(const labelListList&, const pointField&"
|
||||
", const scalarField&)"
|
||||
);
|
||||
NotImplemented;
|
||||
return labelList(0);
|
||||
}
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -174,15 +174,7 @@ Foam::labelList Foam::structuredDecomp::decompose
|
||||
const scalarField& pointWeights
|
||||
)
|
||||
{
|
||||
notImplemented
|
||||
(
|
||||
"structuredDecomp::decompose\n"
|
||||
"(\n"
|
||||
" const labelListList&,\n"
|
||||
" const pointField&,\n"
|
||||
" const scalarField&\n"
|
||||
")\n"
|
||||
);
|
||||
NotImplemented;
|
||||
|
||||
return labelList::null();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user