I declared a variable in module “fields_species_transport” as
double precision,dimension(nx,ny,nz) :: mobility_scalar.
However, when I am compiling, I get the following error:
“An automatic object must not appear in the specification part of a module.”
Is it nor permissible to initialize variables in the fields? If not, then after declaring them, where do we initialize?