RPN_COMM

(RPN_COMM_split)



integer function RPN_COMM_split((mex,nx,gni,minx,maxx,nxl,nxlmax,
     %                   halox,nx0,fill)



ARGUMENTS


mexCoordinate of PE in processes grid along one axisintegerI
nxNumber of processes along the choosen axisintegerI
gniSize of the global domain for that axisintegerI
minx,maxxSize of the local tile for that axisintegerO
nxl,nxlmaxLocal size of the problem for that axis(and max of nx for all PEs)integerO
haloxSize of the halo in that directionintegerI
nx0Coordinate of the first local point for that axisintegerO
fillArchitecture-dependant optimisation for array size logicalI

DESCRIPTION

Same as RPN_COMM_topo but in a more generic way (possible to compute the dimensions of a tile of an arbitrary PE), see RPN_COMM_topo





SEE ALSO

RPN_COMM_* 

Return to RPN Libraries home page