mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: extend type aliases to include geometric boundary fields (#2348)
STYLE: LduInterfaceFieldPtrsList as alias instead of a class STYLE: define patch lists typedefs when defining the base patch - eg, polyPatchList typedef within polyPatch.H INT: relocate GeometricField::Boundary -> GeometricBoundaryField - was internal to GeometricField but moving it outside simplifies forward declarations etc. Code adapted from openfoam.org
This commit is contained in:
@ -419,7 +419,7 @@ bool Foam::domainDecomposition::writeDecomposition(const bool decomposeSets)
|
||||
nInterProcPatches += curSubPatchIDs[procPatchi].size();
|
||||
}
|
||||
|
||||
PtrList<polyPatch> procPatches
|
||||
polyPatchList procPatches
|
||||
(
|
||||
curPatchSizes.size() + nInterProcPatches
|
||||
);
|
||||
|
||||
@ -129,8 +129,7 @@ Foam::parFvFieldReconstructor::reconstructFvVolumeField
|
||||
|
||||
PtrList<fvPatchField<Type>> patchFields(fld.mesh().boundary().size());
|
||||
|
||||
const typename GeometricField<Type, fvPatchField, volMesh>::Boundary&
|
||||
bfld = fld.boundaryField();
|
||||
const auto& bfld = fld.boundaryField();
|
||||
|
||||
forAll(bfld, patchI)
|
||||
{
|
||||
@ -293,8 +292,7 @@ Foam::parFvFieldReconstructor::reconstructFvSurfaceField
|
||||
|
||||
PtrList<fvsPatchField<Type>> patchFields(fld.mesh().boundary().size());
|
||||
|
||||
const typename GeometricField<Type, fvsPatchField, surfaceMesh>::Boundary&
|
||||
bfld = fld.boundaryField();
|
||||
const auto& bfld = fld.boundaryField();
|
||||
|
||||
forAll(bfld, patchI)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user