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

Method SetPartArrayStatus

IO/Exodus/vtkExodusIIReader.cxx:6189–6201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6187}
6188
6189void vtkExodusIIReader::SetPartArrayStatus(int index, int flag)
6190{
6191 // Only modify if we are 'out of sync'
6192 if (this->Metadata->GetPartStatus(index) != flag)
6193 {
6194 this->Metadata->SetPartStatus(index, flag);
6195
6196 // Because which parts are on/off affects the
6197 // geometry we need to remake the mesh cache
6198 // this->RemakeDataCacheFlag = 1;
6199 this->Modified();
6200 }
6201}
6202
6203void vtkExodusIIReader::SetPartArrayStatus(const char* name, int flag)
6204{

Callers 1

SetAllArrayStatusMethod · 0.95

Calls 3

GetPartStatusMethod · 0.80
SetPartStatusMethod · 0.80
ModifiedMethod · 0.45

Tested by

no test coverage detected