Home
last modified time | relevance | path

Searched defs:self (Results 76 – 100 of 376) sorted by relevance

12345678910>>...16

/petsc/config/BuildSystem/config/compile/
H A DCxx.py12 def __init__(self, argDB): argument
20 def __init__(self, argDB, usePreprocessorFlags = True): argument
30 def getTarget(self, source): argument
39 def getCommand(self, sourceFiles, outputFile = None): argument
47 def __init__(self, argDB): argument
56 def copy(self, other): argument
62 def setArgDB(self, argDB): argument
70 def getFlags(self): argument
84 def getExtraArguments(self): argument
90 def getTarget(self, source, shared): argument
[all …]
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/
H A D_linter.py37 def __init__(self, prefix: str) -> None: argument
49 def add_diagnostic(self, cursor: Cursor, diagnostic: Diagnostic) -> None: argument
89 def split_and_condense(self) -> tuple[CondensedDiags, CondensedDiags]: argument
118 def view_last(self) -> None: argument
150 …def __init__(self, compiler_flags: list[str], clang_options: Optional[CXTranslationUnit] = None, v… argument
176 def __str__(self) -> str: argument
188 def _vprint(self, *args, **kwargs) -> None: argument
196 …def _check_duplicate_function_calls(self, processed_funcs: dict[str, list[tuple[Cursor, Scope]]]) … argument
367 def clear(self) -> None: argument
381 def parse(self, filename: PathLike) -> Linter: argument
[all …]
H A D_scope.py51 def __init__(self) -> None: argument
56 def __lt__(self, other: Scope) -> bool: argument
60 def __gt__(self, other: Scope) -> bool: argument
64 def __le__(self, other: Scope) -> bool: argument
68 def __ge__(self, other: Scope) -> bool: argument
72 def __eq__(self, other: object) -> bool: argument
77 def __ne__(self, other: object) -> bool: argument
80 def sub(self) -> Scope: argument
92 def is_parent_of(self, other: Scope) -> bool: argument
112 def is_child_of(self, other: Scope) -> bool: argument
H A D_src_pos.py23 def getname(self, tu: clx.TranslationUnit) -> clx.File: argument
42 …def __init__(self, source_location: SourceLocationLike, tu: Optional[clx.TranslationUnit] = None) … argument
69 def __hash__(self) -> int: argument
72 def __str__(self) -> str: argument
75 def __repr__(self) -> str: argument
78 def __getattr__(self, attr: str) -> Any: argument
81 def __eq__(self, other: object) -> bool: argument
84 def __lt__(self, other: SourceLocationLike) -> bool: argument
87 def __ge__(self, other: SourceLocationLike) -> bool: argument
164 def _get_src(self, func: Callable[..., str], *args, **kwargs) -> str: argument
[all …]
H A D_patch.py20 def __init__(self, value: str, extent: SourceRange, ctxlines: int) -> None: argument
40 def deleter(self) -> bool: argument
50 def apply(self, src: str, offset: int) -> tuple[str, int]: argument
73 def is_deletion_superset_of(self, other: Delta) -> bool: argument
100 def __init__(self, src_range: SourceRangeLike, value: str, contextlines: int = 2) -> None: argument
141 def _make_source(self) -> str: argument
151 def _contiguous_extent(self) -> bool: argument
170 def discard(self) -> None: argument
192 def attach(self, cursor_id_errors: WeakListRef) -> None: argument
207 def is_deletion_superset_of(self, other: Patch) -> bool: argument
[all …]
/petsc/config/BuildSystem/config/
H A Dlibraries.py7 def __init__(self, framework, libraries = []): argument
16 def setupDependencies(self, framework): argument
24 def getLibArgumentList(self, library, with_rpath=True): argument
85 def getLibArgument(self, library): argument
89 def addRpathSkipDir(self, dirname): argument
93 def addSysDir(self, dirname): argument
103 def getDefineName(self, library): argument
106 def getDefineNameFunc(self, funcName): argument
109 def haveLib(self, library): argument
112 …def add(self, libName, funcs, libDir = None, otherLibs = [], prototype = '', call = '', fortranMan… argument
[all …]
/petsc/config/BuildSystem/
H A Dhelp.py9 def __init__(self, argDB = None): argument
15 def getTitle(self): argument
18 def setTitle(self, title): argument
22 def getDescription(self, section, name): argument
25 def setDescription(self, section, name, desc): argument
31 def addArgument(self, section, name, desc): argument
41 def printBanner(self, f): argument
48 def getTextSizes(self): argument
57 def output(self, f = None): argument
76 def __init__(self, argDB): argument
[all …]
H A Dargs.py6 def __init__(self, clArgs = None, argDB = None): argument
17 def __getstate__(self): argument
27 def __setstate__(self, d): argument
34 def getArgDB(self): argument
36 def setArgDB(self, argDB): argument
41 def createArgDB(self, initDB): argument
56 def setupArguments(self, argDB): argument
61 def insertArguments(self, useEnvironment = 0): argument
73 def setup(self): argument
80 def cleanup(self): argument
H A Dlogger.py103 …def __init__(self, clArgs = None, argDB = None, log = None, out = defaultOut, debugLevel = None, d… argument
114 def __getstate__(self): argument
131 def __setstate__(self, d): argument
141 def setupArguments(self, argDB): argument
155 def setup(self): argument
170 def checkLog(self, logName): argument
185 def createLog(self, logName, initLog = None): argument
211 def closeLog(self): argument
215 def saveLog(self): argument
221 def restoreLog(self): argument
[all …]
/petsc/config/PETSc/options/
H A Darch.py6 def __init__(self, framework): argument
12 def __str1__(self): argument
17 def setupHelp(self, help): argument
24 def setupDependencies(self, framework): argument
29 def setNativeArchitecture(self): argument
42 def configureArchitecture(self): argument
71 def makeDependency(self,hash,hashfile,hashfilepackages): argument
87 def checkDependency(self): argument
224 def configure(self): argument
/petsc/src/binding/petsc4py/test/
H A Dtest_optdb.py19 def _putopts(self, opts=None, OPTLIST=None): argument
27 def _delopts(self, opts=None, OPTLIST=None): argument
35 def setUp(self): argument
38 def tearDown(self): argument
42 def testHasOpts(self): argument
52 def testGetOpts(self): argument
59 def testGetAll(self): argument
68 def testGetAllQuoted(self): argument
81 def testType(self): argument
152 def testMonitor(self): argument
H A Dtest_comm.py8 def testInit(self): argument
18 def testDupDestr(self): argument
29 def testBarrier(self): argument
34 def testSize(self): argument
39 def testRank(self): argument
44 def testProperties(self): argument
50 def testCompatMPI4PY(self): argument
/petsc/src/binding/petsc4py/demo/python_types/
H A Dmatpython_protocol.py14 def mult(self, A: Mat, x: Vec, y: Vec) -> None: argument
18 def multAdd(self, A: Mat, x: Vec, y: Vec, z: Vec) -> None: argument
22 def multTranspose(self, A: Mat, x: Vec, y: Vec) -> None: argument
26 def multTransposeAdd(self, A: Mat, x: Vec, y: Vec, z: Vec) -> None: argument
30 def multHermitian(self, A: Mat, x: Vec, y: Vec) -> None: argument
34 def multHermitianAdd(self, A: Mat, x: Vec, y: Vec, z: Vec) -> None: argument
38 def view(self, A: Mat, viewer: Viewer) -> None: argument
42 def setFromOptions(self, A: Mat) -> None: argument
46 def multDiagonalBlock(self, A: Mat, x: Vec, y: Vec) -> None: argument
50 def createVecs(self, A: Mat) -> tuple[Vec, Vec]: argument
[all …]
/petsc/config/BuildSystem/config/utilities/
H A DcacheDetails.py7 …def __init__(self, name, type_name, help_descr, default=None, min_value=0, max_value=min(sys.maxsi… argument
15 def valid(self,val): argument
18 def enum(self): argument
22 def __init__(self, framework): argument
39 def __str__(self): argument
42 def setupHelp(self, help): argument
48 def setupDependencies(self, framework): argument
55 def L1CacheLineSizeMethods(self,default_val): argument
99 def discoverL1CacheLineSize(self,attr): argument
127 def configureL1CacheLineSize(self): argument
[all …]
/petsc/config/BuildSystem/config/packages/
H A Ducx.py4 def __init__(self, framework): argument
23 def setupDependencies(self, framework): argument
30 def versionToStandardForm(self,ver): argument
35 def formGNUConfigureArgs(self): argument
47 def gitPreReqCheck(self): argument
50 def preInstall(self): argument
55 def configure(self): argument
58 def configureLibrary(self): argument
H A DSYCL.py5 def __init__(self, framework): argument
23 def setupHelp(self, help): argument
29 def setupDependencies(self, framework): argument
36 def getSearchDirectories(self): argument
48 def checkSizeofVoidP(self): argument
56 def configureTypes(self): argument
63 def checkSYCLCDoubleAlign(self): argument
75 def configureLibrary(self): argument
H A Dpetsc4py.py5 def __init__(self, framework): argument
15 def setupHelp(self,help): argument
22 def __str__(self): argument
30 def setupDependencies(self, framework): argument
43 def getDir(self): argument
46 def Install(self): argument
102 def configureLibrary(self): argument
120 def alternateConfigureLibrary(self): argument
H A Dslepc4py.py5 def __init__(self, framework): argument
15 def setupHelp(self,help): argument
20 def __str__(self): argument
28 def setupDependencies(self, framework): argument
42 def getDir(self): argument
45 def consistencyChecks(self): argument
51 def Install(self): argument
101 def configureLibrary(self): argument
H A DOpenBLAS.py12 def __init__(self, framework): argument
25 def __str__(self): argument
30 def setupHelp(self, help): argument
38 def setupDependencies(self, framework): argument
44 def getSearchDirectories(self): argument
48 def configureLibrary(self): argument
62 def versionToStandardForm(self,ver): argument
69 def Install(self): argument
H A Dkokkos-kernels.py5 def __init__(self, framework): argument
22 def __str__(self): argument
27 def setupHelp(self, help): argument
33 def setupDependencies(self, framework): argument
46 def versionToStandardForm(self,ver): argument
50 def toString(self,string): argument
59 def formCMakeConfigureArgs(self): argument
136 def configureLibrary(self): argument
H A Dkokkos.py7 def __init__(self, framework): argument
30 def __str__(self): argument
35 def setupHelp(self, help): argument
41 def setupDependencies(self, framework): argument
57 def versionToStandardForm(self,ver): argument
62 def toString(self,string): argument
71 def formCMakeConfigureArgs(self): argument
213 def configureLibrary(self): argument
H A DTrilinos.py5 def __init__(self, framework): argument
19 def setupDependencies(self, framework): argument
50 def checkTrilinosDuplicates(self): argument
62 def configureLibrary(self): argument
78 def toStringNoDupes(self,string): argument
87 def toString(self,string): argument
96 def formCMakeConfigureArgs(self): argument
277 def generateLibList(self,dir): argument
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMComposite.pyx6 def create(self, comm: Comm | None = None) -> Self: argument
28 def addDM(self, DM dm, *args: DM) -> None: argument
51 def getNumber(self) -> int: argument
66 def getEntries(self) -> list[DM]: argument
90 def scatter(self, Vec gvec, lvecs: Sequence[Vec]) -> None: argument
115 def gather(self, Vec gvec, imode: InsertModeSpec, lvecs: Sequence[Vec]) -> None: argument
143 def getGlobalISs(self) -> list[IS]: argument
170 def getLocalISs(self) -> list[IS]: argument
196 def getLGMaps(self) -> list[LGMap]: argument
219 def getAccess(self, Vec gvec, locs: Sequence[int] | None = None) -> Any: argument
/petsc/src/binding/petsc4py/conf/
H A Dcyautodoc.py15 def visit_IndexNode(self, node): argument
28 def visit_UnicodeNode(self, node): argument
37 def __init__(self, context): argument
42 def _select_format(self, embed, clinic): argument
45 def _fmt_expr(self, node): argument
49 def _fmt_annotation(self, node): argument
53 def _fmt_arg(self, arg): argument
80 def _fmt_star_arg(self, arg): argument
88 self, argument
114 def _fmt_ret_type(self, ret): argument
[all …]
/petsc/src/ksp/ksp/tutorials/
H A Dexample100.py21 def create(self, A): argument
26 def destroy(self, A): argument
29 def view(self, A, vw): argument
32 def setFromOptions(self, A): argument
35 def setUp(self, A): argument
38 def assemblyBegin(self, A, flag): argument
41 def assemblyEnd(self, A, flag): argument
44 def getDiagonal(self, A, d): argument
50 def mult(self, A, x, y): argument
61 def multTranspose(self, A, x, y): argument
[all …]

12345678910>>...16