ENH: Updated info/error messages

This commit is contained in:
andy
2012-11-16 18:26:19 +00:00
parent edd7242fbe
commit d460b3484b

View File

@ -47,7 +47,7 @@ GeometricBoundaryField
Info<< "GeometricField<Type, PatchField, GeoMesh>::" Info<< "GeometricField<Type, PatchField, GeoMesh>::"
"GeometricBoundaryField::" "GeometricBoundaryField::"
"GeometricBoundaryField(const BoundaryMesh&, " "GeometricBoundaryField(const BoundaryMesh&, "
"const Field<Type>&, const word&)" "const DimensionedField<Type>&, const word&)"
<< endl; << endl;
} }
@ -84,8 +84,13 @@ GeometricBoundaryField
{ {
Info<< "GeometricField<Type, PatchField, GeoMesh>::" Info<< "GeometricField<Type, PatchField, GeoMesh>::"
"GeometricBoundaryField::" "GeometricBoundaryField::"
"GeometricBoundaryField(const BoundaryMesh&, " "GeometricBoundaryField"
"const Field<Type>&, const wordList&, const wordList&)" "("
"const BoundaryMesh&, "
"const DimensionedField<Type>&, "
"const wordList&, "
"const wordList&"
")"
<< endl; << endl;
} }
@ -99,8 +104,13 @@ GeometricBoundaryField
( (
"GeometricField<Type, PatchField, GeoMesh>::" "GeometricField<Type, PatchField, GeoMesh>::"
"GeometricBoundaryField::" "GeometricBoundaryField::"
"GeometricBoundaryField(const BoundaryMesh&, " "GeometricBoundaryField"
"const Field<Type>&, const wordList&, const wordList&)" "("
"const BoundaryMesh&, "
"const DimensionedField<Type>&, "
"const wordList&, "
"const wordList&"
")"
) << "Incorrect number of patch type specifications given" << nl ) << "Incorrect number of patch type specifications given" << nl
<< " Number of patches in mesh = " << bmesh.size() << " Number of patches in mesh = " << bmesh.size()
<< " number of patch type specifications = " << " number of patch type specifications = "
@ -160,8 +170,12 @@ GeometricBoundaryField
{ {
Info<< "GeometricField<Type, PatchField, GeoMesh>::" Info<< "GeometricField<Type, PatchField, GeoMesh>::"
"GeometricBoundaryField::" "GeometricBoundaryField::"
"GeometricBoundaryField(const BoundaryMesh&, " "GeometricBoundaryField"
"const Field<Type>&, const PatchField<Type>List&)" "("
"const BoundaryMesh&, "
"const DimensionedField<Type, GeoMesh>&, "
"const PtrLIst<PatchField<Type> >&"
")"
<< endl; << endl;
} }
@ -188,8 +202,12 @@ GeometricBoundaryField
{ {
Info<< "GeometricField<Type, PatchField, GeoMesh>::" Info<< "GeometricField<Type, PatchField, GeoMesh>::"
"GeometricBoundaryField::" "GeometricBoundaryField::"
"GeometricBoundaryField(const GeometricBoundaryField<Type, " "GeometricBoundaryField"
"PatchField, BoundaryMesh>&)" "("
"const DimensionedField<Type, GeoMesh>&, "
"const typename GeometricField<Type, PatchField, GeoMesh>::"
"GeometricBoundaryField&"
")"
<< endl; << endl;
} }
@ -220,8 +238,11 @@ GeometricBoundaryField
{ {
Info<< "GeometricField<Type, PatchField, GeoMesh>::" Info<< "GeometricField<Type, PatchField, GeoMesh>::"
"GeometricBoundaryField::" "GeometricBoundaryField::"
"GeometricBoundaryField(const GeometricBoundaryField<Type, " "GeometricBoundaryField"
"PatchField, BoundaryMesh>&)" "("
"const GeometricField<Type, PatchField, GeoMesh>::"
"GeometricBoundaryField&"
")"
<< endl; << endl;
} }
} }
@ -244,7 +265,11 @@ GeometricBoundaryField
Info<< "GeometricField<Type, PatchField, GeoMesh>::" Info<< "GeometricField<Type, PatchField, GeoMesh>::"
"GeometricBoundaryField::" "GeometricBoundaryField::"
"GeometricBoundaryField" "GeometricBoundaryField"
"(const BoundaryMesh&, const Field<Type>&, const dictionary&)" "("
"const BoundaryMesh&, "
"const DimensionedField<Type, GeoMesh>&, "
"const dictionary&"
")"
<< endl; << endl;
} }
@ -326,12 +351,13 @@ GeometricBoundaryField
{ {
FatalIOErrorIn FatalIOErrorIn
( (
"GeometricField<Type, PatchField, GeoMesh>::\n" "GeometricField<Type, PatchField, GeoMesh>::"
"GeometricBoundaryField::GeometricBoundaryField\n" "GeometricBoundaryField::"
"(\n" "GeometricBoundaryField"
" const BoundaryMesh&,\n" "("
" const DimensionedField<Type, GeoMesh>&,\n" "const BoundaryMesh&, "
" const dictionary&\n" "const DimensionedField<Type, GeoMesh>&, "
"const dictionary&"
")", ")",
dict dict
) << "Cannot find patchField entry for cyclic " ) << "Cannot find patchField entry for cyclic "
@ -344,12 +370,13 @@ GeometricBoundaryField
{ {
FatalIOErrorIn FatalIOErrorIn
( (
"GeometricField<Type, PatchField, GeoMesh>::\n" "GeometricField<Type, PatchField, GeoMesh>::"
"GeometricBoundaryField::GeometricBoundaryField\n" "GeometricBoundaryField::"
"(\n" "GeometricBoundaryField"
" const BoundaryMesh&,\n" "("
" const DimensionedField<Type, GeoMesh>&,\n" "const BoundaryMesh&, "
" const dictionary&\n" "const DimensionedField<Type, GeoMesh>&, "
"const dictionary&"
")", ")",
dict dict
) << "Cannot find patchField entry for " ) << "Cannot find patchField entry for "