Ejemplo n.º 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()
Ejemplo n.º 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)
Ejemplo n.º 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()
Ejemplo n.º 4
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)
Ejemplo n.º 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)
Ejemplo n.º 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)
Ejemplo n.º 7
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)
Ejemplo n.º 8
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)