Hi,
I want to read some data from external files using UEXTERNALDB, which will be used in UMAT for calculation. I declare the variables as follows in UEXTERNALDB:
REAL XX(5000), YY(5000), MOIINT(50, 90)
COMMON /MOIFLD/ XX, YY, MOIINT
I will also have the same common block in UMAT to access them. But I notice that there are utility subroutines like SMAFloatArrayCreate() to allocate global arrays shared by different threads (integration points) and I start doubting whether what I am doing above is still correct. If it is, could I also add another matrix in common block with size of x*y where x and y are number of elements and number of integration points per element respectively, so that the matrix can be edited and assigned values in UMAT? Or I need to strictly follow SMAFloatArrayCreate() to create global arrays which may require more efforts since matrix needs to be resized into a 1D array. Thanks!
