Doxygen Generated Documentation From Interface Source Code
Grid_setWork.F90 File Reference

Go to the source code of this file.


subroutine Grid_setWork (tileDesc, work, mode)

Function/Subroutine Documentation

◆ Grid_setWork()

subroutine Grid_setWork ( type(Grid_tile_t)  tileDesc,
real, intent(in)  work,
integer, intent(in), optional  mode 

Sets the work value for a given block. Can pass an operation name (defined in constants.h) to apply an operation to the work instead of overwriting the previous value. Used for uneven load distributions when using Paramesh.

tileDesc - block tile. work - desired weight in the work distribution. mode - (optional) If supplied, specifies the operation to apply the given work.

Definition at line 25 of file Grid_setWork.F90.