From eb3c806ff91780c113afc21790d1bdb7002456c8 Mon Sep 17 00:00:00 2001 From: mattijs Date: Mon, 13 Dec 2021 13:20:04 +0000 Subject: [PATCH] COMP: dynamicCode: add missing default constructor Used copy constructor for dictionary. Probably not necessary. --- etc/codeTemplates/dynamicCode/fixedValueFvPatchFieldTemplate.C | 3 ++- .../dynamicCode/fixedValuePointPatchFieldTemplate.C | 3 ++- etc/codeTemplates/dynamicCode/mixedFvPatchFieldTemplate.C | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) 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}) {