| /petsc/config/ |
| H A D | report_tests.py | 139 pkgname = testname_list[0] 168 classname = pkgname 172 if pkgname not in testdata.keys(): 173 testdata[pkgname] = { 184 testdata[pkgname]['problems'][probname] = { 201 testdata[pkgname]['problems'][probname][l[0]] = float(l[1]) 202 testdata[pkgname][l[0]] += float(l[1]) 203 elif l[0] in testdata[pkgname].keys(): 206 testdata[pkgname][l[0]] += num_int 209 if len(testdata[pkgname]['problems'][probname]['stderr'])>0: [all …]
|
| /petsc/lib/petsc/bin/ |
| H A D | generatefortranbindings.py | 45 def generateFortranInterface(pkgname, petscarch, classes, enums, structs, senums, funname, mpi_f08,… argument 70 if not file.startswith(pkgname): file = pkgname + file 81 …with open(os.path.join(petscarch, 'include', pkgname, 'finclude', file.replace('.h90', '.h')),'a')… 185 def generateCStub(pkgname,petscarch,manualstubsfound,senums,classes,structs,funname,fun): argument 241 fd.write('#include <' + pkgname + fun.mansec + '.h>\n') 242 fd.write('#include <' + pkgname + fun.includefile.replace(pkgname,'') + '>\n') 264 fd.write(pkgname.upper() + '_EXTERN void ' + (funname + suffix).lower() + '_(') 505 pkgname = 'slepc' if slepcdir else 'petsc' 539 dir = os.path.join(petscarch,'include', pkgname, 'finclude') 540 skipinc = [pkgname + 'version.h'] [all …]
|
| H A D | getAPI.py | 226 def getIncludeFiles(filename,pkgname): argument 242 …if not line == file and os.path.isfile(os.path.join('include',line)) or (pkgname == 'slepc' and li… 431 def getpossiblefunctions(pkgname): argument 434 …output = check_output('grep -F -e "' + pkgname.upper() + '_EXTERN PetscErrorCode" -e "static inlin… 437 …funs = output.replace('' + pkgname.upper() + '_EXTERN','').replace('PetscErrorCode','').replace('s… 445 …output = check_output('grep "' + pkgname.upper() + '_EXTERN [a-zA-Z]* *[a-zA-Z]*;" include/*.h', s… 448 funs = output.replace('' + pkgname.upper() + '_EXTERN','') 639 def getAPI(directory,pkgname = 'petsc',verbose = False): argument 643 getIncludeFiles(i,pkgname) 679 functiontoinclude = getpossiblefunctions(pkgname) [all …]
|
| /petsc/config/BuildSystem/config/packages/ |
| H A D | opencascade.py | 15 self.pkgname = 'opencascade' 30 raise RuntimeError("%s requires a C++ compiler\n" % self.pkgname)
|
| H A D | scikit_build_core.py | 6 self.pkgname = 'scikit_build_core'
|
| H A D | pybind11.py | 6 self.pkgname = 'pybind11'
|
| H A D | Cython.py | 6 self.pkgname = 'cython'
|
| H A D | nanobind.py | 6 self.pkgname = 'nanobind'
|
| H A D | pyvista.py | 6 self.pkgname = 'pyvista'
|
| H A D | libsupermesh.py | 6 self.pkgname = 'libsupermesh'
|
| H A D | cffi.py | 6 self.pkgname = 'cffi'
|
| H A D | rtree.py | 6 self.pkgname = 'rtree'
|
| H A D | bempp-cl.py | 6 self.pkgname = 'bempp-cl'
|
| H A D | pathspec.py | 6 self.pkgname = 'pathspec'
|
| H A D | X.py | 11 self.pkgname = 'x11'
|
| H A D | fenics-ufl.py | 7 self.pkgname = 'fenics_ufl'
|
| H A D | fenics_ffcx.py | 6 self.pkgname = 'fenics_ffcx'
|
| H A D | mpfr.py | 11 self.pkgname = 'mpfr-3.1.5'
|
| H A D | fenics-basix.py | 13 self.pkgname = 'basix'
|
| H A D | googletest.py | 11 self.pkgname = 'googletest'
|
| H A D | Eigen.py | 16 self.pkgname = 'eigen3'
|
| H A D | fftw.py | 12 self.pkgname = 'fftw3'
|
| H A D | SuiteSparse.py | 22 self.pkgname = 'SPQR UMFPACK KLU CHOLMOD AMD'
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | runtests.py | 211 def import_package(options, pkgname): argument 218 package = __import__(pkgname) 298 pkgname = '%s4py' % components[-1].lower() 303 import_package(options, pkgname)
|
| /petsc/src/binding/petsc4py/conf/ |
| H A D | confpetsc.py | 157 pkgname = re.compile(r'cython(\.|$)', re.IGNORECASE) 159 if pkgname.match(modname): 673 pkgname = self.distribution.get_name() 675 srcdir = Path(__file__).parent.parent / 'src' / pkgname 676 blddir = Path(self.build_lib) / pkgname 789 pkgname = self.distribution.get_name() 791 outputs.append(os.path.join(self.build_lib, pkgname, f"{modname}.pyi"))
|