Home
last modified time | relevance | path

Searched refs:setType (Results 1 – 25 of 70) sorted by relevance

123

/petsc/src/binding/petsc4py/test/
H A Dtest_tao.py106 x.setType('standard')
110 c.setType(x.getType())
113 J.setType(PETSc.Mat.Type.DENSE)
121 tao.setType(PETSc.TAO.Type.ALMM)
147 x.setType('standard')
151 c.setType(x.getType())
154 J.setType(PETSc.Mat.Type.DENSE)
162 tao.setType(PETSc.TAO.Type.ALMM)
188 x.setType('standard')
191 xl.setType('standard')
[all …]
H A Dtest_mat_schur.py10 A00.setType(TYPE)
13 A01.setType(TYPE)
16 A10.setType(TYPE)
19 A11.setType(TYPE)
H A Dtest_mat_py.py55 product.setType(B.getType())
61 product.setType(A.getType())
70 product.setType(B.getType())
78 product.setType(tmp.getType())
89 product.setType(tmp.getType())
95 product.setType(A.getType())
106 product.setType(tmp.getType())
112 product.setType(A.getType())
123 product.setType(tmp.getType())
129 product.setType(A.getType())
[all …]
H A Dtest_pc.py12 ksp.setType(self.KSP_TYPE)
14 pc.setType(self.PC_TYPE)
H A Dtest_ts.py74 self.ts.setType(self.TYPE)
103 ts.snes.ksp.pc.setType('none')
141 J.setType('aij')
197 ts.snes.ksp.pc.setType('none')
231 J.setType('aij')
H A Dtest_snes.py54 snes.setType(self.SNES_TYPE)
63 self.snes.setType(self.SNES_TYPE)
167 J.setType(PETSc.Mat.Type.SEQAIJ)
188 J.setType(PETSc.Mat.Type.SEQAIJ)
230 J.setType(PETSc.Mat.Type.SEQAIJ)
360 J.setType(PETSc.Mat.Type.SEQAIJ)
385 J.setType(PETSc.Mat.Type.SEQAIJ)
461 ls.setType(PETSc.SNESLineSearch.Type.BASIC)
H A Dtest_ksp.py18 ksp.setType(self.KSP_TYPE)
21 pc.setType(self.PC_TYPE)
30 self.ksp.setType(self.KSP_TYPE)
110 A.setType(PETSc.Mat.Type.SEQAIJ)
/petsc/src/binding/petsc4py/demo/legacy/poisson3d/
H A Dpoisson3d.py18 A.setType('python')
31 ksp.setType('cg')
32 pc.setType('none')
/petsc/src/ksp/ksp/tutorials/
H A Dex100.py13 A.setType(PETSc.Mat.Type.PYTHON)
22 ksp.setType(PETSc.KSP.Type.PYTHON)
26 pc.setType(PETSc.PC.Type.PYTHON)
/petsc/src/binding/petsc4py/demo/legacy/kspsolve/
H A Dpetsc-ksp.py5 ksp.setType('cg')
7 ksp.getPC().setType('icc')
H A Dtest_mat_cg.py20 ksp.setType('cg')
21 ksp.getPC().setType('none')
/petsc/src/binding/petsc4py/demo/poisson2d/
H A Dpoisson2d.py78 A.setType(PETSc.Mat.Type.AIJ)
136 ksp.setType(PETSc.KSP.Type.CG)
137 ksp.getPC().setType(PETSc.PC.Type.GAMG)
/petsc/src/binding/petsc4py/demo/legacy/ode/
H A Dvanderpol.py184 Jim.setType('python')
191 JimP.setType('python')
198 Jex.setType('python')
205 JexP.setType('python')
225 ts.setType(ts.Type.ARKIMEX)
234 ts.setType(ts.Type.CN)
239 ts.setType(ts.Type.RK)
H A Dorego.py55 ts.setType(ts.Type.ROSW) # Rosenbrock-W. ARKIMEX is a nonlinearly implicit alternative.
90 ksp.setType(ksp.Type.PREONLY) # Just use the preconditioner without a Krylov method
92 pc.setType(pc.Type.LU) # Use a direct solve
H A Dbouncing_ball.py49 J.setType('aij')
59 ts.setType(ts.Type.BEULER)
H A Dheat.py124 ts.setType(ts.Type.ROSW) # Rosenbrock-W. ARKIMEX is a nonlinearly implicit alternative.
145 ksp.setType(ksp.Type.CG) # Conjugate gradients
148 pc.setType(
H A Dfastslowsplit.py84 ts.setType(ts.Type.ARKIMEX)
94 ts.setType(ts.Type.RK)
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DPartitioner.pyx63 The type can be set with `setType`.
72 setType, petsc.PetscPartitionerCreate
81 def setType(self, part_type: Type | str) -> None: member in Partitioner
107 setType, petsc.PetscPartitionerGetType
H A DDS.pyx58 The type can then be set with `setType`.
67 setType, destroy, petsc.PetscDSCreate
76 def setType(self, ds_type: Type | str) -> None: member in DS
102 setType, petsc.PetscDSGetType
/petsc/config/BuildSystem/
H A Dlogger.py146 argDB.setType('log', nargs.Arg(None, 'buildsystem.log', 'The filename for the log'))
147 …argDB.setType('logAppend', nargs.ArgBool(None, 0, 'The flag determining whether we backup or a…
148 …argDB.setType('debugLevel', nargs.ArgInt(None, 3, 'Integer 0 to 4, where a higher level means m…
149 …argDB.setType('debugSections', nargs.Arg(None, [], 'Message types to print, e.g. [compile,link,hg,…
150 argDB.setType('debugIndent', nargs.Arg(None, ' ', 'The string used for log indentation'))
151 …argDB.setType('scrollOutput', nargs.ArgBool(None, 0, 'Flag to allow output to scroll rather than …
152 … argDB.setType('noOutput', nargs.ArgBool(None, 0, 'Flag to suppress output to the terminal'))
/petsc/src/binding/petsc4py/demo/python_types/
H A Dmat.py115 A.setType(PETSc.Mat.Type.PYTHON)
121 ksp.setType(PETSc.KSP.Type.CG)
124 ksp.getPC().setType(PETSc.PC.Type.JACOBI)
H A Dtao.py9 self._ls.setType(PETSc.TAOLineSearch.Type.UNIT)
/petsc/src/binding/petsc4py/demo/hpddm/
H A Dsaddle_point.py94 pc.setType(PETSc.PC.Type.FIELDSPLIT)
110 pc0.setType(PETSc.PC.Type.HPDDM)
118 pc1.setType(PETSc.PC.Type.HPDDM)
/petsc/src/binding/petsc4py/demo/legacy/poisson2d/
H A Dpoisson2d.py86 ksp.setType('cg')
88 pc.setType('none')
/petsc/src/binding/petsc4py/demo/legacy/perftest/
H A Ddriver.py81 ts.setType('theta')
96 ts.snes.ksp.setType('cg')

123