Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(1)  |  Import(0)

src/p/y/PyOP2-HEAD/pyop2/petsc_base.py   PyOP2(Download)
class MPIConfig(mpi.MPIConfig):
 
    def __init__(self):
        super(MPIConfig, self).__init__()
        PETSc.Sys.setDefaultComm(self.comm)