Skip to content
Snippets Groups Projects
Commit 336fa744 authored by Mark Olesen's avatar Mark Olesen
Browse files

ENH: add static const char* SHA1sum to fixedValueFvPatchScalarFieldTemplate

- useful for debugging purposes
parent 923e17b1
Branches
Tags
No related merge requests found
......@@ -60,6 +60,17 @@ extern "C"
}
}
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
makeRemovablePatchTypeField
(
fvPatchScalarField,
${typeName}FixedValueFvPatchScalarField
);
const char* ${typeName}FixedValueFvPatchScalarField::SHA1sum = "${SHA1sum}";
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
......@@ -184,15 +195,6 @@ void ${typeName}FixedValueFvPatchScalarField::updateCoeffs()
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
makeRemovablePatchTypeField
(
fvPatchScalarField,
${typeName}FixedValueFvPatchScalarField
);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam
......
......@@ -55,6 +55,9 @@ class ${typeName}FixedValueFvPatchScalarField
public:
//- Information about the SHA1 of the code itself
static const char* SHA1sum;
//- Runtime type information
TypeName("${typeName}");
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment