Rationalised and standardised the naming of neighbour patch functions in the cyclic patch implementations
This commit is contained in:
@ -88,7 +88,7 @@ namespace Foam
|
||||
}
|
||||
else
|
||||
{
|
||||
meshFacei = patch_.neighbPatch().start() + facei;
|
||||
meshFacei = patch_.nbrPatch().start() + facei;
|
||||
}
|
||||
x.updateFace
|
||||
(
|
||||
@ -260,7 +260,7 @@ void Foam::FaceCellWave<Type, TrackingData>::checkCyclic
|
||||
// For debugging: check status on both sides of cyclic
|
||||
|
||||
const cyclicPolyPatch& nbrPatch =
|
||||
refCast<const cyclicPolyPatch>(patch).neighbPatch();
|
||||
refCast<const cyclicPolyPatch>(patch).nbrPatch();
|
||||
|
||||
forAll(patch, patchFacei)
|
||||
{
|
||||
@ -640,7 +640,7 @@ void Foam::FaceCellWave<Type, TrackingData>::handleCyclicPatches()
|
||||
if (isA<cyclicPolyPatch>(patch))
|
||||
{
|
||||
const cyclicPolyPatch& nbrPatch =
|
||||
refCast<const cyclicPolyPatch>(patch).neighbPatch();
|
||||
refCast<const cyclicPolyPatch>(patch).nbrPatch();
|
||||
|
||||
// Allocate buffers
|
||||
label nReceiveFaces;
|
||||
@ -732,7 +732,7 @@ void Foam::FaceCellWave<Type, TrackingData>::handleAMICyclicPatches()
|
||||
|
||||
{
|
||||
const cyclicAMIPolyPatch& nbrPatch =
|
||||
refCast<const cyclicAMIPolyPatch>(patch).neighbPatch();
|
||||
refCast<const cyclicAMIPolyPatch>(patch).nbrPatch();
|
||||
|
||||
// Get nbrPatch data (so not just changed faces)
|
||||
typename List<Type>::subList sendInfo
|
||||
@ -784,16 +784,16 @@ void Foam::FaceCellWave<Type, TrackingData>::handleAMICyclicPatches()
|
||||
}
|
||||
else
|
||||
{
|
||||
forAll(cycPatch.neighbPatch().AMIs(), i)
|
||||
forAll(cycPatch.nbrPatch().AMIs(), i)
|
||||
{
|
||||
List<Type> sendInfoT(sendInfo);
|
||||
transform
|
||||
(
|
||||
cycPatch.neighbPatch().AMITransforms()[i],
|
||||
cycPatch.nbrPatch().AMITransforms()[i],
|
||||
sendInfoT.size(),
|
||||
sendInfoT
|
||||
);
|
||||
cycPatch.neighbPatch().AMIs()[i].interpolateToTarget
|
||||
cycPatch.nbrPatch().AMIs()[i].interpolateToTarget
|
||||
(
|
||||
sendInfoT,
|
||||
cmb,
|
||||
|
||||
@ -313,7 +313,7 @@ void Foam::PointEdgeWave<Type, TrackingData>::handleProcPatches()
|
||||
nbrPoints.reserve(procPatch.nPoints());
|
||||
|
||||
// Get all changed points in reverse order
|
||||
const labelList& neighbPoints = procPatch.neighbPoints();
|
||||
const labelList& neighbPoints = procPatch.nbrPoints();
|
||||
forAll(neighbPoints, thisPointi)
|
||||
{
|
||||
label meshPointi = procPatch.meshPoints()[thisPointi];
|
||||
@ -428,7 +428,7 @@ void Foam::PointEdgeWave<Type, TrackingData>::handleCyclicPatches()
|
||||
|
||||
// Collect nbrPatch points that have changed
|
||||
{
|
||||
const cyclicPolyPatch& nbrPatch = cycPatch.neighbPatch();
|
||||
const cyclicPolyPatch& nbrPatch = cycPatch.nbrPatch();
|
||||
const edgeList& pairs = cycPatch.coupledPoints();
|
||||
const labelList& meshPoints = nbrPatch.meshPoints();
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration | Website: https://openfoam.org
|
||||
\\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2020 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -29,7 +29,7 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
defineTypeNameAndDebug(PointEdgeWaveName, 0);
|
||||
defineTypeNameAndDebug(PointEdgeWaveName, 0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user