procLduInterface.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-2016 OpenFOAM Foundation
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 Class
27  Foam::procLduInterface
28 
29 Description
30  IO interface for processorLduInterface
31 
32 SourceFiles
33  procLduInterface.C
34 
35 \*---------------------------------------------------------------------------*/
36 
37 #ifndef procLduInterface_H
38 #define procLduInterface_H
39 
40 #include "labelList.H"
41 #include "scalarField.H"
42 
43 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44 
45 namespace Foam
46 {
47 
48 class lduInterfaceField;
49 
50 
51 // Forward declaration of friend functions and operators
52 
53 class procLduInterface;
54 
55 Ostream& operator<<(Ostream&, const procLduInterface&);
56 
57 
58 /*---------------------------------------------------------------------------*\
59  Class procLduInterface Declaration
60 \*---------------------------------------------------------------------------*/
61 
62 class procLduInterface
63 {
64  // Private data
65 
66  labelList faceCells_;
67  scalarField coeffs_;
68  label myProcNo_;
69  label neighbProcNo_;
70  label tag_;
71  label comm_;
72 
73 
74  // Private Member Functions
75 
76  //- No copy construct
77  procLduInterface(const procLduInterface&) = delete;
78 
79 
80 public:
81 
82  friend class LUscalarMatrix;
83 
84 
85  // Constructors
86 
88  (
90  const scalarField& coeffs
91  );
92 
94 
96  {
98  return nullptr;
99  }
100 
102  {
104  }
105 
106 
107  // Ostream operator
108 
109  friend Ostream& operator<<(Ostream&, const procLduInterface&);
110 };
111 
112 
113 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
114 
115 } // End namespace Foam
116 
117 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
118 
119 #endif
120 
121 // ************************************************************************* //
Foam::autoPtr::New
static autoPtr< T > New(Args &&... args)
Construct autoPtr of T with forwarding arguments.
scalarField.H
interface
interfaceProperties interface(alpha1, U, thermo->transportPropertiesDict())
Foam::procLduInterface::New
static autoPtr< procLduInterface > New(Istream &is)
Definition: procLduInterface.H:100
Foam::operator<<
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Definition: boundaryPatch.C:83
NotImplemented
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
Definition: error.H:517
labelList.H
Foam::Field< scalar >
Foam::Istream
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Definition: Istream.H:61
Foam::procLduInterface
IO interface for processorLduInterface.
Definition: procLduInterface.H:61
Foam::procLduInterface::clone
autoPtr< procLduInterface > clone()
Definition: procLduInterface.H:94
Foam::LUscalarMatrix
Class to perform the LU decomposition on a symmetric matrix.
Definition: LUscalarMatrix.H:56
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::lduInterfaceField
An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields...
Definition: lduInterfaceField.H:58
Foam::autoPtr
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Definition: HashPtrTable.H:53
Foam::procLduInterface::operator<<
friend Ostream & operator<<(Ostream &, const procLduInterface &)
Foam::List< label >
Foam::Ostream
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:56