Skip to content
Snippets Groups Projects
Commit 72ce3eb4 authored by Mark OLESEN's avatar Mark OLESEN Committed by Mattijs Janssens
Browse files

BREAKING: change in behaviour for faPatch/fvPatch patchInternalField()

- the output parameter was previously a field and resized according to
  the patch size. Now the output parameter must be pre-sized prior to
  calling, which makes it possible to collect the patch internal
  fields into slices of a larger list.

  Signatures:

      void patchInternalField
      (
          const UList<Type>& internalData,
          UList<Type>& pfld    // OLD: Field<Type>& pfld
      ) const;

      void patchInternalField
      (
          const UList<Type>& internalData,
          const labelUList& addressing,
          UList<Type>& pfld    // OLD: Field<Type>& pfld
      ) const;

  This low-level change is not expected to affect any user code,
  which would normally use a higher-level interface such as from
  fvPatchField etc.
parent a9b59ad2
No related branches found
No related tags found
1 merge request!741ENH: extend GeoMesh interface, prepare for in-place patch slices
Showing
with 188 additions and 138 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment