Merge remote-tracking branch 'origin/develop' into develop-pre-release

This commit is contained in:
Andrew Heather
2018-05-17 12:14:27 +01:00
51 changed files with 1224 additions and 533 deletions

View File

@ -54,7 +54,7 @@ namespace Foam
void Foam::cylindrical::init
(
const objectRegistry& obr,
const List<label>& cells
const labelUList& cells
)
{
const polyMesh& mesh = refCast<const polyMesh>(obr);
@ -196,7 +196,7 @@ void Foam::cylindrical::updateCells
forAll(cells, i)
{
label celli = cells[i];
const label celli = cells[i];
vector dir = cc[celli] - origin_;
dir /= mag(dir) + VSMALL;

View File

@ -52,6 +52,7 @@ SourceFiles
#include "point.H"
#include "vector.H"
#include "ListOps.H"
#include "coordinateRotation.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
@ -85,7 +86,7 @@ class cylindrical
void init
(
const objectRegistry& obr,
const List<label>& cells = List<label>()
const labelUList& cells = Foam::emptyLabelList
);

View File

@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | Copyright (C) 2015 OpenCFD Ltd.
\\/ M anipulation | Copyright (C) 2015-2018 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -86,11 +86,7 @@ void Foam::regionToCell::markRegionFaces
{
label facei = pp.start()+i;
label bFacei = facei-mesh_.nInternalFaces();
if
(
selectedCell[faceCells[i]]
!= selectedCell[nbrSelected[bFacei]]
)
if (selectedCell[faceCells[i]] != nbrSelected[bFacei])
{
regionFace[facei] = true;
}