From d460b3484b330db014f5f23f9875b31778660ab4 Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 16 Nov 2012 18:26:19 +0000 Subject: [PATCH] ENH: Updated info/error messages --- .../GeometricField/GeometricBoundaryField.C | 75 +++++++++++++------ 1 file changed, 51 insertions(+), 24 deletions(-) diff --git a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C index 5117f8cb23..20d15fbe81 100644 --- a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C +++ b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C @@ -47,7 +47,7 @@ GeometricBoundaryField Info<< "GeometricField::" "GeometricBoundaryField::" "GeometricBoundaryField(const BoundaryMesh&, " - "const Field&, const word&)" + "const DimensionedField&, const word&)" << endl; } @@ -84,8 +84,13 @@ GeometricBoundaryField { Info<< "GeometricField::" "GeometricBoundaryField::" - "GeometricBoundaryField(const BoundaryMesh&, " - "const Field&, const wordList&, const wordList&)" + "GeometricBoundaryField" + "(" + "const BoundaryMesh&, " + "const DimensionedField&, " + "const wordList&, " + "const wordList&" + ")" << endl; } @@ -99,8 +104,13 @@ GeometricBoundaryField ( "GeometricField::" "GeometricBoundaryField::" - "GeometricBoundaryField(const BoundaryMesh&, " - "const Field&, const wordList&, const wordList&)" + "GeometricBoundaryField" + "(" + "const BoundaryMesh&, " + "const DimensionedField&, " + "const wordList&, " + "const wordList&" + ")" ) << "Incorrect number of patch type specifications given" << nl << " Number of patches in mesh = " << bmesh.size() << " number of patch type specifications = " @@ -160,8 +170,12 @@ GeometricBoundaryField { Info<< "GeometricField::" "GeometricBoundaryField::" - "GeometricBoundaryField(const BoundaryMesh&, " - "const Field&, const PatchFieldList&)" + "GeometricBoundaryField" + "(" + "const BoundaryMesh&, " + "const DimensionedField&, " + "const PtrLIst >&" + ")" << endl; } @@ -188,8 +202,12 @@ GeometricBoundaryField { Info<< "GeometricField::" "GeometricBoundaryField::" - "GeometricBoundaryField(const GeometricBoundaryField&)" + "GeometricBoundaryField" + "(" + "const DimensionedField&, " + "const typename GeometricField::" + "GeometricBoundaryField&" + ")" << endl; } @@ -220,8 +238,11 @@ GeometricBoundaryField { Info<< "GeometricField::" "GeometricBoundaryField::" - "GeometricBoundaryField(const GeometricBoundaryField&)" + "GeometricBoundaryField" + "(" + "const GeometricField::" + "GeometricBoundaryField&" + ")" << endl; } } @@ -244,7 +265,11 @@ GeometricBoundaryField Info<< "GeometricField::" "GeometricBoundaryField::" "GeometricBoundaryField" - "(const BoundaryMesh&, const Field&, const dictionary&)" + "(" + "const BoundaryMesh&, " + "const DimensionedField&, " + "const dictionary&" + ")" << endl; } @@ -326,12 +351,13 @@ GeometricBoundaryField { FatalIOErrorIn ( - "GeometricField::\n" - "GeometricBoundaryField::GeometricBoundaryField\n" - "(\n" - " const BoundaryMesh&,\n" - " const DimensionedField&,\n" - " const dictionary&\n" + "GeometricField::" + "GeometricBoundaryField::" + "GeometricBoundaryField" + "(" + "const BoundaryMesh&, " + "const DimensionedField&, " + "const dictionary&" ")", dict ) << "Cannot find patchField entry for cyclic " @@ -344,12 +370,13 @@ GeometricBoundaryField { FatalIOErrorIn ( - "GeometricField::\n" - "GeometricBoundaryField::GeometricBoundaryField\n" - "(\n" - " const BoundaryMesh&,\n" - " const DimensionedField&,\n" - " const dictionary&\n" + "GeometricField::" + "GeometricBoundaryField::" + "GeometricBoundaryField" + "(" + "const BoundaryMesh&, " + "const DimensionedField&, " + "const dictionary&" ")", dict ) << "Cannot find patchField entry for "