C
C  This file is part of MUMPS 5.9.0, released
C  on Tue Apr 28 13:05:59 UTC 2026
C
C
C  Copyright 1991-2026 CERFACS, CNRS, ENS Lyon, INP Toulouse, Inria,
C  Mumps Technologies, University of Bordeaux.
C
C  This version of MUMPS is provided to you free of charge. It is
C  released under the CeCILL-C license 
C  (see doc/CeCILL-C_V1-en.txt, doc/CeCILL-C_V1-fr.txt, and
C  https://cecill.info/licences/Licence_CeCILL-C_V1-en.html)
C
      MODULE MUMPS_INTR_TYPES
      PRIVATE
      PUBLIC :: MUMPS_ROOT_STRUC
C     Define arithmetic-independent MUMPS_ROOT_STRUC datatype
      TYPE MUMPS_ROOT_STRUC
        INTEGER :: MBLOCK, NBLOCK, NPROW, NPCOL
        INTEGER :: MYROW, MYCOL
        INTEGER :: SCHUR_MLOC, SCHUR_NLOC, SCHUR_LLD
        INTEGER :: RHS_NLOC
        INTEGER :: ROOT_SIZE, TOT_ROOT_SIZE
!       descriptor for scalapack
        INTEGER, DIMENSION( 9 ) :: DESCRIPTOR
        INTEGER :: CNTXT_BLACS, LPIV
        INTEGER :: NB_SINGULAR_VALUES
        INTEGER, DIMENSION(:), POINTER :: IPIV
        INTEGER, DIMENSION(:), POINTER :: RG2L
        LOGICAL :: yes, gridinit_done
      END TYPE MUMPS_ROOT_STRUC
      END MODULE MUMPS_INTR_TYPES
