ENH: Updated notImplemented(...)->NotImplemented messages

This commit is contained in:
Andrew Heather
2015-12-08 22:56:15 +00:00
parent 53053fed78
commit 8400a1c19f
11 changed files with 12 additions and 43 deletions

View File

@ -75,7 +75,7 @@ public:
//- Clone //- Clone
autoPtr<searchableSurfaceModifier> clone() const autoPtr<searchableSurfaceModifier> clone() const
{ {
notImplemented("autoPtr<searchableSurfaceModifier> clone() const"); NotImplemented;
return autoPtr<searchableSurfaceModifier>(NULL); return autoPtr<searchableSurfaceModifier>(NULL);
} }

View File

@ -99,7 +99,7 @@ public:
//- Clone //- Clone
autoPtr<searchableSurfaceModifier> clone() const autoPtr<searchableSurfaceModifier> clone() const
{ {
notImplemented("autoPtr<searchableSurfaceModifier> clone() const"); NotImplemented;
return autoPtr<searchableSurfaceModifier>(NULL); return autoPtr<searchableSurfaceModifier>(NULL);
} }

View File

@ -95,7 +95,7 @@ public:
//- Clone //- Clone
autoPtr<searchableSurfaceModifier> clone() const autoPtr<searchableSurfaceModifier> clone() const
{ {
notImplemented("autoPtr<searchableSurfaceModifier> clone() const"); NotImplemented;
return autoPtr<searchableSurfaceModifier>(NULL); return autoPtr<searchableSurfaceModifier>(NULL);
} }

View File

@ -447,10 +447,7 @@ public:
//- Correct for topo change. //- Correct for topo change.
void updateMesh(const mapPolyMesh&) void updateMesh(const mapPolyMesh&)
{ {
notImplemented NotImplemented;
(
"mapDistributeBase::updateMesh(const mapPolyMesh&)"
);
} }
// Member Operators // Member Operators

View File

@ -102,14 +102,7 @@ void Foam::patchTransformedInterpolation::interpolate
pointScalarField& pointScalarField&
) const ) const
{ {
notImplemented NotImplemented;
(
"void Foam::patchTransformedInterpolation::interpolate"
"("
"const volScalarField&"
"pointScalarField&"
")"
);
} }

View File

@ -32,13 +32,7 @@ void Foam::fv::directionalPressureGradientExplicitSource::writeData
Ostream& os Ostream& os
) const ) const
{ {
notImplemented NotImplemented;
(
"void Foam::fv::directionalPressureGradientExplicitSource::writeData"
"("
"Ostream&"
") const"
);
} }

View File

@ -138,11 +138,7 @@ public:
//- Update local data for topology changes //- Update local data for topology changes
virtual void updateMesh(const mapPolyMesh&) virtual void updateMesh(const mapPolyMesh&)
{ {
notImplemented NotImplemented;
(
"displacementMotionSolverMeshMover::updateMesh"
"(const mapPolyMesh&)"
);
} }
}; };

View File

@ -89,7 +89,7 @@ Foam::point Foam::bezier::position(const scalar lambda) const
Foam::scalar Foam::bezier::length() const Foam::scalar Foam::bezier::length() const
{ {
notImplemented("bezier::length() const"); NotImplemented;
return 1.0; return 1.0;
} }

View File

@ -209,11 +209,7 @@ public:
//- Does any part of the surface overlap the supplied bound box? //- Does any part of the surface overlap the supplied bound box?
virtual bool overlaps(const boundBox& bb) const virtual bool overlaps(const boundBox& bb) const
{ {
notImplemented NotImplemented;
(
"searchableCone::overlaps(const boundBox&) const"
);
return false; return false;
} }
@ -279,7 +275,7 @@ public:
virtual bool writeData(Ostream&) const virtual bool writeData(Ostream&) const
{ {
notImplemented("searchableCone::writeData(Ostream&) const"); NotImplemented;
return false; return false;
} }
}; };

View File

@ -207,11 +207,7 @@ Foam::pointIndexHit Foam::searchableRotatedBox::findNearest
point& linePoint point& linePoint
) const ) const
{ {
notImplemented NotImplemented;
(
"searchableRotatedBox::findNearest"
"(const linePointRef&, treeBoundBox&, point&)"
);
return pointIndexHit(); return pointIndexHit();
} }

View File

@ -245,10 +245,7 @@ public:
bool writeData(Ostream&) const bool writeData(Ostream&) const
{ {
notImplemented NotImplemented;
(
"searchableRotatedBox::writeData(Ostream&) const"
);
return false; return false;
} }
}; };