subroutine broadcast_physics_parameters() !-----------------------------------------------------------------| ! Broadcast PHYSICS namelist parameters to all processes !-----------------------------------------------------------------| call MPI_BCAST(ps, 1, MY_REAL, 0, comm3d, mpierr) call MPI_BCAST(igrw_damp, 1, MPI_INTEGER, 0, comm3d, mpierr) call MPI_BCAST(lmoist, 1, MPI_LOGICAL, 0, comm3d, mpierr) call MPI_BCAST(lcoriol, 1, MPI_LOGICAL, 0, comm3d, mpierr) call MPI_BCAST(lbuoyancy, 1, MPI_LOGICAL, 0, comm3d, mpierr) call MPI_BCAST(ltempeq, 1, MPI_LOGICAL, 0, comm3d, mpierr) call MPI_BCAST(lprofforc, 1, MPI_LOGICAL, 0, comm3d, mpierr) call MPI_BCAST(ifixuinf, 1, MPI_INTEGER, 0, comm3d, mpierr) call MPI_BCAST(lvinf, 1, MPI_LOGICAL, 0, comm3d, mpierr) call MPI_BCAST(tscale, 1, MY_REAL, 0, comm3d, mpierr) call MPI_BCAST(dpdx, 1, MY_REAL, 0, comm3d, mpierr) call MPI_BCAST(lconservativeibm, 1, MPI_LOGICAL, 0, comm3d, mpierr) ! Broadcast PHYSICS variables that are part of the input interface call MPI_BCAST(lnudge, 1, MPI_LOGICAL, 0, comm3d, mpierr) call MPI_BCAST(lnudgevel, 1, MPI_LOGICAL, 0, comm3d, mpierr) call MPI_BCAST(ltimedeplw, 1, MPI_LOGICAL, 0, comm3d, mpierr) call MPI_BCAST(ltimedepnudge, 1, MPI_LOGICAL, 0, comm3d, mpierr) call MPI_BCAST(ltimedepsurf, 1, MPI_LOGICAL, 0, comm3d, mpierr) call MPI_BCAST(ltimedepsw, 1, MPI_LOGICAL, 0, comm3d, mpierr) call MPI_BCAST(luoutflowr, 1, MPI_LOGICAL, 0, comm3d, mpierr) call MPI_BCAST(luvolflowr, 1, MPI_LOGICAL, 0, comm3d, mpierr) call MPI_BCAST(lvoutflowr, 1, MPI_LOGICAL, 0, comm3d, mpierr) call MPI_BCAST(lvvolflowr, 1, MPI_LOGICAL, 0, comm3d, mpierr) call MPI_BCAST(nnudge, 1, MPI_INTEGER, 0, comm3d, mpierr) call MPI_BCAST(ntimedeplw, 1, MPI_INTEGER, 0, comm3d, mpierr) call MPI_BCAST(ntimedepnudge, 1, MPI_INTEGER, 0, comm3d, mpierr) call MPI_BCAST(ntimedepsurf, 1, MPI_INTEGER, 0, comm3d, mpierr) call MPI_BCAST(ntimedepsw, 1, MPI_INTEGER, 0, comm3d, mpierr) call MPI_BCAST(tnudge, 1, MY_REAL, 0, comm3d, mpierr) call MPI_BCAST(uflowrate, 1, MY_REAL, 0, comm3d, mpierr) call MPI_BCAST(vflowrate, 1, MY_REAL, 0, comm3d, mpierr) end subroutine broadcast_physics_parameters