diff --git a/applications/utilities/postProcessing/foamPostProcess/foamPostProcess.C b/applications/utilities/postProcessing/foamPostProcess/foamPostProcess.C index 581089d04d..4649618d8c 100644 --- a/applications/utilities/postProcessing/foamPostProcess/foamPostProcess.C +++ b/applications/utilities/postProcessing/foamPostProcess/foamPostProcess.C @@ -243,8 +243,7 @@ int main(int argc, char *argv[]) << "Available functionObject templates:" << listAllConfigFiles ( - functionEntries::includeFuncEntry::functionObjectDictPath - /"../functionTemplates" + functionEntries::includeFuncEntry::functionObjectTemplatePath ) << endl; diff --git a/src/OpenFOAM/db/dictionary/functionEntries/includeFuncEntry/includeFuncEntry.C b/src/OpenFOAM/db/dictionary/functionEntries/includeFuncEntry/includeFuncEntry.C index 112ad072ef..6eedb07d51 100644 --- a/src/OpenFOAM/db/dictionary/functionEntries/includeFuncEntry/includeFuncEntry.C +++ b/src/OpenFOAM/db/dictionary/functionEntries/includeFuncEntry/includeFuncEntry.C @@ -51,6 +51,13 @@ Foam::fileName Foam::functionEntries::includeFuncEntry::functionObjectDictPath ); +Foam::fileName +Foam::functionEntries::includeFuncEntry::functionObjectTemplatePath +( + "caseDicts/functionTemplates" +); + + // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // bool Foam::functionEntries::includeFuncEntry::execute diff --git a/src/OpenFOAM/db/dictionary/functionEntries/includeFuncEntry/includeFuncEntry.H b/src/OpenFOAM/db/dictionary/functionEntries/includeFuncEntry/includeFuncEntry.H index 5d0f23157c..0b195a76bd 100644 --- a/src/OpenFOAM/db/dictionary/functionEntries/includeFuncEntry/includeFuncEntry.H +++ b/src/OpenFOAM/db/dictionary/functionEntries/includeFuncEntry/includeFuncEntry.H @@ -95,6 +95,10 @@ public: // containing the functionObject dictionary files static fileName functionObjectDictPath; + //- Default relative path to the directory structure + // containing the functionObject template files + static fileName functionObjectTemplatePath; + // Member Functions