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

Method SetPhaseShift

IO/NetCDF/vtkSLACReader.cxx:1110–1118  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1108
1109//------------------------------------------------------------------------------
1110void vtkSLACReader::SetPhaseShift(int index, double scale)
1111{
1112 if ((index < 0) || (static_cast<size_t>(index) >= this->Internal->PhaseShifts.size()))
1113 {
1114 vtkErrorMacro(<< "Bad mode index: " << index);
1115 }
1116
1117 this->Internal->PhaseShifts[index] = scale;
1118}
1119
1120//------------------------------------------------------------------------------
1121vtkDoubleArray* vtkSLACReader::GetPhaseShifts()

Callers 1

SLACMultipleModesFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected