initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / src / finiteVolume / finiteVolume / d2dt2Schemes / steadyStateD2dt2Scheme / steadyStateD2dt2Scheme.H
blob004fb22a5e4ddf70f704f43c088087c74087a8d6
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 1991-2009 OpenCFD Ltd.
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
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 the
13     Free Software Foundation; either version 2 of the License, or (at your
14     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
19     for more details.
21     You should have received a copy of the GNU General Public License
22     along with OpenFOAM; if not, write to the Free Software Foundation,
23     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25 Class
26     Foam::fv::steadyStateD2dt2Scheme
28 Description
29     SteadyState d2dt2 which returns 0.
31 SourceFiles
32     steadyStateD2dt2Scheme.C
34 \*---------------------------------------------------------------------------*/
36 #ifndef steadyStateD2dt2Scheme_H
37 #define steadyStateD2dt2Scheme_H
39 #include "d2dt2Scheme.H"
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
43 namespace Foam
46 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
48 namespace fv
51 /*---------------------------------------------------------------------------*\
52                        Class steadyStateD2dt2Scheme Declaration
53 \*---------------------------------------------------------------------------*/
55 template<class Type>
56 class steadyStateD2dt2Scheme
58     public fv::d2dt2Scheme<Type>
60     // Private Member Functions
62         //- Disallow default bitwise copy construct
63         steadyStateD2dt2Scheme(const steadyStateD2dt2Scheme&);
65         //- Disallow default bitwise assignment
66         void operator=(const steadyStateD2dt2Scheme&);
69 public:
71     //- Runtime type information
72     TypeName("steadyState");
75     // Constructors
77         //- Construct from mesh
78         steadyStateD2dt2Scheme(const fvMesh& mesh)
79         :
80             d2dt2Scheme<Type>(mesh)
81         {}
83         //- Construct from mesh and Istream
84         steadyStateD2dt2Scheme(const fvMesh& mesh, Istream& is)
85         :
86             d2dt2Scheme<Type>(mesh, is)
87         {}
90     // Member Functions
92         //- Return mesh reference
93         const fvMesh& mesh() const
94         {
95             return fv::d2dt2Scheme<Type>::mesh();
96         }
98         tmp<GeometricField<Type, fvPatchField, volMesh> > fvcD2dt2
99         (
100             const GeometricField<Type, fvPatchField, volMesh>&
101         );
103         tmp<GeometricField<Type, fvPatchField, volMesh> > fvcD2dt2
104         (
105             const volScalarField&,
106             const GeometricField<Type, fvPatchField, volMesh>&
107         );
109         tmp<fvMatrix<Type> > fvmD2dt2
110         (
111             GeometricField<Type, fvPatchField, volMesh>&
112         );
114         tmp<fvMatrix<Type> > fvmD2dt2
115         (
116             const dimensionedScalar&,
117             GeometricField<Type, fvPatchField, volMesh>&
118         );
120         tmp<fvMatrix<Type> > fvmD2dt2
121         (
122             const volScalarField&,
123             GeometricField<Type, fvPatchField, volMesh>&
124         );
128 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
130 } // End namespace fv
132 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
134 } // End namespace Foam
136 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
138 #ifdef NoRepository
139 #   include "steadyStateD2dt2Scheme.C"
140 #endif
142 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
144 #endif
146 // ************************************************************************* //