mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: avoid faPatch/fvPatch patchInternalField ambiguity
- with alternative faceCell addressing, use the three-parameter version only. This avoids potential future ambiguity with the two-parameter version (eg, with a label type) ENH: add faPatchField patchInternalField() for symmetry with fvPatchField ENH: direct reference to mesh thisDb instead of inferring ENH: pointMesh::boundaryMesh() method (eg, similar to fvMesh)
This commit is contained in:
@ -492,7 +492,9 @@ Foam::tmp<Foam::labelField> Foam::processorFaPatch::interfaceInternalField
|
||||
const labelUList& edgeFaces
|
||||
) const
|
||||
{
|
||||
return patchInternalField(internalData, edgeFaces);
|
||||
auto tpfld = tmp<labelField>::New();
|
||||
patchInternalField(internalData, edgeFaces, tpfld.ref());
|
||||
return tpfld;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user