Searched refs:tu (Results 1 – 9 of 9) sorted by relevance
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/ |
| H A D | _src_pos.py | 23 def getname(self, tu: clx.TranslationUnit) -> clx.File: 24 if tu in self: 25 return self[tu] 26 new_file = self[tu] = tu.get_file(tu.spelling) 42 …def __init__(self, source_location: SourceLocationLike, tu: Optional[clx.TranslationUnit] = None) … 53 if tu is None: 54 tu = source_location.translation_unit 62 self.translation_unit = tu # store a reference to guard against GC 91 …def cast(cls, other: SourceLocationLike, tu: Optional[clx.TranslationUnit] = None) -> SourceLocati… 119 return cls(other, tu=tu) [all …]
|
| H A D | _linter.py | 227 tu = func.translation_unit 228 end = clx.SourceLocation.from_position(tu, tu.get_file(tu.spelling), startline, -1) 240 …def find_lintable_expressions(tu: clx.TranslationUnit, symbol_names: Container[str]) -> Generator[… 320 cursor = tu.cursor 321 filename = tu.spelling 396 tu = self.index.parse(str(filename), args=self.flags, options=self.clang_opts) 397 if tu.diagnostics: 398 self._vprint('\n'.join(map(str, tu.diagnostics))) 399 self.process(tu) 629 start = SourceLocation.cast(func.extent.start, tu=func.translation_unit) [all …]
|
| /petsc/src/snes/tests/ |
| H A D | ex20.c | 139 PetscScalar tleft, tright, beta, td, ad, dd, fd = 0.0, tu, au, du = 0.0, fu = 0.0; in FormFunction() local 199 tu = x[k + 1][j][i]; in FormFunction() 200 au = 0.5 * (t0 + tu); in FormFunction() 202 fu = du * (tu - t0); in FormFunction() 244 tu = x[k + 1][j][i]; in FormFunction() 245 au = 0.5 * (t0 + tu); in FormFunction() 247 fu = du * (tu - t0); in FormFunction() 292 tu = x[k + 1][j][i]; in FormFunction() 293 au = 0.5 * (t0 + tu); in FormFunction() 295 fu = du * (tu - t0); in FormFunction() [all …]
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/ |
| H A D | _utility.py | 403 tu = index.parse( 408 for diag in tu.diagnostics: 456 tu = index.parse( 460 if tu.diagnostics: 461 pl.sync_print('\n'.join(map(str, tu.diagnostics))) 466 tu.save(precompiled_header)
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/checks/ |
| H A D | _util.py | 453 tu, line = first_ref.translation_unit, first_ref.location.line 460 line_start = SourceLocation.from_position(tu, line, 1) 461 line_end = SourceLocation.from_position(tu, line, src_len + 1) 463 token_group = list(clx.TokenGroup.get_tokens(tu, line_range))
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/docs/ |
| H A D | _doc_str.py | 578 extent = SourceRange.cast(clx_extent, tu=cursor.translation_unit)
|
| /petsc/src/ts/tutorials/ |
| H A D | ex30.c | 1295 Vec tu, ta; in ProjectAuxDM() local 1313 PetscCall(DMGetGlobalVector(dm, &tu)); in ProjectAuxDM() 1315 PetscCall(VecScatterCreate(tu, NULL, ta, is, &sctAux)); in ProjectAuxDM() 1316 PetscCall(DMRestoreGlobalVector(dm, &tu)); in ProjectAuxDM()
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | testcase3D.cas | 8268 (turbulence/trans/harmonic-averaged-tke-for-tu? #t) 8387 (defaults/pre-2021r2-turb-trans-harmonic-averaged-tke-for-tu? #f)
|
| /petsc/doc/ |
| H A D | petsc.bib | 7172 url = {http://www.math.tu-berlin.de/\~{ }bobenko/Papers/Willmore.pdf}, 16473 note = {\url{http://www.math.tu-cottbus.de/~berti/diss}} 22618 url = {http://www.mathe.tu-freiberg.de/~ernst/PubArchive/helmholtzDurham.pdf},
|