3.1.5.1.1. c3po.multi1D.mpi.MPIMulti1DPhysicsDriver module
Contain the classes MPIMulti1DPhysicsDriver.
- class c3po.multi1D.mpi.MPIMulti1DPhysicsDriver.MPIMulti1DPhysicsDriver(physics, grid, weights=None, mpiComm=None)
Bases:
Multi1DPhysicsDriverMPIMulti1DPhysicsDriveris the MPI collaborative version ofc3po.multi1D.Multi1DPhysicsDriver.- __init__(physics, grid, weights=None, mpiComm=None)
Build a
MPIMulti1DPhysicsDriver.- Parameters:
physics – Same than in
Multi1DPhysicsDriver.__init__(), but some elements can be MPIRemote.grid – See
Multi1DPhysicsDriver.__init__().weights – See
Multi1DPhysicsDriver.__init__().mpiComm – If not None, forces
MPIMulti1DPhysicsDriverto make MPI communications and to use this communicator (can also be done withsetMPIComm()).
- shiftPhysicsDrivers(shiftMap)