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 Foam_procLduInterface_H
38 #define Foam_procLduInterface_H
39 
40 #include "labelList.H"
41 #include "scalarField.H"
42 
43 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44 
45 namespace Foam
46 {
47 
48 // Forward Declarations
49 class lduInterfaceField;
50 class procLduInterface;
51 
52 Ostream& operator<<(Ostream&, const procLduInterface&);
53 
54 /*---------------------------------------------------------------------------*\
55  Class procLduInterface Declaration
56 \*---------------------------------------------------------------------------*/
57 
58 class procLduInterface
59 {
60  // Private Data
61 
62  labelList faceCells_;
63  scalarField coeffs_;
64  label myProcNo_;
65  label neighbProcNo_;
66  label tag_;
67  label comm_;
68 
69 public:
70 
71  friend class LUscalarMatrix;
72 
73 
74  // Generated Methods
75 
76  //- No copy construct
77  procLduInterface(const procLduInterface&) = delete;
78 
79 
80  // Constructors
81 
83  (
85  const scalarField& coeffs
86  );
87 
89 
91  {
93  return nullptr;
94  }
95 
97  {
99  }
100 
101 
102  // Ostream Operator
103 
104  friend Ostream& operator<<(Ostream&, const procLduInterface&);
105 };
106 
107 
108 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
109 
110 } // End namespace Foam
111 
112 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
113 
114 #endif
115 
116 // ************************************************************************* //
IO interface for processorLduInterface.
Class to perform the LU decomposition on a symmetric matrix.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Definition: Istream.H:57
interfaceProperties interface(alpha1, U, thermo->transportPropertiesDict())
An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields...
friend Ostream & operator<<(Ostream &, const procLduInterface &)
autoPtr< procLduInterface > clone()
procLduInterface(const procLduInterface &)=delete
No copy construct.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Definition: boundaryPatch.C:77
static autoPtr< procLduInterface > New(Istream &is)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Definition: HashPtrTable.H:48
static autoPtr< T > New(Args &&... args)
Construct autoPtr with forwarding arguments.
Definition: autoPtr.H:178
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
Definition: error.H:686
Namespace for OpenFOAM.