Quantcast
Channel: Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2583

data type or not?

$
0
0

Dear all,

I have a question regarding data type.

I have some big vector: PP,TT,PET. I would like to put them in a data type variable

  TYPE::tMACROCELLNODE
   INTEGER                                        :: nElem
   REAL(KIND=8),ALLOCATABLE,DIMENSION(:)          :: PP
   REAL(KIND=8),ALLOCATABLE,DIMENSION(:)          :: TT
   REAL(KIND=8),ALLOCATABLE,DIMENSION(:)          :: PET

In this way, my code should be easy to develop, to read and to parallelize.

I ask to my self if this type variable, with very big data, could create some problem. 

I do not know, stability, speed ecc ecc.

Thanks to all of you

 

 


Viewing all articles
Browse latest Browse all 2583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>