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

Function combine

src/meshTools/sets/pointSources/faceToPoint/faceToPoint.C:65–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63// * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * //
64
65void Foam::faceToPoint::combine(topoSet& set, const bool add) const
66{
67 // Load the set
68 faceSet loadedSet(mesh_, setName_);
69
70 // Add all points from faces in loadedSet
71 forAllConstIter(faceSet, loadedSet, iter)
72 {
73 const face& f = mesh_.faces()[iter.key()];
74
75 forAll(f, fp)
76 {
77 addOrDelete(set, f[fp], add);
78 }
79 }
80}
81
82
83// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //

Callers 2

faceToPoint.CFile · 0.70
ifFunction · 0.70

Calls 5

addOrDeleteFunction · 0.85
forAllConstIterFunction · 0.50
forAllFunction · 0.50
facesMethod · 0.45
keyMethod · 0.45

Tested by

no test coverage detected