1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
7 -------------------------------------------------------------------------------
9 This file is part of OpenFOAM.
11 OpenFOAM is free software: you can redistribute it and/or modify it
12 under the terms of the GNU General Public License as published by
13 the Free Software Foundation, either version 3 of the License, or
14 (at your option) any later version.
16 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 You should have received a copy of the GNU General Public License
22 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
28 Namespace for post-processing calculation functions
35 Base class for post-processing calculation functions
40 \*---------------------------------------------------------------------------*/
46 #include "runTimeSelectionTables.H"
50 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
55 /*---------------------------------------------------------------------------*\
56 Class calcType Declaration
57 \*---------------------------------------------------------------------------*/
61 // Private Member Functions
63 //- Disallow default bitwise copy construct
64 calcType(const calcType&);
66 //- Disallow default bitwise assignment
67 void operator=(const calcType&);
72 // Protected Member Functions
74 // Calculation routines
76 //- Initialise - typically setting static variables,
77 // e.g. command line arguments
80 //- Pre-time loop calculations
88 //- Time loop calculations
96 //- Post-time loop calculations
107 //- Runtime type information
108 TypeName("calcType");
111 // Declare runtime constructor selection table
113 declareRunTimeSelectionTable
131 static autoPtr<calcType> New(const word& calcTypeName);
140 // Calculation routines - wrapped by exception handling loop
142 //- Initialise - typically setting static variables,
143 // e.g. command line arguments
146 //- Pre-time loop calculations
154 //- Time loop calculations
162 //- Post-time loop calculations
172 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
174 } // End namespace Foam
176 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
180 // ************************************************************************* //