Recent content by Yascho Bob

  1. Y

    F90 Subroutine that accepts any array of any dimension

    Hi, I need to write a subroutine that accepts as an argument an array of any number of dimensions, where each dimensions has any size. The array is contiguously allocated. In C, I can do this pretty cleanly. void array_func(int ndims, int *dims, int *array) { // do stuff with...
Back
Top