Home
last modified time | relevance | path

Searched refs:COMM (Results 1 – 11 of 11) sorted by relevance

/petsc/src/binding/petsc4py/src/petsc4py/
H A D__main__.py43 COMM = PETSc.COMM_SELF
45 vec = PETSc.Vec().create(comm=COMM)
50 mat = PETSc.Mat().create(comm=COMM)
55 pc = PETSc.PC().create(comm=COMM)
59 ksp = PETSc.KSP().create(comm=COMM)
63 snes = PETSc.SNES().create(comm=COMM)
67 ts = PETSc.TS().create(comm=COMM)
71 tao = PETSc.TAO().create(comm=COMM)
75 dmda = PETSc.DMDA().create(comm=COMM)
79 dmplex = PETSc.DMPlex().create(comm=COMM)
/petsc/src/binding/petsc4py/test/
H A Dtest_mat_schur.py6 COMM = PETSc.COMM_WORLD
8 comm_size = COMM.getSize()
9 A00 = PETSc.Mat().create(comm=COMM)
12 A01 = PETSc.Mat().create(comm=COMM)
15 A10 = PETSc.Mat().create(comm=COMM)
18 A11 = PETSc.Mat().create(comm=COMM)
H A Dtest_mat_dense.py20 COMM = PETSc.COMM_NULL variable in BaseTestMatAnyDense
26 COMM = self.COMM
30 self.A = PETSc.Mat().create(comm=COMM)
141 COMM = self.COMM
144 rows, cols, vals = mkdata(COMM, GM, GN, BS)
166 COMM = PETSc.COMM_WORLD variable in BaseTestMatDense
175 COMM = PETSc.COMM_SELF variable in TestMatSeqDense
199 COMM = PETSc.COMM_WORLD variable in TestMatMPIDense
223 COMM = PETSc.COMM_WORLD variable in BaseTestMatDense_B
238 COMM = PETSc.COMM_SELF variable in TestMatSeqDense_B
[all …]
H A Dtest_dmshell.py7 COMM = PETSc.COMM_WORLD variable in TestDMShell
10 self.dm = PETSc.DMShell().create(comm=self.COMM)
18 vec = PETSc.Vec().create(comm=self.COMM)
40 vec.setSizes((1 + 10 * self.COMM.rank, None))
64 mat = PETSc.Mat().create(comm=self.COMM)
74 mat = PETSc.Mat().create(comm=self.COMM)
135 vec = PETSc.Vec().create(comm=self.COMM)
162 ovec = PETSc.Vec().create(comm=self.COMM)
217 cdm = PETSc.DMShell().create(comm=self.COMM)
H A Dtest_mat_aij.py43 COMM = PETSc.COMM_NULL variable in BaseTestMatAnyAIJ
49 COMM = self.COMM
60 self.rows, self.xadj, self.adjy = mkgraph(COMM, GM, GN)
67 A = self.A = PETSc.Mat().create(comm=COMM)
441 COMM = PETSc.COMM_WORLD variable in BaseTestMatAIJ
451 COMM = PETSc.COMM_SELF variable in TestMatSeqAIJ
471 COMM = PETSc.COMM_WORLD variable in TestMatMPIAIJ
491 COMM = PETSc.COMM_WORLD variable in BaseTestMatBAIJ
501 COMM = PETSc.COMM_SELF variable in TestMatSeqBAIJ
574 COMM = PETSc.COMM_WORLD variable in TestMatMPIBAIJ
[all …]
H A Dtest_vec.py9 COMM = None variable in BaseTestVec
14 v.create(self.COMM)
245 A = PETSc.Mat().createDense((M, N), comm=self.COMM)
279 x.getArray()[:] = self.COMM.rank + 1
280 self.assertAlmostEqual(x.mean(), np.mean(np.arange(1, self.COMM.size + 1)))
287 COMM = PETSc.COMM_SELF variable in TestVecSeq
292 COMM = PETSc.COMM_WORLD variable in TestVecMPI
301 COMM = PETSc.COMM_WORLD variable in TestVecShared
H A Dtest_tao.py53 COMM = None variable in BaseTestTAO
56 self.tao = PETSc.TAO().create(comm=self.COMM)
286 COMM = PETSc.COMM_SELF variable in TestTAOSelf
290 COMM = PETSc.COMM_WORLD variable in TestTAOWorld
H A Dtest_mat_py.py296 COMM = PETSc.COMM_WORLD variable in TestMatrix
308 self.A.create(self.COMM)
319 self.A.createPython([N, N], None, comm=self.COMM)
323 self.A.createPython([N, N], context, comm=self.COMM)
495 R = PETSc.Random().create(self.COMM)
497 A = PETSc.Mat().create(self.COMM)
502 B = PETSc.Mat().create(self.COMM)
507 Id = PETSc.Mat().create(self.COMM)
H A Dtest_dmplex.py15 COMM = PETSc.COMM_WORLD variable in BaseTestPlex
24 self.DIM, self.CELLS, self.COORDS, comm=self.COMM
33 rank = self.COMM.rank
400 boundary = PETSc.DMPlex().create(self.COMM)
417 boundary = PETSc.DMPlex().create(self.COMM)
H A Dtest_dmstag.py8 COMM = PETSc.COMM_WORLD variable in BaseTestDMStag
23 comm=self.COMM,
H A Dtest_dmda.py8 COMM = PETSc.COMM_WORLD variable in BaseTestDA
23 comm=self.COMM,