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:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user