Removed debugging in (Dimensioned)Field

- it made problems in undefined reference to instantiations with triSurfaceGeoMesh during compilation of applications
This commit is contained in:
Gregor Weiss 2023-09-26 15:57:01 +02:00
parent 12bad5958e
commit 672e215a78
8 changed files with 0 additions and 44 deletions

View file

@ -614,16 +614,12 @@ $(meshTools)/meshTools.C
$(meshTools)/matchPoints.C
$(meshTools)/mergePoints.C
fields/DimensionedFields/DimensionedField/DebugIODimensionedField.C
fields/UniformDimensionedFields/uniformDimensionedFields.C
fields/cloud/cloud.C
fields/cloudDistribute/cloudDistribute.C
Fields = fields/Fields
$(Fields)/Field/DebugIOField.C
$(Fields)/labelField/labelField.C
$(Fields)/scalarField/scalarField.C
$(Fields)/vectorField/vectorField.C

View file

@ -1,3 +0,0 @@
#include "DimensionedField.H"
defineTypeNameAndDebug(Foam::DebugIODimensionedFieldName, 0);

View file

@ -48,8 +48,6 @@ SourceFiles
namespace Foam
{
TemplateName(DebugIODimensionedField);
// Forward declaration of friend functions and operators
template<class Type, class GeoMesh> class DimensionedField;
@ -74,7 +72,6 @@ template<class Type, class GeoMesh> Ostream& operator<<
template<class Type, class GeoMesh>
class DimensionedField
:
public DebugIODimensionedFieldName,
public regIOobject,
public Field<Type>
{

View file

@ -76,11 +76,6 @@ bool DimensionedField<Type, GeoMesh>::writeData
const word& fieldDictEntry
) const
{
if (debug)
{
Pout<< "dimensions = " << endl;
}
os.writeKeyword("dimensions") << dimensions() << token::END_STATEMENT
<< nl << nl;

View file

@ -1,3 +0,0 @@
#include "Field.H"
defineTypeNameAndDebug(Foam::DebugIOFieldName, 0);

View file

@ -212,14 +212,6 @@ Field<Type>::Field
const label s
)
{
if (debug)
{
Info<< "Field<Type>::Field"
<< "(const word& keyword, const dictionary& dict, const label s)"
<< " : keyword = " << keyword
<< endl;
}
if (s)
{
ITstream& is = dict.lookup(keyword);

View file

@ -52,8 +52,6 @@ SourceFiles
namespace Foam
{
TemplateName(DebugIOField);
// Forward declaration of friend functions and operators
template<class Type>
@ -79,7 +77,6 @@ class dictionary;
template<class Type>
class Field
:
public DebugIOFieldName,
public refCount,
public List<Type>
{

View file

@ -58,14 +58,6 @@ Foam::GeometricField<Type, PatchField, GeoMesh>::readField
const dictionary& fieldDict
)
{
if (debug)
{
Info<< "Foam::GeometricField<Type, PatchField, GeoMesh>"
<< "::readField(const dictionary& fieldDict)"
<< "\n dict =\n" << fieldDict << nl
<< endl;
}
DimensionedField<Type, GeoMesh>::readField(fieldDict, "internalField");
tmp<GeometricBoundaryField> tboundaryField
@ -104,13 +96,6 @@ Foam::tmp
>
Foam::GeometricField<Type, PatchField, GeoMesh>::readField(Istream& is)
{
if (debug)
{
Info<< "Foam::GeometricField<Type, PatchField, GeoMesh>"
<< "::readField(Istream& is) with stream format " << is.format()
<< endl;
}
if (is.version() < 2.0)
{
FatalIOErrorIn