Beispiel #1
0
    def test_with_unstructured_data(self):
        e = self.e

        # Read a AVSUCD data file.
        r = UnstructuredGridReader()
        r.initialize(get_example_data('cellsnd.ascii.inp'))
        e.add_source(r)

        self.check()
Beispiel #2
0
 def setup_reader(self):
     """"Setup the reader in here.  This is called after the engine
     has been created and started.  The engine is available as
     self.e.  This method is called by setUp().
     """
     # Read a Exodus data file.
     r = UnstructuredGridReader()
     r.initialize(get_example_data('disk_out_ref.ex2'))
     self.e.add_source(r)
Beispiel #3
0
    def test_with_unstructured_data(self):
        e = self.e

        # Read a AVSUCD data file.
        r = UnstructuredGridReader()
        r.initialize(get_example_data('cellsnd.ascii.inp'))
        e.add_source(r)

        self.check()
    def setup_reader(self):

        """"Setup the reader in here.  This is called after the engine
        has been created and started.  The engine is available as
        self.e.  This method is called by setUp().
        """
        # Read a Exodus data file.
        r = UnstructuredGridReader()
        r.initialize(get_example_data('disk_out_ref.ex2'))
        self.e.add_source(r)
Beispiel #5
0
 def setup_reader(self):
     """"Setup the reader in here.  This is called after the engine
     has been created and started.  The engine is available as
     self.e.  This method is called by setUp().
     """
     # Read a AVSUCD data file.
     r = UnstructuredGridReader()
     r.initialize(get_example_data('cellsnd.ascii.inp'))
     self.e.add_source(r)
     self.bounds = (-2.0, 2.0, -2.0, 2.0, 0.0, 0.0)
Beispiel #6
0
 def setup_reader(self):
     """"Setup the reader in here.  This is called after the engine
     has been created and started.  The engine is available as
     self.e.  This method is called by setUp().
     """
     # Read a Gambit data file.
     r = UnstructuredGridReader()
     r.initialize(get_example_data('prism.neu'))
     self.e.add_source(r)
     self.bounds = (-1.0, 1.0, -1.0, 1.0, 0.0, 1.0)
    def setup_reader(self):

        """"Setup the reader in here.  This is called after the engine
        has been created and started.  The engine is available as
        self.e.  This method is called by setUp().
        """
        # Read a AVSUCD data file.
        r = UnstructuredGridReader()
        r.initialize(get_example_data('cellsnd.ascii.inp'))
        self.e.add_source(r)
        self.bounds =(-2.0, 2.0, -2.0, 2.0, 0.0, 0.0)
    def setup_reader(self):

        """"Setup the reader in here.  This is called after the engine
        has been created and started.  The engine is available as
        self.e.  This method is called by setUp().
        """
        # Read a Gambit data file.
        r = UnstructuredGridReader()
        r.initialize(get_example_data('prism.neu'))
        self.e.add_source(r)
        self.bounds = (-1.0, 1.0, -1.0, 1.0, 0.0, 1.0)