Greetings,
I am trying to load some 3D data to initialize the model in the CONDIM subroutine with the parallel version. I succeeded in doing such task; however I had to declare the total number of 2D nodes by "brute force" which is not the most elegant solution ever.
My declarations look something like this:
INTEGER, PARAMETER :: NPOIN_TOTAL=10000
DOUBLE PRECISION,DIMENSION(NPOIN_TOTAL*NPLAN) :: INIT_TEMP
Where INIT_TEMP is be the array where the external data is stored and NPOIN_TOTAL is the total number of 2D Nodes.
My questions is: Is there a way to get a variable from the system (I suppose it is NPOIN_TOT) in order to not have to force it ?
Any help is appreciated.
Thank you very much
Caio E. Stringari