fieldMapper: Simplification

The patch-specific mapper interfaces, fvPatchFieldMapper and
pointPatchFieldMapper, have been removed as they did not do anything.
Patch mapping constructors and functions now take a basic fieldMapper
reference.

An fvPatchFieldMapper.H header has been provided to aid backwards
compatability so that existing custom boundary conditions continue to
compile.
This commit is contained in:
Will Bainbridge
2023-11-10 10:20:52 +00:00
parent 02c28dda6a
commit cef86f598a
552 changed files with 1408 additions and 2530 deletions

View File

@ -25,7 +25,7 @@ License
#include "codedFixedValuePointPatchFieldTemplate.H"
#include "addToRunTimeSelectionTable.H"
#include "pointPatchFieldMapper.H"
#include "fieldMapper.H"
#include "pointFields.H"
#include "unitConversion.H"
//{{{ begin codeInclude
@ -106,7 +106,7 @@ ${typeName}FixedValuePointPatch${FieldType}
const ${typeName}FixedValuePointPatch${FieldType}& ptf,
const pointPatch& p,
const DimensionedField<${TemplateType}, pointMesh>& iF,
const pointPatchFieldMapper& mapper
const fieldMapper& mapper
)
:
fixedValuePointPatchField<${TemplateType}>(ptf, p, iF, mapper)