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

Class hexCellLooper

src/dynamicMesh/meshCut/cellLooper/hexCellLooper.H:61–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59\*---------------------------------------------------------------------------*/
60
61class hexCellLooper
62:
63 public geomCellLooper
64{
65
66protected:
67
68 // Protected data
69
70 //- Reference to hex cell shape.
71 const cellModel& hex_;
72
73private:
74
75 // Private Member Functions
76
77 //- Walk across faces of hex. Update loop/loopWeights with edges cut.
78 // Return true if successful walk. (should be always!)
79 bool walkHex
80 (
81 const label celli,
82 const label startFacei,
83 const label startEdgeI,
84
85 labelList& loop,
86 scalarField& loopWeights
87 ) const;
88
89 //- Convert loop into face and points
90 void makeFace
91 (
92 const labelList& loop,
93 const scalarField& loopWeights,
94
95 labelList& faceVerts,
96 pointField& facePoints
97 ) const;
98
99
100 //- Disallow default bitwise copy construct
101 hexCellLooper(const hexCellLooper&);
102
103 //- Disallow default bitwise assignment
104 void operator=(const hexCellLooper&);
105
106
107public:
108
109 //- Runtime type information
110 TypeName("hexCellLooper");
111
112
113 // Constructors
114
115 //- Construct from components
116 hexCellLooper(const polyMesh& mesh);
117
118

Callers 3

hexCellLooper.CFile · 0.85
cutFunction · 0.85
refineFromDictFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected