Fortran – Allocatable Array of Allocatable Derived Type
Problem Statement The problem at hand is related to the declaration of a saved object in Fortran. Consider the following line of code: type(array_t(equations)), allocatable, save :: flowsol(:) The intention here is to have a length-parameterized type (array_t(equations)) as a saved object. However, the compiler raises an error, stating that a saved object cannot be …