| /petsc/src/vec/is/is/tests/ |
| H A D | ex7.c | 9 PetscInt n = 7, key = 3, nonkey = 1, keylocation = 4, sortedlocation = 2, location; in TestGeneral() local 14 PetscCall(ISLocate(is, key, &location)); in TestGeneral() 15 …cCheck(location == keylocation, comm, PETSC_ERR_PLIB, "Key %" PetscInt_FMT " not at %" PetscInt_FM… in TestGeneral() 16 PetscCall(ISLocate(is, nonkey, &location)); in TestGeneral() 17 …PetscCheck(location < 0, comm, PETSC_ERR_PLIB, "Nonkey %" PetscInt_FMT " found at %" PetscInt_FMT,… in TestGeneral() 19 PetscCall(ISLocate(is, key, &location)); in TestGeneral() 20 …eck(location == sortedlocation, comm, PETSC_ERR_PLIB, "Key %" PetscInt_FMT " not at %" PetscInt_FM… in TestGeneral() 21 PetscCall(ISLocate(is, nonkey, &location)); in TestGeneral() 22 …PetscCheck(location < 0, comm, PETSC_ERR_PLIB, "Nonkey %" PetscInt_FMT " found at %" PetscInt_FMT,… in TestGeneral() 33 PetscInt bs = 5, n = 7, key = 16, nonkey = 7, keylocation = 21, sortedlocation = 11, location; in TestBlock() local [all …]
|
| /petsc/config/PETSc/ |
| H A D | petsc.py | 38 self.location = None 77 self.location = (petscDir, petscArch) 78 self.trial[self.location] = name 159 if self.location: 160 return self.location[0] 165 if self.location: 166 return self.location[1] 171 return self.location and self.location in self.working 175 if self.location and self.location in self.working: 176 return self.working[self.location][0] [all …]
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/ |
| H A D | _diag.py | 431 location: SourceLocation 437 …def __init__(self, kind: DiagnosticKind, flag: str, message: str, location: SourceLocationLike, pa… 460 self.location = SourceLocation.cast(location) 543 def add_note(self, note: str, location: Optional[SourceLocationLike] = None) -> Diagnostic: 558 if location is None: 559 location = self.location 561 location = SourceLocation.cast(location) 563 self.notes.append((location, note))
|
| H A D | _util.py | 23 cursor.location.file is not None and not cursor.location.file.name.startswith('/usr/include') 31 return level != 1 or (cursor.location.file is not None and cursor.location.file.name == filename) 81 ret_list.append(level.view(cursor.kind, cursor.spelling, cursor.displayname, cursor.location))
|
| H A D | _cursor.py | 559 loc = cursor.location 698 return TYPE_CAST(clx.File, cursor._get_cached('file', lambda c: c.location.file, cursor)) 700 return cursor.location.file 755 if canon.location.file != cursor_file: 758 if child.kind.is_attribute() and child.location.file != cursor_file:
|
| /petsc/lib/petsc/bin/maint/abi-compliance-checker/modules/Internals/Scripts/ |
| H A D | Tabs.js | 3 var url = window.location.href; 57 location.href=location.href;
|
| /petsc/doc/ |
| H A D | add_man_page_redirects.py | 12 def _generate_page(name, location): argument 13 redirect_filename = os.path.join(location, name + ".html")
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/checks/ |
| H A D | _util.py | 63 f'Due to {obj.get_formatted_blurb()}', location=obj.extent.start 369 f'For {obj.get_formatted_blurb()}', location=obj.extent.start 381 …assert def_cursor.location != obj.location, 'Object has definition cursor, yet the cursor did not … 437 r for r in all_possible_references if r.location.line < obj.location.line 453 tu, line = first_ref.translation_unit, first_ref.location.line 626 location=expected.extent.start 629 … diag.add_note(f'starting with {obj.get_formatted_blurb().rstrip()}', location=obj.extent.start) 632 … f'via {Cursor.get_formatted_blurb_from_cursor(cursor).rstrip()}', location=cursor.extent.start
|
| /petsc/doc/manualpages/doctext/ |
| H A D | latex.def | 25 location %n\location{%1}%n
|
| H A D | html.def | 50 # If the location variable is changed, then maint/exampleindex.tcl MUST be changed accordingly! 51 location <P><B><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../%1#%rq0">%1</A>
|
| H A D | nroff.def | 36 location %n.SH LOCATION%n%1%n
|
| H A D | myst.def | 50 location **Location:**<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/%1#%rq0">%1</A>%n
|
| /petsc/src/mat/tests/output/ |
| H A D | ex219f_2.out | 1 [0] <mat:mpiaij> MatSetValues_MPIAIJ(): Skipping of insertion of new nonzero location in off-diagon…
|
| /petsc/src/ts/event/tests/output/ |
| H A D | ex4_F7revisit.out | 4 [0] TSEvent: iter 3 - Event 0 accepting time 0.054 as event location, due to reaching too small bra…
|
| /petsc/doc/manual/ |
| H A D | dt.md | 11 … returns the probability density at a given location $P(x)$, so that the probability for an event …
|
| /petsc/include/petsc/private/ |
| H A D | matimpl.h | 888 PetscInt location; in PetscLLInsertLocation_Private() local 895 location = *lnkdata; in PetscLLInsertLocation_Private() 896 *lnkdata = lnk[location]; in PetscLLInsertLocation_Private() 899 lnk[location] = entry; in PetscLLInsertLocation_Private() 993 const PetscInt entry = indices[k], location = lnkdata; 996 lnkdata = lnk[location]; 998 lnk[location] = entry; 1386 PetscInt location = 2; /* head */ in PetscLLCondensedAddSorted() local 1397 next = location + 1; /* link from previous node to next node */ in PetscLLCondensedAddSorted() 1398 location = lnk[next]; /* idx of next node */ in PetscLLCondensedAddSorted() [all …]
|
| /petsc/src/vec/is/is/impls/block/ |
| H A D | block.c | 30 static PetscErrorCode ISLocate_Block(IS is, PetscInt key, PetscInt *location) in ISLocate_Block() argument 48 PetscCall(PetscFindInt(bkey, numIdx, sub->idx, location)); in ISLocate_Block() 52 *location = -1; in ISLocate_Block() 55 *location = i; in ISLocate_Block() 60 if (*location >= 0) *location = *location * bs + mkey; in ISLocate_Block()
|
| /petsc/doc/changes/ |
| H A D | 300.md | 38 - Changed location of base makefiles to conf from bmake/common 39 - Changed location of generated base makefiles to \$PETSC_ARCH/conf 41 - Changed location of generated include files to \$PETSC_ARCH/include 42 - Changed location of generated libraries (including from external
|
| /petsc/doc/ext/ |
| H A D | html5_petsc.py | 157 location=node, **highlight_args 186 node.astext(), lang, opts=opts, location=node, nowrap=True)
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/docs/ |
| H A D | _doc_section.py | 192 location=macro_ident.start 483 location=reason_cursor.extent.start 515 location=arg_cursors[0].extent.start 536 location=doc_cursor.extent.start 726 note, location=note_loc 829 location=full_arg_cursors[idx].extent.start 1355 location=first_seen.start
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex76.c | 106 PetscInt rstart, rend, location; in main() local 114 PetscCall(ISLocate(is, m, &location)); in main() 115 …PetscCheck(location >= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "IS of the auxiliary Mat does not … in main() 116 PetscCall(MatSetValue(P, m - rstart, location, 1.0, INSERT_VALUES)); in main()
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/ |
| H A D | _utility.py | 410 filename = diag.location.file.name 435 filename = child.location.file.name
|
| /petsc/share/petsc/ |
| H A D | CMakeLists.txt | 21 # set root of location to find PETSc's pkg-config
|
| /petsc/src/vec/is/is/impls/stride/ |
| H A D | stride.c | 127 static PetscErrorCode ISLocate_Stride(IS is, PetscInt key, PetscInt *location) in ISLocate_Stride() argument 133 *location = -1; in ISLocate_Stride() 137 if ((rem < is->map->n) && !(key % step)) *location = rem; in ISLocate_Stride()
|
| /petsc/src/mat/impls/composite/ |
| H A D | mcomposite.c | 27 PetscInt *location; /* A map that maps entries in garray[] to larray[] */ member 51 PetscCall(PetscFree3(shell->location, shell->larray, shell->lvecs)); in MatDestroy_Composite() 167 PetscCall(PetscMalloc3(tot, &shell->location, tot, &shell->larray, shell->nmat, &shell->lvecs)); in MatMult_Composite() 217 shell->location[tot + i] = lo; /* gindices[lo] = garray[i] */ in MatMult_Composite() 248 for (i = 0; i < shell->len; i++) shell->larray[i] = vals[shell->location[i]]; in MatMult_Composite()
|