⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nbr1daltrma.f

📁 The example for Boor USING MPI2
💻 F
字号:
 subroutine exchng1( a, nx, s, e, win, &                     bottom_nbr, top_nbr ) use mpi integer nx, s, e double precision a(0:nx+1,s-1:e+1) integer win, bottom_nbr, top_nbr integer ierr call MPI_WIN_FENCE( 0, win, ierr ) ! Get top edge from top neighbor's first column call MPI_GET( a(1,e+1), nx, MPI_DOUBLE_PRECISION, &               top_nbr, nx + 1, nx, MPI_DOUBLE_PRECISION, win, ierr ) ! Put bottom edge into bottom neighbor's ghost cells call MPI_PUT( a(1,e), nx, MPI_DOUBLE_PRECISION, &               bottom_nbr, 1, nx, MPI_DOUBLE_PRECISION, win, ierr ) call MPI_WIN_FENCE( 0, win, ierr ) return end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -