diff --git a/src/foam/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistributeTemplates.C b/src/foam/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistributeTemplates.C index 950fc0d7e..a809ecbf5 100644 --- a/src/foam/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistributeTemplates.C +++ b/src/foam/meshes/polyMesh/mapPolyMesh/mapDistribute/mapDistributeTemplates.C @@ -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); } } diff --git a/src/sampling/meshToMeshInterpolation/meshToMesh/meshToMeshInterpolate.C b/src/sampling/meshToMeshInterpolation/meshToMesh/meshToMeshInterpolate.C index ad5c0ef5f..14f4c5a18 100644 --- a/src/sampling/meshToMeshInterpolation/meshToMesh/meshToMeshInterpolate.C +++ b/src/sampling/meshToMeshInterpolation/meshToMesh/meshToMeshInterpolate.C @@ -177,12 +177,13 @@ void meshToMesh::interpolateInternalField break; default: + // Temporary fix: this needs clear-up. HJ/15/Jun/2014 FatalErrorIn ( "meshToMesh::interpolateInternalField(Field& toF, " "const GeometricField& fromVf, " "meshToMesh::order ord) const" - ) << "unknown interpolation scheme " << ord + ) << "unknown interpolation scheme " << label(ord) << exit(FatalError); } }