mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +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:
@ -271,11 +271,7 @@ public:
|
||||
//- Update local data for topology changes
|
||||
virtual void updateMesh(const mapPolyMesh&)
|
||||
{
|
||||
notImplemented
|
||||
(
|
||||
"medialAxisMeshMover::updateMesh"
|
||||
"(const mapPolyMesh&)"
|
||||
);
|
||||
NotImplemented;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
@ -112,7 +112,7 @@ public:
|
||||
//- Clone
|
||||
autoPtr<block> clone() const
|
||||
{
|
||||
notImplemented("block::clone()");
|
||||
NotImplemented;
|
||||
return autoPtr<block>(NULL);
|
||||
}
|
||||
|
||||
|
||||
@ -129,7 +129,7 @@ public:
|
||||
//- Clone
|
||||
autoPtr<blockDescriptor> clone() const
|
||||
{
|
||||
notImplemented("blockDescriptor::clone()");
|
||||
NotImplemented;
|
||||
return autoPtr<blockDescriptor>(NULL);
|
||||
}
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -132,7 +132,7 @@ Foam::point Foam::BSpline::position
|
||||
|
||||
Foam::scalar Foam::BSpline::length() const
|
||||
{
|
||||
notImplemented("BSpline::length() const");
|
||||
NotImplemented;
|
||||
return 1.0;
|
||||
}
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -132,7 +132,7 @@ Foam::point Foam::CatmullRomSpline::position
|
||||
|
||||
Foam::scalar Foam::CatmullRomSpline::length() const
|
||||
{
|
||||
notImplemented("CatmullRomSpline::length() const");
|
||||
NotImplemented;
|
||||
return 1.0;
|
||||
}
|
||||
|
||||
|
||||
@ -68,7 +68,7 @@ Foam::curvedEdge::curvedEdge(const curvedEdge& c)
|
||||
|
||||
Foam::autoPtr<Foam::curvedEdge> Foam::curvedEdge::clone() const
|
||||
{
|
||||
notImplemented("curvedEdge::clone() const");
|
||||
NotImplemented;
|
||||
return autoPtr<curvedEdge>(NULL);
|
||||
}
|
||||
|
||||
@ -135,7 +135,7 @@ Foam::pointField Foam::curvedEdge::appendEndPoints
|
||||
|
||||
void Foam::curvedEdge::operator=(const curvedEdge&)
|
||||
{
|
||||
notImplemented("void curvedEdge::operator=(const curvedEdge&)");
|
||||
NotImplemented;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user