mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: lerp for patch/neighbour weights
This commit is contained in:
@ -111,11 +111,12 @@ Foam::isoSurfacePoint::adaptPatchFields
|
||||
sliceFldBf[patchi]
|
||||
);
|
||||
|
||||
const scalarField& w = mesh.weights().boundaryField()[patchi];
|
||||
|
||||
tmp<Field<Type>> f =
|
||||
w*pfld.patchInternalField()
|
||||
+ (1.0-w)*pfld.patchNeighbourField();
|
||||
tmp<Field<Type>> f = lerp
|
||||
(
|
||||
pfld.patchNeighbourField(),
|
||||
pfld.patchInternalField(),
|
||||
mesh.weights().boundaryField()[patchi]
|
||||
);
|
||||
|
||||
bitSet isCollocated
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user