Home
last modified time | relevance | path

Searched refs:ext (Results 1 – 25 of 39) sorted by relevance

12

/petsc/src/ts/impls/eimex/
H A Deimex.c34 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 Dtaucc.py82 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 DPetscBinaryIO.py502 ext = os.path.splitext(infile)[1]
503 if ext in ('.mtx', '.npz'):
504 if ext == '.mtx':
/petsc/src/sys/classes/draw/utils/
H A Dimage.c320 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 Ddsave.c284 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 Dpython.py72 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 Dfunctions.py72 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 Dsetup.py203 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 DC.py22 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 DCxx.py34 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 DCUDA.py35 base, ext = os.path.splitext(source)
36 if ext == '.h':
H A DHC.py35 base, ext = os.path.splitext(source)
36 if ext == '.h':
H A DFC.py31 base, ext = os.path.splitext(source)
82 base, ext = os.path.splitext(source)
/petsc/src/binding/petsc4py/conf/
H A Dconfpetsc.py297 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 Dexampleslog.py61 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 Dtestharness_util.py49 ext=os.path.splitext(exfile)[1]
50 if ext[1:] not in ['c','cxx','cpp','cu','F90','F']: continue
/petsc/config/
H A Dquery_tests.py45 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 Dinstall.py394 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 Dmake_links_relative.py6 from ext.html5_petsc import PETSC_DOC_OUT_ROOT_PLACEHOLDER
H A Dbuild_man_index.py56 func_name,ext = posixpath.splitext(name)
199 func_name,ext = posixpath.splitext(name)
/petsc/config/BuildSystem/
H A Dretrieval.py179 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 Diosbuilder.py125 ext = os.path.splitext(f)[1]
126 if ext == '.c':
129 if ext == '.h':
/petsc/src/ksp/ksp/tutorials/output/
H A Dex55_hypre_device_alt.out49 Interpolation type ext+i
H A Dex55_hypre_device.out51 Interpolation type ext+i
H A Dex49_hypre_nullspace_alt.out42 Interpolation type ext+i

12