From 747ba9dd296532e30415fb7b8d8a83be5a87fd7f Mon Sep 17 00:00:00 2001 From: mattijs <mattijs> Date: Fri, 30 Mar 2012 12:02:43 +0100 Subject: [PATCH] ENH: functionObjectTemplate: moved include files to header file since $codeData might need them --- etc/codeTemplates/dynamicCode/functionObjectTemplate.C | 6 +----- etc/codeTemplates/dynamicCode/functionObjectTemplate.H | 6 +++++- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/etc/codeTemplates/dynamicCode/functionObjectTemplate.C b/etc/codeTemplates/dynamicCode/functionObjectTemplate.C index a747b528b6f..b44bdfb8dc1 100644 --- a/etc/codeTemplates/dynamicCode/functionObjectTemplate.C +++ b/etc/codeTemplates/dynamicCode/functionObjectTemplate.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -28,10 +28,6 @@ License #include "fvCFD.H" #include "unitConversion.H" -//{{{ begin codeInclude -${codeInclude} -//}}} end codeInclude - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // namespace Foam diff --git a/etc/codeTemplates/dynamicCode/functionObjectTemplate.H b/etc/codeTemplates/dynamicCode/functionObjectTemplate.H index bac83541240..bd07fff0341 100644 --- a/etc/codeTemplates/dynamicCode/functionObjectTemplate.H +++ b/etc/codeTemplates/dynamicCode/functionObjectTemplate.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -36,6 +36,10 @@ SourceFiles #include "stringList.H" #include "pointField.H" +//{{{ begin codeInclude +${codeInclude} +//}}} end codeInclude + // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // namespace Foam -- GitLab