Commit 31af3dd1 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Kitware Robot

Merge topic '0015321_fix_mode_shape'

27984c3d BUG #15321: Fix mode_shape array.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: Berk Geveci's avatarBerk Geveci <berk.geveci@kitware.com>
Merge-request: !305
parents c0e74ef0 27984c3d
......@@ -1015,7 +1015,8 @@ int vtkExodusIIReaderPrivate::AssembleOutputGlobalArrays(
dataIndexArray->SetName("mode_shape");
dataIndexArray->SetNumberOfComponents(1);
dataIndexArray->SetNumberOfTuples(1);
dataIndexArray->SetValue(0, timeStep);
// mode-shape == (timestep + 1). See vtkExodusIIReader::SetModeShape().
dataIndexArray->SetValue(0, (timeStep + 1));
ofieldData->AddArray(dataIndexArray.GetPointer());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment