diff --git a/bin/foamTemplates/source/foamTemplate.H b/bin/foamTemplates/source/foamTemplate.H index 7390df1aeb..963fc74cdf 100644 --- a/bin/foamTemplates/source/foamTemplate.H +++ b/bin/foamTemplates/source/foamTemplate.H @@ -55,7 +55,7 @@ Ostream& operator<<(Ostream&, const className&); /*---------------------------------------------------------------------------*\ - Class className Declaration + Class className Declaration \*---------------------------------------------------------------------------*/ class className @@ -64,6 +64,7 @@ class className { // Private data + //- Description of data_ dataType data_; @@ -80,7 +81,7 @@ public: // Static data members - //- Static data someStaticData + //- Static data staticData static const dataType staticData; @@ -105,9 +106,8 @@ public: static autoPtr New(); - // Destructor - - ~className(); + //- Destructor + ~className(); // Member Functions diff --git a/bin/foamTemplates/source/foamUtilTemplate.cfg b/bin/foamTemplates/source/foamUtilTemplate.cfg deleted file mode 100644 index 159b04a929..0000000000 --- a/bin/foamTemplates/source/foamUtilTemplate.cfg +++ /dev/null @@ -1,27 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 1.5 | -| \\ / A nd | Web: http://www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -// className tool definition - -description ""; - -classNameDict -{ - type dictionary; - description "className control dictionary"; - dictionaryPath "system"; - - entries - { - arguments - { - type rootCaseTimeArguments; - } - } -} - -// ************************************************************************* // diff --git a/bin/foamTemplates/source/newSource b/bin/foamTemplates/source/newSource index ee357a429b..a06d1bcc73 100755 --- a/bin/foamTemplates/source/newSource +++ b/bin/foamTemplates/source/newSource @@ -40,7 +40,7 @@ usage: $Script * create a new standard OpenFOAM source file -type: (C|H|I|IO|App|cfg) +type: (C|H|I|IO|App) USAGE exit 1 @@ -74,10 +74,6 @@ app|App) wmakeFilesAndOptions fi ;; -cfg) - template=foamUtilTemplate - fileType=$1 - ;; *) usage "unknown type" ;; diff --git a/bin/foamTemplates/sourceTemplate/foamTemplateTemplate.H b/bin/foamTemplates/sourceTemplate/foamTemplateTemplate.H index 42ad127142..79250a7019 100644 --- a/bin/foamTemplates/sourceTemplate/foamTemplateTemplate.H +++ b/bin/foamTemplates/sourceTemplate/foamTemplateTemplate.H @@ -112,9 +112,8 @@ public: static autoPtr > New(); - // Destructor - - ~ClassName(); + //- Destructor + ~ClassName(); // Member Functions