mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge remote-tracking branch 'origin/develop' into develop-pre-release
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
@ -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
|
||||
);
|
||||
|
||||
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user