diff --git a/etc/codeTemplates/dynamicCode/fixedValueFvPatchFieldTemplate.C b/etc/codeTemplates/dynamicCode/fixedValueFvPatchFieldTemplate.C index 3252c4cc76..236ad4671f 100644 --- a/etc/codeTemplates/dynamicCode/fixedValueFvPatchFieldTemplate.C +++ b/etc/codeTemplates/dynamicCode/fixedValueFvPatchFieldTemplate.C @@ -144,7 +144,8 @@ ${typeName}FixedValueFvPatch${FieldType} const ${typeName}FixedValueFvPatch${FieldType}& rhs ) : - parent_bctype(rhs) + parent_bctype(rhs), + dictionaryContent(rhs) { if (${verbose:-false}) { diff --git a/etc/codeTemplates/dynamicCode/fixedValuePointPatchFieldTemplate.C b/etc/codeTemplates/dynamicCode/fixedValuePointPatchFieldTemplate.C index 93bdec669e..b69bcdf734 100644 --- a/etc/codeTemplates/dynamicCode/fixedValuePointPatchFieldTemplate.C +++ b/etc/codeTemplates/dynamicCode/fixedValuePointPatchFieldTemplate.C @@ -144,7 +144,8 @@ ${typeName}FixedValuePointPatch${FieldType} const ${typeName}FixedValuePointPatch${FieldType}& rhs ) : - parent_bctype(rhs) + parent_bctype(rhs), + dictionaryContent(rhs) { if (${verbose:-false}) { diff --git a/etc/codeTemplates/dynamicCode/mixedFvPatchFieldTemplate.C b/etc/codeTemplates/dynamicCode/mixedFvPatchFieldTemplate.C index 6a42a890a9..26b6dd8f45 100644 --- a/etc/codeTemplates/dynamicCode/mixedFvPatchFieldTemplate.C +++ b/etc/codeTemplates/dynamicCode/mixedFvPatchFieldTemplate.C @@ -143,7 +143,8 @@ ${typeName}MixedValueFvPatch${FieldType} const ${typeName}MixedValueFvPatch${FieldType}& rhs ) : - parent_bctype(rhs) + parent_bctype(rhs), + dictionaryContent(rhs) { if (${verbose:-false}) {