Intel 11.1 porting changes: enum is a type

This commit is contained in:
Hrvoje Jasak 2014-06-16 10:31:08 +01:00
parent 6bd29ac418
commit 563fec3090
2 changed files with 4 additions and 2 deletions

View file

@ -321,8 +321,9 @@ void Foam::mapDistribute::distribute
}
else
{
// This needs to be cleaned up: temporary solution. HJ, 15/Jun/2014
FatalErrorIn("mapDistribute::distribute(..)")
<< "Unknown communication schedule " << commsType
<< "Unknown communication schedule " << label(commsType)
<< abort(FatalError);
}
}

View file

@ -177,12 +177,13 @@ void meshToMesh::interpolateInternalField
break;
default:
// Temporary fix: this needs clear-up. HJ/15/Jun/2014
FatalErrorIn
(
"meshToMesh::interpolateInternalField(Field<Type>& toF, "
"const GeometricField<Type, fvPatchField, volMesh>& fromVf, "
"meshToMesh::order ord) const"
) << "unknown interpolation scheme " << ord
) << "unknown interpolation scheme " << label(ord)
<< exit(FatalError);
}
}