Home
last modified time | relevance | path

Searched refs:getType (Results 1 – 25 of 42) sorted by relevance

12

/petsc/src/binding/petsc4py/test/
H A Dtest_snes.py62 self.assertEqual(self.snes.getType(), self.SNES_TYPE)
64 self.assertEqual(self.snes.getType(), self.SNES_TYPE)
235 if self.snes.getType() == PETSc.SNES.Type.NEWTONAL:
259 if self.snes.getType() != PETSc.SNES.Type.NEWTONAL:
271 if self.snes.getType() != PETSc.SNES.Type.NEWTONAL:
375 if self.snes.getType() == PETSc.SNES.Type.NEWTONLS:
404 if self.snes.getType() != PETSc.SNES.Type.NEWTONAL:
416 if self.snes.getType() == PETSc.SNES.Type.NEWTONTR:
421 if self.snes.getType() == PETSc.SNES.Type.NEWTONTR:
426 if self.snes.getType() == PETSc.SNES.Type.NEWTONTR:
[all …]
H A Dtest_object.py71 if not self.obj.getType() or not 'da' == str(self.obj.getType()):
85 if not self.obj.getType() or not 'da' == str(self.obj.getType()):
101 if not self.obj.getType() or not 'da' == str(self.obj.getType()):
167 self.assertEqual(self.obj.getType(), self.obj.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_mat_aij.py109 if 'is' in self.A.getType():
126 if 'is' in self.A.getType():
169 if 'is' in self.A.getType():
175 if 'sbaij' in A.getType():
238 if 'is' in self.A.getType():
248 if 'is' in self.A.getType():
276 if 'baij' in self.A.getType():
300 if 'baij' in self.A.getType():
302 if 'is' in self.A.getType():
329 if 'seq' not in self.A.getType():
[all …]
H A Dtest_is.py16 istype = self.iset.getType()
137 self.assertEqual(self.iset.getType(), PETSc.IS.Type.GENERAL)
148 self.assertEqual(self.iset.getType(), PETSc.IS.Type.BLOCK)
H A Dtest_tao.py110 c.setType(x.getType())
151 c.setType(x.getType())
269 tao.getLMVMMat().getLMVMJ0KSP().getType() == PETSc.KSP.Type.CG
H A Dtest_ksp.py29 self.assertEqual(self.ksp.getType(), self.KSP_TYPE)
31 self.assertEqual(self.ksp.getType(), self.KSP_TYPE)
H A Dtest_dmstag.py51 datype = cda.getType()
71 datype = cda.getType()
/petsc/lib/petsc/bin/maint/abi-compliance-checker/modules/Internals/
H A DTypeAttr.pm179 sub getType($$) subroutine
248 my %ClassType = getType($ClassId, $LVer);
H A DFilter.pm634 my %Type = getType($TypeId, $LVer);
H A DMangling.pm1045 my %Base = getType($TypeId, $LVer);
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DMatPartitioning.pyx93 getType, petsc.MatPartitioningSetType
100 def getType(self) -> str: member in MatPartitioning
H A DPartitioner.pyx93 getType, petsc.PetscPartitionerSetType
100 def getType(self) -> str: member in Partitioner
H A DRandom.pyx105 getType, petsc.PetscRandomSetType
112 def getType(self) -> str: member in Random
H A DDS.pyx88 getType, petsc.PetscDSSetType
95 def getType(self) -> str: member in DS
H A DRegressor.pyx205 getType, petsc.PetscRegressorSetType
212 def getType(self) -> str: member in Regressor
H A DScatter.pyx153 getType, petsc.VecScatterSetType
160 def getType(self) -> str: member in Scatter
H A DSpace.pyx227 def getType(self) -> str: member in Space
253 getType, petsc.PetscSpaceSetType
744 def getType(self) -> str: member in DualSpace
770 getType, petsc.PetscDualSpaceSetType
H A DObject.pyx94 def getType(self) -> str: member in Object
537 return self.getType()
H A DAO.pyx200 def getType(self) -> str: member in AO
/petsc/config/BuildSystem/
H A Dhelp.py83 return self.argDB.getType(self.getArgName(name)).help
133 arg_type = self.argDB.getType(arg_name)
H A DRDict.py153 def getType(self, key): member in RDict
714 print(str(key)+' '+str(rdict.getType(key)))
720 print(str(key)+' '+str(rdict.getType(key)))
726 print(str(key)+' '+str(rdict.getType(key)))
/petsc/src/binding/petsc4py/demo/legacy/ode/
H A Dorego.py118 pylab.suptitle('Oregonator: TS \\texttt{%s}' % ts.getType())
H A Dheat.py106 pylab.title('Heat: TS \\texttt{%s}' % ts.getType())
/petsc/lib/petsc/bin/maint/abi-compliance-checker/
H A Dabi-compliance-checker.pl1996 my %Type = getType($ClassId, $LVer);
2181 my %Class_Type = getType($ClassId, 1);
2258 my %Class_Old = getType($ClassId_Old, 1);
2263 my %Class_New = getType($ClassId_New, 2);
2502 my %BaseType = getType($BaseId, 1);
2557 my %BaseType = getType($BaseId, 1);
3031 my %Type1 = getType($Type1_Id, 1);
3032 my %Type2 = getType($Type2_Id, 2);
4817 my %Class_Type = getType($Class_Id, 1);
5489 my %Type1 = getType($PTid1, 1);
[all …]

12