PCGgpu.C
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  Copyright : (C) 2011 Symscape
3  Website : www.symscape.com
4 -------------------------------------------------------------------------------
5 License
6  This file is part of OpenFOAM.
7 
8  OpenFOAM is free software: you can redistribute it and/or modify it
9  under the terms of the GNU General Public License as published by
10  the Free Software Foundation, either version 3 of the License, or
11  (at your option) any later version.
12 
13  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
14  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16  for more details.
17 
18  You should have received a copy of the GNU General Public License
19  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
20 
21 \*---------------------------------------------------------------------------*/
22 
23 #include "PCGgpu.H"
24 
25 // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
26 
27 namespace Foam
28 {
29  defineTypeNameAndDebug(PCGgpu, 0);
30 
31  lduMatrix::solver::addsymMatrixConstructorToTable<PCGgpu>
33 }
34 
35 
36 // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
37 
39 (
40  const word& fieldName,
41  const lduMatrix& matrix,
42  const FieldField<Field, scalar>& interfaceBouCoeffs,
43  const FieldField<Field, scalar>& interfaceIntCoeffs,
44  const lduInterfaceFieldPtrsList& interfaces,
45  const dictionary& solverControls
46 )
47 :
48  PCG
49  (
50  fieldName,
51  matrix,
52  interfaceBouCoeffs,
53  interfaceIntCoeffs,
54  interfaces,
55  solverControls
56  )
57 {}
58 
59 // ************************************************************************* //
Foam::PCGgpu::PCGgpu
PCGgpu(const PCGgpu &)
Disallow default bitwise copy construct.
Foam::lduInterfaceFieldPtrsList
UPtrList< const lduInterfaceField > lduInterfaceFieldPtrsList
List of coupled interface fields to be used in coupling.
Definition: lduInterfaceFieldPtrsList.H:42
Foam::addPCGgpuAsymMatrixConstructorToTable_
lduMatrix::solver::addsymMatrixConstructorToTable< PCGgpu > addPCGgpuAsymMatrixConstructorToTable_
Definition: PCGgpu.C:35
Foam
Namespace for OpenFOAM.
Definition: combustionModel.C:30
PCGgpu.H
Foam::defineTypeNameAndDebug
defineTypeNameAndDebug(combustionModel, 0)