mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
GIT: Resolve conflict with upstream merge from Foundation
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
\\/ M anipulation | Copyright (C) 2015 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -189,11 +189,8 @@ Foam::autoPtr<Foam::decompositionMethod> Foam::decompositionMethod::New
|
||||
|
||||
if (cstrIter == dictionaryConstructorTablePtr_->end())
|
||||
{
|
||||
FatalErrorIn
|
||||
(
|
||||
"decompositionMethod::New"
|
||||
"(const dictionary& decompositionDict)"
|
||||
) << "Unknown decompositionMethod "
|
||||
FatalErrorInFunction
|
||||
<< "Unknown decompositionMethod "
|
||||
<< methodType << nl << nl
|
||||
<< "Valid decompositionMethods are : " << endl
|
||||
<< dictionaryConstructorTablePtr_->sortedToc()
|
||||
@ -1095,17 +1092,8 @@ Foam::labelList Foam::decompositionMethod::decompose
|
||||
|
||||
if (nWeights > 0 && cellWeights.size() != mesh.nCells())
|
||||
{
|
||||
FatalErrorIn
|
||||
(
|
||||
"decompositionMethod::decompose\n"
|
||||
"(\n"
|
||||
" const polyMesh&,\n"
|
||||
" const scalarField&,\n"
|
||||
" const boolList&,\n"
|
||||
" const PtrList<labelList>&,\n"
|
||||
" const labelList&,\n"
|
||||
" const List<labelPair>&\n"
|
||||
) << "Number of weights " << cellWeights.size()
|
||||
FatalErrorInFunction
|
||||
<< "Number of weights " << cellWeights.size()
|
||||
<< " differs from number of cells " << mesh.nCells()
|
||||
<< exit(FatalError);
|
||||
}
|
||||
@ -1265,18 +1253,8 @@ Foam::labelList Foam::decompositionMethod::decompose
|
||||
}
|
||||
else if (blockedFace[f0] != blockedFace[f1])
|
||||
{
|
||||
FatalErrorIn
|
||||
(
|
||||
"labelList decompose\n"
|
||||
"(\n"
|
||||
" const polyMesh&,\n"
|
||||
" const scalarField&,\n"
|
||||
" const boolList&,\n"
|
||||
" const PtrList<labelList>&,\n"
|
||||
" const labelList&,\n"
|
||||
" const List<labelPair>&\n"
|
||||
")"
|
||||
) << "On explicit connection between faces " << f0
|
||||
FatalErrorInFunction
|
||||
<< "On explicit connection between faces " << f0
|
||||
<< " and " << f1
|
||||
<< " the two blockedFace status are not equal : "
|
||||
<< blockedFace[f0] << " and " << blockedFace[f1]
|
||||
@ -1420,7 +1398,7 @@ Foam::labelList Foam::decompositionMethod::decompose
|
||||
label nbrProc = nbrDecomp[bFaceI];
|
||||
if (ownProc != nbrProc)
|
||||
{
|
||||
FatalErrorIn("decompositionMethod::decompose()")
|
||||
FatalErrorInFunction
|
||||
<< "patch:" << pp.name()
|
||||
<< " face:" << faceI
|
||||
<< " at:" << mesh.faceCentres()[faceI]
|
||||
|
||||
Reference in New Issue
Block a user