MCPcopy Create free account
hub / github.com/Kitware/VTK / SetController

Method SetController

Filters/ParallelFlowPaths/vtkPStreamTracer.cxx:1184–1199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1182 }
1183
1184 void SetController(vtkMPIController* controller)
1185 {
1186 if (this->Controller != controller)
1187 {
1188 vtkMPIController* temp = this->Controller;
1189 this->Controller = controller;
1190 if (this->Controller != nullptr)
1191 {
1192 this->Controller->Register(nullptr);
1193 }
1194 if (temp != nullptr)
1195 {
1196 temp->UnRegister(nullptr);
1197 }
1198 }
1199 }
1200
1201private:
1202 ProcessLocator* Locator;

Callers 11

TaskManagerMethod · 0.95
~TaskManagerMethod · 0.95
InitializeMethod · 0.45
~ProcessLocatorMethod · 0.45
vtkPStreamTracerMethod · 0.45
~vtkPStreamTracerMethod · 0.45
MyMainFunction · 0.45
TestPStreamAMRFunction · 0.45

Calls 2

RegisterMethod · 0.45
UnRegisterMethod · 0.45

Tested by 3

MyMainFunction · 0.36
TestPStreamAMRFunction · 0.36