Hi everyone,
In the file discretelement.f, variables are declared using DOUBLE PRECISION or DOUBLE PRECISION, DIMENSION(:), ALLOCATABLE. What are the differences between them?

Hi everyone,
In the file discretelement.f, variables are declared using DOUBLE PRECISION or DOUBLE PRECISION, DIMENSION(:), ALLOCATABLE. What are the differences between them?

I recommend this text for learning more about FORTRAN:
Here’s a set of course notes from a Cambridge class on modern Fortran, chapter 5 covers arrays and ALLOCATABLE