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-------------------------------------------------------------------------------
10License
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
26Class
27 Foam::procLduInterface
28
29Description
30 IO interface for processorLduInterface
31
32SourceFiles
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
45namespace Foam
46{
47
48class lduInterfaceField;
49
50
51// Forward declaration of friend functions and operators
52
53class procLduInterface;
54
55Ostream& operator<<(Ostream&, const procLduInterface&);
56
57
58/*---------------------------------------------------------------------------*\
59 Class procLduInterface Declaration
60\*---------------------------------------------------------------------------*/
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
80public:
82 friend class LUscalarMatrix;
83
84
85 // Constructors
86
88 (
90 const scalarField& coeffs
91 );
92
96 {
98 return nullptr;
99 }
102 {
104 }
105
106
107 // Ostream operator
109 friend Ostream& operator<<(Ostream&, const procLduInterface&);
110};
111
112
113// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
114
115} // End namespace Foam
116
117// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
118
119#endif
120
121// ************************************************************************* //
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Definition: Istream.H:64
Class to perform the LU decomposition on a symmetric matrix.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Definition: Ostream.H:62
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
Definition: Time.C:717
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Definition: autoPtr.H:66
An abstract base class for implicitly-coupled interface fields e.g. processor and cyclic patch fields...
IO interface for processorLduInterface.
autoPtr< procLduInterface > clone()
friend Ostream & operator<<(Ostream &, const procLduInterface &)
static autoPtr< procLduInterface > New(Istream &is)
#define NotImplemented
Issue a FatalErrorIn for a function not currently implemented.
Definition: error.H:517
Namespace for OpenFOAM.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Definition: boundaryPatch.C:83
interfaceProperties interface(alpha1, U, thermo->transportPropertiesDict())