| /petsc/src/binding/petsc4py/test/ |
| H A D | test_tao.py | 106 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 D | test_mat_schur.py | 10 A00.setType(TYPE) 13 A01.setType(TYPE) 16 A10.setType(TYPE) 19 A11.setType(TYPE)
|
| H A D | test_mat_py.py | 55 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 D | test_pc.py | 12 ksp.setType(self.KSP_TYPE) 14 pc.setType(self.PC_TYPE)
|
| H A D | test_ts.py | 74 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 D | test_snes.py | 54 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 D | test_ksp.py | 18 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 D | poisson3d.py | 18 A.setType('python') 31 ksp.setType('cg') 32 pc.setType('none')
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex100.py | 13 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 D | petsc-ksp.py | 5 ksp.setType('cg') 7 ksp.getPC().setType('icc')
|
| H A D | test_mat_cg.py | 20 ksp.setType('cg') 21 ksp.getPC().setType('none')
|
| /petsc/src/binding/petsc4py/demo/poisson2d/ |
| H A D | poisson2d.py | 78 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 D | vanderpol.py | 184 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 D | orego.py | 55 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 D | bouncing_ball.py | 49 J.setType('aij') 59 ts.setType(ts.Type.BEULER)
|
| H A D | heat.py | 124 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 D | fastslowsplit.py | 84 ts.setType(ts.Type.ARKIMEX) 94 ts.setType(ts.Type.RK)
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | Partitioner.pyx | 63 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 D | DS.pyx | 58 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 D | logger.py | 146 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 D | mat.py | 115 A.setType(PETSc.Mat.Type.PYTHON) 121 ksp.setType(PETSc.KSP.Type.CG) 124 ksp.getPC().setType(PETSc.PC.Type.JACOBI)
|
| H A D | tao.py | 9 self._ls.setType(PETSc.TAOLineSearch.Type.UNIT)
|
| /petsc/src/binding/petsc4py/demo/hpddm/ |
| H A D | saddle_point.py | 94 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 D | poisson2d.py | 86 ksp.setType('cg') 88 pc.setType('none')
|
| /petsc/src/binding/petsc4py/demo/legacy/perftest/ |
| H A D | driver.py | 81 ts.setType('theta') 96 ts.snes.ksp.setType('cg')
|