mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
fvPatchFields : slightly improved debug messages
This commit is contained in:
@ -37,8 +37,8 @@ Foam::tmp<Foam::fvPatchField<Type> > Foam::fvPatchField<Type>::New
|
|||||||
if (debug)
|
if (debug)
|
||||||
{
|
{
|
||||||
Info<< "fvPatchField<Type>::New(const word&, const fvPatch&, "
|
Info<< "fvPatchField<Type>::New(const word&, const fvPatch&, "
|
||||||
"const Field<Type>&) : "
|
"const DimensionedField<Type, volMesh>&) : patchFieldType="
|
||||||
"constructing fvPatchField<Type>"
|
<< patchFieldType
|
||||||
<< endl;
|
<< endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ Foam::tmp<Foam::fvPatchField<Type> > Foam::fvPatchField<Type>::New
|
|||||||
FatalErrorIn
|
FatalErrorIn
|
||||||
(
|
(
|
||||||
"fvPatchField<Type>::New(const word&, const fvPatch&, "
|
"fvPatchField<Type>::New(const word&, const fvPatch&, "
|
||||||
"const Field<Type>&)"
|
"const DimensionedField<Type, volMesh>&)"
|
||||||
) << "Unknown patchTypefield type " << patchFieldType
|
) << "Unknown patchTypefield type " << patchFieldType
|
||||||
<< endl << endl
|
<< endl << endl
|
||||||
<< "Valid patchField types are :" << endl
|
<< "Valid patchField types are :" << endl
|
||||||
@ -80,16 +80,16 @@ Foam::tmp<Foam::fvPatchField<Type> > Foam::fvPatchField<Type>::New
|
|||||||
const dictionary& dict
|
const dictionary& dict
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
word patchFieldType(dict.lookup("type"));
|
||||||
|
|
||||||
if (debug)
|
if (debug)
|
||||||
{
|
{
|
||||||
Info<< "fvPatchField<Type>::New(const fvPatch&, const Field<Type>&, "
|
Info<< "fvPatchField<Type>::New(const fvPatch&, "
|
||||||
"const dictionary&) : "
|
"const DimensionedField<Type, volMesh>&, "
|
||||||
"constructing fvPatchField<Type>"
|
"const dictionary&) : patchFieldType=" << patchFieldType
|
||||||
<< endl;
|
<< endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
word patchFieldType(dict.lookup("type"));
|
|
||||||
|
|
||||||
typename dictionaryConstructorTable::iterator cstrIter
|
typename dictionaryConstructorTable::iterator cstrIter
|
||||||
= dictionaryConstructorTablePtr_->find(patchFieldType);
|
= dictionaryConstructorTablePtr_->find(patchFieldType);
|
||||||
|
|
||||||
@ -104,7 +104,8 @@ Foam::tmp<Foam::fvPatchField<Type> > Foam::fvPatchField<Type>::New
|
|||||||
{
|
{
|
||||||
FatalIOErrorIn
|
FatalIOErrorIn
|
||||||
(
|
(
|
||||||
"fvPatchField<Type>::New(const fvPatch&, const Field<Type>&, "
|
"fvPatchField<Type>::New(const fvPatch&, "
|
||||||
|
"const DimensionedField<Type, volMesh>&, "
|
||||||
"const dictionary&)",
|
"const dictionary&)",
|
||||||
dict
|
dict
|
||||||
) << "Unknown patchField type " << patchFieldType
|
) << "Unknown patchField type " << patchFieldType
|
||||||
@ -132,7 +133,8 @@ Foam::tmp<Foam::fvPatchField<Type> > Foam::fvPatchField<Type>::New
|
|||||||
{
|
{
|
||||||
FatalIOErrorIn
|
FatalIOErrorIn
|
||||||
(
|
(
|
||||||
"fvPatchField<Type>const fvPatch&, const Field<Type>&, "
|
"fvPatchField<Type>::New(const fvPatch&, "
|
||||||
|
"const DimensionedField<Type, volMesh>&, "
|
||||||
"const dictionary&)",
|
"const dictionary&)",
|
||||||
dict
|
dict
|
||||||
) << "inconsistent patch and patchField types for \n"
|
) << "inconsistent patch and patchField types for \n"
|
||||||
@ -157,8 +159,8 @@ Foam::tmp<Foam::fvPatchField<Type> > Foam::fvPatchField<Type>::New
|
|||||||
{
|
{
|
||||||
if (debug)
|
if (debug)
|
||||||
{
|
{
|
||||||
Info<< "fvPatchField<Type>::New(const fvPatchField<Type>&,"
|
Info<< "fvPatchField<Type>::New(const fvPatchField<Type>&, "
|
||||||
" const fvPatch&, const Field<Type>&, "
|
"const fvPatch&, const DimensionedField<Type, volMesh>&, "
|
||||||
"const fvPatchFieldMapper&) : "
|
"const fvPatchFieldMapper&) : "
|
||||||
"constructing fvPatchField<Type>"
|
"constructing fvPatchField<Type>"
|
||||||
<< endl;
|
<< endl;
|
||||||
@ -172,7 +174,7 @@ Foam::tmp<Foam::fvPatchField<Type> > Foam::fvPatchField<Type>::New
|
|||||||
FatalErrorIn
|
FatalErrorIn
|
||||||
(
|
(
|
||||||
"fvPatchField<Type>::New(const fvPatchField<Type>&, "
|
"fvPatchField<Type>::New(const fvPatchField<Type>&, "
|
||||||
"const fvPatch&, const Field<Type>&, "
|
"const fvPatch&, const DimensionedField<Type, volMesh>&, "
|
||||||
"const fvPatchFieldMapper&)"
|
"const fvPatchFieldMapper&)"
|
||||||
) << "unknown patchTypefield type " << ptf.type() << endl << endl
|
) << "unknown patchTypefield type " << ptf.type() << endl << endl
|
||||||
<< "Valid patchField types are :" << endl
|
<< "Valid patchField types are :" << endl
|
||||||
|
|||||||
Reference in New Issue
Block a user