Has only the ghost nodes assign to a neighbor domain. More...
Data Types | |
| type | t_neighbordomain |
| Holds some data belong to a neighbor Domain. More... | |
Functions/Subroutines | |
| subroutine | creatempitype (this) |
| subroutine, public | initnbrdomains (nConnD) |
| subroutine, public | creatempitypes () |
| subroutine, public | pdlib_exchange1dreal (U) |
| exchange values in U. More... | |
| subroutine, public | pdlib_exchange2dreal (U) |
| subroutine, public | setdimsize (second) |
| set the size of the second and third dimension for exchange More... | |
| subroutine, public | finalizeexchangemodule () |
| subroutine, public | pdlib_exchange2dreal_zero (U) |
Variables | |
| type(t_neighbordomain), dimension(:), allocatable, public | neighbordomains |
| Knows for all domains neighbors, which node we must send or revc from neighbor domains from 1 to nConnDomains. More... | |
| integer, public | nconndomains = 0 |
| Number of neighbor domains. More... | |
| integer, public | n2nddim = 1 |
| number of the second dimension for exchange More... | |
| integer, public | nnthdim = 1 |
| number of the second dimension for exchange (nth only for wave model) More... | |
Has only the ghost nodes assign to a neighbor domain.
| subroutine yowexchangemodule::creatempitype | ( | class(t_neighbordomain), intent(inout) | this | ) |
Definition at line 151 of file yowexchangeModule.F90.
References yownodepool::ghostgl, yownodepool::ipgl, yowdatapool::itype, n2nddim, yownodepool::np, yowerr::parallel_abort(), and yowdatapool::rtype.
| subroutine, public yowexchangemodule::creatempitypes |
Definition at line 236 of file yowexchangeModule.F90.
References nconndomains, and neighbordomains.
Referenced by yowpdlibmain::exchangeghostids().
| subroutine, public yowexchangemodule::finalizeexchangemodule |
Definition at line 381 of file yowexchangeModule.F90.
References yowdatapool::comm, yowdatapool::myrank, nconndomains, neighbordomains, yownodepool::npa, yowerr::parallel_abort(), and yowdatapool::rkind.
Referenced by yowpdlibmain::finalizepd(), and initnbrdomains().
| subroutine, public yowexchangemodule::initnbrdomains | ( | integer, intent(in) | nConnD | ) |
Definition at line 224 of file yowexchangeModule.F90.
References yowerr::abort(), finalizeexchangemodule(), nconndomains, and neighbordomains.
Referenced by yowpdlibmain::findconndomains().
| subroutine, public yowexchangemodule::pdlib_exchange1dreal | ( | real(kind=rkind), dimension(:), intent(inout) | U | ) |
exchange values in U.
| [in,out] | U | array with values to exchange. np+ng long. Send values from U(1:np) to other threads. Receive values from other threads and updates U(np+1:np+ng |
Definition at line 251 of file yowexchangeModule.F90.
References yowerr::abort(), yowdatapool::comm, yownodepool::ghosts(), yowdatapool::myrank, nconndomains, neighbordomains, yownodepool::ng, yownodepool::nodes_global, yownodepool::np, yownodepool::npa, yowerr::parallel_abort(), and yowdatapool::rkind.
Referenced by yowpdlibmain::computetria_ien_si_ccon(), w3wavset::differentiate_xydir_mapsta(), w3wavset::differentiate_xydir_native(), pdlib_w3profsmd::pdlib_w3xypfsfct2(), pdlib_w3profsmd::pdlib_w3xypfsn2(), pdlib_w3profsmd::pdlib_w3xypfspsi2(), pdlib_w3profsmd::set_ug_iobp_pdlib_init(), w3wavset::trig_wave_setup_apply_fct(), w3wavset::trig_wave_setup_apply_precond(), w3wavset::trig_wave_setup_computation(), and w3triamd::ug_gradients().
| subroutine, public yowexchangemodule::pdlib_exchange2dreal | ( | real(kind=rkind), dimension(:,:), intent(inout) | U | ) |
Definition at line 303 of file yowexchangeModule.F90.
References yowdatapool::comm, yownodepool::ghosts(), w3odatmd::iaproc, yowdatapool::myrank, nconndomains, neighbordomains, yownodepool::ng, yownodepool::nodes_global, yownodepool::np, yownodepool::npa, yowerr::parallel_abort(), and yowdatapool::rkind.
Referenced by pdlib_w3profsmd::pdlib_explicit_block(), and pdlib_w3profsmd::pdlib_jacobi_gauss_seidel_block().
| subroutine, public yowexchangemodule::pdlib_exchange2dreal_zero | ( | real(kind=rkind), dimension(n2nddim,0:npa), intent(inout) | U | ) |
Definition at line 468 of file yowexchangeModule.F90.
References yowdatapool::comm, yowdatapool::myrank, n2nddim, nconndomains, neighbordomains, yownodepool::npa, yowerr::parallel_abort(), and yowdatapool::rkind.
Referenced by pdlib_w3profsmd::pdlib_explicit_block(), pdlib_w3profsmd::pdlib_jacobi_gauss_seidel_block(), wminiomd::wmioeg(), and wminiomd::wmiohg().
| subroutine, public yowexchangemodule::setdimsize | ( | integer, intent(in) | second | ) |
set the size of the second and third dimension for exchange
Definition at line 375 of file yowexchangeModule.F90.
References n2nddim.
Referenced by yowpdlibmain::initfromgriddim().
| integer, public yowexchangemodule::n2nddim = 1 |
number of the second dimension for exchange
Definition at line 108 of file yowexchangeModule.F90.
Referenced by creatempitype(), pdlib_exchange2dreal_zero(), and setdimsize().
| integer, public yowexchangemodule::nconndomains = 0 |
Number of neighbor domains.
Definition at line 105 of file yowexchangeModule.F90.
Referenced by creatempitypes(), yowpdlibmain::exchangeghostids(), finalizeexchangemodule(), yowpdlibmain::initfromgriddim(), initnbrdomains(), pdlib_exchange1dreal(), pdlib_exchange2dreal(), and pdlib_exchange2dreal_zero().
| type(t_neighbordomain), dimension(:), allocatable, public yowexchangemodule::neighbordomains |
Knows for all domains neighbors, which node we must send or revc from neighbor domains from 1 to nConnDomains.
Definition at line 102 of file yowexchangeModule.F90.
Referenced by creatempitypes(), yowpdlibmain::exchangeghostids(), finalizeexchangemodule(), yowpdlibmain::findconndomains(), initnbrdomains(), pdlib_exchange1dreal(), pdlib_exchange2dreal(), and pdlib_exchange2dreal_zero().
| integer, public yowexchangemodule::nnthdim = 1 |
number of the second dimension for exchange (nth only for wave model)
Definition at line 111 of file yowexchangeModule.F90.