All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
meshToMeshI.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2012-2018 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
11  OpenFOAM is free software: you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 \*---------------------------------------------------------------------------*/
25 
26 #include "meshToMesh.H"
27 
28 // * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * //
29 
31 {
32  return srcRegion_;
33 }
34 
35 
37 {
38  return tgtRegion_;
39 }
40 
41 
42 inline const Foam::labelListList&
44 {
45  return srcToTgtCellAddr_;
46 }
47 
48 
49 inline const Foam::labelListList&
51 {
52  return tgtToSrcCellAddr_;
53 }
54 
55 
56 inline const Foam::scalarListList&
58 {
59  return srcToTgtCellWght_;
60 }
61 
62 
63 inline const Foam::scalarListList&
65 {
66  return tgtToSrcCellWght_;
67 }
68 
69 
70 inline Foam::scalar Foam::meshToMesh::V() const
71 {
72  return V_;
73 }
74 
75 
77 Foam::meshToMesh::patchAMIs() const
78 {
79  return patchAMIs_;
80 }
81 
82 
83 // ************************************************************************* //
const polyMesh & srcRegion() const
Return const access to the source mesh.
Definition: meshToMeshI.H:30
const labelListList & srcToTgtCellAddr() const
Return const access to the source to target cell addressing.
Definition: meshToMeshI.H:43
scalar V() const
Return const access to the overlap volume.
Definition: meshToMeshI.H:70
const labelListList & tgtToSrcCellAddr() const
Return const access to the target to source cell addressing.
Definition: meshToMeshI.H:50
const scalarListList & srcToTgtCellWght() const
Return const access to the source to target cell weights.
Definition: meshToMeshI.H:57
Mesh consisting of general polyhedral cells.
Definition: polyMesh.H:74
const polyMesh & tgtRegion() const
Return const access to the target mesh.
Definition: meshToMeshI.H:36
const scalarListList & tgtToSrcCellWght() const
Return const access to the target to source cell weights.
Definition: meshToMeshI.H:64