[pyfr] 41/88: Cleanups.

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Nov 16 12:05:28 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository pyfr.

commit fb5ac7540d557175dc3fabd1e91620d03ed83423
Author: Freddie Witherden <freddie at witherden.org>
Date:   Mon May 23 13:39:30 2016 +0100

    Cleanups.
---
 pyfr/readers/cgns.py | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/pyfr/readers/cgns.py b/pyfr/readers/cgns.py
index dfb6e90..be7932e 100644
--- a/pyfr/readers/cgns.py
+++ b/pyfr/readers/cgns.py
@@ -47,10 +47,6 @@ class CGNSWrappers(object):
         lib.cg_close.argtypes = [c_int]
         lib.cg_close.errcheck = self._errcheck
 
-        # cg_nbases
-        lib.cg_nbases.argtypes = [c_int, POINTER(c_int)]
-        lib.cg_nbases.errcheck = self._errcheck
-
         # cg_base_read
         lib.cg_base_read.argtypes = [c_int, c_int, c_char_p, POINTER(c_int),
                                      POINTER(c_int)]
@@ -129,11 +125,6 @@ class CGNSWrappers(object):
     def close(self, file):
         self.lib.cg_close(file)
 
-    def nbases(self, file):
-        nb = c_int()
-        self.lib.cg_nbases(file, nb)
-        return nb.value
-
     def base_read(self, file, idx):
         celldim, physdim = c_int(), c_int()
         name = create_string_buffer(32)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pyfr.git



More information about the debian-science-commits mailing list