1
! @@LICENSE@@ see Copyright notice in the top-directory
4
#include "bud_utils.inc"
6
! This bud is not able to read/write itself.
9
!> @addtogroup bud-intrinsic
11
!> @defgroup dist-1d Parallel distribution (1D)
12
!! @ingroup bud-intrinsic
14
!! A distribution implementation of various kinds.
18
# define BUD_MOD_NAME BUD_CC3(BUD_MOD,_,iDist1D)
19
!> @defgroup BUD_MOD_NAME Integer (int)
20
!! `integer(selected_int_kind(9))` data type
23
# define BUD_TYPE_NAME BUD_CC2(BUD_TYPE,iDist1D)
24
# define BUD_TYPE_VAR integer
26
# define BUD_MPI_PREC MPI_Integer
31
# define BUD_MOD_NAME BUD_CC3(BUD_MOD,_,lDist1D)
32
!> @defgroup BUD_MOD_NAME Integer (long)
33
!! `integer(selected_int_kind(18))` data type
36
# define BUD_TYPE_NAME BUD_CC2(BUD_TYPE,lDist1D)
37
# define BUD_TYPE_VAR integer
39
! @todo Assert that a long communicator with MPI works!!
40
# define BUD_MPI_PREC MPI_Integer
45
!> @defgroup Distribution module for all precision objects
47
!! Module for making everything public
49
module BUD_CC3(BUD_MOD,_,Dist1D)
51
use BUD_CC3(BUD_MOD,_,iDist1D)
52
use BUD_CC3(BUD_MOD,_,lDist1D)
61
! project-buds -- local file settings
62
! Anything below this line may be overwritten by scripts
63
! Below are non-editable settings
69
! f90-associate-indent: 2
70
! f90-continuation-indent: 2
71
! f90-structure-indent: 2
72
! f90-critical-indent: 2
73
! f90-program-indent: 2