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

Method ConnectAutoUpdate

comp/fespace.cpp:2075–2093  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2073
2074
2075 void FESpace :: ConnectAutoUpdate()
2076 {
2077 /*
2078 if (this->weak_from_this().expired())
2079 throw Exception("Given pointer is not managed by a shared ptr.");
2080 if (this->DoesAutoUpdate())
2081 this->GetMeshAccess()->updateSignal.Connect(this, [this]()
2082 {
2083 this->Update();
2084 this->FinalizeUpdate();
2085 });
2086 */
2087 if (this->DoesAutoUpdate())
2088 this->GetMeshAccess()->updateSignal.Connect(this, [this]()
2089 {
2090 this->Update();
2091 this->FinalizeUpdate();
2092 });
2093 }
2094
2095 void FESpace :: SetDefinedOn (VorB vb, const BitArray & defon)
2096 {

Callers

nothing calls this directly

Calls 3

GetMeshAccessMethod · 0.80
UpdateMethod · 0.45
FinalizeUpdateMethod · 0.45

Tested by

no test coverage detected