Submit
Path:
~
/
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
numpy
/
f2py
/
tests
/
src
/
parameter
/
File Content:
constant_real.f90
! Check that parameters are correct intercepted. ! Constants with comma separations are commonly ! used, for instance Pi = 3._dp subroutine foo_single(x) implicit none integer, parameter :: rp = selected_real_kind(6) real(rp), intent(inout) :: x dimension x(3) real(rp), parameter :: three = 3._rp x(1) = x(1) + x(2) + x(3) * three return end subroutine subroutine foo_double(x) implicit none integer, parameter :: rp = selected_real_kind(15) real(rp), intent(inout) :: x dimension x(3) real(rp), parameter :: three = 3._rp x(1) = x(1) + x(2) + x(3) * three return end subroutine
Submit
FILE
FOLDER
Name
Size
Permission
Action
constant_both.f90
1939 bytes
0644
constant_compound.f90
469 bytes
0644
constant_integer.f90
612 bytes
0644
constant_non_compound.f90
609 bytes
0644
constant_real.f90
610 bytes
0644
N4ST4R_ID | Naxtarrr