#ifdef SEAICE_CGRID
# ifdef SEAICE_CGRID
#if (defined (SEAICE_CGRID) defined (SEAICE_ALLOW_FREEDRIFT))
#if (defined (SEAICE_CGRID) defined (SEAICE_ALLOW_EVP))
#if ( defined (SEAICE_CGRID) defined (SEAICE_ALLOW_DYNAMICS) )
#if ( defined (SEAICE_CGRID)
#if ( (defined SEAICE_CGRID) (defined SEAICE_ALLOW_DYNAMICS) )
#if ( defined(SEAICE_CGRID) defined(SEAICE_ALLOW_EVP) )
#if (defined(SEAICE_CGRID) defined(SEAICE_ALLOW_EVP))