codedFixedValueFvPatchField: Updated and simplified using the new CodedBase class

reducing code duplication and maintenance overhead.
This commit is contained in:
Henry Weller
2020-02-06 16:04:21 +00:00
parent b2c30b93ce
commit 4cbb849eda
7 changed files with 94 additions and 226 deletions

View File

@ -80,9 +80,12 @@ void Foam::codedFunctionObject::prepare
dynCode.addCopyFile("functionObjectTemplate.H");
// Debugging: make verbose
// dynCode.setFilterVariable("verbose", "true");
// Info<<"compile " << codeName() << " sha1: "
// << context.sha1() << endl;
if (debug)
{
dynCode.setFilterVariable("verbose", "true");
Info<<"compile " << codeName() << " sha1: "
<< context.sha1() << endl;
}
// Define Make/options
dynCode.setMakeOptions