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

Function clearAddressing

src/dynamicMesh/attachDetach/attachDetach.C:224–318  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

222
223
224void Foam::attachDetach::clearAddressing() const
225{
226 deleteDemandDrivenData(pointMatchMapPtr_);
227}
228
229
230// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
231
232// Construct from components
233Foam::attachDetach::attachDetach
234(
235 const word& name,
236 const label index,
237 const polyTopoChanger& mme,
238 const word& faceZoneName,
239 const word& masterPatchName,
240 const word& slavePatchName,
241 const scalarField& triggerTimes,
242 const bool manualTrigger
243)
244:
245 polyMeshModifier(name, index, mme, true),
246 faceZoneID_(faceZoneName, mme.mesh().faceZones()),
247 masterPatchID_(masterPatchName, mme.mesh().boundaryMesh()),
248 slavePatchID_(slavePatchName, mme.mesh().boundaryMesh()),
249 triggerTimes_(triggerTimes),
250 manualTrigger_(manualTrigger),
251 triggerIndex_(0),
252 state_(UNKNOWN),
253 trigger_(false),
254 pointMatchMapPtr_(nullptr)
255{
256 checkDefinition();
257}
258
259
260// Construct from components
261Foam::attachDetach::attachDetach
262(
263 const word& name,
264 const dictionary& dict,
265 const label index,
266 const polyTopoChanger& mme
267)
268:
269 polyMeshModifier(name, index, mme, Switch(dict.lookup("active"))),
270 faceZoneID_
271 (
272 dict.lookup("faceZoneName"),
273 mme.mesh().faceZones()
274 ),
275 masterPatchID_
276 (
277 dict.lookup("masterPatchName"),
278 mme.mesh().boundaryMesh()
279 ),
280 slavePatchID_
281 (

Callers 6

setRefinementFunction · 0.70
updateMeshFunction · 0.70
setRefinementFunction · 0.50
updateMeshFunction · 0.50
setLayerPairing.CFile · 0.50

Calls 5

polyMeshModifierClass · 0.85
boundaryMeshClass · 0.85
lookupFunction · 0.85
SwitchClass · 0.50
attachedFunction · 0.50

Tested by

no test coverage detected