| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | CAPI.pyx | 19 cdef api object PyPetscComm_New(MPI_Comm arg): argument 21 retv.comm = arg 24 cdef api MPI_Comm PyPetscComm_Get(object arg) except? MPI_COMM_NULL: argument 26 cdef Comm ob = <Comm?> arg 30 cdef api MPI_Comm* PyPetscComm_GetPtr(object arg) except NULL: argument 32 cdef Comm ob = <Comm?> arg 38 cdef api object PyPetscObject_New(PetscObject arg): argument 39 cdef Object retv = subtype_Object(arg)() 40 setref(&retv.obj[0], arg) 43 cdef api PetscObject PyPetscObject_Get(object arg) except ? NULL: argument [all …]
|
| H A D | cyclicgc.pxi | 37 cdef void *arg "arg" = _arg 39 <void> arg
|
| /petsc/config/BuildSystem/config/ |
| H A D | compilers.py | 238 arg = next(argIter) 239 self.logPrint( 'Checking arg '+arg, 4, 'compilers') 242 if arg.startswith('"') and arg.endswith('"'): 243 arg = arg[1:-1] 246 if arg.endswith('"') and arg[:-1].find('"') == -1: 247 arg = arg[:-1] 249 if arg == '-long_double': 251 if arg == '-lto_library': 256 if arg in ['-lasan', '-lubsan']: 260 if arg == '-L': [all …]
|
| H A D | base.py | 208 def addArgumentSubstitution(self, name, arg): argument 210 self.logPrint('Substituting "'+name+'" with '+str(arg)+'('+str(self.argDB[arg])+')') 211 self.argSubst[name] = arg 700 for arg in libArgs.split(' '): 701 if not arg: continue 702 if arg.startswith('-L'): 703 dirs.append(arg[2:]) 704 elif arg.startswith('-l'): 705 libs.append(arg[2:]) 706 elif not arg.startswith('-'): [all …]
|
| /petsc/lib/petsc/bin/ |
| H A D | taucc.py | 81 for arg in sys.argv[1:]: 82 filename,ext = os.path.splitext(arg) 83 argsplit = arg.split('=') 86 if os.path.isfile(arg): 87 sourcefiles.append(arg) 95 elif arg == '-c': 97 elif arg == '-E': 99 arglist += ' '+arg 100 elif arg == '-leave_tmp': 104 elif arg.startswith('-L') or arg.startswith('-l'): [all …]
|
| H A D | getAPI.py | 562 arg = fl.group(0) 563 arg = arg[1:-1] 578 arg = Argument() 582 if i.count("const "): arg.const = True 584 if i.find('PeOp ') > -1: arg.optional = True 588 arg.array = True 590 if i.find('*') > -1: arg.stars = 1 591 if i.find('**') > -1: arg.stars = 2 594 arg.name = argname[0] 595 if arg.name.lower() in argnames: [all …]
|
| /petsc/include/petsc/private/ |
| H A D | petscimpl.h | 431 #define PetscValidHeaderSpecificType(h, ck, arg, t) \ argument 434 PetscValidHeaderSpecific(h, ck, arg); \ 436 …Wrong subtype object:Parameter # %d must have implementation %s it is %s", arg, t, ((PetscObject)(… 439 #define PetscAssertPointer_Internal(ptr, arg, ptype, ptrtype) \ argument 441 PetscCheck(ptr, PETSC_COMM_SELF, PETSC_ERR_ARG_NULL, "Null Pointer: Parameter # %d", arg); \ 442 …PTR, "Invalid Pointer to %s: Argument '" PetscStringize(ptr) "' (parameter # %d)", ptrtype, arg); \ 445 #define PetscValidHeaderSpecific(h, ck, arg) \ argument 447 PetscAssertPointer_Internal(h, arg, PETSC_OBJECT, "PetscObject"); \ 449 …FREEDHEADER, PETSC_COMM_SELF, PETSC_ERR_ARG_CORRUPT, "Object already free: Parameter # %d", arg); \ 450 … SETERRQ(PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Wrong type of object: Parameter # %d", arg); \ [all …]
|
| /petsc/src/binding/petsc4py/conf/ |
| H A D | cyautodoc.py | 53 def _fmt_arg(self, arg): argument 55 if arg.is_self_arg: 56 doc = self._select_format(arg.name, '$self') 57 elif arg.is_type_arg: 58 doc = self._select_format(arg.name, '$type') 60 doc = arg.name 61 if arg.type is PyrexTypes.py_object_type: 64 annotation = arg.type.declaration_code('', for_display=1) 65 if arg.default and arg.default.is_none: 67 if arg.annotation: [all …]
|
| /petsc/config/BuildSystem/ |
| H A D | nargs.py | 38 def parseValue(arg): argument 41 if arg: arg = arg.strip() 42 if arg and arg[0] == '[' and arg[-1] == ']': 43 if len(arg) > 2: value = arg[1:-1].split(',') 45 elif arg and arg[0] == '{' and arg[-1] == '}': 49 while idx < len(arg)-1: 50 if arg[oldIdx] == ',': 52 while not arg[idx] == ':': idx += 1 53 key = arg[oldIdx:idx] 57 while not (arg[idx] == ',' or arg[idx] == '}') or nesting: [all …]
|
| H A D | RDict.py | 182 arg = self.send(key, operation = 'getType') 183 if not arg: 185 arg = nargs.Arg(key) 187 value = arg.getValue() 190 arg = nargs.Arg(key) 191 value = arg.getValue() 317 def insertArg(self, key, value, arg): argument 323 self.target.append(arg) 325 self.target = [arg] 332 for arg in args: [all …]
|
| /petsc/config/ |
| H A D | petsc_harness.sh | 51 -J <arg> .......... Pass -J to petscdiff (just use diff with arg) 54 -o <arg> .......... Output format: 'interactive', 'err_only' 77 while getopts "a:cCde:E:fhjJ:mMn:o:pt:UvV" arg 79 case $arg in 105 eval "$arg"=\""$OPTARG"\" 107 eval "$arg"=found
|
| /petsc/include/petsc/private/cpp/ |
| H A D | functional.hpp | 37 struct arg { struct 48 struct arg { struct 58 struct arg { struct 77 using arg_t = typename detail::func_traits_impl<decay_t<T>>::template arg<idx>::type;
|
| /petsc/doc/manualpages/doctext/ |
| H A D | nroff.def | 15 # .IX arg arg .... - index entry 16 # .SS arg - subsection heading
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/docs/ |
| H A D | _doc_section_base.py | 32 arg: str 54 prefix, arg, descr = self.split_param(text, prefixes, sep) 58 _, arg, descr = self.split_param(text, prefixes, sep) 65 arg = text.split(prefix, maxsplit=1)[1].strip() 67 arg, *rest = text.split(maxsplit=1) 73 self.arg = arg 119 arg, part_sep, descr = rest.partition(sep.join((' ', ' '))) 122 arg = rest[:-1] 124 arg, _, descr = rest.partition(sep + ' ') 126 return prefix, arg.strip(), descr.lstrip() [all …]
|
| H A D | _doc_section.py | 462 for arg in fnargs: 463 kind = self._get_deref_pointer_cursor_type(arg).kind 468 requires_c.append((arg, 'function pointer')) 634 arg, sep = descr_item.arg, descr_item.sep 635 if sep == ',' or ',' in arg: 636 sub_args = tuple(map(str.strip, arg.split(','))) 641 docstring.make_source_range(arg, descr_item.text, loc.start.line) 647 sub_args = tuple(map(str.strip, arg.split(' = '))) 651 sub_args = (arg,) 693 for i, (arg, loc) in enumerate(not_found): [all …]
|
| /petsc/src/sys/tests/ |
| H A D | ex30.c | 32 PETSC_EXTERN void *ps_tool_timer_start(void *arg) in ps_tool_timer_start() argument 34 const char *name = (const char *)arg; in ps_tool_timer_start() 41 PETSC_EXTERN void *ps_tool_timer_stop(void *arg) in ps_tool_timer_stop() argument 43 const char *name = (const char *)arg; in ps_tool_timer_stop()
|
| /petsc/src/sys/classes/viewer/impls/mathematica/ |
| H A D | runtime.c | 71 int arg; in processPacket() local 83 for (arg = 0; arg < numArguments; arg++) PetscCall(processPacket(link, indent + 4)); in processPacket()
|
| /petsc/config/BuildSystem/config/packages/ |
| H A D | sundials2.py | 78 return [arg for arg in args if not arg in ['--enable-shared']]
|
| H A D | libflame.py | 31 return [arg for arg in args if not arg in ['--enable-shared']]
|
| H A D | MPI.py | 874 arg = next(argIter) 875 self.logPrint( 'Checking arg '+arg, 4, 'compilers') 876 m = re.match(r'^-I.*$', arg) 878 self.logPrint('Found include option: '+arg, 4, 'compilers') 879 self.includepaths += arg + ' ' 889 arg = next(argIter) 890 self.logPrint( 'Checking arg '+arg, 4, 'compilers') 891 m = re.match(r'^-L.*$', arg) 893 self.logPrint('Found -L link option: '+arg, 4, 'compilers') 894 self.libpaths += arg + ' ' [all …]
|
| /petsc/src/sys/classes/draw/impls/x/ |
| H A D | ximage.c | 44 static inline int PetscDrawXiPixelToColor(PetscDraw_X *Xwin, const int arg[PETSC_DRAW_MAXCOLOR], Pe… in PetscDrawXiPixelToColor() 54 if (pix < cmap[arg[mid]]) hi = mid; in PetscDrawXiPixelToColor() 57 return arg[lo]; in PetscDrawXiPixelToColor()
|
| /petsc/src/sys/tests/linter/output/ |
| H A D | testValidFunctionDocStrings.patch | 377 + unrelated - A function arg 382 -+ unrelated - A function arg 383 +. some_function_arg - A function arg 387 + unrelated - A function arg 412 . asdasd - an arg 415 . asdasd - an arg 419 . another_arg_asd22 - another arg 432 PetscErrorCode testPredeclarationCursorIgnored(int arg, int *another_arg)
|
| /petsc/src/sys/tests/output/ |
| H A D | ex25_1.out | 28 arg(0.500000) = 0.000000
|
| /petsc/config/PETSc/options/ |
| H A D | arch.py | 109 args = dict([(nargs.Arg.parseArgument(arg)[0], arg) for arg in self.framework.clArgs])
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/ |
| H A D | _clang.py | 196 for i, (arg, expected) in enumerate(zip(args, self._function.argtypes)): 197 if type(arg) != expected:
|