MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / meshToMesh0

Class meshToMesh0

src/sampling/meshToMesh0/meshToMesh0.H:64–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62\*---------------------------------------------------------------------------*/
63
64class meshToMesh0
65{
66 // Private data
67
68 // mesh references
69
70 const fvMesh& fromMesh_;
71 const fvMesh& toMesh_;
72
73 //- fromMesh patch labels
74 HashTable<label> fromMeshPatches_;
75
76 //- toMesh patch labels
77 HashTable<label> toMeshPatches_;
78
79 //- Patch map
80 HashTable<word> patchMap_;
81
82 //- toMesh patch labels which cut the from-mesh
83 HashTable<label> cuttingPatches_;
84
85 //- Cell addressing
86 labelList cellAddressing_;
87
88 //- Boundary addressing
89 labelListList boundaryAddressing_;
90
91 //- Inverse-distance interpolation weights
92 mutable scalarListList* inverseDistanceWeightsPtr_;
93
94 //- Inverse-volume interpolation weights
95 mutable scalarListList* inverseVolumeWeightsPtr_;
96
97 //- Cell to cell overlap addressing
98 mutable labelListList* cellToCellAddressingPtr_;
99
100 //- Overlap volume
101 mutable scalar V_;
102
103
104 // Private Member Functions
105
106 void calcAddressing();
107
108 void cellAddresses
109 (
110 labelList& cells,
111 const pointField& points,
112 const fvMesh& fromMesh,
113 const List<bool>& boundaryCell,
114 const indexedOctree<treeDataCell>& oc
115 ) const;
116
117 void calculateInverseDistanceWeights() const;
118
119 void calculateInverseVolumeWeights() const;
120
121 void calculateCellToCellAddressing() const;

Callers 1

meshToMesh0.CFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected