1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 1991-2009 OpenCFD Ltd.
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 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
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
26 Foam::fv::steadyStateD2dt2Scheme
29 SteadyState d2dt2 which returns 0.
32 steadyStateD2dt2Scheme.C
34 \*---------------------------------------------------------------------------*/
36 #ifndef steadyStateD2dt2Scheme_H
37 #define steadyStateD2dt2Scheme_H
39 #include "d2dt2Scheme.H"
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
51 /*---------------------------------------------------------------------------*\
52 Class steadyStateD2dt2Scheme Declaration
53 \*---------------------------------------------------------------------------*/
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&);
71 //- Runtime type information
72 TypeName("steadyState");
77 //- Construct from mesh
78 steadyStateD2dt2Scheme(const fvMesh& mesh)
80 d2dt2Scheme<Type>(mesh)
83 //- Construct from mesh and Istream
84 steadyStateD2dt2Scheme(const fvMesh& mesh, Istream& is)
86 d2dt2Scheme<Type>(mesh, is)
92 //- Return mesh reference
93 const fvMesh& mesh() const
95 return fv::d2dt2Scheme<Type>::mesh();
98 tmp<GeometricField<Type, fvPatchField, volMesh> > fvcD2dt2
100 const GeometricField<Type, fvPatchField, volMesh>&
103 tmp<GeometricField<Type, fvPatchField, volMesh> > fvcD2dt2
105 const volScalarField&,
106 const GeometricField<Type, fvPatchField, volMesh>&
109 tmp<fvMatrix<Type> > fvmD2dt2
111 GeometricField<Type, fvPatchField, volMesh>&
114 tmp<fvMatrix<Type> > fvmD2dt2
116 const dimensionedScalar&,
117 GeometricField<Type, fvPatchField, volMesh>&
120 tmp<fvMatrix<Type> > fvmD2dt2
122 const volScalarField&,
123 GeometricField<Type, fvPatchField, volMesh>&
128 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
130 } // End namespace fv
132 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
134 } // End namespace Foam
136 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
139 # include "steadyStateD2dt2Scheme.C"
142 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
146 // ************************************************************************* //