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

Method ConnectAutoUpdate

comp/gridfunction.cpp:131–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129
130
131 void GridFunction :: ConnectAutoUpdate()
132 {
133 // if (this->weak_from_this().expired())
134 // throw Exception("Given pointer is not managed by a shared ptr.");
135 if (this->DoesAutoUpdate())
136 this->GetFESpace()->updateSignal.Connect(this, [this](){ this->Update(); });
137 }
138
139
140 void GridFunction :: DoArchive (Archive & archive)

Callers

nothing calls this directly

Calls 2

GetFESpaceMethod · 0.80
UpdateMethod · 0.45

Tested by

no test coverage detected