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

@ -168,7 +168,7 @@ public:
virtual void writeFields() const
{
notImplemented("PDRDragModel::write()");
NotImplemented;
}
};

View File

@ -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
@ -116,7 +116,7 @@ public:
//- Correct the flame-wrinking Xi
virtual void correct()
{
notImplemented("transport::correct()");
NotImplemented;
}
//- Correct the flame-wrinking Xi using the given convection scheme

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -152,7 +152,7 @@ Foam::tmp<Foam::scalarField> Foam::twoPhaseMixtureThermo::THE
const labelList& cells
) const
{
notImplemented("twoPhaseMixtureThermo::THE(...)");
NotImplemented;
return T0;
}
@ -165,7 +165,7 @@ Foam::tmp<Foam::scalarField> Foam::twoPhaseMixtureThermo::THE
const label patchi
) const
{
notImplemented("twoPhaseMixtureThermo::THE(...)");
NotImplemented;
return T0;
}

View File

@ -122,14 +122,14 @@ public:
// Non-const access allowed for transport equations
virtual volScalarField& he()
{
notImplemented("twoPhaseMixtureThermo::he()");
NotImplemented;
return thermo1_->he();
}
//- Enthalpy/Internal energy [J/kg]
virtual const volScalarField& he() const
{
notImplemented("twoPhaseMixtureThermo::he() const");
NotImplemented;
return thermo1_->he();
}

View File

@ -270,7 +270,7 @@ Foam::tmp<Foam::scalarField> Foam::multiphaseMixtureThermo::THE
const labelList& cells
) const
{
notImplemented("multiphaseMixtureThermo::THE(...)");
NotImplemented;
return T0;
}
@ -283,7 +283,7 @@ Foam::tmp<Foam::scalarField> Foam::multiphaseMixtureThermo::THE
const label patchi
) const
{
notImplemented("multiphaseMixtureThermo::THE(...)");
NotImplemented;
return T0;
}

View File

@ -253,14 +253,14 @@ public:
// Non-const access allowed for transport equations
virtual volScalarField& he()
{
notImplemented("multiphaseMixtureThermo::he()");
NotImplemented;
return phases_[0].thermo().he();
}
//- Enthalpy/Internal energy [J/kg]
virtual const volScalarField& he() const
{
notImplemented("multiphaseMixtureThermo::he() const");
NotImplemented;
return phases_[0].thermo().he();
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -80,7 +80,7 @@ Foam::phaseModel::phaseModel
Foam::autoPtr<Foam::phaseModel> Foam::phaseModel::clone() const
{
notImplemented("phaseModel::clone() const");
NotImplemented;
return autoPtr<phaseModel>(NULL);
}

View File

@ -201,7 +201,7 @@ Foam::phaseModel::~phaseModel()
Foam::autoPtr<Foam::phaseModel> Foam::phaseModel::clone() const
{
notImplemented("phaseModel::clone() const");
NotImplemented;
return autoPtr<phaseModel>(NULL);
}

View File

@ -67,7 +67,7 @@ Foam::phase::phase
Foam::autoPtr<Foam::phase> Foam::phase::clone() const
{
notImplemented("phase::clone() const");
NotImplemented;
return autoPtr<phase>(NULL);
}

View File

@ -108,10 +108,7 @@ Foam::saturationModels::AntoineExtended::Tsat
const volScalarField& p
) const
{
notImplemented
(
"saturationModels::AntoineExtended::Tsat(const volScalarField& p)"
);
NotImplemented;
return volScalarField::null();
}

View File

@ -115,10 +115,7 @@ Foam::saturationModels::ArdenBuck::Tsat
const volScalarField& p
) const
{
notImplemented
(
"saturationModels::ArdenBuck::Tsat(const volScalarField& p)"
);
NotImplemented;
return volScalarField::null();
}

View File

@ -56,13 +56,7 @@ Foam::PurePhaseModel<BasePhaseModel>::YiEqn
volScalarField& Yi
)
{
notImplemented
(
"template<class BasePhaseModel> "
"Foam::tmp<Foam::fvScalarMatrix> "
"Foam::PurePhaseModel<BasePhaseModel>::YiEqn"
"(volScalarField& Yi) const"
);
NotImplemented;
return tmp<fvScalarMatrix>();
}

View File

@ -76,7 +76,7 @@ Foam::phaseModel::phaseModel
Foam::autoPtr<Foam::phaseModel> Foam::phaseModel::clone() const
{
notImplemented("phaseModel::clone() const");
NotImplemented;
return autoPtr<phaseModel>(NULL);
}
@ -167,7 +167,7 @@ bool Foam::phaseModel::compressible() const
const Foam::tmp<Foam::volScalarField>& Foam::phaseModel::divU() const
{
notImplemented("Foam::phaseModel::divU()");
NotImplemented;
static tmp<Foam::volScalarField> divU_(NULL);
return divU_;
}
@ -183,7 +183,7 @@ void Foam::phaseModel::divU(const tmp<volScalarField>& divU)
const Foam::volScalarField& Foam::phaseModel::K() const
{
notImplemented("Foam::phaseModel::K()");
NotImplemented;
return volScalarField::null();
}

View File

@ -213,7 +213,7 @@ bool Foam::RASModels::kineticTheoryModel::read()
Foam::tmp<Foam::volScalarField>
Foam::RASModels::kineticTheoryModel::k() const
{
notImplemented("kineticTheoryModel::k()");
NotImplemented;
return nut_;
}
@ -221,7 +221,7 @@ Foam::RASModels::kineticTheoryModel::k() const
Foam::tmp<Foam::volScalarField>
Foam::RASModels::kineticTheoryModel::epsilon() const
{
notImplemented("kineticTheoryModel::epsilon()");
NotImplemented;
return nut_;
}

View File

@ -111,7 +111,7 @@ bool Foam::RASModels::phasePressureModel::read()
Foam::tmp<Foam::volScalarField>
Foam::RASModels::phasePressureModel::k() const
{
notImplemented("phasePressureModel::k()");
NotImplemented;
return nut_;
}
@ -119,7 +119,7 @@ Foam::RASModels::phasePressureModel::k() const
Foam::tmp<Foam::volScalarField>
Foam::RASModels::phasePressureModel::epsilon() const
{
notImplemented("phasePressureModel::epsilon()");
NotImplemented;
return nut_;
}

View File

@ -114,7 +114,7 @@ public:
autoPtr<IATEsource> clone() const
{
notImplemented("autoPtr<IATEsource> clone() const");
NotImplemented;
return autoPtr<IATEsource>(NULL);
}

View File

@ -219,7 +219,7 @@ bool Foam::RASModels::kineticTheoryModel::read()
Foam::tmp<Foam::volScalarField>
Foam::RASModels::kineticTheoryModel::k() const
{
notImplemented("kineticTheoryModel::k()");
NotImplemented;
return nut_;
}
@ -227,7 +227,7 @@ Foam::RASModels::kineticTheoryModel::k() const
Foam::tmp<Foam::volScalarField>
Foam::RASModels::kineticTheoryModel::epsilon() const
{
notImplemented("kineticTheoryModel::epsilon()");
NotImplemented;
return nut_;
}

View File

@ -117,7 +117,7 @@ bool Foam::RASModels::phasePressureModel::read()
Foam::tmp<Foam::volScalarField>
Foam::RASModels::phasePressureModel::k() const
{
notImplemented("phasePressureModel::k()");
NotImplemented;
return nut_;
}
@ -125,7 +125,7 @@ Foam::RASModels::phasePressureModel::k() const
Foam::tmp<Foam::volScalarField>
Foam::RASModels::phasePressureModel::epsilon() const
{
notImplemented("phasePressureModel::epsilon()");
NotImplemented;
return nut_;
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -113,7 +113,7 @@ public:
autoPtr<IATEsource> clone() const
{
notImplemented("autoPtr<IATEsource> clone() const");
NotImplemented;
return autoPtr<IATEsource>(NULL);
}

View File

@ -792,13 +792,7 @@ bool Foam::DistributedDelaunayMesh<Triangulation>::distribute
const boundBox& bb
)
{
notImplemented
(
"Foam::DistributedDelaunayMesh<Triangulation>::distribute"
"("
" const boundBox& bb"
")"
);
NotImplemented;
if (!Pstream::parRun())
{

View File

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

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -108,7 +108,7 @@ public:
//- Clone
autoPtr<faceSelection> clone() const
{
notImplemented("autoPtr<faceSelection> clone() const");
NotImplemented;
return autoPtr<faceSelection>(NULL);
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2012-2014 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -85,7 +85,7 @@ public:
//- Clone
autoPtr<faceSelection> clone() const
{
notImplemented("autoPtr<faceSelection> clone() const");
NotImplemented;
return autoPtr<faceSelection>(NULL);
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -78,7 +78,7 @@ public:
//- Clone
autoPtr<faceSelection> clone() const
{
notImplemented("autoPtr<faceSelection> clone() const");
NotImplemented;
return autoPtr<faceSelection>(NULL);
}

View File

@ -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
@ -72,7 +72,7 @@ public:
bool writeData(Ostream&) const
{
notImplemented("zonesEntries::writeData(Ostream&) const");
NotImplemented;
return false;
}
};

View File

@ -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
@ -72,7 +72,7 @@ public:
bool writeData(Ostream&) const
{
notImplemented("zonesEntries::writeData(Ostream&) const");
NotImplemented;
return false;
}
};

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;
}

View File

@ -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
@ -145,10 +145,7 @@ void reduce
label& request
)
{
notImplemented
(
"reduce(T&, const BinaryOp&, const int, const label, label&"
);
NotImplemented;
}

View File

@ -170,7 +170,7 @@ Foam::Ostream& Foam::UOPstream::write(const token& t)
}
else
{
notImplemented("Ostream& UOPstream::write(const token&)");
NotImplemented;
setBad();
}
return *this;

View File

@ -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
@ -108,49 +108,49 @@ Foam::Istream& Foam::ITstream::read(token& t)
Foam::Istream& Foam::ITstream::read(char&)
{
notImplemented("Istream& ITstream::read(char&)");
NotImplemented;
return *this;
}
Foam::Istream& Foam::ITstream::read(word&)
{
notImplemented("Istream& ITstream::read(word&)");
NotImplemented;
return *this;
}
Foam::Istream& Foam::ITstream::read(string&)
{
notImplemented("Istream& ITstream::read(string&)");
NotImplemented;
return *this;
}
Foam::Istream& Foam::ITstream::read(label&)
{
notImplemented("Istream& ITstream::read(label&)");
NotImplemented;
return *this;
}
Foam::Istream& Foam::ITstream::read(floatScalar&)
{
notImplemented("Istream& ITstream::read(floatScalar&)");
NotImplemented;
return *this;
}
Foam::Istream& Foam::ITstream::read(doubleScalar&)
{
notImplemented("Istream& ITstream::read(doubleScalar&)");
NotImplemented;
return *this;
}
Foam::Istream& Foam::ITstream::read(char*, std::streamsize)
{
notImplemented("Istream& ITstream::read(char*, std::streamsize)");
NotImplemented;
return *this;
}

View File

@ -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
@ -101,7 +101,7 @@ public:
//- Return clone
autoPtr<functionObject> clone() const
{
notImplemented("functionObject::clone() const");
NotImplemented;
return autoPtr<functionObject>(NULL);
}

View File

@ -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
@ -213,11 +213,7 @@ public:
// for this class, write is used instead
virtual bool writeData(Ostream&) const
{
notImplemented
(
"void objectRegistry::writeData(Ostream&) const: "
"use write() instead"
);
NotImplemented;
return false;
}

View File

@ -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
@ -66,7 +66,7 @@ Foam::cloud::~cloud()
void Foam::cloud::autoMap(const mapPolyMesh&)
{
notImplemented("cloud::autoMap(const mapPolyMesh&)");
NotImplemented;
}

View File

@ -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
@ -169,7 +169,7 @@ void Foam::csvTableReader<Type>::operator()
List<Tuple2<scalar, List<Tuple2<scalar, Type> > > >& data
)
{
notImplemented("csvTableReader<Type>::operator()");
NotImplemented;
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2012 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -100,10 +100,7 @@ public:
scalarField& weights
) const
{
notImplemented
(
"splineInterpolationWeights::integrationWeights(..)"
);
NotImplemented;
return false;
}

View File

@ -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
@ -84,7 +84,7 @@ public:
autoPtr<procLduInterface> clone()
{
notImplemented("procLduInterface::clone()");
NotImplemented;
return autoPtr<procLduInterface>(NULL);
}

View File

@ -449,11 +449,7 @@ public:
const Field<Type>& rT
) const
{
notImplemented
(
type() +"::preconditionT"
"(Field<Type>& wT, const Field<Type>& rT)"
);
NotImplemented;
}
};

View File

@ -500,12 +500,7 @@ public:
const direction cmpt=0
) const
{
notImplemented
(
type() +"::preconditionT"
"(scalarField& wT, const scalarField& rT, "
"const direction cmpt)"
);
NotImplemented;
}
};

View File

@ -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
@ -39,7 +39,7 @@ defineTypeNameAndDebug(lduMesh, 0);
const Foam::objectRegistry& Foam::lduMesh::thisDb() const
{
notImplemented("lduMesh::thisDb() const");
NotImplemented;
const objectRegistry* orPtr_ = NULL;
return *orPtr_;
}

View File

@ -229,10 +229,7 @@ public:
void updateMesh(const mapPolyMesh&)
{
notImplemented
(
"mapAddedPolyMesh::updateMesh(const mapPolyMesh&)"
);
NotImplemented;
}
};

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -666,10 +666,7 @@ public:
//- Correct for topo change.
void updateMesh(const mapPolyMesh&)
{
notImplemented
(
"mapDistribute::updateMesh(const mapPolyMesh&)"
);
NotImplemented;
}
// Member Operators

View File

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

View File

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

View File

@ -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
@ -73,7 +73,7 @@ public:
bool writeData(Ostream&) const
{
notImplemented("writeData(Ostream&) const");
NotImplemented;
return false;
}
};

View File

@ -247,20 +247,20 @@ public:
//- Does this side own the patch ?
virtual bool owner() const
{
notImplemented("oldCyclicPolyPatch::owner()");
NotImplemented;
return true;
}
//- Transform a patch-based position from other side to this side
virtual void transformPosition(pointField& l) const
{
notImplemented("transformPosition(pointField&)");
NotImplemented;
}
//- Transform a patch-based position from other side to this side
virtual void transformPosition(point&, const label facei) const
{
notImplemented("transformPosition(point&, const label)");
NotImplemented;
}
//- Calculate the patch geometry

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -102,7 +102,7 @@ protected:
const pointField& nbrCc
)
{
notImplemented("processorPolyPatch::calcGeometry(..)");
NotImplemented;
}
//- Initialise the patches for moving points

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -87,7 +87,7 @@ protected:
const pointField& nbrCc
)
{
notImplemented("processorCyclicPolyPatch::calcGeometry(..)");
NotImplemented;
}
//- Initialise the patches for moving points

View File

@ -70,7 +70,7 @@ void Foam::DataEntry<Type>::convertTimeBase(const Time&)
template<class Type>
Type Foam::DataEntry<Type>::value(const scalar x) const
{
notImplemented("Type Foam::DataEntry<Type>::value(const scalar) const");
NotImplemented;
return pTraits<Type>::zero;
}
@ -79,14 +79,7 @@ Type Foam::DataEntry<Type>::value(const scalar x) const
template<class Type>
Type Foam::DataEntry<Type>::integrate(const scalar x1, const scalar x2) const
{
notImplemented
(
"Type Foam::DataEntry<Type>::integrate"
"("
"const scalar, "
"const scalar"
") const"
);
NotImplemented;
return pTraits<Type>::zero;
}
@ -131,11 +124,7 @@ Foam::tmp<Foam::Field<Type> > Foam::DataEntry<Type>::integrate
template<class Type>
Foam::dimensioned<Type> Foam::DataEntry<Type>::dimValue(const scalar x) const
{
notImplemented
(
"dimensioned<Type> Foam::DataEntry<dimensioned<Type> >::dimValue"
"(const scalar) const"
);
NotImplemented;
return dimensioned<Type>("zero", dimless, pTraits<Type>::zero);
}
@ -148,14 +137,7 @@ Foam::dimensioned<Type> Foam::DataEntry<Type>::dimIntegrate
const scalar x2
) const
{
notImplemented
(
"dimensioned<Type> Foam::DataEntry<Type>::dimIntegrate"
"("
"const scalar, "
"const scalar"
") const"
);
NotImplemented;
return dimensioned<Type>("zero", dimless, pTraits<Type>::zero);
}

View File

@ -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
@ -53,21 +53,7 @@ Foam::UIPstream::UIPstream
clearAtEnd_(clearAtEnd),
messageSize_(0)
{
notImplemented
(
"UIPstream::UIPstream\n"
"(\n"
"const commsTypes,\n"
"const int,\n"
"DynamicList<char>&,\n"
"label&,\n"
"const int,\n"
"const label,\n"
"const bool,\n"
"streamFormat,\n"
"versionNumber\n"
")"
);
NotImplemented;
}
@ -83,14 +69,7 @@ Foam::UIPstream::UIPstream(const int fromProcNo, PstreamBuffers& buffers)
clearAtEnd_(true),
messageSize_(0)
{
notImplemented
(
"UIPstream::UIPstream\n"
"(\n"
"const int,\n"
"PstreamBuffers&\n"
")"
);
NotImplemented;
}
@ -106,18 +85,7 @@ Foam::label Foam::UIPstream::read
const label communicator
)
{
notImplemented
(
"UIPstream::read"
"("
"const commsTypes,"
"const int fromProcNo,"
"char* buf,"
"const label bufSize,"
"const int tag,"
"const label communicator"
")"
);
NotImplemented;
return 0;
}

View File

@ -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
@ -40,18 +40,7 @@ bool Foam::UOPstream::write
const label communicator
)
{
notImplemented
(
"UOPstream::write"
"("
"const commsTypes commsType,"
"const int fromProcNo,"
"char* buf,"
"const label bufSize,"
"const int tag,"
"const label communicator"
")"
);
NotImplemented;
return false;
}

View File

@ -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
@ -45,13 +45,13 @@ bool Foam::UPstream::init(int& argc, char**& argv)
void Foam::UPstream::exit(int errnum)
{
notImplemented("UPstream::exit(int errnum)");
NotImplemented;
}
void Foam::UPstream::abort()
{
notImplemented("UPstream::abort()");
NotImplemented;
}
@ -113,7 +113,7 @@ void Foam::UPstream::waitRequest(const label i)
bool Foam::UPstream::finishedRequest(const label i)
{
notImplemented("UPstream::finishedRequest()");
NotImplemented;
return false;
}

View File

@ -121,11 +121,7 @@ Foam::tmp<Foam::volSymmTensorField>
Foam::IncompressibleTurbulenceModel<TransportModel>::
devRhoReff() const
{
notImplemented
(
"IncompressibleTurbulenceModel<TransportModel>::"
"devRhoReff()"
);
NotImplemented;
return devReff();
}
@ -139,11 +135,7 @@ divDevRhoReff
volVectorField& U
) const
{
notImplemented
(
"IncompressibleTurbulenceModel<TransportModel>::"
"divDevRhoReff(volVectorField& U)"
);
NotImplemented;
return divDevReff(U);
}
@ -158,11 +150,7 @@ divDevRhoReff
volVectorField& U
) const
{
notImplemented
(
"IncompressibleTurbulenceModel<TransportModel>::"
"divDevRhoReff(const volScalarField& rho, volVectorField& U)"
);
NotImplemented;
return divDevReff(U);
}

View File

@ -213,7 +213,7 @@ void kkLOmega::correctNut()
{
// Currently this function is not implemented due to the complexity of
// evaluating nut. Better calculate nut at the end of correct()
notImplemented("kkLOmega::correctNut()");
NotImplemented;
}

View File

@ -169,11 +169,7 @@ Foam::tmp<Foam::volSymmTensorField>
Foam::PhaseIncompressibleTurbulenceModel<TransportModel>::
devRhoReff() const
{
notImplemented
(
"PhaseIncompressibleTurbulenceModel<TransportModel>::"
"devRhoReff()"
);
NotImplemented;
return devReff();
}
@ -187,11 +183,7 @@ divDevRhoReff
volVectorField& U
) const
{
notImplemented
(
"PhaseIncompressibleTurbulenceModel<TransportModel>::"
"divDevRhoReff(volVectorField& U)"
);
NotImplemented;
return divDevReff(U);
}

View File

@ -340,7 +340,7 @@ public:
//- Disallow default bitwise assignment
void operator=(const ensightPart&)
{
notImplemented("ensightPart::operator=(const ensightPart&)");
NotImplemented;
}

View File

@ -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
@ -145,7 +145,7 @@ public:
//- Clone
autoPtr<cellLooper> clone() const
{
notImplemented("autoPtr<tcellLooper> clone() const");
NotImplemented;
return autoPtr<cellLooper>(NULL);
}

View File

@ -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
@ -96,17 +96,7 @@ public:
Ostream&
) const
{
notImplemented
(
"jplotSetWriter<Type>::write\n"
"(\n"
" const bool,\n"
" const PtrList<coordSet>&,\n"
" const wordList&,\n"
" const List<List<Field<Type> > >&,\n"
" Ostream&\n"
") const"
);
NotImplemented;
}
};

View File

@ -164,7 +164,7 @@ public:
//- Return clone
autoPtr<MRFZone> clone() const
{
notImplemented("autoPtr<MRFZone> clone() const");
NotImplemented;
return autoPtr<MRFZone>(NULL);
}

View File

@ -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
@ -181,7 +181,7 @@ template<class Type>
Foam::tmp<Foam::Field<Type> >
Foam::coupledFvPatchField<Type>::gradientInternalCoeffs() const
{
notImplemented("coupledFvPatchField<Type>::gradientInternalCoeffs()");
NotImplemented;
return -Type(pTraits<Type>::one)*this->patch().deltaCoeffs();
}
@ -201,7 +201,7 @@ template<class Type>
Foam::tmp<Foam::Field<Type> >
Foam::coupledFvPatchField<Type>::gradientBoundaryCoeffs() const
{
notImplemented("coupledFvPatchField<Type>::gradientBoundaryCoeffs()");
NotImplemented;
return -this->gradientInternalCoeffs();
}

View File

@ -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
@ -147,10 +147,7 @@ public:
//- Return patch-normal gradient
virtual tmp<Field<Type> > snGrad() const
{
notImplemented
(
type() + "::coupledFvPatchField<Type>::snGrad()"
);
NotImplemented;
return *this;
}

View File

@ -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
@ -69,12 +69,7 @@ slicedFvPatchField<Type>::slicedFvPatchField
:
fvPatchField<Type>(ptf, p, iF, mapper)
{
notImplemented
(
"slicedFvPatchField<Type>::"
"slicedFvPatchField(const slicedFvPatchField<Type>&, "
"const fvPatch&, const Field<Type>&, const fvPatchFieldMapper&)"
);
NotImplemented;
}
@ -88,11 +83,7 @@ slicedFvPatchField<Type>::slicedFvPatchField
:
fvPatchField<Type>(p, iF, dict)
{
notImplemented
(
"slicedFvPatchField<Type>::"
"slicedFvPatchField(const Field<Type>&, const dictionary&)"
);
NotImplemented;
}
@ -164,11 +155,7 @@ slicedFvPatchField<Type>::~slicedFvPatchField<Type>()
template<class Type>
tmp<Field<Type> > slicedFvPatchField<Type>::snGrad() const
{
notImplemented
(
"slicedFvPatchField<Type>::"
"snGrad()"
);
NotImplemented;
return Field<Type>::null();
}
@ -177,22 +164,14 @@ tmp<Field<Type> > slicedFvPatchField<Type>::snGrad() const
template<class Type>
void slicedFvPatchField<Type>::updateCoeffs()
{
notImplemented
(
"slicedFvPatchField<Type>::"
"updateCoeffs()"
);
NotImplemented;
}
template<class Type>
tmp<Field<Type> > slicedFvPatchField<Type>::patchInternalField() const
{
notImplemented
(
"slicedFvPatchField<Type>::"
"patchInternalField()"
);
NotImplemented;
return Field<Type>::null();
}
@ -201,11 +180,7 @@ tmp<Field<Type> > slicedFvPatchField<Type>::patchInternalField() const
template<class Type>
void slicedFvPatchField<Type>::patchInternalField(Field<Type>&) const
{
notImplemented
(
"slicedFvPatchField<Type>::"
"patchInternalField(Field<Type>&)"
);
NotImplemented;
}
@ -215,11 +190,7 @@ tmp<Field<Type> > slicedFvPatchField<Type>::patchNeighbourField
const Field<Type>& iField
) const
{
notImplemented
(
"slicedFvPatchField<Type>::"
"patchNeighbourField(const DimensionedField<Type, volMesh>& iField)"
);
NotImplemented;
return Field<Type>::null();
}
@ -228,11 +199,7 @@ tmp<Field<Type> > slicedFvPatchField<Type>::patchNeighbourField
template<class Type>
tmp<Field<Type> > slicedFvPatchField<Type>::patchNeighbourField() const
{
notImplemented
(
"slicedFvPatchField<Type>::"
"patchNeighbourField()"
);
NotImplemented;
return Field<Type>::null();
}
@ -244,11 +211,7 @@ tmp<Field<Type> > slicedFvPatchField<Type>::valueInternalCoeffs
const tmp<scalarField>&
) const
{
notImplemented
(
"slicedFvPatchField<Type>::"
"valueInternalCoeffs(const tmp<scalarField>&)"
);
NotImplemented;
return Field<Type>::null();
}
@ -260,11 +223,7 @@ tmp<Field<Type> > slicedFvPatchField<Type>::valueBoundaryCoeffs
const tmp<scalarField>&
) const
{
notImplemented
(
"slicedFvPatchField<Type>::"
"valueBoundaryCoeffs(const tmp<scalarField>&)"
);
NotImplemented;
return Field<Type>::null();
}
@ -273,11 +232,7 @@ tmp<Field<Type> > slicedFvPatchField<Type>::valueBoundaryCoeffs
template<class Type>
tmp<Field<Type> > slicedFvPatchField<Type>::gradientInternalCoeffs() const
{
notImplemented
(
"slicedFvPatchField<Type>::"
"gradientInternalCoeffs()"
);
NotImplemented;
return Field<Type>::null();
}
@ -286,11 +241,7 @@ tmp<Field<Type> > slicedFvPatchField<Type>::gradientInternalCoeffs() const
template<class Type>
tmp<Field<Type> > slicedFvPatchField<Type>::gradientBoundaryCoeffs() const
{
notImplemented
(
"slicedFvPatchField<Type>::"
"gradientBoundaryCoeffs()"
);
NotImplemented;
return Field<Type>::null();
}

View File

@ -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
@ -138,17 +138,7 @@ void Foam::jumpCyclicFvPatchField<Type>::updateInterfaceMatrix
const Pstream::commsTypes
) const
{
notImplemented
(
"void Foam::jumpCyclicFvPatchField<Type>::updateInterfaceMatrix"
"("
"scalarField&, "
"const scalarField&, "
"const scalarField&, "
"const direction, "
"const Pstream::commsTypes"
") const"
);
NotImplemented;
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2012-2014 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -140,17 +140,7 @@ void Foam::jumpCyclicAMIFvPatchField<Type>::updateInterfaceMatrix
const Pstream::commsTypes
) const
{
notImplemented
(
"void Foam::jumpCyclicAMIFvPatchField<Type>::updateInterfaceMatrix"
"("
"scalarField&, "
"const scalarField&, "
"const scalarField& coeffs,"
"const direction, "
"const Pstream::commsTypes"
") const"
);
NotImplemented;
}

View File

@ -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
@ -386,10 +386,7 @@ public:
const scalarField& deltaCoeffs
) const
{
notImplemented
(
type() + "::snGrad(const scalarField& deltaCoeffs)"
);
NotImplemented;
return *this;
}
@ -411,7 +408,7 @@ public:
//- Return patchField on the opposite patch of a coupled patch
virtual tmp<Field<Type> > patchNeighbourField() const
{
notImplemented(type() + "patchNeighbourField()");
NotImplemented;
return *this;
}
@ -436,11 +433,7 @@ public:
const tmp<Field<scalar> >&
) const
{
notImplemented
(
type()
+ "::valueInternalCoeffs(const tmp<Field<scalar> >&)"
);
NotImplemented;
return *this;
}
@ -451,11 +444,7 @@ public:
const tmp<Field<scalar> >&
) const
{
notImplemented
(
type()
+ "::valueBoundaryCoeffs(const tmp<Field<scalar> >&)"
);
NotImplemented;
return *this;
}
@ -463,7 +452,7 @@ public:
// evaluation of the gradient of this patchField
virtual tmp<Field<Type> > gradientInternalCoeffs() const
{
notImplemented(type() + "::gradientInternalCoeffs()");
NotImplemented;
return *this;
}
@ -475,11 +464,7 @@ public:
const scalarField& deltaCoeffs
) const
{
notImplemented
(
type()
+ "::gradientInternalCoeffs(const scalarField& deltaCoeffs)"
);
NotImplemented;
return *this;
}
@ -487,7 +472,7 @@ public:
// evaluation of the gradient of this patchField
virtual tmp<Field<Type> > gradientBoundaryCoeffs() const
{
notImplemented(type() + "::gradientBoundaryCoeffs()");
NotImplemented;
return *this;
}
@ -499,11 +484,7 @@ public:
const scalarField& deltaCoeffs
) const
{
notImplemented
(
type()
+ "::gradientBoundaryCoeffs(const scalarField& deltaCoeffs)"
);
NotImplemented;
return *this;
}

View File

@ -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
@ -69,12 +69,7 @@ slicedFvsPatchField<Type>::slicedFvsPatchField
:
fvsPatchField<Type>(ptf, p, iF, mapper)
{
notImplemented
(
"slicedFvsPatchField<Type>::"
"slicedFvsPatchField(const slicedFvsPatchField<Type>&, "
"const fvPatch&, const Field<Type>&, const fvPatchFieldMapper&)"
);
NotImplemented;
}
@ -88,11 +83,7 @@ slicedFvsPatchField<Type>::slicedFvsPatchField
:
fvsPatchField<Type>(p, iF, Field<Type>("value", dict, p.size()))
{
notImplemented
(
"slicedFvsPatchField<Type>::"
"slicedFvsPatchField(const Field<Type>&, const dictionary&)"
);
NotImplemented;
}

View File

@ -105,7 +105,7 @@ tmp<GeometricField<Type, fvPatchField, volMesh> > ddtScheme<Type>::fvcDdt
const GeometricField<Type, fvPatchField, volMesh>& vf
)
{
notImplemented("fvmDdt(alpha, rho, psi");
NotImplemented;
return tmp<GeometricField<Type, fvPatchField, volMesh> >
(
@ -122,7 +122,7 @@ tmp<fvMatrix<Type> > ddtScheme<Type>::fvmDdt
const GeometricField<Type, fvPatchField, volMesh>& vf
)
{
notImplemented("fvmDdt(alpha, rho, psi");
NotImplemented;
return tmp<fvMatrix<Type> >
(

View File

@ -288,7 +288,7 @@ tmp<surfaceScalarField> SS<scalar>::fvcDdtUfCorr \
const surfaceScalarField& Uf \
) \
{ \
notImplemented(#SS"<scalar>::fvcDdtUfCorr"); \
NotImplemented; \
return surfaceScalarField::null(); \
} \
\
@ -299,7 +299,7 @@ tmp<surfaceScalarField> SS<scalar>::fvcDdtPhiCorr \
const surfaceScalarField& phi \
) \
{ \
notImplemented(#SS"<scalar>::fvcDdtPhiCorr"); \
NotImplemented; \
return surfaceScalarField::null(); \
} \
\
@ -311,7 +311,7 @@ tmp<surfaceScalarField> SS<scalar>::fvcDdtUfCorr \
const surfaceScalarField& Uf \
) \
{ \
notImplemented(#SS"<scalar>::fvcDdtUfCorr"); \
NotImplemented; \
return surfaceScalarField::null(); \
} \
\
@ -323,7 +323,7 @@ tmp<surfaceScalarField> SS<scalar>::fvcDdtPhiCorr \
const surfaceScalarField& phi \
) \
{ \
notImplemented(#SS"<scalar>::fvcDdtPhiCorr"); \
NotImplemented; \
return surfaceScalarField::null(); \
} \
\

View File

@ -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
@ -56,11 +56,7 @@ orthogonalSnGrad<Type>::correction
const GeometricField<Type, fvPatchField, volMesh>&
) const
{
notImplemented
(
"orthogonalSnGrad<Type>::correction"
"(const GeometricField<Type, fvPatchField, volMesh>&)"
);
NotImplemented;
return tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >(NULL);
}

View File

@ -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
@ -56,11 +56,7 @@ uncorrectedSnGrad<Type>::correction
const GeometricField<Type, fvPatchField, volMesh>&
) const
{
notImplemented
(
"uncorrectedSnGrad<Type>::correction"
"(const GeometricField<Type, fvPatchField, volMesh>&)"
);
NotImplemented;
return tmp<GeometricField<Type, fvsPatchField, surfaceMesh> >(NULL);
}

View File

@ -39,10 +39,7 @@ namespace MULES
template<class RhoType>
inline tmp<surfaceScalarField> interpolate(const RhoType& rho)
{
notImplemented
(
"tmp<surfaceScalarField> interpolate(const RhoType& rho)"
);
NotImplemented;
return tmp<surfaceScalarField>(NULL);
}

View File

@ -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
@ -108,11 +108,7 @@ public:
const GeometricField<scalar, fvPatchField, volMesh>&
) const
{
notImplemented
(
"harmonic::weights"
"(const GeometricField<scalar, fvPatchField, volMesh>&)"
);
NotImplemented;
return tmp<surfaceScalarField>(NULL);
}

View File

@ -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
@ -108,11 +108,7 @@ public:
const GeometricField<Type, fvPatchField, volMesh>&
) const
{
notImplemented
(
"localMax::weights"
"(const GeometricField<Type, fvPatchField, volMesh>&)"
);
NotImplemented;
return tmp<surfaceScalarField>(NULL);
}

View File

@ -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
@ -108,11 +108,7 @@ public:
const GeometricField<Type, fvPatchField, volMesh>&
) const
{
notImplemented
(
"localMin::weights"
"(const GeometricField<Type, fvPatchField, volMesh>&)"
);
NotImplemented;
return tmp<surfaceScalarField>(NULL);
}

View File

@ -131,7 +131,7 @@ public:
//- Return clone
autoPtr<option> clone() const
{
notImplemented("autoPtr<option> clone() const");
NotImplemented;
return autoPtr<option>(NULL);
}

View File

@ -254,11 +254,7 @@ public:
const label fieldI
)
{
notImplemented
(
"effectivenessHeatExchangerSource::addSup(eqn, fieldI): "
"only compressible solvers supported."
);
NotImplemented;
}

View File

@ -29,13 +29,7 @@ License
bool Foam::fv::meanVelocityForce::read(const dictionary& dict)
{
notImplemented
(
"bool Foam::fv::meanVelocityForce::read"
"("
"const dictionary&"
") const"
);
NotImplemented;
return false;
}

View File

@ -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
@ -42,11 +42,7 @@ genericPointPatchField<Type>::genericPointPatchField
:
calculatedPointPatchField<Type>(p, iF)
{
notImplemented
(
"genericPointPatchField<Type>::genericPointPatchField"
"(const pointPatch& p, const DimensionedField<Type, volMesh>& iF)"
);
NotImplemented;
}

View File

@ -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
@ -94,7 +94,7 @@ bool Foam::CollidingParcel<ParcelType>::move
case TrackData::tpRotationalTrack:
{
notImplemented("TrackData::tpRotationalTrack");
NotImplemented;
break;
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -30,7 +30,7 @@ License
template<class CloudType>
void Foam::CloudFunctionObject<CloudType>::write()
{
notImplemented("void Foam::CloudFunctionObject<CloudType>::write()");
NotImplemented;
}

View File

@ -608,13 +608,7 @@ Foam::PairCollision<CloudType>::PairCollision
il_(cm.owner().mesh())
{
// Need to clone to PairModel and WallModel
notImplemented
(
"Foam::PairCollision<CloudType>::PairCollision"
"("
"PairCollision<CloudType>& cm"
")"
);
NotImplemented;
}

View File

@ -152,14 +152,7 @@ public:
const kinematicParcelInjectionData& b
)
{
notImplemented
(
"operator=="
"("
"const kinematicParcelInjectionData&, "
"const kinematicParcelInjectionData&"
")"
);
NotImplemented;
return false;
}
@ -170,14 +163,7 @@ public:
const kinematicParcelInjectionData& b
)
{
notImplemented
(
"operator=="
"("
"const kinematicParcelInjectionData&, "
"const kinematicParcelInjectionData&"
")"
);
NotImplemented;
return false;
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -108,12 +108,7 @@ Foam::ParticleStressModels::Lun::dTaudTheta
const Field<scalar>& uSqr
) const
{
notImplemented
(
"Foam::scalar Foam::ParticleStressModels::Lun::dTau_dTheta"
"(const Field<scalar>&, const Field<scalar>&, const Field<scalar>&) "
"const"
);
NotImplemented;
return tmp<Field<scalar> >(NULL);
}

View File

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

View File

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

View File

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

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2013-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -155,10 +155,7 @@ public:
{
//TBD. How to serialise the AMI such that we can stream
// cyclicACMIGAMGInterface.
notImplemented
(
"cyclicACMIGAMGInterface::write(Ostream&) const"
);
NotImplemented;
}
};

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -155,7 +155,7 @@ public:
{
//TBD. How to serialise the AMI such that we can stream
// cyclicAMIGAMGInterface.
notImplemented("cyclicAMIGAMGInterface::write(Ostream&) const");
NotImplemented;
}
};

View File

@ -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
@ -69,11 +69,7 @@ Foam::tmp<Foam::vectorField> Foam::EulerCoordinateRotation::transform
const vectorField& st
) const
{
notImplemented
(
"tmp<vectorField> Foam::EulerCoordinateRotation:: "
"transform(const vectorField& st) const"
);
NotImplemented;
return tmp<vectorField>(NULL);
}
@ -83,21 +79,14 @@ Foam::tmp<Foam::vectorField> Foam::EulerCoordinateRotation::invTransform
const vectorField& st
) const
{
notImplemented
(
"tmp<vectorField> Foam::EulerCoordinateRotation::"
"invTransform(const vectorField& st) const"
);
NotImplemented;
return tmp<vectorField>(NULL);
}
const Foam::tensorField& Foam::EulerCoordinateRotation::Tr() const
{
notImplemented
(
"const tensorField& EulerCoordinateRotation::Tr() const"
);
NotImplemented;
return NullObjectRef<tensorField>();
}
@ -107,10 +96,7 @@ Foam::tmp<Foam::tensorField> Foam::EulerCoordinateRotation::transformTensor
const tensorField& st
) const
{
notImplemented
(
"const tensorField& EulerCoordinateRotation::transformTensor() const"
);
NotImplemented;
return tmp<tensorField>(NULL);
}
@ -130,13 +116,7 @@ Foam::tmp<Foam::tensorField> Foam::EulerCoordinateRotation::transformTensor
const labelList& cellMap
) const
{
notImplemented
(
"tmp<Foam::tensorField> EulerCoordinateRotation::transformTensor "
" const tensorField& st,"
" const labelList& cellMap "
") const"
);
NotImplemented;
return tmp<tensorField>(NULL);
}

View File

@ -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
@ -70,11 +70,7 @@ Foam::tmp<Foam::vectorField> Foam::STARCDCoordinateRotation::transform
const vectorField& st
) const
{
notImplemented
(
"tmp<vectorField> Foam::STARCDCoordinateRotation:: "
"transform(const vectorField& st) const"
);
NotImplemented;
return tmp<vectorField>(NULL);
}
@ -84,21 +80,14 @@ Foam::tmp<Foam::vectorField> Foam::STARCDCoordinateRotation::invTransform
const vectorField& st
) const
{
notImplemented
(
"tmp<vectorField> Foam::STARCDCoordinateRotation::"
"invTransform(const vectorField& st) const"
);
NotImplemented;
return tmp<vectorField>(NULL);
}
const Foam::tensorField& Foam::STARCDCoordinateRotation::Tr() const
{
notImplemented
(
"const tensorField& STARCDCoordinateRotatio::Tr() const"
);
NotImplemented;
return NullObjectRef<tensorField>();
}
@ -108,10 +97,7 @@ Foam::tmp<Foam::tensorField> Foam::STARCDCoordinateRotation::transformTensor
const tensorField& st
) const
{
notImplemented
(
"tmp<Foam::tensorField> STARCDCoordinateRotation::transformTensor()"
);
NotImplemented;
return tmp<tensorField>(NULL);
}
@ -131,13 +117,7 @@ Foam::tmp<Foam::tensorField> Foam::STARCDCoordinateRotation::transformTensor
const labelList& cellMap
) const
{
notImplemented
(
"tmp<Foam::tensorField> STARCDCoordinateRotation::transformTensor "
" const tensorField& st,"
" const labelList& cellMap "
") const"
);
NotImplemented;
return tmp<tensorField>(NULL);
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -169,10 +169,7 @@ Foam::axesRotation::axesRotation(const tensor& R)
const Foam::tensorField& Foam::axesRotation::Tr() const
{
notImplemented
(
"const Foam::tensorField& axesRotation::Tr() const"
);
NotImplemented;
return NullObjectRef<tensorField>();
}
@ -212,10 +209,7 @@ Foam::tmp<Foam::tensorField> Foam::axesRotation::transformTensor
const tensorField& st
) const
{
notImplemented
(
"const tensorField& axesRotation::transformTensor() const"
);
NotImplemented;
return tmp<tensorField>(NULL);
}
@ -235,14 +229,7 @@ Foam::tmp<Foam::tensorField> Foam::axesRotation::transformTensor
const labelList& cellMap
) const
{
notImplemented
(
"tmp<Foam::tensorField> axesRotation::transformTensor "
"("
"const tensorField&,"
"const labelList&"
") const"
);
NotImplemented;
return tmp<tensorField>(NULL);
}

View File

@ -224,10 +224,7 @@ Foam::tmp<Foam::vectorField> Foam::cylindrical::transform
Foam::vector Foam::cylindrical::transform(const vector& v) const
{
notImplemented
(
"vector cylindrical::transform(const vector&) const"
);
NotImplemented;
return vector::zero;
}
@ -253,10 +250,7 @@ Foam::tmp<Foam::vectorField> Foam::cylindrical::invTransform
Foam::vector Foam::cylindrical::invTransform(const vector& v) const
{
notImplemented
(
"vector cylindrical::invTransform(const vector&) const"
);
NotImplemented;
return vector::zero;
}
@ -297,10 +291,7 @@ Foam::tensor Foam::cylindrical::transformTensor
const tensor& t
) const
{
notImplemented
(
"tensor cylindrical::transformTensor(const tensor&) const"
);
NotImplemented;
return tensor::zero;
}
@ -369,10 +360,7 @@ Foam::symmTensor Foam::cylindrical::transformVector
const vector& v
) const
{
notImplemented
(
"tensor cylindrical::transformVector(const vector&) const"
);
NotImplemented;
return symmTensor::zero;
}

View File

@ -143,28 +143,28 @@ public:
//- Return local-to-global transformation tensor
virtual const tensor& R() const
{
notImplemented("const tensor& cylindrical::R() const");
NotImplemented;
return tensor::zero;
}
//- Return global-to-local transformation tensor
virtual const tensor& Rtr() const
{
notImplemented("const tensor& cylindrical::Rtr() const");
NotImplemented;
return tensor::zero;
}
//- Return local Cartesian x-axis
virtual const vector e1() const
{
notImplemented("const tensor& cylindrical::e1() const");
NotImplemented;
return vector::zero;
}
//- Return local Cartesian y-axis
virtual const vector e2() const
{
notImplemented("const tensor& cylindrical::e2() const");
NotImplemented;
return vector::zero;
}

View File

@ -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
@ -276,11 +276,7 @@ bool Foam::treeDataEdge::findIntersectOp::operator()
point& result
) const
{
notImplemented
(
"treeDataEdge::intersects(const label, const point&,"
"const point&, point&)"
);
NotImplemented;
return false;
}

View File

@ -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
@ -537,18 +537,7 @@ void Foam::treeDataFace::findNearestOp::operator()
point& nearestPoint
) const
{
notImplemented
(
"treeDataFace::findNearestOp::operator()"
"("
" const labelUList&,"
" const linePointRef&,"
" treeBoundBox&,"
" label&,"
" point&,"
" point&"
") const"
);
NotImplemented;
}

View File

@ -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
@ -240,11 +240,7 @@ bool Foam::treeDataPoint::findIntersectOp::operator()
point& result
) const
{
notImplemented
(
"treeDataPoint::intersects(const label, const point&,"
"const point&, point&)"
);
NotImplemented;
return false;
}

Some files were not shown because too many files have changed in this diff Show More