MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / Update

Method Update

comp/globalinterfacespace.cpp:367–382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365 }
366
367 void Update() override
368 {
369 GlobalInterfaceSpace::Update();
370
371 nitsche_facet.SetSize(ma->GetNNodes(NT_FACET));
372 nitsche_facet = false;
373
374 if(definedon[BND].Size() == 0)
375 nitsche_facet = true;
376 else
377 {
378 for (auto el : ma->Elements(BND))
379 if(definedon[BND][el.GetIndex()])
380 nitsche_facet[el.Facets()] = true;
381 }
382 }
383
384 void GetDofNrs (ElementId ei, Array<DofId> & dofs) const override
385 {

Callers

nothing calls this directly

Calls 5

ElementsMethod · 0.80
FacetsMethod · 0.80
UpdateFunction · 0.70
SetSizeMethod · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected