Home
last modified time | relevance | path

Searched refs:location (Results 1 – 25 of 71) sorted by relevance

123

/petsc/src/vec/is/is/tests/
H A Dex7.c9 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 Dpetsc.py38 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.py431 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.py23 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.py559 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 DTabs.js3 var url = window.location.href;
57 location.href=location.href;
/petsc/doc/
H A Dadd_man_page_redirects.py12 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.py63 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 Dlatex.def25 location %n\location{%1}%n
H A Dhtml.def50 # 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 Dnroff.def36 location %n.SH LOCATION%n%1%n
H A Dmyst.def50 location **Location:**<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/%1#%rq0">%1</A>%n
/petsc/src/mat/tests/output/
H A Dex219f_2.out1 [0] <mat:mpiaij> MatSetValues_MPIAIJ(): Skipping of insertion of new nonzero location in off-diagon…
/petsc/src/ts/event/tests/output/
H A Dex4_F7revisit.out4 [0] TSEvent: iter 3 - Event 0 accepting time 0.054 as event location, due to reaching too small bra…
/petsc/doc/manual/
H A Ddt.md11 … returns the probability density at a given location $P(x)$, so that the probability for an event …
/petsc/include/petsc/private/
H A Dmatimpl.h888 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 Dblock.c30 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 D300.md38 - 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 Dhtml5_petsc.py157 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.py192 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 Dex76.c106 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.py410 filename = diag.location.file.name
435 filename = child.location.file.name
/petsc/share/petsc/
H A DCMakeLists.txt21 # set root of location to find PETSc's pkg-config
/petsc/src/vec/is/is/impls/stride/
H A Dstride.c127 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 Dmcomposite.c27 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()

123