예제 #1
0
    def setUp(self):
        """
        Loads an Exodus file in the VTKWindowWidget object using a structure similar to the ExodusViewer widget.
        """
        self._widget, self._main_window = main(size=[600,600])
        self._window = self._widget.VTKWindowPlugin
        self._widget.FilePlugin.onSetFilenames(self._filenames)

        # Start with 'diffused' variable
        self._widget.FilePlugin.VariableList.setCurrentIndex(2)
        self._widget.FilePlugin.VariableList.currentIndexChanged.emit(2)
예제 #2
0
    def setUp(self):
        """
        Loads an Exodus file in the VTKWindowWidget object using a structure similar to the ExodusViewer widget.
        """
        self._widget = main(size=[600,600])
        self._window = self._widget.VTKWindowPlugin
        self._widget.FilePlugin.onSetFilenames(self._filenames)

        # Start with 'diffused' variable
        self._widget.VariablePlugin.VariableList.setCurrentIndex(2)
        self._widget.VariablePlugin.VariableList.currentIndexChanged.emit(2)