cyclicAMILduInterface.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) 2011-2013 OpenFOAM Foundation
9  Copyright (C) 2019 OpenCFD Ltd.
10 -------------------------------------------------------------------------------
11 License
12  This file is part of OpenFOAM.
13 
14  OpenFOAM is free software: you can redistribute it and/or modify it
15  under the terms of the GNU General Public License as published by
16  the Free Software Foundation, either version 3 of the License, or
17  (at your option) any later version.
18 
19  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22  for more details.
23 
24  You should have received a copy of the GNU General Public License
25  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26 
27 Class
28  Foam::cyclicAMILduInterface
29 
30 Description
31  An abstract base class for cyclic AMI coupled interfaces
32 
33 SourceFiles
34  cyclicAMILduInterface.C
35 
36 \*---------------------------------------------------------------------------*/
37 
38 #ifndef cyclicAMILduInterface_H
39 #define cyclicAMILduInterface_H
40 
41 #include "primitiveFieldsFwd.H"
43 
44 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
45 
46 namespace Foam
47 {
48 
49 /*---------------------------------------------------------------------------*\
50  Class cyclicAMILduInterface Declaration
51 \*---------------------------------------------------------------------------*/
52 
54 {
55 
56 public:
57 
58  //- Runtime type information
59  TypeName("cyclicAMILduInterface");
60 
61 
62  // Constructors
63 
64  //- Construct null
65  cyclicAMILduInterface() = default;
66 
67 
68  //- Destructor
69  virtual ~cyclicAMILduInterface() = default;
70 
71 
72  // Member Functions
73 
74  // Access
75 
76  //- Return neighbour
77  virtual label neighbPatchID() const = 0;
78 
79  virtual bool owner() const = 0;
80 
81  //- Return processor number
82  virtual const cyclicAMILduInterface& neighbPatch() const = 0;
83 
84  virtual const AMIPatchToPatchInterpolation& AMI() const = 0;
85 
86  //- Return face transformation tensor
87  virtual const tensorField& forwardT() const = 0;
88 
89  //- Return face reverse transformation tensor
90  virtual const tensorField& reverseT() const = 0;
91 };
92 
93 
94 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
95 
96 } // End namespace Foam
97 
98 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
99 
100 #endif
101 
102 // ************************************************************************* //
primitiveFieldsFwd.H
Forward declarations of the specialisations of Field<T> for scalar, vector and tensor.
Foam::cyclicAMILduInterface::~cyclicAMILduInterface
virtual ~cyclicAMILduInterface()=default
Destructor.
Foam::cyclicAMILduInterface
An abstract base class for cyclic AMI coupled interfaces.
Definition: cyclicAMILduInterface.H:52
Foam::cyclicAMILduInterface::TypeName
TypeName("cyclicAMILduInterface")
Runtime type information.
Foam::cyclicAMILduInterface::neighbPatchID
virtual label neighbPatchID() const =0
Return neighbour.
Foam::cyclicAMILduInterface::AMI
virtual const AMIPatchToPatchInterpolation & AMI() const =0
Foam::Field< tensor >
Foam::cyclicAMILduInterface::reverseT
virtual const tensorField & reverseT() const =0
Return face reverse transformation tensor.
Foam::cyclicAMILduInterface::neighbPatch
virtual const cyclicAMILduInterface & neighbPatch() const =0
Return processor number.
Foam::cyclicAMILduInterface::owner
virtual bool owner() const =0
AMIPatchToPatchInterpolation.H
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::AMIInterpolation
Interpolation class dealing with transfer of data between two primitive patches with an arbitrary mes...
Definition: AMIInterpolation.H:79
Foam::cyclicAMILduInterface::cyclicAMILduInterface
cyclicAMILduInterface()=default
Construct null.
Foam::cyclicAMILduInterface::forwardT
virtual const tensorField & forwardT() const =0
Return face transformation tensor.