| /petsc/src/ts/impls/eimex/ |
| H A D | eimex.c | 34 TS_EIMEX *ext = (TS_EIMEX *)ts->data; in TSEvaluateStep_EIMEX() local 35 const PetscInt ns = ext->nstages; in TSEvaluateStep_EIMEX() 38 PetscCall(VecCopy(ext->T[Map(ext->row_ind, ext->col_ind, ns)], X)); in TSEvaluateStep_EIMEX() 44 TS_EIMEX *ext = (TS_EIMEX *)ts->data; in TSStage_EIMEX() local 46 Vec Y = ext->Y, Z = ext->Z; in TSStage_EIMEX() 54 h = ts->time_step / ext->N[istage]; /* step size for the istage-th stage */ in TSStage_EIMEX() 55 ext->shift = 1. / h; in TSStage_EIMEX() 57 PetscCall(VecCopy(ext->VecSolPrev, Y)); /* Take the previous solution as initial step */ in TSStage_EIMEX() 59 for (i = 0; i < ext->N[istage]; i++) { in TSStage_EIMEX() 60 ext->ctime = ts->ptime + h * i; in TSStage_EIMEX() [all …]
|
| /petsc/lib/petsc/bin/ |
| H A D | taucc.py | 82 filename,ext = os.path.splitext(arg) 85 if ext == '.c' or ext == '.cc' or ext == '.cpp' or ext == '.cxx' or ext == '.C': 123 root,ext = os.path.splitext(sourcefile) 127 if ext == '.c': pdt_file = root+ '.pdb' 130 if ext == '.cc' or ext == '.cpp' or ext == '.cxx' or ext == '.C' : pdt_file = root+ '.pdb' 132 tau_file = root +'.inst' + ext
|
| H A D | PetscBinaryIO.py | 502 ext = os.path.splitext(infile)[1] 503 if ext in ('.mtx', '.npz'): 504 if ext == '.mtx':
|
| /petsc/src/sys/classes/draw/utils/ |
| H A D | image.c | 320 PetscErrorCode PetscDrawImageCheckFormat(const char *ext[]) in PetscDrawImageCheckFormat() argument 327 PetscAssertPointer(ext, 1); in PetscDrawImageCheckFormat() 328 if (!*ext || !**ext) { in PetscDrawImageCheckFormat() 329 *ext = PetscDrawImageSaveTable[0].extension; in PetscDrawImageCheckFormat() 333 PetscAssertPointer(*ext, 1); in PetscDrawImageCheckFormat() 335 PetscCall(PetscStrcasecmp(*ext, PetscDrawImageSaveTable[k].extension, &match)); in PetscDrawImageCheckFormat() 338 …not supported, use .ppm or see PetscDrawSetSave() for what ./configure option you may need", *ext); in PetscDrawImageCheckFormat() 341 PetscErrorCode PetscDrawImageSave(const char basename[], const char ext[], unsigned char palette[][… in PetscDrawImageSave() argument 349 if (ext) PetscAssertPointer(ext, 2); in PetscDrawImageSave() 353 PetscCall(PetscDrawImageCheckFormat(&ext)); in PetscDrawImageSave() [all …]
|
| /petsc/src/sys/classes/draw/interface/ |
| H A D | dsave.c | 284 char *ext; member 298 PetscCall(PetscFree(image->ext)); in PetscImageListDestroy() 305 static PetscErrorCode PetscImageListAdd(const char filename[], const char ext[], PetscInt count) in PetscImageListAdd() argument 333 PetscCall(PetscStrallocpy(ext, &image->ext)); in PetscImageListAdd() 350 const char *ext = image->ext; in PetscDrawSave_SAWs() local 352 … PetscCall(PetscSNPrintf(body + len, 4086 - len, "<img src=\"%s%s\" alt=\"None\">", name, ext)); in PetscDrawSave_SAWs() 354 …f(body + len, 4086 - len, "<img src=\"%s/%s_%d%s\" alt=\"None\">", name, name, image->count, ext)); in PetscDrawSave_SAWs()
|
| /petsc/config/BuildSystem/config/ |
| H A D | python.py | 72 ext = sysconfig.get_config_var('SO') 73 if os.path.isfile(lib.split(ext)[0]+ext): 74 lib = lib.split(ext)[0]+ext
|
| H A D | functions.py | 72 root,ext=os.path.splitext(library) 73 if library.strip()[0] == '-' or ext == '.a' or ext == '.so' or ext == '.o':
|
| /petsc/src/binding/petsc4py/ |
| H A D | setup.py | 203 ext = { 218 return [ext] 287 ext_modules = [conf.Extension(**ext) for ext in extensions()] 296 for ext in ext_modules: 297 ext.define_macros.extend(defines) 298 ext.py_limited_api = True
|
| /petsc/config/BuildSystem/config/compile/ |
| H A D | C.py | 22 ext = '.obj' 24 ext = '.o' 25 config.compile.processor.Processor.__init__(self, argDB, 'CC', 'CFLAGS', '.c', ext) 41 base, ext = os.path.splitext(source) 42 if ext == '.h': 100 base, ext = os.path.splitext(source) 154 base, ext = os.path.splitext(basename) 194 base, ext = os.path.splitext(basename) 248 base, ext = os.path.splitext(basename)
|
| H A D | Cxx.py | 34 base, ext = os.path.splitext(source) 35 if ext in ['.h', '.hh']: 94 base, ext = os.path.splitext(source) 149 base, ext = os.path.splitext(basename)
|
| H A D | CUDA.py | 35 base, ext = os.path.splitext(source) 36 if ext == '.h':
|
| H A D | HC.py | 35 base, ext = os.path.splitext(source) 36 if ext == '.h':
|
| H A D | FC.py | 31 base, ext = os.path.splitext(source) 82 base, ext = os.path.splitext(source)
|
| /petsc/src/binding/petsc4py/conf/ |
| H A D | confpetsc.py | 297 def _configure_ext(self, ext, dct, append=False): argument 298 extdict = ext.__dict__ 618 def _copy_ext(self, ext): argument 619 extclass = ext.__class__ 620 fullname = self.get_ext_fullname(ext.name) 624 sources = list(ext.sources) 626 newext.__dict__.update(copy.deepcopy(ext.__dict__)) 630 def _build_ext_arch(self, ext, pkgpath, arch): argument 636 _build_ext.build_extension(self, ext) 644 def build_extension(self, ext): argument [all …]
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | exampleslog.py | 61 for ext in ['F','F90']: 62 guess=os.path.join(filedir,base+"."+ext) 65 for ext in ['c','cxx']: 66 guess=os.path.join(filedir,base+"."+ext) 71 for ext in ['F','F90']: 72 guess=os.path.join(filedir,base+"."+ext) 75 for ext in ['c','cxx']: 76 guess=os.path.join(filedir,base+"."+ext)
|
| H A D | testharness_util.py | 49 ext=os.path.splitext(exfile)[1] 50 if ext[1:] not in ['c','cxx','cpp','cu','F90','F']: continue
|
| /petsc/config/ |
| H A D | query_tests.py | 45 ext=os.path.splitext(maybeFile)[1] 46 if not ext: return False 47 if ext not in ['.c','.cxx','.cpp','F90','F','cu']: return False 229 ext=os.path.splitext(exfile)[1] 230 if ext[1:] not in ['c','cxx','cpp','cu','F90','F']: continue
|
| H A D | install.py | 394 libname, ext, _ = basename.partition('.so') 395 liblink = libname + ext 443 libname, ext = os.path.splitext(basename) 445 liblink = libname + ext 447 for symlink in lsdir(self.destLibDir, libname + '*' + ext):
|
| /petsc/doc/ |
| H A D | make_links_relative.py | 6 from ext.html5_petsc import PETSC_DOC_OUT_ROOT_PLACEHOLDER
|
| H A D | build_man_index.py | 56 func_name,ext = posixpath.splitext(name) 199 func_name,ext = posixpath.splitext(name)
|
| /petsc/config/BuildSystem/ |
| H A D | retrieval.py | 179 ext = os.path.splitext(localFile)[1] 180 if ext not in ['.bz2','.tbz','.gz','.tgz','.zip','.ZIP']: 209 if ext in ['.zip','.ZIP']:
|
| /petsc/systems/Apple/iOS/bin/ |
| H A D | iosbuilder.py | 125 ext = os.path.splitext(f)[1] 126 if ext == '.c': 129 if ext == '.h':
|
| /petsc/src/ksp/ksp/tutorials/output/ |
| H A D | ex55_hypre_device_alt.out | 49 Interpolation type ext+i
|
| H A D | ex55_hypre_device.out | 51 Interpolation type ext+i
|
| H A D | ex49_hypre_nullspace_alt.out | 42 Interpolation type ext+i
|