facD2dt2.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | www.openfoam.com
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8  Copyright (C) 2017 Volkswagen AG
9 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM.
12 
13  OpenFOAM is free software: you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 
26 Namespace
27  fac
28 
29 Description
30  Calculate the second temporal derivative.
31 
32 SourceFiles
33  facD2dt2.C
34 
35 \*---------------------------------------------------------------------------*/
36 
37 
38 #ifndef facD2dt2_H
39 #define facD2dt2_H
40 
41 #include "areaFieldsFwd.H"
42 #include "edgeFieldsFwd.H"
43 #include "dimensionedTypes.H"
44 
45 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46 
47 namespace Foam
48 {
49 
50 /*---------------------------------------------------------------------------*\
51  Namespace fac functions Declaration
52 \*---------------------------------------------------------------------------*/
53 
54 namespace fac
55 {
56  template<class Type>
57  tmp<GeometricField<Type, faPatchField, areaMesh>> d2dt2
58  (
59  const dimensioned<Type>,
60  const faMesh&
61  );
62 
63  template<class Type>
64  tmp<GeometricField<Type, faPatchField, areaMesh>> d2dt2
65  (
66  const GeometricField<Type, faPatchField, areaMesh>&
67  );
68 
69  template<class Type>
70  tmp<GeometricField<Type, faPatchField, areaMesh>> d2dt2
71  (
72  const dimensionedScalar&,
73  const GeometricField<Type, faPatchField, areaMesh>&
74  );
75 
76  template<class Type>
77  tmp<GeometricField<Type, faPatchField, areaMesh>> d2dt2
78  (
79  const areaScalarField&,
80  const GeometricField<Type, faPatchField, areaMesh>&
81  );
82 }
83 
84 
85 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
86 
87 } // End namespace Foam
88 
89 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
90 
91 #ifdef NoRepository
92 # include "facD2dt2.C"
93 #endif
94 
95 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
96 
97 #endif
98 
99 // ************************************************************************* //
Foam::fac::d2dt2
tmp< GeometricField< Type, faPatchField, areaMesh > > d2dt2(const dimensioned< Type > dt, const faMesh &mesh)
Definition: facD2dt2.C:46
facD2dt2.C
areaFieldsFwd.H
Forwards and collection of common area field types.
Foam::dimensionedScalar
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Definition: dimensionedScalarFwd.H:42
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::areaScalarField
GeometricField< scalar, faPatchField, areaMesh > areaScalarField
Definition: areaFieldsFwd.H:53
fac
Calculate the second temporal derivative.
dimensionedTypes.H
edgeFieldsFwd.H
Forwards for edge field types.