Recent content by Zahur

  1. Z

    Fortran Increasing Size of FORTRAN Array without Reallocation

    Is it possible to increase the size of an already allocated array in FORTRAN, without reallocation? e.g. if in start A(3)=[4, 5, 6] and now I want something like A(4)=[4, 5, 6, 7]. Currently I am using a temporary array to do this allocate(A(3)) A=(/4, 5, 6/) allocate(temp(3)) temp=A...
Back
Top