Files
graphify/tests/fixtures/sample_preprocessed.F90
T
2026-05-13 23:39:01 +01:00

18 lines
256 B
Fortran

#define NDIM 3
module shapes
#ifdef MPI
use mpi
#endif
implicit none
contains
subroutine compute_volume(side, vol)
real, intent(in) :: side
real, intent(out) :: vol
vol = side ** NDIM
end subroutine compute_volume
end module shapes