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

Function cut

src/dynamicMesh/meshCut/cellLooper/geomCellLooper.C:228–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
227
228bool Foam::geomCellLooper::cut
229(
230 const vector& refDir,
231 const label celli,
232 const boolList& vertIsCut,
233 const boolList& edgeIsCut,
234 const scalarField& edgeWeight,
235
236 labelList& loop,
237 scalarField& loopWeights
238) const
239{
240 // Cut through cell centre normal to refDir.
241 return cut
242 (
243 plane(mesh().cellCentres()[celli], refDir),
244 celli,
245 vertIsCut,
246 edgeIsCut,
247 edgeWeight,
248 loop,
249 loopWeights
250 );
251}
252
253
254bool Foam::geomCellLooper::cut

Callers

nothing calls this directly

Calls 15

meshFunction · 0.85
minEdgeLenFunction · 0.85
cutEdgeFunction · 0.85
findIndexFunction · 0.85
getBaseFunction · 0.85
pseudoAngleFunction · 0.85
edgeEndsCutFunction · 0.85
shrinkMethod · 0.80
planeClass · 0.70
forAllFunction · 0.50
magClass · 0.50
pointsMethod · 0.45

Tested by

no test coverage detected