steadyStateD2dt2Scheme.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2011-2018 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
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.
15 
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.
20 
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/>.
23 
24 Class
25  Foam::fv::steadyStateD2dt2Scheme
26 
27 Description
28  SteadyState d2dt2 which returns 0.
29 
30 SourceFiles
31  steadyStateD2dt2Scheme.C
32 
33 \*---------------------------------------------------------------------------*/
34 
35 #ifndef steadyStateD2dt2Scheme_H
36 #define steadyStateD2dt2Scheme_H
37 
38 #include "d2dt2Scheme.H"
39 
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
41 
42 namespace Foam
43 {
44 
45 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46 
47 namespace fv
48 {
49 
50 /*---------------------------------------------------------------------------*\
51  Class steadyStateD2dt2Scheme Declaration
52 \*---------------------------------------------------------------------------*/
53 
54 template<class Type>
56 :
57  public fv::d2dt2Scheme<Type>
58 {
59  // Private Member Functions
60 
61  //- Disallow default bitwise copy construct
63 
64  //- Disallow default bitwise assignment
65  void operator=(const steadyStateD2dt2Scheme&);
66 
67 
68 public:
69 
70  //- Runtime type information
71  TypeName("steadyState");
72 
73 
74  // Constructors
75 
76  //- Construct from mesh
78  :
79  d2dt2Scheme<Type>(mesh)
80  {}
81 
82  //- Construct from mesh and Istream
84  :
85  d2dt2Scheme<Type>(mesh, is)
86  {}
87 
88 
89  // Member Functions
90 
91  //- Return mesh reference
92  const fvMesh& mesh() const
93  {
95  }
96 
98  (
100  );
101 
103  (
104  const volScalarField&,
106  );
107 
109  (
111  );
112 
114  (
115  const dimensionedScalar&,
117  );
118 
120  (
121  const volScalarField&,
123  );
124 };
125 
126 
127 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
128 
129 } // End namespace fv
130 
131 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
132 
133 } // End namespace Foam
134 
135 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
136 
137 #ifdef NoRepository
138  #include "steadyStateD2dt2Scheme.C"
139 #endif
140 
141 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
142 
143 #endif
144 
145 // ************************************************************************* //
TypeName("steadyState")
Runtime type information.
Abstract base class for d2dt2 schemes.
Definition: d2dt2Scheme.H:64
tmp< fvMatrix< Type > > fvmD2dt2(const GeometricField< Type, fvPatchField, volMesh > &)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Definition: Istream.H:57
Generic GeometricField class.
labelList fv(nPoints)
const fvMesh & mesh() const
Return mesh reference.
Definition: d2dt2Scheme.H:135
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcD2dt2(const GeometricField< Type, fvPatchField, volMesh > &)
Mesh data needed to do the Finite Volume discretisation.
Definition: fvMesh.H:78
A class for managing temporary objects.
Definition: PtrList.H:53
const fvMesh & mesh() const
Return mesh reference.
SteadyState d2dt2 which returns 0.
Namespace for OpenFOAM.