Changeset 15396


Ignore:
Timestamp:
07/02/13 09:24:16 (12 years ago)
Author:
Mathieu Morlighem
Message:

merged trunk-jpl and trunk for revision 15394

Location:
issm/trunk
Files:
137 deleted
1329 edited
273 copied

Legend:

Unmodified
Added
Removed
  • issm/trunk

  • issm/trunk/bin

    • Property svn:ignore
      •  

        old new  
         1issm.exe.dSYM
        12*.exe
        23*.mexmaci64
  • issm/trunk/configs/config-arm-linux.sh

    r14310 r15396  
    22
    33./configure \
    4         --prefix=$ISSM_DIR \
    5     --build="i386-apple-darwin10.8.0" \
    6     --host="arm-linux-androideabi" \
    7     --enable-shared \
    8     --with-android=jni \
    9         --with-android-ndk=$ISSM_DIR/externalpackages/android/android-ndk/install \
    10     --without-fortran \
    11         --without-wrappers \
    12         --without-kriging \
    13         --with-gsl-dir=$ISSM_DIR/externalpackages/gsl/install \
    14         --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
    15     --disable-static
     4   --prefix=$ISSM_DIR\
     5   --libdir=$ISSM_DIR/src/mobile/android/ISSM_APP/libs/armeabi\
     6   --build="i386-apple-darwin10.8.0"\
     7   --host="arm-linux-androideabi"\
     8   --enable-shared\
     9   --with-android=jni\
     10   --with-android-ndk=$ISSM_DIR/externalpackages/android/android-ndk/install\
     11   --without-fortran\
     12   --without-wrappers\
     13   --without-kriging\
     14   --with-gsl-dir=$ISSM_DIR/externalpackages/gsl/install\
     15   --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install\
  • issm/trunk/configs/config-discover.sh

    r13975 r15396  
    1313 --with-mkl-dir="/usr/local/intel/mkl/10.1.2.024/lib/64/" \
    1414 --with-mpi-include="/usr/local/intel/mpi/4.0.3.008/include64/" \
    15  --with-mpi-lib="-L/usr/local/intel/mpi/4.0.3.008/lib64/ -lmpi -lmpiif" \
     15 --with-mpi-libflags="-L/usr/local/intel/mpi/4.0.3.008/lib64/ -lmpi -lmpiif" \
    1616 --with-petsc-arch=$ISSM_ARCH \
    1717 --with-dakota-dir=$ISSM_DIR/externalpackages/dakota/install \
  • issm/trunk/configs/config-greenplanet.sh

    r14067 r15396  
    1212 --with-tao-dir=$ISSM_DIR/externalpackages/tao/install \
    1313 --with-mpi-include="/sopt/mpi/openmpi-1.5.4_psm/intel/include/" \
    14  --with-mpi-lib="-L/sopt/mpi/openmpi-1.5.4_psm/intel/lib/ -lmpi -lmpi_f77" \
     14 --with-mpi-libflags="-L/sopt/mpi/openmpi-1.5.4_psm/intel/lib/ -lmpi -lmpi_f77" \
    1515 --with-petsc-arch=$ISSM_ARCH \
    1616 --with-dakota-dir=$ISSM_DIR/externalpackages/dakota/install \
  • issm/trunk/configs/config-hoffman2.sh

    r14310 r15396  
    77 --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
    88 --with-mpi-include=/u/local/intel/11.1/openmpi/1.4.5/include \
    9  --with-mpi-lib="-L/u/local/intel/11.1/openmpi/1.4.5/include -lmpi" \
     9 --with-mpi-libflags="-L/u/local/intel/11.1/openmpi/1.4.5/include -lmpi" \
    1010 --with-petsc-arch=$ISSM_ARCH \
    1111 --with-plapack-lib="-L$ISSM_DIR/externalpackages/petsc/install/ -lPLAPACK" \
  • issm/trunk/configs/config-linux64-cloud.sh

    r13975 r15396  
    1212 --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
    1313 --with-tao-dir=$ISSM_DIR/externalpackages/tao/install \
    14  --with-mpi-include=$ISSM_DIR/externalpackages/mpich2/install/include  \
    15  --with-mpi-lib="-L$ISSM_DIR/externalpackages/mpich2/install/lib/ -lmpich -lmpl " \
     14 --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include  \
     15 --with-mpi-libflags="-L$ISSM_DIR/externalpackages/mpich/install/lib/ -lmpich -lmpl " \
    1616 --with-petsc-arch=$ISSM_ARCH \
    1717 --with-blacs-dir=$ISSM_DIR/externalpackages/petsc/install/ \
  • issm/trunk/configs/config-linux64-murdo-nopetsc.sh

    r12332 r15396  
    33./configure \
    44 --prefix=$ISSM_DIR \
    5  --with-mpi-include=$ISSM_DIR/externalpackages/mpich2/install/include  \
    6  --with-mpi-lib="-L$ISSM_DIR/externalpackages/mpich2/install/lib/ -lmpich" \
     5 --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include  \
     6 --with-mpi-libflags="-L$ISSM_DIR/externalpackages/mpich/install/lib/ -lmpich" \
    77 --with-matlab-dir=$MATLAB_DIR \
    88 --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
  • issm/trunk/configs/config-linux64-murdo.sh

    r13975 r15396  
    99        --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
    1010        --with-metis-dir=$ISSM_DIR/externalpackages/metis/install \
    11         --with-mpi-include=$ISSM_DIR/externalpackages/mpich2/install/include  \
    12         --with-mpi-lib="-L$ISSM_DIR/externalpackages/mpich2/install/lib/ -lmpich" \
     11        --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include  \
     12        --with-mpi-libflags="-L$ISSM_DIR/externalpackages/mpich/install/lib/ -lmpich" \
    1313        --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
    1414        --with-python-dir=$ISSM_DIR/externalpackages/python/install\
  • issm/trunk/configs/config-linux64-ubuntu64.sh

    r12332 r15396  
    77 --with-metis-dir=$ISSM_DIR/externalpackages/metis/install \
    88 --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
    9  --with-mpi-include=$ISSM_DIR/externalpackages/mpich2/install/include \
    10  --with-mpi-lib="-L$ISSM_DIR/externalpackages/mpich2/install/lib/ -lmpich -lmpl -ldl" \
     9 --with-mpi-include="/usr/lib/mpich/include" \
     10 --with-mpi-libflags="-L/usr/lib/mpich/lib -lmpich -lmpl -ldl" \
    1111 --with-petsc-arch=$ISSM_ARCH \
    1212 --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install \
     
    1919 --with-chaco-dir="$ISSM_DIR/externalpackages/chaco/install" \
    2020 --with-cxxoptflags="-mtune=barcelona -ffast-math -O3 -msse4.2 -Wno-write-strings "\
    21  --with-fortran-lib="-lgfortran"\
     21 --with-fortran-lib="-L/usr/lib/gcc/x86_64-linux-gnu/4.7/ -lgfortran"\
    2222 --with-numthreads=8 \
    2323 --with-dakota-dir=$ISSM_DIR/externalpackages/dakota/install \
  • issm/trunk/configs/config-macosx64-nicole.sh

    r13395 r15396  
    33#petsc 3.2
    44#mpich 1.4
     5export F77='/usr/local/gfortran/bin/x86_64-apple-darwin10-gfortran'
    56
    67./configure \
     
    1011        --with-metis-dir=$ISSM_DIR/externalpackages/metis/install \
    1112        --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install  \
    12         --with-mpi-include=$ISSM_DIR/externalpackages/mpich2/install/include  \
    13         --with-mpi-lib=" $ISSM_DIR/externalpackages/mpich2/install/lib/libpmpich.a $ISSM_DIR/externalpackages/mpich2/install/lib/libmpich.a $ISSM_DIR/externalpackages/mpich2/install/lib/libmpl.a " \
     13        --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include  \
     14        --with-mpi-libflags=" $ISSM_DIR/externalpackages/mpich/install/lib/libpmpich.a $ISSM_DIR/externalpackages/mpich/install/lib/libmpich.a $ISSM_DIR/externalpackages/mpich/install/lib/libmpl.a " \
    1415        --with-petsc-arch=$ISSM_ARCH \
    1516        --with-dakota-dir=$ISSM_DIR/externalpackages/dakota/install \
  • issm/trunk/configs/config-macosx64-ogive.sh

    r12332 r15396  
    1414        --with-metis-dir=$ISSM_DIR/externalpackages/metis/install \
    1515        --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install  \
    16         --with-mpi-include=$ISSM_DIR/externalpackages/mpich2/install/include  \
    17         --with-mpi-lib=" $ISSM_DIR/externalpackages/mpich2/install/lib/libpmpich.a $ISSM_DIR/externalpackages/mpich2/install/lib/libmpich.a $ISSM_DIR/externalpackages/mpich2/install/lib/libmpl.a " \
     16        --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include  \
     17        --with-mpi-libflags=" $ISSM_DIR/externalpackages/mpich/install/lib/libpmpich.a $ISSM_DIR/externalpackages/mpich/install/lib/libmpich.a $ISSM_DIR/externalpackages/mpich/install/lib/libmpl.a " \
    1818        --with-petsc-arch=$ISSM_ARCH \
    1919        --with-dakota-dir=$ISSM_DIR/externalpackages/dakota/install \
  • issm/trunk/configs/config-macosx64.sh

    r14023 r15396  
    33#petsc 3.2
    44#mpich 1.4
    5 
    6 pythonversion=2.7
     5#python 2.7
    76
    87./configure \
    98        --prefix=$ISSM_DIR \
    10         --with-matlab-dir=$MATLAB_DIR \
    11         --with-python-dir=$ISSM_DIR/externalpackages/python/install\
    12         --with-python-numpy-dir=$ISSM_DIR/externalpackages/python/install/Library/Frameworks/Python.framework/Versions/$pythonversion/lib/python$pythonversion/site-packages/numpy/core/include/numpy\
    13         --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
    14         --with-metis-dir=$ISSM_DIR/externalpackages/metis/install \
    15         --with-mpi-include=$ISSM_DIR/externalpackages/mpich2/install/include \
    16         --with-mpi-lib=" $ISSM_DIR/externalpackages/mpich2/install/lib/libpmpich.a $ISSM_DIR/externalpackages/mpich2/install/lib/libmpich.a $ISSM_DIR/externalpackages/mpich2/install/lib/libmpl.a " \
    17         --with-chaco-dir=$ISSM_DIR/externalpackages/chaco/install \
     9        --with-matlab-dir="$ISSM_DIR/externalpackages/matlab/install" \
     10        --with-python-dir="$ISSM_DIR/externalpackages/python/install" \
     11        --with-python-numpy-dir="$ISSM_DIR/externalpackages/python/install/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include/numpy" \
     12        --with-triangle-dir="$ISSM_DIR/externalpackages/triangle/install" \
     13        --with-metis-dir="$ISSM_DIR/externalpackages/metis/install" \
     14        --with-mpi-include="$ISSM_DIR/externalpackages/mpich/install/include" \
     15        --with-mpi-libflags=" $ISSM_DIR/externalpackages/mpich/install/lib/libpmpich.a $ISSM_DIR/externalpackages/mpich/install/lib/libmpich.a $ISSM_DIR/externalpackages/mpich/install/lib/libmpl.a " \
     16        --with-chaco-dir="$ISSM_DIR/externalpackages/chaco/install" \
    1817        --with-fortran-lib="/usr/local/gfortran/lib/libgfortran.a" \
    1918        --with-math-lib="/usr/lib/libm.dylib" \
    2019        --with-graphics-lib="/usr/X11/lib/libX11.dylib" \
    21         --with-cxxoptflags=" -fno-common -no-cpp-precomp -fexceptions -arch x86_64 -mmacosx-version-min=10.5  -O3 -DNDEBUG -w "\
    2220        --with-numthreads=8 \
    23         --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
    24         --with-petsc-arch=$ISSM_ARCH \
    25         --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install \
    26         --with-blacs-dir=$ISSM_DIR/externalpackages/petsc/install/ \
    27         --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install/ \
    28         --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install/ \
    29         --with-dakota-dir=$ISSM_DIR/externalpackages/dakota/install
     21        --with-petsc-dir="$ISSM_DIR/externalpackages/petsc/install" \
     22        --with-petsc-arch="$ISSM_ARCH" \
     23        --with-blas-lapack-dir="$ISSM_DIR/externalpackages/petsc/install" \
     24        --with-blacs-dir="$ISSM_DIR/externalpackages/petsc/install/" \
     25        --with-scalapack-dir="$ISSM_DIR/externalpackages/petsc/install/" \
     26        --with-mumps-dir="$ISSM_DIR/externalpackages/petsc/install/" \
     27        --with-dakota-dir="$ISSM_DIR/externalpackages/dakota/install"
  • issm/trunk/configs/config-pleiades-petscdev.sh

    r13975 r15396  
    99 --with-tao-dir=$ISSM_DIR/externalpackages/tao/install \
    1010 --with-mpi-include=/nasa/sgi/mpt/2.04/include \
    11  --with-mpi-lib="-L/nasa/sgi/mpt/2.04/lib/ -lmpi -lpthread -lgfortran" \
     11 --with-mpi-libflags="-L/nasa/sgi/mpt/2.04/lib/ -lmpi -lpthread -lgfortran" \
    1212 --with-petsc-arch=$ISSM_ARCH \
    1313 --with-dakota-dir=$ISSM_DIR/externalpackages/dakota/install \
  • issm/trunk/configs/config-win7-32.sh

    r12332 r15396  
    11#!/bin/sh
    2 
    3 #Dos style path needed for the windows sdk 7.1 cl compiler:
    4 ISSM_DIR_WIN=`cygpath -m "$ISSM_DIR"`
    52
    63#get configure.sh to pick up the win7 Visual Studio compiler
    74./configure --prefix=$ISSM_DIR \
    8         --with-vendor=intel-win7-32  \
    9         --with-matlab-dir=$MATLAB_DIR \
    10         --with-triangle-dir="$ISSM_DIR_WIN/externalpackages/triangle/install" \
    11         --with-metis-dir="$ISSM_DIR_WIN/externalpackages/metis/install" \
    12         --with-petsc-dir="$ISSM_DIR_WIN/externalpackages/petsc/install" \
    13         --with-petsc-arch=$ISSM_ARCH  \
    14         --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install/lib/  \
    15         --with-mpi-lib="$ISSM_DIR_WIN/externalpackages/petsc/install/lib/libpetsc.lib" \
    16         --with-mpi-include="$ISSM_DIR_WIN/externalpackages/petsc/install/include/mpiuni"
     5   --disable-static \
     6   --with-vendor=intel-win7-32  \
     7   --with-matlab-dir="$MATLAB_DIR" \
     8   --with-blas-lapack-dir="$ISSM_DIR/externalpackages/petsc/install" \
     9   --with-triangle-dir="$ISSM_DIR/externalpackages/triangle/install" \
     10   --with-metis-dir="$ISSM_DIR/externalpackages/metis/install" \
     11   --with-petsc-dir="$ISSM_DIR/externalpackages/petsc/install" \
     12   --with-petsc-arch=$ISSM_ARCH  \
     13   --with-mpi-libdir="$ISSM_DIR/externalpackages/petsc/install/lib" \
     14   --with-mpi-libflags="-Wl,libpetsc.lib" \
     15   --with-mpi-include="$ISSM_DIR/externalpackages/petsc/install/include/mpiuni"
  • issm/trunk/configs/config-win7-64.sh

    r12332 r15396  
    11#!/bin/sh
    2 
    3 #Dos style path needed for the windows sdk 7.1 cl compiler:
    4 ISSM_DIR_WIN=`cygpath -m "$ISSM_DIR"`
    52
    63#get configure.sh to pick up the win7 Visual Studio compiler
    74./configure --prefix=$ISSM_DIR \
     5   --disable-static \
    86        --with-vendor=intel-win7-64  \
    9         --with-matlab-dir=$MATLAB_DIR \
    10         --with-triangle-dir="$ISSM_DIR_WIN/externalpackages/triangle/install" \
    11         --with-metis-dir="$ISSM_DIR_WIN/externalpackages/metis/install" \
    12         --with-petsc-dir="$ISSM_DIR_WIN/externalpackages/petsc/install" \
     7        --with-matlab-dir="$MATLAB_DIR" \
     8        --with-triangle-dir="$ISSM_DIR/externalpackages/triangle/install" \
     9        --with-metis-dir="$ISSM_DIR/externalpackages/metis/install" \
     10        --with-petsc-dir="$ISSM_DIR/externalpackages/petsc/install" \
    1311        --with-petsc-arch=$ISSM_ARCH  \
    1412        --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install/lib/  \
    15         --with-mpi-lib="$ISSM_DIR_WIN/externalpackages/petsc/install/lib/libpetsc.lib" \
    16         --with-mpi-include="$ISSM_DIR_WIN/externalpackages/petsc/install/include/mpiuni"
     13        --with-mpi-libflags-dir="$ISSM_DIR/externalpackages/petsc/install/lib" \
     14   --with-mpi-libflagss="-Wl,libpetsc.lib" \
     15        --with-mpi-include-dir="$ISSM_DIR/externalpackages/petsc/install/include/mpiuni"
  • issm/trunk/configure.ac

    r14310 r15396  
    22
    33#AUTOCONF
    4 AC_INIT([ISSM],[4.2.5],[issm@jpl.nasa.gov],[issm],[http://issm.jpl.nasa.gov]) #Initializing configure
     4AC_INIT([ISSM],[4.3],[issm@jpl.nasa.gov],[issm],[http://issm.jpl.nasa.gov]) #Initializing configure
    55AC_CONFIG_AUX_DIR([./aux-config])         #Put config files in aux-config
    66AC_CONFIG_MACRO_DIR([m4])                 #m4 macros are located in m4
     
    99
    1010#Compilers
    11 AC_PROG_CC([cccl cl icl gcc])
     11AC_PROG_CC([icc cccl cl icl gcc])
    1212AC_PROG_CPP
    13 AC_PROG_CXX([cccl cl icl g++])
     13AC_PROG_CXX([icpc cccl cl icl g++])
    1414AC_PROG_F77([ifort g77 gfortran])
    1515
     
    2121#Initialize automake and declare foreign so that we don't need a ChangeLog, INSTALL, etc
    2222AM_INIT_AUTOMAKE([foreign])
    23 AM_CONFIG_HEADER([./config.h])   #Config file must be config.h
     23AC_CONFIG_HEADERS([./config.h])   #Config file must be config.h
    2424AM_SILENT_RULES([yes])           #Do not show compilation command by default
    2525AM_PROG_CC_C_O
     
    3939                        src/wrappers/python/Makefile
    4040                        src/wrappers/matlab/Makefile
    41                         src/android/Makefile
    42                         src/android/ISSM/Makefile
     41                        src/mobile/Makefile
     42                        src/mobile/native/Makefile
    4343                        src/m/Makefile])
    4444
  • issm/trunk/etc/environment.csh

    r13975 r15396  
    1 #ISSM_DIR and ISSM_ARCH should have been defined already in your shell settings file (.bashrc, .cshrc, etc ...)
     1#ISSM_DIR should have been defined already in your shell settings file (.bashrc, .cshrc, etc ...)
    22
    33#Load ISSM scripts
     
    2525if (-d $PETSC_DIR) then
    2626        setenv PETSC_DIR {$PETSC_DIR}
    27         setenv LD_LIBRARY_PATH {$LD_LIBRARY_PATH}:$PETSC_DIR/lib/{$ISSM_ARCH}
     27        setenv LD_LIBRARY_PATH {$LD_LIBRARY_PATH}:$PETSC_DIR/lib
    2828endif
    2929
     
    3131set SLEPC_DIR="$ISSM_DIR/externalpackages/slepc/install"
    3232if (-d $SLEPC_DIR) then
    33         setenv LD_LIBRARY_PATH {$LD_LIBRARY_PATH}:$SLEPC_DIR/lib/{$ISSM_ARCH}
     33        setenv LD_LIBRARY_PATH {$LD_LIBRARY_PATH}:$SLEPC_DIR/lib
    3434endif
    3535
     
    3737set TAO_DIR="$ISSM_DIR/externalpackages/tao/install"
    3838if (-d $TAO_DIR) then
    39         setenv LD_LIBRARY_PATH {$LD_LIBRARY_PATH}:$TAO_DIR/lib/{$ISSM_ARCH}
     39        setenv LD_LIBRARY_PATH {$LD_LIBRARY_PATH}:$TAO_DIR/lib
    4040endif
    4141
  • issm/trunk/etc/environment.sh

    r14067 r15396  
    6565libpathappend "$MATLAB_DIR/lib"
    6666
     67#legacy mpich2 (To be removed)
    6768MPI_DIR="$ISSM_DIR/externalpackages/mpich2/install"
    6869if [ -d "$MPI_DIR" ]; then
     
    7273fi
    7374
     75MPI_DIR="$ISSM_DIR/externalpackages/mpich/install"
     76if [ -d "$MPI_DIR" ]; then
     77        export MPI_DIR
     78        pathprepend   "$MPI_DIR/bin"
     79        libpathappend "$MPI_DIR/lib"
     80fi
     81
    7482PETSC_DIR="$ISSM_DIR/externalpackages/petsc/install"
    7583export PETSC_DIR
     
    7785
    7886SLEPC_DIR="$ISSM_DIR/externalpackages/slepc/install"
    79 libpathappend "$SLEPC_DIR/lib/$ISSM_ARCH"
     87libpathappend "$SLEPC_DIR/lib"
    8088
    8189TAO_DIR="$ISSM_DIR/externalpackages/tao/install"
     
    8492DAKOTA_DIR="$ISSM_DIR/externalpackages/dakota/install"
    8593pathappend "$DAKOTA_DIR/bin"
     94libpathappend "$DAKOTA_DIR/lib"
    8695
    8796DOXYGEN_DIR="$ISSM_DIR/externalpackages/doxygen/install"
     
    106115pathprepend "$GDAL_DIR/bin"
    107116libpathappend "$GDAL_DIR/lib"
     117
     118PROJ4_DIR="$ISSM_DIR/externalpackages/proj.4/install"
     119libpathappend "$PROJ4_DIR/lib"
    108120
    109121MERCURIAL_DIR="$ISSM_DIR/externalpackages/mercurial/install"
     
    178190
    179191CMAKE_DIR="$ISSM_DIR/externalpackages/cmake/install"
    180 pathappend "$CMAKE_DIR/bin"
     192pathprepend "$CMAKE_DIR/bin"
    181193
    182194SHAPELIB_DIR="$ISSM_DIR/externalpackages/shapelib/install"
     
    229241
    230242HDF5_DIR="$ISSM_DIR/externalpackages/hdf5/install"
     243dylibpathappend "$HDF5_DIR/lib"
     244libpathappend "$HDF5_DIR/lib"
    231245if [ -d "$HDF5_DIR" ]; then
    232         dylibpathappend "$HDF5_DIR/lib"
    233         libpathappend "$HDF5_DIR/lib"
    234246        export LIBRARY_PATH="$LIBRARY_PATH:$HDF5_DIR/lib"
    235247        export C_INCLUDE_PATH="$C_INCLUDE_PATH:$HDF5_DIR/include"
    236248fi
    237249
    238 #NETCDF
    239250NETCDF_DIR="$ISSM_DIR/externalpackages/netcdf/install"
     251pathappend "$NETCDF_DIR/bin"
     252dylibpathappend "$NETCDF_DIR/lib"
     253libpathappend "$NETCDF_DIR/lib"
    240254if [ -d "$NETCDF_DIR" ]; then
    241         export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:$NETCDF_DIR/lib"
    242         export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$NETCDF_DIR/lib"
    243255        export LIBRARY_PATH="$LIBRARY_PATH:$NETCDF_DIR/lib"
     256        dylibpathappend "$NETCDF_DIR/lib"
     257        libpathappend "$NETCDF_DIR/lib"
    244258        export C_INCLUDE_PATH="$C_INCLUDE_PATH:$NETCDF_DIR/include"
    245259fi
    246260
    247 #SVN
     261NETCDF_CXX_DIR="$ISSM_DIR/externalpackages/netcdf-cxx/install"
     262libpathappend "$NETCDF_CXX_DIR/lib"
     263
    248264SVN_DIR="$ISSM_DIR/externalpackages/svn/install"
    249 if [ -d "$SVN_DIR" ]; then
    250         pathprepend   "$SVN_DIR/bin"
    251         libpathappend "$SVN_DIR/lib"
    252 fi
     265pathprepend   "$SVN_DIR/bin"
     266libpathappend "$SVN_DIR/lib"
    253267
    254268APR_DIR="$ISSM_DIR/externalpackages/apr/install"
    255 if [ -d "$APR_DIR" ]; then
    256         pathappend    "$APR_DIR/bin"
    257         libpathappend "$APR_DIR/lib"
    258 fi
     269pathappend    "$APR_DIR/bin"
     270libpathappend "$APR_DIR/lib"
    259271
    260272APR_UTIL_DIR="$ISSM_DIR/externalpackages/apr-util/install"
     
    271283SWIG_DIR="$ISSM_DIR/externalpackages/swig/install"
    272284pathappend   "$SWIG_DIR"
     285
     286#AUX-CONFIG
     287pathappend   "$ISSM_DIR/aux-config"
  • issm/trunk/externalpackages

    • Property svn:ignore
      •  

        old new  
        1 archive
        2 MITgcm
        3 OpenAD
        4 ivins
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
         14install
         15src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/adic

    • Property svn:ignore
      •  

        old new  
        1 source
        2 build
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        314install
        415src
        5 .ignore.txt
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/adic/tests

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/adolc

    • Property svn:ignore
      •  

        old new  
         1trunk
        12adolc_issm
        2 adolc_v220_issm
        3 trunk
        43*.gz
        5 install*
         4*.zip
         5*.a
         6*.so
         7*.o
         8*.la
         9*.cmake
         10*.cache
         11*.exe
         12*.in
         13*.log
         14*.deps
         15*.metadata
         16install
        617src
        7 src-*
        8 configure.sh
        9 .ignore.txt
         18CMakeCache.txt
         19Makefile
         20CMakeFiles
  • issm/trunk/externalpackages/adolc/install-update-dev.sh

    r14310 r15396  
    1010
    1111#symlink:
    12 ln -s  /u/astrid-r1b/larour/issm-uci/trunk-jpl/externalpackages/adolc/adolc_issm ./adolc_issm
     12ln -s /proj/ice/larour2/issm-uci/trunk-jpl/externalpackages/adolc/adolc_issm ./adolc_issm
    1313
    1414#update and compile
  • issm/trunk/externalpackages/android

    • Property svn:ignore
      •  

        old new  
        1 arm-linux*
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
         14install
         15src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/android/android-emulators

    • Property svn:ignore
      •  

        old new  
        1 Android-*
         1android-4.1
         2*.img
         3*.gz
         4*.zip
         5*.a
         6*.so
         7*.o
         8*.la
         9*.cmake
         10*.cache
         11*.exe
         12*.in
         13*.log
         14*.deps
         15*.metadata
         16install
         17src
         18CMakeCache.txt
         19Makefile
         20CMakeFiles
  • issm/trunk/externalpackages/android/android-ndk

    • Property svn:ignore
      •  

        old new  
        1 android-ndk-r*
        2 *.bz2
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        314install
         15src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/android/android-sdk

    • Property svn:ignore
      •  

        old new  
         1install-sdk*
         2*.gz
        13*.zip
        2 install-sdk
        3 install-ant
         4*.a
         5*.so
         6*.o
         7*.la
         8*.cmake
         9*.cache
         10*.exe
         11*.in
         12*.log
         13*.deps
         14*.metadata
         15install
         16src
         17CMakeCache.txt
         18Makefile
         19CMakeFiles
  • issm/trunk/externalpackages/android/android-sdk/install.sh

    r13975 r15396  
    1919
    2020        # Cleanup the install
    21         rm -rf install-sdk
     21        rm -rf install
    2222
    2323        # Download from ISSM server
     
    2828
    2929        # Move to install
    30         mv -f android-sdk-macosx install-sdk
     30        mv -f android-sdk-macosx install
    3131
    3232        # Post_install configuration:
     
    3939        # Note: API 16, API 15 and 14 correspond to Android 4.1, 4.0.3 and 4.0 respectively.
    4040
    41         cd install-sdk/tools/ && source ./android update sdk -t platform-tool,${api_levels},system-image --no-ui
     41        cd install/tools/ && source ./android update sdk -t platform-tool,${api_levels},system-image --no-ui
    4242
    4343fi
     
    5050
    5151        # Here we delete the Android-4.0.3 device if it already exists.
    52         cd $present_dir/install-sdk/tools
     52        cd $present_dir/install/tools
    5353
    5454    if [ -e $ANDROID_DIR/android-emulators/$default_droid ]
     
    7171    # a terminal in our device.
    7272
    73         cd $present_dir/install-sdk/tools
     73        cd $present_dir/install/tools
    7474        ./emulator -avd $default_droid -sdcard $ANDROID_DIR/android-emulators/$sd_card.img &
    7575
     
    7979
    8080if [[ $step == "4" || $step == "0" ]]; then
    81         rm -rf install-sdk
     81        rm -rf install
    8282fi
  • issm/trunk/externalpackages/angel

    • Property svn:ignore
      •  

        old new  
        1 angel
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
         14install
         15src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/appscan

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        2 logs
        3 logs1
         15src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/appscan/bin

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/appscan/utils

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/apr

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
        3 *.gz
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/apr-util

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
        3 *.gz
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/aspell

    • Property svn:ignore
      •  

        old new  
        1 src
         1dicts*
         2*.gz
         3*.zip
         4*.a
         5*.so
         6*.o
         7*.la
         8*.cmake
         9*.cache
         10*.exe
         11*.in
         12*.log
         13*.deps
         14*.metadata
        215install
        3 dicts
        4 *.gz
        516src
         17CMakeCache.txt
         18Makefile
         19CMakeFiles
  • issm/trunk/externalpackages/autotools

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
        3 *.gz
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/bbftp

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
        3 .ignore.txt
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/blas

    • Property svn:ignore
      •  

        old new  
         1*.tgz
         2*.gz
         3*.zip
         4*.a
         5*.so
         6*.o
         7*.la
         8*.cmake
         9*.cache
         10*.exe
         11*.in
         12*.log
         13*.deps
         14*.metadata
         15install
        116src
        2 install
        3 *.tgz
         17CMakeCache.txt
         18Makefile
         19CMakeFiles
  • issm/trunk/externalpackages/blas/configs

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/blas/configs/linux64

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/blas/configs/macosx64

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/boost

    • Property svn:ignore
      •  

        old new  
        11*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        214install
        315src
        4 .ignore.txt
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/bsdtar

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/canos

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/cccl

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
         15src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/cccl/issm

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/cccl/issm/cccl

    r12332 r15396  
    6262
    6363                *.mex*)
    64                         opts="$opts -o $1"
     64                        opts="$opts /OUT:$1"
    6565                ;;
    6666
     
    8686        #do nothing
    8787        ;;
    88 
     88   -I*)
     89           include=`echo $1 | sed 's/-I//g'`
     90           include=`cygpath -m "$include"`
     91           include="/I\"$include\""
     92           includeopts="$includeopts $include"
     93   ;;
     94        -L*)
     95                library=`echo $1 | sed 's/-L//g'`
     96                library=`cygpath -m $library`
     97                string="/link /LIBPATH:\"$library\""
     98                opts="$opts $string"
     99        ;;
    89100        *)
    90101                #do nothing
     
    97108done
    98109                       
    99 #Some default options:
    100 opts="$opts /nologo"
    101 
    102 #echo "$prog $opts"
    103 exec $prog $opts
    104 exit 0
    105 
    106    
     110#pass all our processing through the echo command, so we are sure that the string has no quirk,
     111#and that once passed by exec to cl, everything works fine.
     112command=`echo "$prog "$includeopts" $opts /nologo"`
     113exec $command
  • issm/trunk/externalpackages/chaco

    • Property svn:ignore
      •  

        old new  
        11*.pdf
         2*.gz
         3*.zip
         4*.a
         5*.so
         6*.o
         7*.la
         8*.cmake
         9*.cache
         10*.exe
         11*.in
         12*.log
         13*.deps
         14*.metadata
        215install
        316src
        4 .ignore.txt
        5 old
        6 *.tar.gz
         17CMakeCache.txt
         18Makefile
         19CMakeFiles
  • issm/trunk/externalpackages/chaco/mex

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/cm_and_cb_utilities

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/cmake

    • Property svn:ignore
      •  

        old new  
        11*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        214install
        315src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/colpack

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
        3 .ignore.txt
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/cppcheck

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
        3 .ignore.txt
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/dace

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/dakota

    • Property svn:ignore
      •  

        old new  
        11*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        214install
        315src
        4 configure.sh
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/dakota/configs

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/dakota/configs/4.2

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/dakota/configs/5.2

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/dem

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/distribute

    • Property svn:ignore
      •  

        old new  
         1*.py
        12*.gz
        2 distribute_setup.py
         3*.zip
         4*.a
         5*.so
         6*.o
         7*.la
         8*.cmake
         9*.cache
         10*.exe
         11*.in
         12*.log
         13*.deps
         14*.metadata
         15install
         16src
         17CMakeCache.txt
         18Makefile
         19CMakeFiles
  • issm/trunk/externalpackages/doxygen

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
        3 .ignore.txt
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/doxygen/install.sh

    r14067 r15396  
    44#Some cleanup
    55rm -rf install src
     6mkdir install
    67
    78#Download latest version
     
    910
    1011#Configure doxygen
    11 cd install && ./configure --prefix "$ISSM_DIR/externalpackages/doxygen/install"
     12cd src && ./configure --prefix "$ISSM_DIR/externalpackages/doxygen/install"
    1213if [ $# -eq 0 ]; then
    1314        make
  • issm/trunk/externalpackages/dyson

    • Property svn:ignore
      •  

        old new  
        1 jplusers.db
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
         14install
         15src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/ec2ami

    • Property svn:ignore
      •  

        old new  
        11ec2-ami-tools-*
         2*.gz
        23*.zip
        3 
         4*.a
         5*.so
         6*.o
         7*.la
         8*.cmake
         9*.cache
         10*.exe
         11*.in
         12*.log
         13*.deps
         14*.metadata
         15install
         16src
         17CMakeCache.txt
         18Makefile
         19CMakeFiles
  • issm/trunk/externalpackages/ec2api

    • Property svn:ignore
      •  

        old new  
        1 ec2-api-tools.zip
        2 ec2-api-tools-*
        3 
         1ec2-api-tools*
         2*.gz
         3*.zip
         4*.a
         5*.so
         6*.o
         7*.la
         8*.cmake
         9*.cache
         10*.exe
         11*.in
         12*.log
         13*.deps
         14*.metadata
         15install
         16src
         17CMakeCache.txt
         18Makefile
         19CMakeFiles
  • issm/trunk/externalpackages/esmf

    • Property svn:ignore
      •  

        old new  
        11esmf-gfortran*
        2 esmf
         2esmf*
        33*.gz
         4*.zip
         5*.a
         6*.so
         7*.o
         8*.la
         9*.cmake
         10*.cache
         11*.exe
         12*.in
         13*.log
         14*.deps
         15*.metadata
         16install
         17src
         18CMakeCache.txt
         19Makefile
         20CMakeFiles
  • issm/trunk/externalpackages/export_fig

    • Property svn:ignore
      •  

        old new  
        11.ignore
         2*.gz
         3*.zip
         4*.a
         5*.so
         6*.o
         7*.la
         8*.cmake
         9*.cache
         10*.exe
         11*.in
         12*.log
         13*.deps
         14*.metadata
         15install
         16src
         17CMakeCache.txt
         18Makefile
         19CMakeFiles
  • issm/trunk/externalpackages/export_fig/license.txt

    r11995 r15396  
    22All rights reserved.
    33
    4 Redistribution and use in source and binary forms, with or without 
    5 modification, are permitted provided that the following conditions are 
     4Redistribution and use in source and binary forms, with or without
     5modification, are permitted provided that the following conditions are
    66met:
    77
    8     * Redistributions of source code must retain the above copyright 
     8    * Redistributions of source code must retain the above copyright
    99      notice, this list of conditions and the following disclaimer.
    10     * Redistributions in binary form must reproduce the above copyright 
    11       notice, this list of conditions and the following disclaimer in 
     10    * Redistributions in binary form must reproduce the above copyright
     11      notice, this list of conditions and the following disclaimer in
    1212      the documentation and/or other materials provided with the distribution
    13      
    14 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
    15 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
    16 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
    17 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
    18 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
    19 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
    20 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
    21 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
    22 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
    23 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
     13
     14THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
     15AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
     16IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
     17ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
     18LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     19CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     20SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     21INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     22CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     23ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
    2424POSSIBILITY OF SUCH DAMAGE.
  • issm/trunk/externalpackages/export_fig/print2eps.m

    r14310 r15396  
    2121%   options - Additional parameter strings to be passed to print.
    2222
    23 % Copyright (C) Oliver Woodford 2008-2012
     23% Copyright (C) Oliver Woodford 2008-2013
    2424
    2525% The idea of editing the EPS file to change line styles comes from Jiro
     
    4848%           sizes we don't want, due to listeners. Thanks to Malcolm Hudson
    4949%           for reporting the issue.
     50% 22/03/13: Extend font swapping to axes labels. Thanks to Rasmus Ischebeck
     51%           for reporting the issue.
    5052
    5153function print2eps(name, fig, varargin)
     
    6163end
    6264% Find all the used fonts in the figure
    63 font_handles = findobj(fig, '-property', 'FontName');
     65font_handles = findall(fig, '-property', 'FontName');
    6466fonts = get(font_handles, 'FontName');
    6567if ~iscell(fonts)
  • issm/trunk/externalpackages/export_fig/user_string.m

    r10635 r15396  
    1919%   saved - Boolean indicating whether the save was succesful
    2020
    21 % Copyright (C) Oliver Woodford 2011
     21% Copyright (C) Oliver Woodford 2011-2013
    2222
    2323% This method of saving paths avoids changing .m files which might be in a
     
    2626% the version control system. Thank you to Jonas Dorn for suggesting this
    2727% approach.
     28
     29% 10/01/2013 - Access files in text, not binary mode, as latter can cause
     30% errors. Thanks to Christian for pointing this out.
    2831
    2932function string = user_string(string_name, string)
     
    5861    end
    5962    % Write the file
    60     fid = fopen(string_name, 'w');
     63    fid = fopen(string_name, 'wt');
    6164    if fid == -1
    6265        string = false;
     
    6467    end
    6568    try
    66         fwrite(fid, string, '*char');
     69        fprintf(fid, '%s', string);
    6770    catch
    6871        fclose(fid);
     
    7477else
    7578    % Get string
    76     fid = fopen(string_name, 'r');
     79    fid = fopen(string_name, 'rt');
    7780    if fid == -1
    7881        string = '';
    7982        return
    8083    end
    81     string = fread(fid, '*char')';
     84    string = fgetl(fid);
    8285    fclose(fid);
    8386end
  • issm/trunk/externalpackages/findbugs

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/flaim

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
         15src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/freetype

    • Property svn:ignore
      •  

        old new  
        11*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        214install
        315src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/gdal

    • Property svn:ignore
      •  

        old new  
        11*.gz
        2 install*
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
         14install
        315src
        4 .ignore.txt
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/gdal/configs

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/geos5

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/gfortran

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/git

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
        3 *.gz
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/gmake

    • Property svn:ignore
      •  

        old new  
        11*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        214install
        315src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/gmp

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
        3 *.bz2
        4 *.tar
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/googleearthtoolbox

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
        3 .ignore.txt
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/graphviz

    • Property svn:ignore
      •  

        old new  
        1 install*
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
         14install
        215src
        3 configure.sh
        4 .ignore.txt
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/gsl

    • Property svn:ignore
      •  

        old new  
        1 install-macosx*
         1install-*
        22*.gz
         3*.zip
         4*.a
         5*.so
         6*.o
         7*.la
         8*.cmake
         9*.cache
         10*.exe
         11*.in
         12*.log
         13*.deps
         14*.metadata
        315install
        416src
         17CMakeCache.txt
         18Makefile
         19CMakeFiles
  • issm/trunk/externalpackages/gsl/install-android.sh

    r14310 r15396  
    2525    cd src
    2626
    27     mv ./../Makefile.am.patch ./
    28     patch Makefile.am < Makefile.am.patch
     27    patch Makefile.am < ./../Makefile.am.patch
    2928
    30     autoreconf -i
     29    autoreconf -if
    3130
    3231    ./configure \
  • issm/trunk/externalpackages/gslib

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/h5py

    • Property svn:ignore
      •  

        old new  
        11*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        214install
         15src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/hdf5

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
        3 *.gz
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/howatmask

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/ipython

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
         14install
        115src
        2 src-*
        3 *.gz
        4 install
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/kml

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
        3 license.txt
        4 myKML.kml
        5 kml_shapefile.m
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/lapack

    • Property svn:ignore
      •  

        old new  
        11*.tgz
         2*.gz
         3*.zip
         4*.a
         5*.so
         6*.o
         7*.la
         8*.cmake
         9*.cache
         10*.exe
         11*.in
         12*.log
         13*.deps
         14*.metadata
        215install
        316src
         17CMakeCache.txt
         18Makefile
         19CMakeFiles
  • issm/trunk/externalpackages/lapack/configs

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/lapack/configs/linux64

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/lapack/configs/macosx64

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/latex2rtf

    • Property svn:ignore
      •  

        old new  
        11*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        214install
        3 cfg
        4 latex2rtf-2.0.0
        5 .ignore.txt
         15src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/libermate

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
         15src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/libpng

    • Property svn:ignore
      •  

        old new  
        11*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
         14install
        215src
        3 install
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/m2html

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
        3 .ignore.txt
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/matlab

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
         15src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/matlab/install.sh

    r13395 r15396  
    22set -eu
    33
    4 #Erase symlink
    5 rm -rf install
     4if [ ! -h install ];
     5then
     6        echo "  ****************************************************************"
     7        echo "  *                                                              *"
     8        echo "  * you need create a symbolic link from matlab's root directory *"
     9        echo "  *                                                              *"
     10        echo "  * First, you need to locate matlab's root directory            *"
     11        echo "  * The easiest way to find it is to launch matlab and run the   *"
     12        echo "  * following command: matlabroot                                *"
     13        echo "  * Then, create a symbolic link using the command 'ln -s ' the  *"
     14        echo "  * target directory should be named 'install'                   *"
     15        echo "  *                                                              *"
     16        echo "  * Examples:                                                    *"
     17        echo "  *    ln -s /usr/local/matlab712/ install                       *"
     18        echo "  *    ln -s /Applications/MATLAB_R2012a.app/ install            *"
     19        echo "  *                                                              *"
     20        echo "  * run ./install.sh again to check that the link is correct     *"
     21        echo "  *                                                              *"
     22        echo "  ****************************************************************"
     23else
    624
    7 #Select or create a new simlink
    8 #ln -s /usr/local/pkgs/matlab-7.6/ install
    9 #ln -s /discover/vis/mathworks/matlab_r2011b/ install
    10 #ln -s /usr/local/matlab704/ install
    11 #ln -s /usr/local/matlab711/ install
    12 ln -s /usr/local/matlab712/ install
    13 
    14 # Macintosh (OSX) simlink
    15 #ln -s /Applications/MATLAB_R2008a/ install
    16 #ln -s /Applications/MATLAB_R2009a.app/ install
    17 #ln -s /Applications/MATLAB_R2010a.app/ install
    18 #ln -s /Applications/MATLAB_R2012a.app/ install
    19 #ln -s /Applications/MATLAB_R2011a.app/ install
    20 #ln -s /Applications/MATLAB*.app/ install
     25        #Read link
     26        DIR=$(readlink install)
     27        if [ -d $DIR ]
     28        then
     29                echo "Symbolic link correctly set"
     30        else
     31                rm -rf install
     32                echo "Incorrect symbolic link:"
     33                echo "provided target ($DIR) does not exist or is not a directory"
     34        fi
     35fi
  • issm/trunk/externalpackages/matplotlib

    • Property svn:ignore
      •  

        old new  
        1 src-*
         1matplotlib
         2deps*
         3*.gz
         4*.zip
         5*.a
         6*.so
         7*.o
         8*.la
         9*.cmake
         10*.cache
         11*.exe
         12*.in
         13*.log
         14*.deps
         15*.metadata
         16install
        217src
        3 install
        4 matplotlib
        5 deps
         18CMakeCache.txt
         19Makefile
         20CMakeFiles
  • issm/trunk/externalpackages/mercurial

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/metis

    • Property svn:ignore
      •  

        old new  
        11*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        214install
        315src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/metis/configs

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/metis/configs/4.0

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/metis/configs/4.0/altix64

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/metis/configs/4.0/cosmos

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/metis/configs/4.0/discover

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/metis/configs/4.0/greenplanet

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/metis/configs/4.0/linux64

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/metis/configs/4.0/macosx32

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/metis/configs/4.0/macosx64

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/metis/configs/4.0/pleiades

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/metis/configs/4.0/win32

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/metis/configs/4.0/win7

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/mitgcm

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/modelE

    • Property svn:ignore
      •  

        old new  
        1 raid1
        2 cmrun
        3 exec
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
         14install
        415src
        5 configs
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/modules

    • Property svn:ignore
      •  

        old new  
        1 modules-*
         1modules*
         2*.gz
         3*.zip
         4*.a
         5*.so
         6*.o
         7*.la
         8*.cmake
         9*.cache
         10*.exe
         11*.in
         12*.log
         13*.deps
         14*.metadata
        215install
         16src
         17CMakeCache.txt
         18Makefile
         19CMakeFiles
  • issm/trunk/externalpackages/ncview

    • Property svn:ignore
      •  

        old new  
         1genoverlay*
        12*.gz
        2 udunits.tar
         3*.zip
         4*.a
         5*.so
         6*.o
         7*.la
         8*.cmake
         9*.cache
         10*.exe
         11*.in
         12*.log
         13*.deps
         14*.metadata
        315install
        4 genoverlay
        5 README
         16src
         17CMakeCache.txt
         18Makefile
         19CMakeFiles
  • issm/trunk/externalpackages/netcdf

    • Property svn:ignore
      •  

        old new  
        11*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        214install
        3 install-*
        415src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/netcdf-python

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        2 *.gz
         15src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/nose

    • Property svn:ignore
      •  

        old new  
        11*.gz
        2 py3k
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
         14install
        315src
        4 src-*
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/numpy

    • Property svn:ignore
      •  

        old new  
        1 scipy
        2 scipy-*
        3 numpy
        41numpy-*
         2*.gz
         3*.zip
         4*.a
         5*.so
         6*.o
         7*.la
         8*.cmake
         9*.cache
         10*.exe
         11*.in
         12*.log
         13*.deps
         14*.metadata
         15install
         16src
         17CMakeCache.txt
         18Makefile
         19CMakeFiles
  • issm/trunk/externalpackages/octave

    • Property svn:ignore
      •  

        old new  
        11*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        214install
        315src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/oofem

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/openanalysis

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
        3 openanalysis
        4 .ignore.txt
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/openssl

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/openssl/install.sh

    r13807 r15396  
    1515#Configure openssl
    1616cd src
    17 ./config --prefix="$ISSM_DIR/externalpackages/openssl/install"
     17./config --prefix="$ISSM_DIR/externalpackages/openssl/install" shared
    1818if [ $# -eq 0 ]; then
    1919        make
  • issm/trunk/externalpackages/packagemaker

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
         15src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/pcre

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        2 *.gz
         15src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/petsc

    • Property svn:ignore
      •  

        old new  
        1 install-3.2
        2 install-dev
        3 *.tgz
         1petscinstall-*
        42*.gz
         3*.zip
         4*.a
         5*.so
         6*.o
         7*.la
         8*.cmake
         9*.cache
         10*.exe
         11*.in
         12*.log
         13*.deps
         14*.metadata
        515install
        6 install-3.1
        716src
         17CMakeCache.txt
         18Makefile
         19CMakeFiles
  • issm/trunk/externalpackages/petsc/configs

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/petsc/configs/3.1

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/petsc/configs/3.1/win7

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/petsc/install-3.1-macosx32-mathieu.sh

    r13395 r15396  
    2020 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
    2121 --PETSC_ARCH=macosx-gnu \
    22  --with-mpi-dir=$ISSM_DIR/externalpackages/mpich2/install \
     22 --with-mpi-dir=$ISSM_DIR/externalpackages/mpich/install \
    2323 --with-debugging=0 \
    2424 --with-shared=0 \
     
    2929 --download-f-blas-lapack=yes \
    3030 --download-plapack=yes \
    31  --FFLAGS="-I$ISSM_DIR/externalpackages/mpich2/install/include -arch i386" \
     31 --FFLAGS="-I$ISSM_DIR/externalpackages/mpich/install/include -arch i386" \
    3232 --COPTFLAGS="-march=opteron -O2 -arch i386" \
    3333 --FOPTFLAGS="-march=opteron -O2 -arch i386" \
  • issm/trunk/externalpackages/petsc/install-3.1-macosx32-ogive.sh

    r13395 r15396  
    1919        --prefix="$ISSM_DIR/externalpackages/petsc/install" \
    2020        --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
    21         --with-mpi-dir=$ISSM_DIR/externalpackages/mpich2/install \
     21        --with-mpi-dir=$ISSM_DIR/externalpackages/mpich/install \
    2222        --PETSC_ARCH=macosx-gnu \
    2323        --with-fc=/usr/local/bin/gfortran \
     
    3434        --FOPTFLAGS="-march=opteron -O2 " \
    3535        --CXXOPTFLAGS="-march=opteron -O2 " \
    36         --FFLAGS="-I$ISSM_DIR/externalpackages/mpich2/install/include -L$ISSM_DIR/externalpackages/mpich2/install/lib -L/usr/local/bin -lmpich -lpmpich -lgfortran "
     36        --FFLAGS="-I$ISSM_DIR/externalpackages/mpich/install/include -L$ISSM_DIR/externalpackages/mpich/install/lib -L/usr/local/bin -lmpich -lpmpich -lgfortran "
    3737
    3838#Compile petsc and install it
  • issm/trunk/externalpackages/petsc/install-3.1-ubuntu64.sh

    r13395 r15396  
    1818./config/configure.py \
    1919 --prefix="$ISSM_DIR/externalpackages/petsc/install" \
    20  --with-mpi-dir=$ISSM_DIR/externalpackages/mpich2/install \
     20 --with-mpi-dir=$ISSM_DIR/externalpackages/mpich/install \
    2121 --PETSC_ARCH=linux-gnu\
    2222 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
     
    2929 --download-f-blas-lapack=yes \
    3030 --download-parmetis=yes \
    31  --FFLAGS=-I$ISSM_DIR/externalpackages/mpich2/install/include \
     31 --FFLAGS=-I$ISSM_DIR/externalpackages/mpich/install/include \
    3232 --download-plapack=yes \
    3333 --COPTFLAGS="-O2" \
  • issm/trunk/externalpackages/petsc/install-3.1-win7.sh

    r13395 r15396  
    3333# --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
    3434# --PETSC_ARCH=macosx-gnu \
    35 # --with-mpi-dir=$ISSM_DIR/externalpackages/mpich2/install \
     35# --with-mpi-dir=$ISSM_DIR/externalpackages/mpich/install \
    3636# --with-debugging=0 \
    3737# --with-shared=0 \
     
    4242# --download-f-blas-lapack=yes \
    4343# --download-plapack=yes \
    44 # --FFLAGS="-I$ISSM_DIR/externalpackages/mpich2/install/include -arch i386" \
     44# --FFLAGS="-I$ISSM_DIR/externalpackages/mpich/install/include -arch i386" \
    4545# --COPTFLAGS="-march=opteron -O2 -arch i386" \
    4646# --FOPTFLAGS="-march=opteron -O2 -arch i386" \
  • issm/trunk/externalpackages/petsc/install-3.2-linux64.sh

    r13395 r15396  
    1818./config/configure.py \
    1919        --prefix="$ISSM_DIR/externalpackages/petsc/install" \
    20         --with-mpi-dir=$ISSM_DIR/externalpackages/mpich2/install \
     20        --with-mpi-dir="$ISSM_DIR/externalpackages/mpich/install" \
    2121        --with-clanguage=C++ \
    2222        --PETSC_ARCH=linux-gnu-amd64 \
  • issm/trunk/externalpackages/petsc/install-3.2-macosx64.sh

    r13395 r15396  
    2020  --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
    2121  --PETSC_ARCH="macosx-gnu" \
    22   --with-mpi-dir="$ISSM_DIR/externalpackages/mpich2/install" \
     22  --with-mpi-dir="$ISSM_DIR/externalpackages/mpich/install" \
    2323  --with-debugging=0 \
    2424  --with-shared-libraries=1 \
  • issm/trunk/externalpackages/petsc/install-3.3-linux64.sh

    r13395 r15396  
    33
    44#Some cleanup
    5 rm -rf install petsc-3.3-p2 src
     5rm -rf install petsc-3.3-p6 src
    66mkdir install src
    77
    88#Download from ISSM server
    9 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.3-p2.tar.gz' 'petsc-3.3-p2.tar.gz'
     9$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.3-p6.tar.gz' 'petsc-3.3-p6.tar.gz'
    1010
    1111#Untar and move petsc to install directory
    12 tar -zxvf  petsc-3.3-p2.tar.gz
    13 mv petsc-3.3-p2/* src/
    14 rm -rf petsc-3.3-p2
     12tar -zxvf  petsc-3.3-p6.tar.gz
     13mv petsc-3.3-p6/* src/
     14rm -rf petsc-3.3-p6
    1515
    1616#configure
     
    1818./config/configure.py \
    1919        --prefix="$ISSM_DIR/externalpackages/petsc/install" \
    20         --with-mpi-dir=$ISSM_DIR/externalpackages/mpich2/install \
     20        --with-mpi-dir=$ISSM_DIR/externalpackages/mpich/install \
    2121        --PETSC_ARCH=linux-gnu-amd64 \
    2222        --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
  • issm/trunk/externalpackages/petsc/install-3.3-macosx64.sh

    r13395 r15396  
    33
    44#Some cleanup
    5 rm -rf install petsc-3.3-p2 src
     5rm -rf install petsc-3.3-p6 src
    66mkdir install src
    77
    88#Download from ISSM server
    9 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.3-p2.tar.gz' 'petsc-3.3-p2.tar.gz'
     9$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.3-p6.tar.gz' 'petsc-3.3-p6.tar.gz'
    1010
    1111#Untar and move petsc to install directory
    12 tar -zxvf  petsc-3.3-p2.tar.gz
    13 mv petsc-3.3-p2/* src/
    14 rm -rf petsc-3.3-p2
     12tar -zxvf  petsc-3.3-p6.tar.gz
     13mv petsc-3.3-p6/* src/
     14rm -rf petsc-3.3-p6
    1515
    1616#configure
     
    1818./config/configure.py \
    1919        --prefix="$ISSM_DIR/externalpackages/petsc/install" \
    20         --with-mpi-dir=$ISSM_DIR/externalpackages/mpich2/install \
     20        --with-mpi-dir=$ISSM_DIR/externalpackages/mpich/install \
    2121        --PETSC_ARCH="macosx-gnu" \
    2222        --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
     
    3030        --download-plapack=yes \
    3131        --download-parmetis=yes \
    32         --download-metis=yes
     32        --download-metis=yes \
     33        --with-debugging=yes
    3334
    3435#Compile petsc and install it
  • issm/trunk/externalpackages/petsc/install-3.3-pleiades.sh

    r13975 r15396  
    22
    33#Some cleanup
    4 rm -rf install petsc-3.3-p2 src
     4rm -rf install petsc-3.3-p6 src
    55mkdir install src
    66
    77#Download from ISSM server
    8 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.3-p2.tar.gz' 'petsc-3.3-p2.tar.gz'
     8$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.3-p6.tar.gz' 'petsc-3.3-p6.tar.gz'
    99
    1010#Untar and move petsc to install directory
    11 tar -zxvf  petsc-3.3-p2.tar.gz
    12 mv petsc-3.3-p2/* src/
    13 rm -rf petsc-3.3-p2
     11tar -zxvf  petsc-3.3-p6.tar.gz
     12mv petsc-3.3-p6/* src/
     13rm -rf petsc-3.3-p6
    1414
    1515#configure
     
    1717./config/configure.py \
    1818 --prefix="$ISSM_DIR/externalpackages/petsc/install" \
    19  --with-batch=1  \
    2019 --PETSC_ARCH="$ISSM_ARCH" \
    2120 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
     21 --with-batch=1  \
    2222 --with-debugging=0 \
    2323 --with-shared-libraries=1 \
    2424 --known-mpi-shared-libraries=1 \
    2525 --with-mpi=1 \
    26  --with-mpi-lib=/nasa/sgi/mpt/2.06a67/lib/libmpi.so \
    27  --with-mpi-include=/nasa/sgi/mpt/2.06a67/include  \
    28  --download-blas=yes \
    29  --download-f-blas-lapack=yes \
    30  --download-mumps=yes \
     26 --with-mpi-lib="/nasa/sgi/mpt/2.06rp16/lib/libmpi.so" \
     27 --with-mpi-include="/nasa/sgi/mpt/2.06rp16/include" \
     28 --with-blas-lapack-dir="/nasa/intel/Compiler/2013.1.117/composer_xe_2013.1.117/mkl/lib/intel64" \
    3129 --download-scalapack=yes \
    3230 --download-blacs=yes \
    33  --download-plapack=no \
     31 --download-mumps=yes \
    3432 --download-metis=yes \
    3533 --download-parmetis=yes \
     
    3735 --download-euclid=yes \
    3836 --download-hypre=yes \
    39  --with-cxx=icc \
    40  --with-fc=ifort \
    4137 --COPTFLAGS="-lmpi -O3" \
    4238 --FOPTFLAGS="-lmpi -O3" \
     
    5248
    5349. /usr/share/modules/init/bash
    54 module load comp-intel/2012.0.032
    55 module load mpi-sgi/mpt.2.06a67 
    56 module load math/intel_mkl_64_10.0.011
     50module load comp-intel/2013.1.117
     51module load mpi-sgi/mpt.2.06rp16
    5752
    5853export PATH="$PATH:."
  • issm/trunk/externalpackages/petsc/install-3.3-walgreen.sh

    r13975 r15396  
    11#!/bin/bash
    22
    3 ##Some cleanup
    4 #rm -rf install petsc-3.3-p2 src
    5 #mkdir install src
    6 #
    7 ##Download from ISSM server
    8 #$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.3-p2.tar.gz' 'petsc-3.3-p2.tar.gz'
    9 #
    10 ##Untar and move petsc to install directory
    11 #tar -zxvf  petsc-3.3-p2.tar.gz
    12 #mv petsc-3.3-p2/* src/
    13 #rm -rf petsc-3.3-p2
     3#Some cleanup
     4rm -rf install petsc-3.3-p6 src
     5mkdir install src
     6
     7#Download from ISSM server
     8$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.3-p6.tar.gz' 'petsc-3.3-p6.tar.gz'
     9
     10#Untar and move petsc to install directory
     11tar -zxvf  petsc-3.3-p6.tar.gz
     12mv petsc-3.3-p6/* src/
     13rm -rf petsc-3.3-p6
    1414
    1515#configure
     
    1818 --prefix="$ISSM_DIR/externalpackages/petsc/install" \
    1919 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \
     20 --with-mpi-dir=$ISSM_DIR/externalpackages/mpich/install \
    2021 --with-debugging=0 \
    2122 --with-shared-libraries=1 \
    2223 --with-blas-lapack-dir=/opt/intel/mkl/10.0.1.014/ \
    23  --known-mpi-shared-libraries=1 \
    24  --with-mpi=1 \
    2524 --download-mumps=yes \
    2625 --download-blacs=yes  \
    2726 --download-blas=yes \
    2827 --download-f-blas-lapack=yes \
     28 --download-scalapack=yes \
    2929 --download-parmetis=yes \
    3030 --download-metis=yes \
    31  --download-trilinos=yes \
    32  --download-euclid=yes \
    33  --download-spai=yes \
    3431 --download-superlu=yes \
    35  --download-hypre=yes \
    36  --download-prometheus=yes \
    37  --with-cc=/opt/mpich/ch-p4/bin/mpicc \
    38  --with-cxx=/opt/mpich/ch-p4/bin/mpicxx \
    39  --with-fc=/opt/mpich/ch-p4/bin/mpif90 \
    40  --COPTFLAGS="-I/opt/mpich/ch-p4/include/ -lmpich -O3" \
    41  --FOPTFLAGS="-I/opt/mpich/ch-p4/include/ -lmpich -O3" \
    42  --CXXOPTFLAGS="-I/opt/mpich/ch-p4/include/ -lmpich -O3"
     32 #--download-hypre=yes
     33
     34#Compile petsc and install it
     35make
     36make install
  • issm/trunk/externalpackages/petsc/install-dev-linux64.sh

    r13975 r15396  
    44
    55if [ $STEP -eq 1 ]; then
    6         # Adapted from petsc 3.2.
    76        # Used Mercurial to get code
    87        rm -rf src
     
    3332        ./config/configure.py \
    3433        --prefix="$ISSM_DIR/externalpackages/petsc/install" \
    35         --with-mpi-dir="$ISSM_DIR/externalpackages/mpich2/install" \
     34        --with-mpi-dir="$ISSM_DIR/externalpackages/mpich/install" \
    3635        --with-clanguage=C++ \
    3736        --PETSC_ARCH=linux-gnu-amd64 \
  • issm/trunk/externalpackages/polygonclipper

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/pyclips

    • Property svn:ignore
      •  

        old new  
        11*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        214install
         15src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/pysvn

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/python

    • Property svn:ignore
      •  

        old new  
        1 *.txt
        2 install-*
        3 install
        4 install-python*
         1*.tgz
         2*.gz
         3*.zip
         4*.a
         5*.so
         6*.o
         7*.la
         8*.cmake
         9*.cache
         10*.exe
         11*.in
         12*.log
         13*.deps
         14*.metadata
         15install*
        516src
        6 *.tgz
         17CMakeCache.txt
         18Makefile
         19CMakeFiles
  • issm/trunk/externalpackages/python/patches

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/qhull

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/rats

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
        3 .ignore.txt
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/readline

    • Property svn:ignore
      •  

        old new  
        11*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
         14install
        215src
        3 src-*
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/rose

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        2 build
        3 source
        415src
        5 .ignore.txt
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/satstress

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
        3 .ignore.txt
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/scipy

    • Property svn:ignore
      •  

        old new  
         1numpy
        12scipy
        2 scipy-*
        3 numpy
        4 numpy-*
         3*.gz
         4*.zip
         5*.a
         6*.so
         7*.o
         8*.la
         9*.cmake
         10*.cache
         11*.exe
         12*.in
         13*.log
         14*.deps
         15*.metadata
         16install
         17src
         18CMakeCache.txt
         19Makefile
         20CMakeFiles
  • issm/trunk/externalpackages/scotch

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/scotch/install.sh

    r13975 r15396  
    1818tar -xvzf scotch_5.1.6.tar.gz
    1919
     20# Apply patches (all at once, since many)
     21# (written by diff -rc old_src new_src > scotch.patch)
     22patch -p0 < scotch.patch
     23
    2024# Move scotch to src directory
    2125mv scotch_5.1/* src
    2226rm -rf scotch_5.1
    23 
    24 # Apply patches (all at once, since many)
    25 # (written by diff -rc old_src new_src > scotch.patch)
    26 patch -p0 < scotch.patch
    2727
    2828# Build scotch
  • issm/trunk/externalpackages/scotch/mex

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/scotch/scotch.patch

    r4705 r15396  
    1 Only in new5: bin
    2 Only in new5: include
    3 Only in new5: lib
    4 diff -rc src/src/libscotch/arch.c new5/src/libscotch/arch.c
    5 *** src/src/libscotch/arch.c    2008-09-27 07:48:01.000000000 -0700
    6 --- new5/src/libscotch/arch.c   2010-07-21 17:13:15.583257119 -0700
     1Only in src: bin
     2Only in src: include
     3Only in src: lib
     4diff -crB scotch_5.1/src/libscotch/arch.c src/src/libscotch/arch.c
     5*** scotch_5.1/src/libscotch/arch.c     2008-09-27 07:48:01.000000000 -0700
     6--- src/src/libscotch/arch.c    2013-05-06 14:14:11.000000000 -0700
    77***************
    88*** 173,187 ****
     
    6868        memset     (archptr, 0, sizeof (Arch));     /* Initialize architecture body */
    6969        return     (1);
    70 diff -rc src/src/libscotch/arch_cmplt.c new5/src/libscotch/arch_cmplt.c
    71 *** src/src/libscotch/arch_cmplt.c      2008-05-22 06:44:41.000000000 -0700
    72 --- new5/src/libscotch/arch_cmplt.c     2010-07-21 17:13:15.585257133 -0700
     70diff -crB scotch_5.1/src/libscotch/arch_cmplt.c src/src/libscotch/arch_cmplt.c
     71*** scotch_5.1/src/libscotch/arch_cmplt.c       2008-05-22 06:44:41.000000000 -0700
     72--- src/src/libscotch/arch_cmplt.c      2013-05-06 14:14:11.000000000 -0700
    7373***************
    7474*** 90,99 ****
     
    120120      return     (1);
    121121    }
    122 diff -rc src/src/libscotch/arch_cmplt.h new5/src/libscotch/arch_cmplt.h
    123 *** src/src/libscotch/arch_cmplt.h      2008-05-22 06:44:41.000000000 -0700
    124 --- new5/src/libscotch/arch_cmplt.h     2010-07-21 17:13:15.588257154 -0700
     122diff -crB scotch_5.1/src/libscotch/arch_cmplt.h src/src/libscotch/arch_cmplt.h
     123*** scotch_5.1/src/libscotch/arch_cmplt.h       2008-05-22 06:44:41.000000000 -0700
     124--- src/src/libscotch/arch_cmplt.h      2013-05-06 14:14:11.000000000 -0700
    125125***************
    126126*** 87,93 ****
     
    137137  #define archCmpltArchFree           NULL
    138138  ArchDomNum                  archCmpltDomNum     (const ArchCmplt * const, const ArchCmpltDom * const);
    139 diff -rc src/src/libscotch/arch_cmpltw.c new5/src/libscotch/arch_cmpltw.c
    140 *** src/src/libscotch/arch_cmpltw.c     2008-08-27 14:22:22.000000000 -0700
    141 --- new5/src/libscotch/arch_cmpltw.c    2010-07-21 17:13:15.590257168 -0700
     139diff -crB scotch_5.1/src/libscotch/arch_cmpltw.c src/src/libscotch/arch_cmpltw.c
     140*** scotch_5.1/src/libscotch/arch_cmpltw.c      2008-08-27 14:22:22.000000000 -0700
     141--- src/src/libscotch/arch_cmpltw.c     2013-05-06 14:14:12.000000000 -0700
    142142***************
    143143*** 200,211 ****
     
    209209        return     (1);
    210210      }
    211 diff -rc src/src/libscotch/arch_cmpltw.h new5/src/libscotch/arch_cmpltw.h
    212 *** src/src/libscotch/arch_cmpltw.h     2008-05-22 06:44:41.000000000 -0700
    213 --- new5/src/libscotch/arch_cmpltw.h    2010-07-21 17:13:15.592257181 -0700
     211diff -crB scotch_5.1/src/libscotch/arch_cmpltw.h src/src/libscotch/arch_cmpltw.h
     212*** scotch_5.1/src/libscotch/arch_cmpltw.h      2008-05-22 06:44:41.000000000 -0700
     213--- src/src/libscotch/arch_cmpltw.h     2013-05-06 14:14:12.000000000 -0700
    214214***************
    215215*** 86,92 ****
     
    226226  int                         archCmpltwArchFree  (ArchCmpltw * restrict const);
    227227  ArchDomNum                  archCmpltwDomNum    (const ArchCmpltw * const, const ArchCmpltwDom * const);
    228 diff -rc src/src/libscotch/arch_deco.c new5/src/libscotch/arch_deco.c
    229 *** src/src/libscotch/arch_deco.c       2008-09-28 06:35:27.000000000 -0700
    230 --- new5/src/libscotch/arch_deco.c      2010-07-21 17:13:15.595257202 -0700
     228diff -crB scotch_5.1/src/libscotch/arch_deco.c src/src/libscotch/arch_deco.c
     229*** scotch_5.1/src/libscotch/arch_deco.c        2008-09-28 06:35:27.000000000 -0700
     230--- src/src/libscotch/arch_deco.c       2013-05-06 14:14:12.000000000 -0700
    231231***************
    232232*** 211,217 ****
     
    267267    if ((sizeof (ArchDeco)    > sizeof (ArchDummy)) ||
    268268        (sizeof (ArchDecoDom) > sizeof (ArchDomDummy))) {
    269 diff -rc src/src/libscotch/arch_deco.h new5/src/libscotch/arch_deco.h
    270 *** src/src/libscotch/arch_deco.h       2008-09-27 07:49:46.000000000 -0700
    271 --- new5/src/libscotch/arch_deco.h      2010-07-21 17:13:15.597257216 -0700
     269diff -crB scotch_5.1/src/libscotch/arch_deco.h src/src/libscotch/arch_deco.h
     270*** scotch_5.1/src/libscotch/arch_deco.h        2008-09-27 07:49:46.000000000 -0700
     271--- src/src/libscotch/arch_deco.h       2013-05-06 14:14:13.000000000 -0700
    272272***************
    273273*** 113,119 ****
     
    284284  int                         archDecoArchFree    (ArchDeco * const);
    285285  Anum                        archDecoArchSize    (ArchDeco * const, const Anum);
    286 diff -rc src/src/libscotch/arch.h new5/src/libscotch/arch.h
    287 *** src/src/libscotch/arch.h    2009-04-28 08:11:27.000000000 -0700
    288 --- new5/src/libscotch/arch.h   2010-07-21 17:13:15.600257237 -0700
     286diff -crB scotch_5.1/src/libscotch/arch.h src/src/libscotch/arch.h
     287*** scotch_5.1/src/libscotch/arch.h     2009-04-28 08:11:27.000000000 -0700
     288--- src/src/libscotch/arch.h    2013-05-06 14:14:13.000000000 -0700
    289289***************
    290290*** 175,181 ****
     
    301301  char *                      archName            (const Arch * const);
    302302  const ArchClass *           archClass           (const char * const);
    303 diff -rc src/src/libscotch/arch_hcub.c new5/src/libscotch/arch_hcub.c
    304 *** src/src/libscotch/arch_hcub.c       2008-05-22 06:44:41.000000000 -0700
    305 --- new5/src/libscotch/arch_hcub.c      2010-07-21 17:13:15.602257251 -0700
     303diff -crB scotch_5.1/src/libscotch/arch_hcub.c src/src/libscotch/arch_hcub.c
     304*** scotch_5.1/src/libscotch/arch_hcub.c        2008-05-22 06:44:41.000000000 -0700
     305--- src/src/libscotch/arch_hcub.c       2013-05-06 14:14:13.000000000 -0700
    306306***************
    307307*** 88,95 ****
     
    310310  ArchHcub * restrict const   archptr,
    311311! FILE * restrict const       stream)
    312 ! {
     312  {
    313313  #ifdef SCOTCH_DEBUG_ARCH1
    314314    if ((sizeof (ArchHcub)    > sizeof (ArchDummy)) ||
     
    325325! #endif /* NOFILEIO */
    326326!                                    )
    327 ! {
    328 ! #ifdef NOFILEIO
    329 ! //  printf("archHcubArchLoad - napar=%d,archpar=%p\n",napar,archpar);
    330 ! #endif /* NOFILEIO */
    331 !
     327  {
     328+ #ifdef NOFILEIO
     329+ //  printf("archHcubArchLoad - napar=%d,archpar=%p\n",napar,archpar);
     330+ #endif /* NOFILEIO */
     331+
    332332  #ifdef SCOTCH_DEBUG_ARCH1
    333333    if ((sizeof (ArchHcub)    > sizeof (ArchDummy)) ||
     
    349349      errorPrint ("archHcubArchLoad: bad input");
    350350      return     (1);
    351 diff -rc src/src/libscotch/arch_hcub.h new5/src/libscotch/arch_hcub.h
    352 *** src/src/libscotch/arch_hcub.h       2008-05-22 06:44:41.000000000 -0700
    353 --- new5/src/libscotch/arch_hcub.h      2010-07-21 17:13:15.604257265 -0700
     351diff -crB scotch_5.1/src/libscotch/arch_hcub.h src/src/libscotch/arch_hcub.h
     352*** scotch_5.1/src/libscotch/arch_hcub.h        2008-05-22 06:44:41.000000000 -0700
     353--- src/src/libscotch/arch_hcub.h       2013-05-06 14:14:14.000000000 -0700
    354354***************
    355355*** 85,91 ****
     
    366366  #define archHcubArchFree            NULL
    367367  ArchDomNum                  archHcubDomNum      (const ArchHcub * const, const ArchHcubDom * const);
    368 diff -rc src/src/libscotch/arch_mesh.c new5/src/libscotch/arch_mesh.c
    369 *** src/src/libscotch/arch_mesh.c       2008-05-22 06:44:41.000000000 -0700
    370 --- new5/src/libscotch/arch_mesh.c      2010-07-21 17:13:15.607257286 -0700
     368diff -crB scotch_5.1/src/libscotch/arch_mesh.c src/src/libscotch/arch_mesh.c
     369*** scotch_5.1/src/libscotch/arch_mesh.c        2008-05-22 06:44:41.000000000 -0700
     370--- src/src/libscotch/arch_mesh.c       2013-05-06 14:14:14.000000000 -0700
    371371***************
    372372*** 96,103 ****
     
    465465      return     (1);
    466466    }
    467 diff -rc src/src/libscotch/arch_mesh.h new5/src/libscotch/arch_mesh.h
    468 *** src/src/libscotch/arch_mesh.h       2008-05-22 06:44:41.000000000 -0700
    469 --- new5/src/libscotch/arch_mesh.h      2010-07-21 17:13:15.610257307 -0700
     467diff -crB scotch_5.1/src/libscotch/arch_mesh.h src/src/libscotch/arch_mesh.h
     468*** scotch_5.1/src/libscotch/arch_mesh.h        2008-05-22 06:44:41.000000000 -0700
     469--- src/src/libscotch/arch_mesh.h       2013-05-06 14:14:14.000000000 -0700
    470470***************
    471471*** 96,102 ****
     
    496496  #define archMesh3ArchFree           NULL
    497497  ArchDomNum                  archMesh3DomNum     (const ArchMesh3 * const, const ArchMesh3Dom * const);
    498 diff -rc src/src/libscotch/arch_tleaf.c new5/src/libscotch/arch_tleaf.c
    499 *** src/src/libscotch/arch_tleaf.c      2008-05-22 06:44:41.000000000 -0700
    500 --- new5/src/libscotch/arch_tleaf.c     2010-07-21 17:13:15.612257320 -0700
     498diff -crB scotch_5.1/src/libscotch/arch_tleaf.c src/src/libscotch/arch_tleaf.c
     499*** scotch_5.1/src/libscotch/arch_tleaf.c       2008-05-22 06:44:41.000000000 -0700
     500--- src/src/libscotch/arch_tleaf.c      2013-05-06 14:14:14.000000000 -0700
    501501***************
    502502*** 92,99 ****
     
    505505  ArchTleaf * restrict const  archptr,
    506506! FILE * restrict const       stream)
    507 ! {
     507  {
    508508  #ifdef SCOTCH_DEBUG_ARCH1
    509509    if ((sizeof (ArchTleaf)    > sizeof (ArchDummy)) ||
     
    520520! #endif /* NOFILEIO */
    521521!                                    )
    522 ! {
    523 ! #ifdef NOFILEIO
    524 ! //  printf("archTleafArchLoad - napar=%d,archpar=%p\n",napar,archpar);
    525 ! #endif /* NOFILEIO */
    526 !
     522  {
     523+ #ifdef NOFILEIO
     524+ //  printf("archTleafArchLoad - napar=%d,archpar=%p\n",napar,archpar);
     525+ #endif /* NOFILEIO */
     526+
    527527  #ifdef SCOTCH_DEBUG_ARCH1
    528528    if ((sizeof (ArchTleaf)    > sizeof (ArchDummy)) ||
     
    554554      return     (1);
    555555    }
    556 diff -rc src/src/libscotch/arch_tleaf.h new5/src/libscotch/arch_tleaf.h
    557 *** src/src/libscotch/arch_tleaf.h      2008-05-22 06:44:41.000000000 -0700
    558 --- new5/src/libscotch/arch_tleaf.h     2010-07-21 17:13:15.615257341 -0700
     556diff -crB scotch_5.1/src/libscotch/arch_tleaf.h src/src/libscotch/arch_tleaf.h
     557*** scotch_5.1/src/libscotch/arch_tleaf.h       2008-05-22 06:44:41.000000000 -0700
     558--- src/src/libscotch/arch_tleaf.h      2013-05-06 14:14:15.000000000 -0700
    559559***************
    560560*** 89,95 ****
     
    571571  #define archTleafArchFree           NULL
    572572  ArchDomNum                  archTleafDomNum     (const ArchTleaf * const, const ArchTleafDom * const);
    573 diff -rc src/src/libscotch/arch_torus.c new5/src/libscotch/arch_torus.c
    574 *** src/src/libscotch/arch_torus.c      2008-05-22 06:44:41.000000000 -0700
    575 --- new5/src/libscotch/arch_torus.c     2010-07-21 17:13:15.618257362 -0700
     573diff -crB scotch_5.1/src/libscotch/arch_torus.c src/src/libscotch/arch_torus.c
     574*** scotch_5.1/src/libscotch/arch_torus.c       2008-05-22 06:44:41.000000000 -0700
     575--- src/src/libscotch/arch_torus.c      2013-05-06 14:14:15.000000000 -0700
    576576***************
    577577*** 90,97 ****
     
    670670      return     (1);
    671671    }
    672 diff -rc src/src/libscotch/arch_torus.h new5/src/libscotch/arch_torus.h
    673 *** src/src/libscotch/arch_torus.h      2008-05-22 06:44:41.000000000 -0700
    674 --- new5/src/libscotch/arch_torus.h     2010-07-21 17:13:15.620257376 -0700
     672diff -crB scotch_5.1/src/libscotch/arch_torus.h src/src/libscotch/arch_torus.h
     673*** scotch_5.1/src/libscotch/arch_torus.h       2008-05-22 06:44:41.000000000 -0700
     674--- src/src/libscotch/arch_torus.h      2013-05-06 14:14:15.000000000 -0700
    675675***************
    676676*** 96,102 ****
     
    701701  #define archTorus3ArchFree          NULL
    702702  ArchDomNum                  archTorus3DomNum    (const ArchTorus3 * const, const ArchTorus3Dom * const);
    703 diff -rc src/src/libscotch/common.c new5/src/libscotch/common.c
    704 *** src/src/libscotch/common.c  2008-05-22 06:44:41.000000000 -0700
    705 --- new5/src/libscotch/common.c 2010-07-21 17:13:15.622257390 -0700
     703diff -crB scotch_5.1/src/libscotch/common.c src/src/libscotch/common.c
     704*** scotch_5.1/src/libscotch/common.c   2008-05-22 06:44:41.000000000 -0700
     705--- src/src/libscotch/common.c  2013-05-06 14:14:15.000000000 -0700
    706706***************
    707707*** 100,106 ****
     
    720720+ #endif /* MATLAB */
    721721  }
    722 diff -rc src/src/libscotch/common.h new5/src/libscotch/common.h
    723 *** src/src/libscotch/common.h  2009-02-06 14:20:55.000000000 -0800
    724 --- new5/src/libscotch/common.h 2010-07-21 17:15:06.061025001 -0700
     722diff -crB scotch_5.1/src/libscotch/common.h src/src/libscotch/common.h
     723*** scotch_5.1/src/libscotch/common.h   2009-02-06 14:20:55.000000000 -0800
     724--- src/src/libscotch/common.h  2013-05-09 11:49:35.317220518 -0700
    725725***************
    726726*** 1,3 ****
     
    752752 
    753753--- 109,114 ----
     754***************
     755*** 171,179 ****
     756  /** The file structure. **/
     757 
     758  typedef struct File_ {
     759!   char *                    name;                 /*+ File name    +*/
     760    FILE *                    pntr;                 /*+ File pointer +*/
     761!   char *                    mode;                 /*+ Opening mode +*/
     762  } File;
     763 
     764  /*
     765--- 172,180 ----
     766  /** The file structure. **/
     767 
     768  typedef struct File_ {
     769!   const char *              name;                 /*+ File name    +*/
     770    FILE *                    pntr;                 /*+ File pointer +*/
     771!   const char *              mode;                 /*+ Opening mode +*/
     772  } File;
     773 
     774  /*
    754775***************
    755776*** 190,216 ****
     
    837858+
    838859+ #endif //#ifndef _SCOTCH_COMMON_H_
    839 diff -rc src/src/libscotch/common_integer.c new5/src/libscotch/common_integer.c
    840 *** src/src/libscotch/common_integer.c  2009-01-21 01:32:32.000000000 -0800
    841 --- new5/src/libscotch/common_integer.c 2010-07-21 17:13:15.628257432 -0700
     860diff -crB scotch_5.1/src/libscotch/common_integer.c src/src/libscotch/common_integer.c
     861*** scotch_5.1/src/libscotch/common_integer.c   2009-01-21 01:32:32.000000000 -0800
     862--- src/src/libscotch/common_integer.c  2013-05-06 14:14:16.000000000 -0700
    842863***************
    843864*** 191,196 ****
     
    910931 
    911932  /*********************/
    912 diff -rc src/src/libscotch/common_memory.c new5/src/libscotch/common_memory.c
    913 *** src/src/libscotch/common_memory.c   2009-01-03 02:16:11.000000000 -0800
    914 --- new5/src/libscotch/common_memory.c  2010-07-21 17:13:15.630257445 -0700
     933diff -crB scotch_5.1/src/libscotch/common_memory.c src/src/libscotch/common_memory.c
     934*** scotch_5.1/src/libscotch/common_memory.c    2009-01-03 02:16:11.000000000 -0800
     935--- src/src/libscotch/common_memory.c   2013-05-06 14:14:16.000000000 -0700
    915936***************
    916937*** 87,93 ****
     
    10181039  }
    10191040  #endif /* COMMON_MEMORY_TRACE */
    1020 diff -rc src/src/libscotch/dummysizes.c new5/src/libscotch/dummysizes.c
    1021 *** src/src/libscotch/dummysizes.c      2009-05-09 16:08:02.000000000 -0700
    1022 --- new5/src/libscotch/dummysizes.c     2010-07-21 17:13:15.633257466 -0700
     1041diff -crB scotch_5.1/src/libscotch/dummysizes.c src/src/libscotch/dummysizes.c
     1042*** scotch_5.1/src/libscotch/dummysizes.c       2009-05-09 16:08:02.000000000 -0700
     1043--- src/src/libscotch/dummysizes.c      2013-05-06 14:14:16.000000000 -0700
    10231044***************
    10241045*** 267,271 ****
     
    10311052+ #endif /* MATLAB */
    10321053  }
    1033 diff -rc src/src/libscotch/graph.c new5/src/libscotch/graph.c
    1034 *** src/src/libscotch/graph.c   2008-05-22 06:44:42.000000000 -0700
    1035 --- new5/src/libscotch/graph.c  2010-07-21 17:13:15.635257480 -0700
     1054diff -crB scotch_5.1/src/libscotch/graph.c src/src/libscotch/graph.c
     1055*** scotch_5.1/src/libscotch/graph.c    2008-05-22 06:44:42.000000000 -0700
     1056--- src/src/libscotch/graph.c   2013-05-06 14:14:17.000000000 -0700
    10361057***************
    10371058*** 135,141 ****
     
    10541075      if ((grafptr->edlotax != NULL) &&
    10551076          ((grafptr->flagval & GRAPHEDGEGROUP) == 0))
    1056 diff -rc src/src/libscotch/graph.h new5/src/libscotch/graph.h
    1057 *** src/src/libscotch/graph.h   2008-06-01 02:49:11.000000000 -0700
    1058 --- new5/src/libscotch/graph.h  2010-07-21 17:13:15.637257494 -0700
     1077diff -crB scotch_5.1/src/libscotch/graph.h src/src/libscotch/graph.h
     1078*** scotch_5.1/src/libscotch/graph.h    2008-06-01 02:49:11.000000000 -0700
     1079--- src/src/libscotch/graph.h   2013-05-06 14:14:17.000000000 -0700
    10591080***************
    10601081*** 159,165 ****
     
    10711092  int                         graphSave           (const Graph * const, FILE * const);
    10721093  Gnum                        graphBase           (Graph * const, const Gnum);
    1073 diff -rc src/src/libscotch/graph_io.c new5/src/libscotch/graph_io.c
    1074 *** src/src/libscotch/graph_io.c        2008-05-22 06:44:42.000000000 -0700
    1075 --- new5/src/libscotch/graph_io.c       2010-07-21 17:13:15.639257508 -0700
     1094diff -crB scotch_5.1/src/libscotch/graph_io.c src/src/libscotch/graph_io.c
     1095*** scotch_5.1/src/libscotch/graph_io.c 2008-05-22 06:44:42.000000000 -0700
     1096--- src/src/libscotch/graph_io.c        2013-05-06 14:14:17.000000000 -0700
    10761097***************
    10771098*** 86,92 ****
     
    13091330    }
    13101331 
    1311 diff -rc src/src/libscotch/graph_io_scot.c new5/src/libscotch/graph_io_scot.c
    1312 *** src/src/libscotch/graph_io_scot.c   2008-05-22 06:44:42.000000000 -0700
    1313 --- new5/src/libscotch/graph_io_scot.c  2010-07-21 17:13:15.641257522 -0700
     1332diff -crB scotch_5.1/src/libscotch/graph_io_scot.c src/src/libscotch/graph_io_scot.c
     1333*** scotch_5.1/src/libscotch/graph_io_scot.c    2008-05-22 06:44:42.000000000 -0700
     1334--- src/src/libscotch/graph_io_scot.c   2013-05-06 14:14:17.000000000 -0700
    13141335***************
    13151336*** 89,95 ****
     
    13261347    }
    13271348 
    1328 diff -rc src/src/libscotch/library_arch.c new5/src/libscotch/library_arch.c
    1329 *** src/src/libscotch/library_arch.c    2008-05-22 06:44:42.000000000 -0700
    1330 --- new5/src/libscotch/library_arch.c   2010-07-21 17:13:15.643257536 -0700
     1349diff -crB scotch_5.1/src/libscotch/library_arch.c src/src/libscotch/library_arch.c
     1350*** scotch_5.1/src/libscotch/library_arch.c     2008-05-22 06:44:42.000000000 -0700
     1351--- src/src/libscotch/library_arch.c    2013-05-06 14:14:17.000000000 -0700
    13311352***************
    13321353*** 120,128 ****
     
    13611382 
    13621383  /*+ This routine saves the given opaque
    1363 diff -rc src/src/libscotch/library_arch_f.c new5/src/libscotch/library_arch_f.c
    1364 *** src/src/libscotch/library_arch_f.c  2008-05-22 06:44:42.000000000 -0700
    1365 --- new5/src/libscotch/library_arch_f.c 2010-07-21 17:13:15.645257550 -0700
     1384diff -crB scotch_5.1/src/libscotch/library_arch_f.c src/src/libscotch/library_arch_f.c
     1385*** scotch_5.1/src/libscotch/library_arch_f.c   2008-05-22 06:44:42.000000000 -0700
     1386--- src/src/libscotch/library_arch_f.c  2013-05-06 14:14:18.000000000 -0700
    13661387***************
    13671388*** 121,127 ****
     
    13781399    fclose (stream);                                /* This closes filenum too */
    13791400 
    1380 diff -rc src/src/libscotch/library_error_exit.c new5/src/libscotch/library_error_exit.c
    1381 *** src/src/libscotch/library_error_exit.c      2009-01-20 00:36:33.000000000 -0800
    1382 --- new5/src/libscotch/library_error_exit.c     2010-07-21 17:13:15.648257570 -0700
     1401diff -crB scotch_5.1/src/libscotch/library_error_exit.c src/src/libscotch/library_error_exit.c
     1402*** scotch_5.1/src/libscotch/library_error_exit.c       2009-01-20 00:36:33.000000000 -0800
     1403--- src/src/libscotch/library_error_exit.c      2013-05-06 14:14:18.000000000 -0700
    13831404***************
    13841405*** 114,119 ****
     
    14531474+ #endif /* MATLAB */
    14541475  }
    1455 diff -rc src/src/libscotch/library_graph.c new5/src/libscotch/library_graph.c
    1456 *** src/src/libscotch/library_graph.c   2008-05-22 07:28:12.000000000 -0700
    1457 --- new5/src/libscotch/library_graph.c  2010-07-21 17:13:15.650257584 -0700
     1476diff -crB scotch_5.1/src/libscotch/library_graph.c src/src/libscotch/library_graph.c
     1477*** scotch_5.1/src/libscotch/library_graph.c    2008-05-22 07:28:12.000000000 -0700
     1478--- src/src/libscotch/library_graph.c   2013-05-06 14:14:18.000000000 -0700
    14581479***************
    14591480*** 137,143 ****
     
    14981519 
    14991520  /*+ This routine saves the contents of the given
    1500 diff -rc src/src/libscotch/library_graph_f.c new5/src/libscotch/library_graph_f.c
    1501 *** src/src/libscotch/library_graph_f.c 2008-05-22 06:44:43.000000000 -0700
    1502 --- new5/src/libscotch/library_graph_f.c        2010-07-21 17:13:15.652257598 -0700
     1521diff -crB scotch_5.1/src/libscotch/library_graph_f.c src/src/libscotch/library_graph_f.c
     1522*** scotch_5.1/src/libscotch/library_graph_f.c  2008-05-22 06:44:43.000000000 -0700
     1523--- src/src/libscotch/library_graph_f.c 2013-05-06 14:14:18.000000000 -0700
    15031524***************
    15041525*** 136,142 ****
     
    15151536    fclose (stream);                                /* This closes filenum too */
    15161537 
    1517 diff -rc src/src/libscotch/library_graph_map.c new5/src/libscotch/library_graph_map.c
    1518 *** src/src/libscotch/library_graph_map.c       2008-09-28 04:04:05.000000000 -0700
    1519 --- new5/src/libscotch/library_graph_map.c      2010-07-21 17:13:15.654257612 -0700
     1538diff -crB scotch_5.1/src/libscotch/library_graph_map.c src/src/libscotch/library_graph_map.c
     1539*** scotch_5.1/src/libscotch/library_graph_map.c        2008-09-28 04:04:05.000000000 -0700
     1540--- src/src/libscotch/library_graph_map.c       2013-05-06 14:14:19.000000000 -0700
    15201541***************
    15211542*** 182,192 ****
     
    15401561 
    15411562  /*+ This routine computes a mapping
    1542 diff -rc src/src/libscotch/library_graph_map_f.c new5/src/libscotch/library_graph_map_f.c
    1543 *** src/src/libscotch/library_graph_map_f.c     2008-06-28 03:44:26.000000000 -0700
    1544 --- new5/src/libscotch/library_graph_map_f.c    2010-07-21 17:13:15.656257626 -0700
     1563diff -crB scotch_5.1/src/libscotch/library_graph_map_f.c src/src/libscotch/library_graph_map_f.c
     1564*** scotch_5.1/src/libscotch/library_graph_map_f.c      2008-06-28 03:44:26.000000000 -0700
     1565--- src/src/libscotch/library_graph_map_f.c     2013-05-06 14:14:19.000000000 -0700
    15451566***************
    15461567*** 183,189 ****
     
    15571578    fclose (stream);                                /* This closes filenum too */
    15581579 
    1559 diff -rc src/src/libscotch/library.h new5/src/libscotch/library.h
    1560 *** src/src/libscotch/library.h 2009-05-09 16:08:03.000000000 -0700
    1561 --- new5/src/libscotch/library.h        2010-07-21 17:13:15.660257654 -0700
     1580diff -crB scotch_5.1/src/libscotch/library.h src/src/libscotch/library.h
     1581*** scotch_5.1/src/libscotch/library.h  2009-05-09 16:08:03.000000000 -0700
     1582--- src/src/libscotch/library.h 2013-05-06 14:14:19.000000000 -0700
    15621583***************
    15631584*** 1,3 ****
     
    16181639+
    16191640+ #endif //#ifndef _SCOTCH_H_
    1620 diff -rc src/src/libscotch/Makefile new5/src/libscotch/Makefile
    1621 *** src/src/libscotch/Makefile  2009-05-09 16:08:04.000000000 -0700
    1622 --- new5/src/libscotch/Makefile 2010-07-21 17:13:15.665257689 -0700
     1641diff -crB scotch_5.1/src/libscotch/Makefile src/src/libscotch/Makefile
     1642*** scotch_5.1/src/libscotch/Makefile   2009-05-09 16:08:04.000000000 -0700
     1643--- src/src/libscotch/Makefile  2013-05-06 14:14:19.000000000 -0700
    16231644***************
    16241645*** 49,55 ****
     
    20372058+                                       $(AR) $(ARFLAGS) $(@) $(?)
    20382059+                                       -$(RANLIB) $(@)
    2039 diff -rc src/src/libscotch/mapping.h new5/src/libscotch/mapping.h
    2040 *** src/src/libscotch/mapping.h 2008-10-27 08:27:47.000000000 -0700
    2041 --- new5/src/libscotch/mapping.h        2010-07-21 17:13:15.667257702 -0700
     2060diff -crB scotch_5.1/src/libscotch/mapping.h src/src/libscotch/mapping.h
     2061*** scotch_5.1/src/libscotch/mapping.h  2008-10-27 08:27:47.000000000 -0700
     2062--- src/src/libscotch/mapping.h 2013-05-06 14:14:20.000000000 -0700
    20422063***************
    20432064*** 106,112 ****
     
    20542075 
    20552076  #undef static
    2056 diff -rc src/src/libscotch/mapping_io.c new5/src/libscotch/mapping_io.c
    2057 *** src/src/libscotch/mapping_io.c      2008-05-22 06:44:43.000000000 -0700
    2058 --- new5/src/libscotch/mapping_io.c     2010-07-21 17:13:15.670257723 -0700
     2077diff -crB scotch_5.1/src/libscotch/mapping_io.c src/src/libscotch/mapping_io.c
     2078*** scotch_5.1/src/libscotch/mapping_io.c       2008-05-22 06:44:43.000000000 -0700
     2079--- src/src/libscotch/mapping_io.c      2013-05-06 14:14:20.000000000 -0700
    20592080***************
    20602081*** 199,204 ****
     
    21432164    return (0);
    21442165  }
    2145 diff -rc src/src/libscotch/mesh_io_scot.c new5/src/libscotch/mesh_io_scot.c
    2146 *** src/src/libscotch/mesh_io_scot.c    2008-05-22 06:44:43.000000000 -0700
    2147 --- new5/src/libscotch/mesh_io_scot.c   2010-07-21 17:13:15.672257737 -0700
     2166diff -crB scotch_5.1/src/libscotch/mesh_io_scot.c src/src/libscotch/mesh_io_scot.c
     2167*** scotch_5.1/src/libscotch/mesh_io_scot.c     2008-05-22 06:44:43.000000000 -0700
     2168--- src/src/libscotch/mesh_io_scot.c    2013-05-06 14:14:20.000000000 -0700
    21482169***************
    21492170*** 85,91 ****
     
    21602181    }
    21612182 
    2162 diff -rc src/src/libscotch/module.h new5/src/libscotch/module.h
    2163 *** src/src/libscotch/module.h  2009-04-26 23:07:14.000000000 -0700
    2164 --- new5/src/libscotch/module.h 2010-07-21 17:13:15.675257758 -0700
     2183diff -crB scotch_5.1/src/libscotch/module.h src/src/libscotch/module.h
     2184*** scotch_5.1/src/libscotch/module.h   2009-04-26 23:07:14.000000000 -0700
     2185--- src/src/libscotch/module.h  2013-05-06 14:14:20.000000000 -0700
    21652186***************
    21662187*** 1,3 ****
     
    22012222+
    22022223+ #endif //#ifndef _SCOTCH_MODULE_H_
    2203 diff -rc src/src/libscotch/parser_ll.l new5/src/libscotch/parser_ll.l
    2204 *** src/src/libscotch/parser_ll.l       2008-05-22 06:44:43.000000000 -0700
    2205 --- new5/src/libscotch/parser_ll.l      2010-07-21 17:13:15.677257772 -0700
     2224diff -crB scotch_5.1/src/libscotch/parser_ll.l src/src/libscotch/parser_ll.l
     2225*** scotch_5.1/src/libscotch/parser_ll.l        2008-05-22 06:44:43.000000000 -0700
     2226--- src/src/libscotch/parser_ll.l       2013-05-06 14:14:21.000000000 -0700
    22062227***************
    22072228*** 192,197 ****
     
    22302251    yyrestart (yyin);                               /* (Re-)initialize the parser */
    22312252  #endif /* FLEX_SCANNER */
    2232 diff -rc src/src/libscotch/parser_yy.y new5/src/libscotch/parser_yy.y
    2233 *** src/src/libscotch/parser_yy.y       2008-10-22 15:12:48.000000000 -0700
    2234 --- new5/src/libscotch/parser_yy.y      2010-07-21 17:13:15.679257786 -0700
     2253diff -crB scotch_5.1/src/libscotch/parser_yy.y src/src/libscotch/parser_yy.y
     2254*** scotch_5.1/src/libscotch/parser_yy.y        2008-10-22 15:12:48.000000000 -0700
     2255--- src/src/libscotch/parser_yy.y       2013-05-06 14:14:21.000000000 -0700
    22352256***************
    22362257*** 774,779 ****
     
    22432264    if (stratParserParse2 () != 0) {                /* Parse the strategy string */
    22442265      if (parserstratcurr != NULL)
    2245 diff -rc src/src/libscotch/vgraph_separate_vw.c new5/src/libscotch/vgraph_separate_vw.c
    2246 *** src/src/libscotch/vgraph_separate_vw.c      2008-05-22 06:44:43.000000000 -0700
    2247 --- new5/src/libscotch/vgraph_separate_vw.c     2010-07-21 17:13:15.682257807 -0700
     2266diff -crB scotch_5.1/src/libscotch/vgraph_separate_vw.c src/src/libscotch/vgraph_separate_vw.c
     2267*** scotch_5.1/src/libscotch/vgraph_separate_vw.c       2008-05-22 06:44:43.000000000 -0700
     2268--- src/src/libscotch/vgraph_separate_vw.c      2013-05-06 14:14:21.000000000 -0700
    22482269***************
    22492270*** 83,88 ****
     
    22652286    return (0);
    22662287  }
    2267 diff -rc src/src/Makefile new5/src/Makefile
    2268 *** src/src/Makefile    2008-09-15 05:50:51.000000000 -0700
    2269 --- new5/src/Makefile   2010-07-21 17:13:15.684257821 -0700
     2288diff -crB scotch_5.1/src/Makefile src/src/Makefile
     2289*** scotch_5.1/src/Makefile     2008-09-15 05:50:51.000000000 -0700
     2290--- src/src/Makefile    2013-05-06 14:14:21.000000000 -0700
    22702291***************
    22712292*** 97,102 ****
     
    22842305                                        -$(CP) -f ../bin/[agm]*$(EXE) $(bindir)
    22852306                                        -$(CP) -f ../include/*scotch*.h $(includedir)
    2286 Only in new5/src: Makefile.inc
    2287 diff -rc src/src/scotch/gmap.h new5/src/scotch/gmap.h
    2288 *** src/src/scotch/gmap.h       2008-06-18 11:05:17.000000000 -0700
    2289 --- new5/src/scotch/gmap.h      2010-07-21 17:13:15.686257834 -0700
     2307Only in src/src: Makefile.inc
     2308diff -crB scotch_5.1/src/scotch/gmap.h src/src/scotch/gmap.h
     2309*** scotch_5.1/src/scotch/gmap.h        2008-06-18 11:05:17.000000000 -0700
     2310--- src/src/scotch/gmap.h       2013-05-06 14:14:22.000000000 -0700
    22902311***************
    22912312*** 1,3 ****
     
    23042325+
    23052326+ #endif //#ifndef _SCOTCH_GMAP_H_
    2306 Only in new5/src/scotch: gmap_mex.c
    2307 Only in new5/src/scotch: gmapx.c
    2308 diff -rc src/src/scotch/Makefile new5/src/scotch/Makefile
    2309 *** src/src/scotch/Makefile     2009-04-27 02:19:43.000000000 -0700
    2310 --- new5/src/scotch/Makefile    2010-07-21 17:13:15.689257855 -0700
     2327Only in src/src/scotch: gmap_mex.c
     2328Only in src/src/scotch: gmapx.c
     2329diff -crB scotch_5.1/src/scotch/Makefile src/src/scotch/Makefile
     2330*** scotch_5.1/src/scotch/Makefile      2009-04-27 02:19:43.000000000 -0700
     2331--- src/src/scotch/Makefile     2013-05-06 14:14:22.000000000 -0700
    23112332***************
    23122333*** 49,59 ****
  • issm/trunk/externalpackages/shapelib

    • Property svn:ignore
      •  

        old new  
        1 install*
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
         14install
        215src
        3 
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/slepc

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/sqlite

    • Property svn:ignore
      •  

        old new  
        11*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        214install
        315src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/ssh

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/starcluster

    • Property svn:ignore
      •  

        old new  
        1 StarCluster
         1StarCluster*
         2*.gz
         3*.zip
         4*.a
         5*.so
         6*.o
         7*.la
         8*.cmake
         9*.cache
         10*.exe
         11*.in
         12*.log
         13*.deps
         14*.metadata
         15install
         16src
         17CMakeCache.txt
         18Makefile
         19CMakeFiles
  • issm/trunk/externalpackages/svn

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        2 src*
        3 *.gz
        4 
         15src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/swig

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        2 *.gz
         15src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/tao

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/tcl

    • Property svn:ignore
      •  

        old new  
         1build*
        12*.gz
        2 build
         3*.zip
         4*.a
         5*.so
         6*.o
         7*.la
         8*.cmake
         9*.cache
         10*.exe
         11*.in
         12*.log
         13*.deps
         14*.metadata
         15install
        316src
        4 install
         17CMakeCache.txt
         18Makefile
         19CMakeFiles
  • issm/trunk/externalpackages/tclx

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
         14install
        115src
        2 install
        3 *.gz
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/tex2im

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/tk

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
        3 *.gz
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/triangle

    • Property svn:ignore
      •  

        old new  
         1*.gz
        12*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        214install
        3 install-matlab
        4 install-python
         15src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/triangle/configs

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/triangle/configs/altix64

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/triangle/configs/android

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/triangle/configs/linux64

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/triangle/configs/macosx32

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/triangle/configs/macosx64

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/triangle/configs/pleiades

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/triangle/configs/win32

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/triangle/configs/win7

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/valgrind

    • Property svn:ignore
      •  

        old new  
         1*.bz2
         2*.gz
         3*.zip
         4*.a
         5*.so
         6*.o
         7*.la
         8*.cmake
         9*.cache
         10*.exe
         11*.in
         12*.log
         13*.deps
         14*.metadata
        115install
        2 configure.sh
        316src
        4 .ignore.txt
        5 *.bz2
         17CMakeCache.txt
         18Makefile
         19CMakeFiles
  • issm/trunk/externalpackages/vim

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/vim/addons

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/vim/addons/vim

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/vim/addons/vim/autoload

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/vim/addons/vim/colors

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/vim/addons/vim/doc

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/vim/addons/vim/indent

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/vim/addons/vim/plugin

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/vim/addons/vim/plugin/file_line.vim

    r4230 r15396  
     1" Avoid installing twice or when in unsupported Vim version.
     2if exists('g:loaded_file_line') || (v:version < 700)
     3        finish
     4endif
     5let g:loaded_file_line = 1
     6
    17function! s:gotoline()
    28        let file = bufname("%")
    3         let names =  matchlist( file, '\(.*\):\(\d\+\)')
    49
    5         if len(names) != 0 && filereadable(names[1])
     10        " :e command calls BufRead even though the file is a new one.
     11        " As a workarround Jonas Pfenniger<jonas@pfenniger.name> added an
     12        " AutoCmd BufRead, this will test if this file actually exists before
     13        " searching for a file and line to goto.
     14        if (filereadable(file))
     15                return
     16        endif
     17
     18        " Accept file:line:column: or file:line:column and file:line also
     19        let nocol = 0
     20        let names =  matchlist( file, '\(.\{-1,}\):\%(\(\d\+\)\%(:\(\d*\):\?\)\?\)\?$')
     21
     22        if empty(names)
     23                "no column provided maybe?
     24                let names =  matchlist( file, '\(.*\):\(\d\+\)')
     25                let nocol = 1
     26                if empty(names)
     27                        return
     28                endif
     29        endif
     30
     31        let file_name =  names[1]
     32        let line_num  =  names[2] == ''? '0' : names[2]
     33        let  col_num  = (names[3] == '' && !nocol) ? '0' : names[3]
     34
     35        if filereadable(file_name)
    636                let l:bufn = bufnr("%")
    7                 exec ":e " . names[1]
    8                 exec ":" . names[2]
    9                 exec ":bdelete " . l:bufn
    10                 if foldlevel(names[2]) > 0
    11                         exec ":foldopen!"
     37                exec ":bwipeout " l:bufn
     38
     39                exec "keepalt edit " . file_name
     40                exec ":" . line_num
     41                exec "normal! " . col_num . '|'
     42                if foldlevel(line_num) > 0
     43                        exec "normal! zv"
    1244                endif
     45
     46                exec "normal! zz"
    1347        endif
    1448endfunction
    1549
    1650autocmd! BufNewFile *:* nested call s:gotoline()
     51autocmd! BufRead *:* nested call s:gotoline()
  • issm/trunk/externalpackages/vim/addons/vim/syntax

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/vim/addons/vim/syntax/Synchronize.sh

    r13395 r15396  
    66cat c.vim | sed "/ISSM's Enums begin/,/vim: ts=8/d" > temp
    77echo "\"ISSM's Enums begin" >> temp
    8 cat ../../../../../src/c/EnumDefinitions/EnumDefinitions.h | grep -e "[0-9]Enum," -e "[a-z]Enum," -e "[A-Z]Enum," | grep -v StringToEnum | sed -e "s/,//g" | awk '{ printf "syn keyword cConstant " $1 "\n"}' >> temp
     8cat ../../../../../src/c/shared/Enum/EnumDefinitions.h | grep -e "[0-9]Enum," -e "[a-z]Enum," -e "[A-Z]Enum," | grep -v StringToEnum | sed -e "s/,//g" | awk '{ printf "syn keyword cConstant " $1 "\n"}' >> temp
    99echo "\"ISSM's Enums end" >> temp
    1010cat c.vim | sed "1,/ISSM's Enums end/d" >> temp
    1111mv temp c.vim
    12 exit 1
    1312
    1413#Synchronize objects
    1514cat c.vim | sed "/ISSM's objects begin/,/vim: ts=8/d" > temp
    1615echo "\"ISSM's objects begin" >> temp
    17 find ../../../../../src/c/classes -name "*.h" | sed -e "s/\// /g" -e "s/\.h//"| awk '{print  $(NF)}' | awk '{ printf "syn keyword cType " $1 "\n"}'>> temp
     16find ../../../../../src/c/classes -name "*.cpp" | sed -e "s/\// /g" -e "s/\.cpp//"| awk '{print  $(NF)}' | awk '{ printf "syn keyword cType " $1 "\n"}'>> temp
    1817echo "\"ISSM's objects end" >> temp
    1918cat c.vim | sed "1,/ISSM's objects end/d" >> temp
  • issm/trunk/externalpackages/vim/addons/vim/syntax/c.vim

    r13975 r15396  
    403403"   please try to keep the alphabetical ordering                                                                    "
    404404"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
    405 "ISSM containers:
    406 syn keyword     cType           Constraints DataSet Elements Inputs Loads Materials Nodes Parameters Results Vertices Options
    407405"Petsc
    408406syn keyword     cType           Vec Mat SeqVec SeqMat
    409407"other ISSM's syntax
    410 syn keyword     cType           mxArray ErrorException QuadtreeBox IssmDouble IssmPDouble Observations
     408syn keyword     cType           mxArray ErrorException QuadtreeBox
     409syn keyword     cType           IssmDouble IssmPDouble
    411410
    412411"ISSM's objects begin
    413 syn keyword cType GaussPenta
    414 syn keyword cType gaussobjects
    415 syn keyword cType GaussTria
    416 syn keyword cType objects
    417 syn keyword cType Material
     412syn keyword cType Matdamageice
     413syn keyword cType Materials
    418414syn keyword cType Matice
    419415syn keyword cType Matpar
    420 syn keyword cType objects
    421 syn keyword cType Contour
    422 syn keyword cType DoubleInput
    423 syn keyword cType Input
     416syn keyword cType DofIndexing
     417syn keyword cType IntVecParam
     418syn keyword cType BoolParam
     419syn keyword cType IntMatParam
     420syn keyword cType DoubleTransientMatParam
     421syn keyword cType StringParam
     422syn keyword cType DoubleVecParam
     423syn keyword cType DoubleMatParam
     424syn keyword cType FileParam
     425syn keyword cType Parameters
     426syn keyword cType DataSetParam
     427syn keyword cType IntParam
     428syn keyword cType VectorParam
     429syn keyword cType MatrixParam
     430syn keyword cType StringArrayParam
     431syn keyword cType TransientParam
     432syn keyword cType DoubleParam
     433syn keyword cType DoubleMatArrayParam
     434syn keyword cType ExponentialVariogram
     435syn keyword cType PowerVariogram
     436syn keyword cType Quadtree
     437syn keyword cType Observations
     438syn keyword cType GaussianVariogram
     439syn keyword cType SphericalVariogram
     440syn keyword cType Observation
     441syn keyword cType RiftStruct
     442syn keyword cType OptionUtilities
     443syn keyword cType Options
     444syn keyword cType Penpair
     445syn keyword cType Loads
     446syn keyword cType Icefront
     447syn keyword cType Friction
     448syn keyword cType Riftfront
     449syn keyword cType Numericalflux
     450syn keyword cType Pengrid
     451syn keyword cType Contours
     452syn keyword cType Vertex
     453syn keyword cType ElementMatrix
     454syn keyword cType ElementVector
     455syn keyword cType Profiler
     456syn keyword cType Results
     457syn keyword cType PentaP1ElementResult
     458syn keyword cType DoubleElementResult
     459syn keyword cType BoolElementResult
     460syn keyword cType TriaP1ElementResult
     461syn keyword cType Elements
     462syn keyword cType TriaHook
     463syn keyword cType PentaHook
     464syn keyword cType Tria
     465syn keyword cType Penta
     466syn keyword cType TriaRef
     467syn keyword cType PentaRef
     468syn keyword cType GaussTria
     469syn keyword cType GaussPenta
     470syn keyword cType DependentObject
     471syn keyword cType Patch
     472syn keyword cType Hook
    424473syn keyword cType ControlInput
    425474syn keyword cType DatasetInput
    426475syn keyword cType IntInput
    427476syn keyword cType BoolInput
    428 syn keyword cType TriaP1Input
     477syn keyword cType Inputs
    429478syn keyword cType TransientInput
    430479syn keyword cType PentaP1Input
    431 syn keyword cType KML_Icon
    432 syn keyword cType KML_Point
    433 syn keyword cType KML_LinearRing
    434 syn keyword cType KML_Feature
    435 syn keyword cType KMLFileReadUtils
    436 syn keyword cType KML_StyleSelector
    437 syn keyword cType KML_LatLonBox
    438 syn keyword cType KML_Attribute
    439 syn keyword cType KML_PolyStyle
    440 syn keyword cType KML_Object
    441 syn keyword cType KML_SubStyle
    442 syn keyword cType KML_LineString
    443 syn keyword cType KML_Overlay
    444 syn keyword cType KML_Container
    445 syn keyword cType KML_Polygon
    446 syn keyword cType KML_Geometry
    447 syn keyword cType KML_ColorStyle
    448 syn keyword cType KML_Placemark
    449 syn keyword cType KML_Unknown
    450 syn keyword cType KML_GroundOverlay
    451 syn keyword cType KML_Style
    452 syn keyword cType KML_Comment
    453 syn keyword cType KML_MultiGeometry
    454 syn keyword cType KML_LineStyle
    455 syn keyword cType KML_Folder
    456 syn keyword cType KML_Document
    457 syn keyword cType KML_File
    458 syn keyword cType DoubleVecParam
    459 syn keyword cType DoubleParam
    460 syn keyword cType DoubleMatArrayParam
    461 syn keyword cType DoubleMatParam
    462 syn keyword cType Param
    463 syn keyword cType FileParam
    464 syn keyword cType IntVecParam
    465 syn keyword cType IntParam
    466 syn keyword cType BoolParam
    467 syn keyword cType IntMatParam
    468 syn keyword cType VectorParam
    469 syn keyword cType DoubleTransientMatParam
    470 syn keyword cType MatrixParam
    471 syn keyword cType StringArrayParam
    472 syn keyword cType StringParam
    473 syn keyword cType TransientParam
    474 syn keyword cType OptionStruct
    475 syn keyword cType OptionDouble
    476 syn keyword cType OptionLogical
    477 syn keyword cType OptionUtilities
    478 syn keyword cType OptionChar
    479 syn keyword cType Option
    480 syn keyword cType OptionCell
    481 syn keyword cType Segment
    482 syn keyword cType Icefront
    483 syn keyword cType Friction
    484 syn keyword cType Riftfront
    485 syn keyword cType Numericalflux
    486 syn keyword cType Penpair
    487 syn keyword cType Load
    488 syn keyword cType Pengrid
    489 syn keyword cType Object
    490 syn keyword cType DoubleVecExternalResult
    491 syn keyword cType DoubleExternalResult
    492 syn keyword cType IntExternalResult
    493 syn keyword cType BoolExternalResult
    494 syn keyword cType DoubleMatExternalResult
    495 syn keyword cType PetscVecExternalResult
    496 syn keyword cType ExternalResult
    497 syn keyword cType StringExternalResult
    498 syn keyword cType Vertex
     480syn keyword cType DoubleInput
     481syn keyword cType TriaInput
     482syn keyword cType Constraints
    499483syn keyword cType SpcDynamic
    500484syn keyword cType SpcStatic
    501485syn keyword cType SpcTransient
    502 syn keyword cType Constraint
    503 syn keyword cType TriaP1ElementResult
    504 syn keyword cType PentaP1ElementResult
    505 syn keyword cType DoubleElementResult
    506 syn keyword cType ElementResultLocal
    507 syn keyword cType BoolElementResult
    508 syn keyword cType ElementResult
     486syn keyword cType Nodes
     487syn keyword cType IndependentObject
     488syn keyword cType Vertices
    509489syn keyword cType Node
    510 syn keyword cType TriaRef
    511 syn keyword cType TriaHook
    512 syn keyword cType PentaRef
    513 syn keyword cType PentaHook
    514 syn keyword cType Tria
    515 syn keyword cType Element
    516 syn keyword cType Penta
    517 syn keyword cType classes
    518 syn keyword cType DofIndexing
    519 syn keyword cType Patch
    520 syn keyword cType Hook
    521 syn keyword cType Quadtree
    522 syn keyword cType Observation
    523 syn keyword cType ExponentialVariogram
    524 syn keyword cType GaussianVariogram
    525 syn keyword cType SphericalVariogram
    526 syn keyword cType PowerVariogram
    527 syn keyword cType krigingobjects
    528 syn keyword cType Variogram
    529 syn keyword cType DakotaPlugin
    530 syn keyword cType ElementVector
    531 syn keyword cType ElementMatrix
    532 syn keyword cType matrixobjects
    533 syn keyword cType Vector
    534 syn keyword cType Matrix
    535 syn keyword cType GeomSubDomain
    536 syn keyword cType Geometry
    537 syn keyword cType AdjacentTriangle
    538 syn keyword cType VertexOnEdge
    539 syn keyword cType BamgQuadtree
    540 syn keyword cType Edge
    541 syn keyword cType BamgVertex
    542 syn keyword cType SetOfE4
    543 syn keyword cType GeomEdge
    544 syn keyword cType Direction
    545 syn keyword cType VertexOnGeom
    546 syn keyword cType R2
    547 syn keyword cType Mesh
    548 syn keyword cType ListofIntersectionTriangles
    549 syn keyword cType Triangle
    550 syn keyword cType DoubleAndInt
    551 syn keyword cType VertexOnVertex
    552 syn keyword cType BamgOpts
    553 syn keyword cType BamgGeom
    554 syn keyword cType bamgobjects
    555 syn keyword cType CrackedEdge
    556 syn keyword cType SubDomain
    557 syn keyword cType BamgMesh
    558 syn keyword cType Metric
    559 syn keyword cType include
    560 syn keyword cType typedefs
    561 syn keyword cType Curve
    562 syn keyword cType macros
    563 syn keyword cType GeomVertex
    564 syn keyword cType OptArgs
    565 syn keyword cType Update
    566 syn keyword cType OptPars
    567490syn keyword cType IoModel
    568491syn keyword cType FemModel
     
    620543syn keyword cConstant DiagnosticVertexPairingEnum
    621544syn keyword cConstant DiagnosticViscosityOvershootEnum
     545syn keyword cConstant LoadingforceXEnum
     546syn keyword cConstant LoadingforceYEnum
     547syn keyword cConstant LoadingforceZEnum
    622548syn keyword cConstant FlowequationBordermacayealEnum
    623549syn keyword cConstant FlowequationBorderpattynEnum
     
    633559syn keyword cConstant FrictionQEnum
    634560syn keyword cConstant GeometryHydrostaticRatioEnum
    635 syn keyword cConstant HydrologyCREnum
    636 syn keyword cConstant HydrologyKnEnum
    637 syn keyword cConstant HydrologyNEnum
    638 syn keyword cConstant HydrologyPEnum
    639 syn keyword cConstant HydrologyQEnum
    640 syn keyword cConstant HydrologySpcwatercolumnEnum
    641 syn keyword cConstant HydrologyStabilizationEnum
     561syn keyword cConstant HydrologyModelEnum
     562syn keyword cConstant HydrologyshreveEnum
     563syn keyword cConstant HydrologyshreveCREnum
     564syn keyword cConstant HydrologyshreveKnEnum
     565syn keyword cConstant HydrologyshreveNEnum
     566syn keyword cConstant HydrologyshrevePEnum
     567syn keyword cConstant HydrologyshreveQEnum
     568syn keyword cConstant HydrologyshreveSpcwatercolumnEnum
     569syn keyword cConstant HydrologyshreveStabilizationEnum
     570syn keyword cConstant HydrologydcEnum
     571syn keyword cConstant SedimentHeadEnum
     572syn keyword cConstant SedimentHeadOldEnum
     573syn keyword cConstant SedimentHeadResidualEnum
     574syn keyword cConstant EplHeadEnum
     575syn keyword cConstant EplHeadOldEnum
     576syn keyword cConstant HydrologydcRelTolEnum
     577syn keyword cConstant HydrologydcSpcsedimentHeadEnum
     578syn keyword cConstant HydrologydcSedimentCompressibilityEnum
     579syn keyword cConstant HydrologydcSedimentPorosityEnum
     580syn keyword cConstant HydrologydcSedimentThicknessEnum
     581syn keyword cConstant HydrologydcSedimentTransmitivityEnum
     582syn keyword cConstant HydrologydcWaterCompressibilityEnum
     583syn keyword cConstant HydrologydcSpceplHeadEnum
     584syn keyword cConstant HydrologydcMaskEplactiveEnum
     585syn keyword cConstant HydrologydcEplCompressibilityEnum
     586syn keyword cConstant HydrologydcEplPorosityEnum
     587syn keyword cConstant HydrologydcEplThicknessEnum
     588syn keyword cConstant HydrologydcEplTransmitivityEnum
     589syn keyword cConstant HydrologydcIsefficientlayerEnum
     590syn keyword cConstant HydrologydcSedimentlimitFlagEnum
     591syn keyword cConstant HydrologydcSedimentlimitEnum
     592syn keyword cConstant HydrologydcTransferFlagEnum
     593syn keyword cConstant HydrologydcLeakageFactorEnum
     594syn keyword cConstant HydrologydcPenaltyFactorEnum
     595syn keyword cConstant HydrologyLayerEnum
     596syn keyword cConstant HydrologySedimentEnum
     597syn keyword cConstant HydrologyEfficientEnum
     598syn keyword cConstant HydrologySedimentKmaxEnum
     599syn keyword cConstant BasisIntegralEnum
     600syn keyword cConstant WaterTransferEnum
    642601syn keyword cConstant IndependentObjectEnum
    643602syn keyword cConstant InversionControlParametersEnum
    644 syn keyword cConstant InversionCostFunctionEnum
    645603syn keyword cConstant InversionCostFunctionThresholdEnum
    646604syn keyword cConstant InversionCostFunctionsCoefficientsEnum
     
    686644syn keyword cConstant MaterialsThermalExchangeVelocityEnum
    687645syn keyword cConstant MaterialsThermalconductivityEnum
     646syn keyword cConstant MaterialsLithosphereShearModulusEnum
     647syn keyword cConstant MaterialsLithosphereDensityEnum
     648syn keyword cConstant MaterialsMantleShearModulusEnum
     649syn keyword cConstant MaterialsMantleDensityEnum
    688650syn keyword cConstant MeshAverageVertexConnectivityEnum
    689651syn keyword cConstant MeshDimensionEnum
     
    751713syn keyword cConstant SurfaceforcingsMassBalanceEnum
    752714syn keyword cConstant SurfaceforcingsIspddEnum
     715syn keyword cConstant SurfaceforcingsDesfacEnum
     716syn keyword cConstant SurfaceforcingsS0pEnum
    753717syn keyword cConstant SurfaceforcingsIssmbgradientsEnum
    754718syn keyword cConstant SurfaceforcingsMonthlytemperaturesEnum
    755 syn keyword cConstant SurfaceforcingsHcEnum
    756719syn keyword cConstant SurfaceforcingsHrefEnum
    757720syn keyword cConstant SurfaceforcingsSmbrefEnum
    758 syn keyword cConstant SurfaceforcingsSmbPosMaxEnum
    759 syn keyword cConstant SurfaceforcingsSmbPosMinEnum
    760 syn keyword cConstant SurfaceforcingsAPosEnum
    761721syn keyword cConstant SurfaceforcingsBPosEnum
    762 syn keyword cConstant SurfaceforcingsANegEnum
    763722syn keyword cConstant SurfaceforcingsBNegEnum
    764723syn keyword cConstant ThermalMaxiterEnum
     
    769728syn keyword cConstant ThermalStabilizationEnum
    770729syn keyword cConstant ThermalIsenthalpyEnum
     730syn keyword cConstant GiaMantleViscosityEnum
     731syn keyword cConstant GiaLithosphereThicknessEnum
    771732syn keyword cConstant ThicknessEnum
    772733syn keyword cConstant TimesteppingStartTimeEnum
     
    779740syn keyword cConstant TransientIsprognosticEnum
    780741syn keyword cConstant TransientIsthermalEnum
     742syn keyword cConstant TransientIsgiaEnum
    781743syn keyword cConstant TransientNumRequestedOutputsEnum
    782744syn keyword cConstant TransientRequestedOutputsEnum
     
    788750syn keyword cConstant AdjointSolutionEnum
    789751syn keyword cConstant AnalysisCounterEnum
     752syn keyword cConstant NoneAnalysisEnum
     753syn keyword cConstant DefaultAnalysisEnum
    790754syn keyword cConstant BalancethicknessAnalysisEnum
    791755syn keyword cConstant BalancethicknessSolutionEnum
     756syn keyword cConstant WeakBalancethicknessAnalysisEnum
     757syn keyword cConstant WeakBalancethicknessSolutionEnum
    792758syn keyword cConstant BedSlopeAnalysisEnum
    793759syn keyword cConstant BedSlopeSolutionEnum
     
    802768syn keyword cConstant FlaimAnalysisEnum
    803769syn keyword cConstant FlaimSolutionEnum
    804 syn keyword cConstant HydrologyAnalysisEnum
     770syn keyword cConstant HydrologyShreveAnalysisEnum
     771syn keyword cConstant HydrologyDCInefficientAnalysisEnum
     772syn keyword cConstant HydrologyDCEfficientAnalysisEnum
    805773syn keyword cConstant HydrologySolutionEnum
    806774syn keyword cConstant MeltingAnalysisEnum
    807 syn keyword cConstant NoneAnalysisEnum
    808775syn keyword cConstant PrognosticAnalysisEnum
    809776syn keyword cConstant PrognosticSolutionEnum
     
    816783syn keyword cConstant ThermalSolutionEnum
    817784syn keyword cConstant TransientSolutionEnum
     785syn keyword cConstant GiaSolutionEnum
     786syn keyword cConstant GiaAnalysisEnum
    818787syn keyword cConstant ApproximationEnum
    819788syn keyword cConstant NoneApproximationEnum
     
    830799syn keyword cConstant MaterialsEnum
    831800syn keyword cConstant NodesEnum
     801syn keyword cConstant ContoursEnum
    832802syn keyword cConstant ParametersEnum
    833803syn keyword cConstant VerticesEnum
     
    858828syn keyword cConstant IntVecParamEnum
    859829syn keyword cConstant TransientParamEnum
     830syn keyword cConstant IceFrontTypeEnum
    860831syn keyword cConstant MacAyeal2dIceFrontEnum
    861832syn keyword cConstant MacAyeal3dIceFrontEnum
     
    865836syn keyword cConstant NodeEnum
    866837syn keyword cConstant NumericalfluxEnum
     838syn keyword cConstant NumericalfluxTypeEnum
    867839syn keyword cConstant ParamEnum
    868840syn keyword cConstant L1L2IceFrontEnum
     
    874846syn keyword cConstant ProfilerEnum
    875847syn keyword cConstant MatrixParamEnum
     848syn keyword cConstant NodeSIdEnum
    876849syn keyword cConstant VectorParamEnum
    877850syn keyword cConstant RiftfrontEnum
     851syn keyword cConstant RiftfrontTypeEnum
    878852syn keyword cConstant SegmentEnum
    879853syn keyword cConstant SegmentRiftfrontEnum
     
    885859syn keyword cConstant StringParamEnum
    886860syn keyword cConstant TriaEnum
    887 syn keyword cConstant TriaP1InputEnum
     861syn keyword cConstant TriaInputEnum
    888862syn keyword cConstant VertexEnum
     863syn keyword cConstant VertexPIdEnum
     864syn keyword cConstant VertexSIdEnum
    889865syn keyword cConstant AirEnum
    890866syn keyword cConstant IceEnum
     
    898874syn keyword cConstant AdjointyEnum
    899875syn keyword cConstant AdjointzEnum
     876syn keyword cConstant BalancethicknessMisfitEnum
    900877syn keyword cConstant BedSlopeXEnum
    901878syn keyword cConstant BedSlopeYEnum
     
    903880syn keyword cConstant ConstantEnum
    904881syn keyword cConstant ConvergedEnum
    905 syn keyword cConstant ExtToIuEnum
    906882syn keyword cConstant FillEnum
    907883syn keyword cConstant FractionIncrementEnum
     
    909885syn keyword cConstant GroundinglineMeltingRateEnum
    910886syn keyword cConstant InternalEnum
    911 syn keyword cConstant IuToExtEnum
    912887syn keyword cConstant MassFluxEnum
    913888syn keyword cConstant MaxPenetrationEnum
     
    925900syn keyword cConstant QmuSurfaceEnum
    926901syn keyword cConstant QmuMeltingEnum
     902syn keyword cConstant AndroidFrictionCoefficientEnum
    927903syn keyword cConstant ResetPenaltiesEnum
    928904syn keyword cConstant SegmentOnIceShelfEnum
     
    938914syn keyword cConstant TemperatureOldEnum
    939915syn keyword cConstant TemperaturePicardEnum
    940 syn keyword cConstant TemperatureSurfaceEnum
    941 syn keyword cConstant TemperatureBasalEnum
    942916syn keyword cConstant ThicknessAbsMisfitEnum
    943 syn keyword cConstant TypeEnum
    944917syn keyword cConstant VelEnum
    945918syn keyword cConstant VelocityEnum
     
    968941syn keyword cConstant DragCoefficientAbsGradientEnum
    969942syn keyword cConstant TransientInputEnum
    970 syn keyword cConstant OutputfilenameEnum
    971943syn keyword cConstant WaterfractionEnum
    972944syn keyword cConstant WatercolumnEnum
     
    983955syn keyword cConstant StressTensoryzEnum
    984956syn keyword cConstant StressTensorzzEnum
     957syn keyword cConstant GiaCrossSectionShapeEnum
     958syn keyword cConstant GiadWdtEnum
     959syn keyword cConstant GiaWEnum
    985960syn keyword cConstant P0Enum
    986961syn keyword cConstant P1Enum
    987962syn keyword cConstant P1DGEnum
     963syn keyword cConstant MINIEnum
     964syn keyword cConstant P2Enum
    988965syn keyword cConstant SaveResultsEnum
    989966syn keyword cConstant BoolElementResultEnum
     
    992969syn keyword cConstant DoubleExternalResultEnum
    993970syn keyword cConstant DoubleMatExternalResultEnum
    994 syn keyword cConstant DoubleVecExternalResultEnum
    995971syn keyword cConstant IntExternalResultEnum
    996972syn keyword cConstant JEnum
     
    999975syn keyword cConstant PatchVerticesEnum
    1000976syn keyword cConstant PentaP1ElementResultEnum
    1001 syn keyword cConstant PetscVecExternalResultEnum
    1002977syn keyword cConstant StringExternalResultEnum
    1003978syn keyword cConstant StepEnum
     
    1018993syn keyword cConstant IceVolumeEnum
    1019994syn keyword cConstant TotalSmbEnum
    1020 syn keyword cConstant RelativeEnum
    1021995syn keyword cConstant AbsoluteEnum
    1022996syn keyword cConstant IncrementalEnum
     
    1024998syn keyword cConstant NoneEnum
    1025999syn keyword cConstant SoftMigrationEnum
     1000syn keyword cConstant SubelementMigrationEnum
     1001syn keyword cConstant SubelementMigration2Enum
     1002syn keyword cConstant GLlevelsetEnum
    10261003syn keyword cConstant StokesSolverEnum
    10271004syn keyword cConstant AdjointEnum
     
    10431020syn keyword cConstant OutputFileNameEnum
    10441021syn keyword cConstant LockFileNameEnum
    1045 syn keyword cConstant PetscOptionsAnalysesEnum
    1046 syn keyword cConstant PetscOptionsStringsEnum
     1022syn keyword cConstant ToolkitsOptionsAnalysesEnum
     1023syn keyword cConstant ToolkitsOptionsStringsEnum
    10471024syn keyword cConstant QmuErrNameEnum
    10481025syn keyword cConstant QmuInNameEnum
     
    10581035syn keyword cConstant XYEnum
    10591036syn keyword cConstant XYZPEnum
     1037syn keyword cConstant DenseEnum
     1038syn keyword cConstant MpiDenseEnum
     1039syn keyword cConstant SeqEnum
     1040syn keyword cConstant MpiEnum
    10601041syn keyword cConstant OptionEnum
    10611042syn keyword cConstant GenericOptionEnum
  • issm/trunk/externalpackages/vim/addons/vim/xtr

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/vim/addons/vim/xtr/skeleton

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/vim/addons/vim/zipfiles

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/vim/addons/vimrc

    r13975 r15396  
    194194" Abbreviations {{{
    195195" ----------------------------------------------------------------------
    196 "func Eatchar(pat)
    197 "       let c = nr2char(getchar())
    198 "       return (c =~ a:pat) ? '' : c
    199 "endfunc
    200 "au BufRead,BufNewFile *.html     iabbr <silent> H1 <h1></h1><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
    201 "au BufRead,BufNewFile *.html     iabbr <silent> H2 <h2></h2><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
    202 "au BufRead,BufNewFile *.html     iabbr <silent> H3 <h3></h3><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
    203 "au BufRead,BufNewFile *.html     iabbr <silent> CO <code></code><Left><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
    204 "au BufRead,BufNewFile *.html     iabbr <silent> PP <p></p><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
    205 "au BufRead,BufNewFile *.m        iabbr <silent> p1  disp('');<Left><Left><Left><C-R>=Eatchar('\s')<CR>
    206 "au BufRead,BufNewFile *.m        iab <expr> p0  "disp('-------------- file: ".expand('%')." line: ".line(".")."');"
    207 "au BufRead,BufNewFile *.c*       iabbr <silent> p1  printf("\n");<Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
    208 "au BufRead,BufNewFile *.c*,*.h   iabbr <silent> ER  _error_("");<Left><Left><Left><C-R>=Eatchar('\s')<CR>
    209 "au BufRead,BufNewFile *.c*       ab VV VecView(ug,PETSC_VIEWER_STDOUT_WORLD);
    210 "au BufRead,BufNewFile *.c*       ab AS _assert_();
    211 "au BufRead,BufNewFile *.c*       iab <expr> p0  "printf(\"-------------- file: ".expand('%')." line: %i\\n\",__LINE__);"
    212 "au BufRead,BufNewFile *.c*       iab <expr> pp0 "PetscSynchronizedPrintf(MPI_COMM_WORLD,\"-------------- file: ".expand('%')." line: %i\\n\",__LINE__);\nPetscSynchronizedFlush(MPI_COMM_WORLD);"
    213 ""tex
    214 "au BufRead,BufNewFile *.tex iab EQ
    215 "                       \\begin{equation}
    216 "                       \<CR>\end{equation}<up><C-R>=Eatchar('\s')<CR>
    217 "au BufRead,BufNewFile *.tex iab IT
    218 "                       \\begin{itemize}
    219 "                       \<CR>\item
    220 "                       \<CR>\end{itemize}<up><C-R>=Eatchar('\s')<CR>
    221 "au BufRead,BufNewFile *.tex iab EN
    222 "                       \\begin{enumerate}
    223 "                       \<CR>\item
    224 "                       \<CR>\end{enumerate}<up><C-R>=Eatchar('\s')<CR>
    225 "au BufRead,BufNewFile *.tex ab (()) \left( \right)
     196func Eatchar(pat)
     197        let c = nr2char(getchar())
     198        return (c =~ a:pat) ? '' : c
     199endfunc
     200au BufRead,BufNewFile *.html     iabbr <silent> H1 <h1></h1><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
     201au BufRead,BufNewFile *.html     iabbr <silent> H2 <h2></h2><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
     202au BufRead,BufNewFile *.html     iabbr <silent> H3 <h3></h3><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
     203au BufRead,BufNewFile *.html     iabbr <silent> CO <code></code><Left><Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
     204au BufRead,BufNewFile *.html     iabbr <silent> PP <p></p><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
     205au BufRead,BufNewFile *.m        iabbr <silent> p1  disp('');<Left><Left><Left><C-R>=Eatchar('\s')<CR>
     206au BufRead,BufNewFile *.m        iab <expr> p0  "disp('-------------- file: ".expand('%')." line: ".line(".")."');"
     207au BufRead,BufNewFile *.c*       iabbr <silent> p1  printf("\n");<Left><Left><Left><Left><Left><C-R>=Eatchar('\s')<CR>
     208au BufRead,BufNewFile *.c*,*.h   iabbr <silent> ER  _error_("");<Left><Left><Left><C-R>=Eatchar('\s')<CR>
     209au BufRead,BufNewFile *.c*       ab VV VecView(ug,PETSC_VIEWER_STDOUT_WORLD);
     210au BufRead,BufNewFile *.c*       ab AS _assert_();
     211au BufRead,BufNewFile *.c*       iab <expr> p0  "printf(\"-------------- file: ".expand('%')." line: %i\\n\",__LINE__);"
     212au BufRead,BufNewFile *.c*       iab <expr> pp0 "PetscSynchronizedPrintf(MPI_COMM_WORLD,\"-------------- file: ".expand('%')." line: %i\\n\",__LINE__);\nPetscSynchronizedFlush(MPI_COMM_WORLD);"
     213"tex
     214au BufRead,BufNewFile *.tex iab EQ
     215                        \\begin{equation}
     216                        \<CR>\end{equation}<up><C-R>=Eatchar('\s')<CR>
     217au BufRead,BufNewFile *.tex iab IT
     218                        \\begin{itemize}
     219                        \<CR>\item
     220                        \<CR>\end{itemize}<up><C-R>=Eatchar('\s')<CR>
     221au BufRead,BufNewFile *.tex iab EN
     222                        \\begin{enumerate}
     223                        \<CR>\item
     224                        \<CR>\end{enumerate}<up><C-R>=Eatchar('\s')<CR>
     225au BufRead,BufNewFile *.tex ab (()) \left( \right)
    226226"}}}
    227227" Skeletons {{{
  • issm/trunk/externalpackages/vim/install.sh

    r13395 r15396  
    2323cd src/src
    2424./configure \
    25         --prefix "$ISSM_DIR/externalpackages/vim/install" \
    26         --with-gcc "/usr/bin/gcc"
     25        --prefix="$ISSM_DIR/externalpackages/vim/install" \
     26        --with-gcc="/usr/bin/gcc" \
     27        --with-tlib="/lib/"
    2728
    2829#Compile vim
  • issm/trunk/externalpackages/windows

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/windows/README

    r11995 r15396  
    5151
    5252We'll try the compile with the Microsoft Windows SDK 7.1: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=8279
     53
     54
     55
     56MPICH2:
     57to run in parallel.  First install MPICH2 from www.mpich.org/downloads. Make
     58sure the install directory in C:\Program Files\MPICH2, otherwise, ISSM will
     59not be able to figure out where the mpi libraries are installed on your windows platform.
     60
     61Then fire up smpd in a command line under Administrator privileges:
     62smpd -install
     63
     64Then:
     65mpiexe.exe -remove
     66mpiexe.exe -register (type enter for username, for password, type your windows password, do not chose anything else!)
     67mpiexe.exe -validate (should return SUCCESS)
     68
     69Then you are ready to run parallel.
     70
     71To do: how do we document this? Create webpage for all of this. + get a fortran compiler giong!
  • issm/trunk/externalpackages/windows/configs

    • Property svn:ignore set to
      *.gz
      *.zip
      *.a
      *.so
      *.o
      *.la
      *.cmake
      *.cache
      *.exe
      *.in
      *.log
      *.deps
      *.metadata
      install
      src
      CMakeCache.txt
      Makefile
      CMakeFiles
  • issm/trunk/externalpackages/windows/windows_environment.sh

    r12332 r15396  
    3737ISSM_DIR_WIN=`cygpath -m $ISSM_DIR`
    3838export ISSM_DIR_WIN
     39
     40#Now source for fortran environment:
     41#source $ISSM_DIR/externalpackages/windows/fortran_environment.sh
  • issm/trunk/externalpackages/xaifbooster

    • Property svn:ignore
      •  

        old new  
        1 xaifBooster
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
         14install
         15src
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/xerces

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
        3 .ignore.txt
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/externalpackages/yams

    • Property svn:ignore
      •  

        old new  
         1*.gz
         2*.zip
         3*.a
         4*.so
         5*.o
         6*.la
         7*.cmake
         8*.cache
         9*.exe
         10*.in
         11*.log
         12*.deps
         13*.metadata
        114install
        215src
        3 .ignore.txt
         16CMakeCache.txt
         17Makefile
         18CMakeFiles
  • issm/trunk/m4/issm_options.m4

    r14310 r15396  
    5555                        export CXXFLAGS="-DWIN32 -D_INTEL_WIN_"
    5656                elif  test $VENDOR = intel-win7-32; then
    57                         export CC=cccl
     57                        export CC=cl
    5858                        export CXX=cccl
    5959                        export CXXFLAGS="-DWIN32 -D_INTEL_WIN_ -EHsc"
    6060                        export CFLAGS="-DWIN32 -D_INTEL_WIN_ -EHsc"
    61                         export AR=lib
     61                        export AR="ar-lib lib"
     62                        export OS_LDFLAG="-Wl,"
    6263                        export RANLIB=true
    63                         OSLIBS="kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib"
     64                        OSLIBS="-Wl,kernel32.lib -Wl,user32.lib -Wl,gdi32.lib -Wl,winspool.lib -Wl,comdlg32.lib -Wl,advapi32.lib -Wl,shell32.lib -Wl,ole32.lib -Wl,oleaut32.lib -Wl,uuid.lib -Wl,odbc32.lib -Wl,odbccp32.lib"
    6465                elif  test $VENDOR = intel-win7-64; then
    65                         export CC=cccl
     66                        export CC=cl
    6667                        export CXX=cccl
    6768                        export CXXFLAGS="-DWIN32 -D_INTEL_WIN_ -EHsc"
    6869                        export CFLAGS="-DWIN32 -D_INTEL_WIN_ -EHsc"
    69                         export AR=lib
     70                        export AR="ar-lib lib"
     71                        export OS_LDFLAG="-Wl,"
    7072                        export RANLIB=true
    71                         OSLIBS="kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib"
     73                        OSLIBS="-Wl,kernel32.lib -Wl,user32.lib -Wl,gdi32.lib -Wl,winspool.lib -Wl,comdlg32.lib -Wl,advapi32.lib -Wl,shell32.lib -Wl,ole32.lib -Wl,oleaut32.lib -Wl,uuid.lib -Wl,odbc32.lib -Wl,odbccp32.lib"
    7274                elif test $VENDOR = intel-linux; then
    7375                        export CC=icc
     
    8385                        export CC=icc
    8486                        export CXX=icpc
    85                         export CXXFLAGS=" -O3 -xS -D_INTEL_LINUX_ "
    86                         export CFLAGS=" -O3 -xS -D_INTEL_LINUX_ "
     87                        export CXXFLAGS=" -O3 -D_INTEL_LINUX_ "
     88                        export CFLAGS=" -O3 -D_INTEL_LINUX_ "
    8789        else
    88                 AC_MSG_ERROR([unknow compiler vendor!])
     90                AC_MSG_ERROR([unknown compiler vendor!])
    8991                fi
    9092        fi
     
    115117
    116118                AC_MSG_CHECKING(for matlab headers and libraries in $MATLAB_ROOT)
    117                 MATLABINCL=-I"$MATLAB_ROOT/extern/include";
     119                MATLABINCL="-I$MATLAB_ROOT/extern/include/"
    118120               
    119121                dnl 4. get MEXLIB MEXLINK and MEXEXT (experimental)
    120                 MEXLINK=$(mex -v 2>&1 < /dev/null | grep LDFLAGS     | sed -e "s/         LDFLAGS            = //g")
    121                 MEXLIB=$( mex -v 2>&1 < /dev/null | grep CXXLIBS     | sed -e "s/         CXXLIBS            = //g")
    122                 MEXEXT=$( mex -v 2>&1 < /dev/null | grep LDEXTENSION | sed -e "s/         LDEXTENSION        = //g")
     122      dnl OS-dependent variables and checks
     123                case "${host_os}" in
     124                        *cygwin*)
     125                                if  test $VENDOR = intel-win7-32; then
     126                                        MEXLIB="-Wl,./../../c/libISSMCore.a -Wl,libISSMApi.a -Wl,libISSMMatlab.a -Wl,./../../c/libISSMModules.a -Wl,libmx.lib -Wl,libmex.lib -Wl,libmat.lib ${OSLIBS} -Wl,libf2cblas.lib -Wl,libf2clapack.lib"
     127               MEXLINK="-Wl,/LIBPATH:`cygpath -m ${MATLAB_ROOT}/extern/lib/win32/microsoft` -no-undefined -Wl,/export:mexFunction"
     128                                elif  test l-win7-64; then
     129                                        MEXLIB="-Wl,./../../c/libISSMCore.a -Wl,libISSMApi.a -Wl,libISSMMatlab.a -Wl,./../../c/libISSMModules.a -Wl,libmx.lib -Wl,libmex.lib -Wl,libmat.lib ${OSLIBS} -Wl,libf2cblas.lib -Wl,libf2clapack.lib"
     130               MEXLINK="-Wl,/LIBPATH:`cygpath -m ${MATLAB_ROOT}/extern/lib/win64/microsoft` -no-undefined -Wl,/export:mexFunction"
     131                                fi
     132                                MEXEXT=`$MATLAB_ROOT/bin/mexext.bat`
     133                                MEXEXT=".$MEXEXT"
     134                        ;;
     135                   *)
     136                      MEXLINK=$(mex -v 2>&1 < /dev/null | grep LDFLAGS     | sed -e "s/         LDFLAGS            = //g")
     137                 MEXLIB=$( mex -v 2>&1 < /dev/null | grep CXXLIBS     | sed -e "s/         CXXLIBS            = //g")
     138                      MEXEXT=$( mex -v 2>&1 < /dev/null | grep LDEXTENSION | sed -e "s/         LDEXTENSION        = //g")
     139                        ;;
     140      esac
    123141           AC_MSG_RESULT(done)
    124142
     
    127145                MATLABWRAPPEREXT=$MEXEXT
    128146                AC_SUBST([MATLABWRAPPEREXT])
    129             AC_SUBST([MEXLIB])
     147           AC_SUBST([MEXLIB])
    130148                AC_SUBST([MEXLINK])
    131149        fi
     
    145163                case "${host_os}" in
    146164                                *cygwin*)
    147                                 TRIANGLELIB=$TRIANGLE_ROOT/triangle.lib
     165                                TRIANGLELIB="-Wl,`cygpath -m $TRIANGLE_ROOT/`triangle.lib"
    148166                                ;;
    149167                                *linux*)
     
    177195                DAKOTAINCL=-I$DAKOTA_ROOT/include
    178196                AC_MSG_CHECKING(for dakota version)
    179                 DAKOTA_VERSION=`cat $DAKOTA_ROOT/include/dakota_config.h | grep "#define PACKAGE_VERSION" | sed 's/#define PACKAGE_VERSION//' | sed 's/ //g' | sed -e 's/\"//g' `
     197                if test -f "$DAKOTA_ROOT/../src/src/CommandLineHandler.C"; then
     198                        DAKOTA_VERSION=`cat $DAKOTA_ROOT/../src/src/CommandLineHandler.C | grep 'DAKOTA version' | grep 'release' | grep -v // | sed 's/.*DAKOTA version //' | sed 's/ .*//' `
     199                else if test -f "$DAKOTA_ROOT/../src/src/CommandLineHandler.cpp"; then
     200                        DAKOTA_VERSION=`cat $DAKOTA_ROOT/../src/src/CommandLineHandler.cpp | grep 'DAKOTA version' | grep 'release' | grep -v // | sed 's/.*DAKOTA version //' | sed 's/ .*//' `
     201                else
     202                        AC_MSG_ERROR([Dakota CommandLineHandler.C or CommandLineHandler.cpp file not found to determine DAKOTA_VERSION!]);
     203                fi
     204                fi
     205
    180206                AC_MSG_RESULT($DAKOTA_VERSION)
    181                 AC_DEFINE_UNQUOTED([DAKOTA_VERSION],"$DAKOTA_VERSION",[Dakota version number])
     207                AC_DEFINE_UNQUOTED([_DAKOTA_VERSION_],"$DAKOTA_VERSION",[Dakota version number])
     208                DAKOTAFLAGS=""
    182209                case "${host_os}" in
    183210                        *cygwin*)
    184                                 if      test x$DAKOTA_VERSION = x4.2; then
     211                                if      test x$DAKOTA_VERSION = x4.2 || test x$DAKOTA_VERSION = x4.2+; then
    185212                                        DAKOTALIB="-L$DAKOTA_ROOT/lib -ldakota -lteuchos -lpecos -lfftw3 -llhs -levidence -lsurfpack -lconmin -lddace -lfsudace -ljega -lcport -lopt -lpsuade -lnewmat -lncsuopt -lgsl -lquadrature -lcoliny -lcolin -lpebbl -lutilib -l3po -lnappspack -lappspack -lconveyor -lshared -lcdd -lamplsolver"
    186213                                else if test x$DAKOTA_VERSION = x5.1 || test x$DAKOTA_VERSION = x5.2; then
     
    192219                        ;;
    193220                        *linux*)
    194                                 if      test x$DAKOTA_VERSION = x4.2; then
     221                                if      test x$DAKOTA_VERSION = x4.2 || test x$DAKOTA_VERSION = x4.2+; then
    195222                                        DAKOTALIB="-L$DAKOTA_ROOT/lib -ldakota -lteuchos -lpecos -lfftw3 -llhs -levidence -lsurfpack -lconmin -lddace -lfsudace -ljega -lcport -lopt -lpsuade -lnewmat -lncsuopt -lgsl -lquadrature -lcoliny -lcolin -lpebbl -lutilib -l3po -lnappspack -lappspack -lconveyor -lshared -lcdd -lamplsolver"
    196223                                else if test x$DAKOTA_VERSION = x5.1 || test x$DAKOTA_VERSION = x5.2; then
    197                                         DAKOTALIB="-L$DAKOTA_ROOT/lib -ldakota -lteuchos -lpecos -llhs -lsparsegrid -lsurfpack -lconmin -lddace -lfsudace -ljega -lcport -loptpp -lpsuade -lncsuopt -lcolin -linterfaces -lmomh -lscolib -lpebbl -ltinyxml -lutilib -l3po -lhopspack -lnidr -lamplsolver -lboost_signals -lboost_regex -lboost_filesystem -lboost_system"
     224                                        DAKOTALIB="-L$DAKOTA_ROOT/lib -ldakota -lteuchos -lpecos -llhs -lsparsegrid -lsurfpack -lconmin -lddace -lfsudace -ljega -lcport -loptpp -lpsuade -lncsuopt -lcolin -linterfaces -lmomh -lscolib -lpebbl -ltinyxml -lutilib -l3po -lhopspack -lnidr -lamplsolver -lboost_signals -lboost_regex -lboost_filesystem -lboost_system -ldl"
     225                                else if test x$DAKOTA_VERSION = x5.3 || test x$DAKOTA_VERSION = x5.3.1; then
     226                                        DAKOTAFLAGS="-DDISABLE_DAKOTA_CONFIG_H -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DDAKOTA_PLUGIN -DBOOST_DISABLE_ASSERTS -DDAKOTA_HAVE_BOOST_FS -DHAVE_UNISTD_H -DHAVE_SYSTEM -DHAVE_WORKING_FORK -DHAVE_WORKING_VFORK -DHAVE_SYS_WAIT_H -DHAVE_USLEEP -DDAKOTA_F90 -DDAKOTA_HAVE_MPI -DHAVE_PECOS -DHAVE_SURFPACK -DDAKOTA_COLINY -DDAKOTA_UTILIB -DHAVE_ADAPTIVE_SAMPLING -DHAVE_CONMIN -DDAKOTA_DDACE -DHAVE_FSUDACE -DDAKOTA_HOPS -DHAVE_JEGA -DHAVE_NCSU -DHAVE_NL2SOL -DHAVE_OPTPP -DDAKOTA_OPTPP -DHAVE_PSUADE -DHAVE_AMPL"
     227                                        DAKOTALIB="-L$DAKOTA_ROOT/lib -ldakota_src -ldakota_src_fortran -lnidr -lteuchos -lpecos -lpecos_src -llhs -lmods -lmod -ldfftpack -lsparsegrid -lsurfpack -lsurfpack_fortran -lutilib -lcolin -linterfaces -lscolib -l3po -lpebbl -ltinyxml -lconmin -ldace -lanalyzer -lrandom -lsampling -lbose -lfsudace -lhopspack -ljega -ljega_fe -lmoga -lsoga -leutils -lutilities -lncsuopt -lcport -loptpp -lpsuade -lamplsolver"
    198228                                else
    199229                                        AC_MSG_ERROR([Dakota version not found or version ($DAKOTA_VERSION) not supported!]);
    200230                                fi
    201231                                fi
     232                                fi
    202233                        ;;
    203234                        *darwin*)
    204                                 if      test x$DAKOTA_VERSION = x4.2; then
     235                                if      test x$DAKOTA_VERSION = x4.2 || test x$DAKOTA_VERSION = x4.2+; then
    205236                                        DAKOTALIB="-L$DAKOTA_ROOT/lib -ldakota -lteuchos -lpecos -lfftw3 -llhs -levidence -lsurfpack -lconmin -lddace -lfsudace -ljega -lcport -lopt -lpsuade -lnewmat -lncsuopt -lgsl -lquadrature -lcoliny -lcolin -lpebbl -lutilib -l3po -lnappspack -lappspack -lconveyor -lshared -lcdd -lamplsolver"
    206237                                        dnl DAKOTALIB+= "-lgslcblas -L/usr/lib -lblas -llapack"
     
    215246                esac
    216247                AC_DEFINE([_HAVE_DAKOTA_],[1],[with Dakota in ISSM src])
     248
     249                case $DAKOTA_VERSION in
     250                        @<:@1-9@:>@.@<:@0-9@:>@.@<:@0-9@:>@)
     251                                DAKOTA_MAJOR=`echo $DAKOTA_VERSION | sed -e 's/^\(@<:@0-9@:>@*\)\..*/\1/'`
     252                                DAKOTA_MINOR=`echo $DAKOTA_VERSION | sed -e 's/^@<:@0-9@:>@*\.\(@<:@0-9@:>@*\)\..*/\1/'`
     253                                DAKOTA_BUILD=`echo $DAKOTA_VERSION | sed -e 's/^@<:@0-9@:>@*\.@<:@0-9@:>@*\.\(@<:@0-9@:>@*\).*/\1/'`
     254                        ;;
     255                        @<:@1-9@:>@.@<:@0-9@:>@)
     256                                DAKOTA_MAJOR=`echo $DAKOTA_VERSION | sed -e 's/^\(@<:@0-9@:>@*\)\..*/\1/'`
     257                                DAKOTA_MINOR=`echo $DAKOTA_VERSION | sed -e 's/^@<:@0-9@:>@*\.\(@<:@0-9@:>@*\).*/\1/'`
     258                                DAKOTA_BUILD=0
     259                        ;;
     260                        @<:@1-9@:>@.@<:@0-9@:>@+)
     261                                DAKOTA_MAJOR=`echo $DAKOTA_VERSION | sed -e 's/^\(@<:@0-9@:>@*\)\..*/\1/'`
     262                                DAKOTA_MINOR=`echo $DAKOTA_VERSION | sed -e 's/^@<:@0-9@:>@*\.\(@<:@0-9@:>@*\).*/\1/'`
     263                                DAKOTA_BUILD=0
     264                        ;;
     265                        *)
     266                                AC_MSG_ERROR([Dakota version ($DAKOTA_VERSION) not supported!]);
     267                   ;;
     268                esac
     269                AC_MSG_CHECKING(for dakota major version)
     270                AC_MSG_RESULT($DAKOTA_MAJOR)
     271                AC_DEFINE_UNQUOTED([_DAKOTA_MAJOR_],$DAKOTA_MAJOR,[Dakota major version number])
     272                AC_MSG_CHECKING(for dakota minor version)
     273                AC_MSG_RESULT($DAKOTA_MINOR)
     274                AC_DEFINE_UNQUOTED([_DAKOTA_MINOR_],$DAKOTA_MINOR,[Dakota minor version number])
     275                AC_MSG_CHECKING(for dakota build version)
     276                AC_MSG_RESULT($DAKOTA_BUILD)
     277                AC_DEFINE_UNQUOTED([_DAKOTA_BUILD_],$DAKOTA_BUILD,[Dakota build version number])
     278
    217279                AC_SUBST([DAKOTAINCL])
     280                AC_SUBST([DAKOTAFLAGS])
    218281                AC_SUBST([DAKOTALIB])
    219282
     
    222285                AC_MSG_RESULT($HAVE_DAKOTA)
    223286        fi
     287
    224288        AM_CONDITIONAL([DAKOTA], [test x$HAVE_DAKOTA = xyes])
    225289        dnl }}}
     
    478542        dnl mpi{{{
    479543        AC_MSG_CHECKING(for mpi)
    480         AC_ARG_WITH([mpi-lib],
    481                 AS_HELP_STRING([--with-mpi-lib = options],[mpi options, for ex: "-L$MPIROOT -lmpich]),
    482                 [MPILIB=$withval],[MPILIB=""])
    483544       
    484545        AC_ARG_WITH([mpi-include],
    485546          AS_HELP_STRING([--with-mpi-include=DIR],[mpi include directory, necessary for parallel build]),
    486547          [MPI_INCLUDE=$withval],[MPI_INCLUDE=""])
    487        
    488         if test -z "$MPILIB" ; then
     548
     549        AC_ARG_WITH([mpi-libdir],
     550          AS_HELP_STRING([--with-mpi-libdir=DIR],[mpi lib directory, necessary for parallel build]),
     551          [MPI_LIBDIR=$withval],[MPI_LIBDIR=""])
     552
     553        AC_ARG_WITH([mpi-libflags],
     554          AS_HELP_STRING([--with-mpi-libflags=LIBS],[mpi libraries to be used, necessary for parallel build]),
     555          [MPI_LIBFLAGS=$withval],[MPI_LIBFLAGS=""])
     556
     557       
     558        if test -z "$MPI_INCLUDE" ; then
    489559                HAVE_MPI=no
    490560        else
    491                 if test -z "$MPI_INCLUDE" ; then
    492                         HAVE_MPI=no
     561                HAVE_MPI=yes
     562
     563                dnl Processing for windows
     564                if  test x$VENDOR = xintel-win7-32; then
     565                        MPI_LIBDIR=`cygpath -m $MPI_LIBDIR`
     566                        MPIINCL=`cygpath -m $MPI_INCLUDE`
     567                elif test x$VENDOR = xintel-win7-64; then
     568                        MPI_LIBDIR=`cygpath -m $MPI_LIBDIR`
     569                        MPI_INCLUDE=`cygpath -m $MPI_INCLUDE`
     570                fi
     571
     572                if test -z "$MPI_LIBDIR"; then
     573                        MPIINCL=-I"$MPI_INCLUDE"
     574                        MPILIB="$MPI_LIBFLAGS"
    493575                else
    494                         HAVE_MPI=yes
    495576                        MPIINCL=-I"$MPI_INCLUDE"
    496                         AC_DEFINE([_HAVE_MPI_],[1],[with Mpi in ISSM src])
    497                         AC_DEFINE([HAVE_MPI],[1],[Mpi Flag for Dakota (DO NOT REMOVE)])
    498                         AC_SUBST([MPIINCL])
    499                         AC_SUBST([MPILIB])
    500                 fi
    501         fi
     577                        MPILIB="-L$MPI_LIBDIR $MPI_LIBFLAGS"
     578                fi
     579                AC_DEFINE([_HAVE_MPI_],[1],[with Mpi in ISSM src])
     580                AC_DEFINE([HAVE_MPI],[1],[Mpi Flag for Dakota (DO NOT REMOVE)])
     581                AC_SUBST([MPIINCL])
     582                AC_SUBST([MPILIB])
     583        fi
     584
    502585        AM_CONDITIONAL([MPI], [test x$HAVE_MPI = xyes])
    503586        AC_MSG_RESULT($HAVE_MPI)
     
    517600
    518601                PETSC_VERSION_DATE_HG=`cat $PETSC_ROOT/include/petscversion.h | grep "#define PETSC_VERSION_DATE_HG" | sed 's/#define PETSC_VERSION_DATE_HG//' | sed 's/ //g' | sed -e 's/\"//g' `
     602                PETSC_RELEASE=`cat $PETSC_ROOT/include/petscversion.h | grep "#define PETSC_VERSION_RELEASE" | sed 's/#define PETSC_VERSION_RELEASE//' | sed 's/ //g'`
     603
    519604                AC_MSG_CHECKING(whether petsc is the development version)
    520                 if test x$PETSC_VERSION_DATE_HG = xunknown; then
    521                         AC_DEFINE([_HAVE_PETSCDEV_],[1],[with PETSc-dev])
     605                dnl if test x$PETSC_VERSION_DATE_HG = xunknown; then
     606                if test "$PETSC_RELEASE" = "0"; then
     607                   AC_DEFINE([_HAVE_PETSCDEV_],[1],[with PETSc-dev])
    522608                        AC_MSG_RESULT(yes)
    523609                else
     
    549635                        *cygwin*)
    550636                        if test $PETSC_MAJOR -lt 3 ; then
    551                                 PETSCLIB="-link -LIBPATH:\"$PETSC_ROOT/lib\" libpetscksp.lib libpetscdm.lib libpetscmat.lib libpetscvec.lib libpetscsnes.lib libpetscts.lib libmpiuni.lib libpetsc.lib"
     637                                PETSCLIB=-Wl,/LIBPATH:`cygpath -w $PETSC_ROOT/lib`  -Wl,libpetscksp.lib  -Wl,libpetscdm.lib  -Wl,libpetscmat.lib  -Wl,libpetscvec.lib  -Wl,libpetscsnes.lib  -Wl,libpetscts.lib  -Wl,libmpiuni.lib  -Wl,libpetsc.lib
    552638                        else
    553                                 PETSCLIB="-link -LIBPATH:\"$PETSC_ROOT/lib\" libpetsc.lib"
    554                                 if test $PETSC_MAJOR -gt 3 || test $PETSC_MINOR -ge 3; then PETSCLIB+=" libmetis.lib"; fi
     639                                PETSCLIB="-L$PETSC_ROOT/lib  -Wl,libpetsc.lib"
     640                                if test $PETSC_MAJOR -gt 3 || test $PETSC_MINOR -ge 3; then PETSCLIB+="  -Wl,libmetis.lib"; fi
    555641                        fi
    556642                        ;;
    557643                        *linux*)
    558644                        if test $PETSC_MAJOR -lt 3 ; then
    559                                 PETSCLIB="-L$PETSC_ROOT/lib -lpetscksp -lpetscdm -lpetscmat -lpetscvec -lpetsc  -lpetscsnes -lpetscts"
     645                                PETSCLIB="-L$PETSC_ROOT/lib -lpetscksp -lpetscdm -lpetscmat -lpetscvec -lpetscsnes -lpetscts -lmpiuni -lpetsc"
    560646                        else
    561647                                PETSCLIB="-L$PETSC_ROOT/lib -lpetsc -ldl"
     
    614700                                case "${host_os}" in
    615701                                        *cygwin*)
    616                                         METISLIB="-LIBPATH:\"$METIS_ROOT\" libmetis.lib"
     702                                        METISLIB="-L$METIS_ROOT -Wl,libmetis.lib"
    617703                                        ;;
    618704                                        *linux*)
     
    630716                                case "${host_os}" in
    631717                                        *cygwin*)
    632                                         METISLIB="-LIBPATH:\"$METIS_ROOT\" libmetis.lib"
     718                                        METISLIB="-L$METIS_ROOT libmetis.lib"
    633719                                        ;;
    634720                                        *linux*)
     
    755841                case "${host_os}" in
    756842                        *cygwin*)
    757                         BLASLAPACKLIB="-link -LIBPATH:\"$BLASLAPACK_ROOT\" libf2cblas.lib  libf2clapack.lib"
     843                        BLASLAPACKLIB="-L`cygpath -m $BLASLAPACK_ROOT` -Wl,libf2cblas.lib  -Wl,libf2clapack.lib"
    758844                        ;;
    759845                        *linux*)
    760                         BLASLAPACKLIB=-L"$BLASLAPACK_ROOT -lflapack -lfblas "
     846                        BLASLAPACKLIB=-L"$BLASLAPACK_ROOT/lib -lflapack -lfblas "
    761847                        ;;
    762848                        *darwin*)
    763                         BLASLAPACKLIB=-L"$BLASLAPACK_ROOT -lflapack -lfblas "
     849                        BLASLAPACKLIB=-L"$BLASLAPACK_ROOT/lib -lflapack -lfblas "
    764850                        ;;
    765851                esac
     
    785871                HAVE_MKL=yes
    786872                MKLINCL=""
    787                 MKLLIB=-L"$MKL_ROOT -lmkl -lmkl_lapack -lmkl_scalapack_ilp64   -lmkl_blacs_sgimpt_ilp64 -lguide  -lpthread"
     873                if test x$VENDOR = xintel-pleiades; then
     874                 MKLLIB=-L"$MKL_ROOT -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread"
     875                else
     876                 MKLLIB=-L"$MKL_ROOT -lmkl -lmkl_lapack -lmkl_scalapack_ilp64 -lmkl_blacs_sgimpt_ilp64 -lguide -lpthread"
     877                fi
    788878                AC_DEFINE([_HAVE_MKL_],[1],[with mkl in ISSM src])
    789879                AC_SUBST([MKLLIB])
     
    849939                HAVE_MUMPS=no
    850940        fi
     941        AM_CONDITIONAL([MUMPS], [test x$HAVE_MUMPS = xyes])
    851942        AC_MSG_RESULT($HAVE_MUMPS)
    852943        dnl }}}
     
    10121103                dnl defaults
    10131104                HAVE_ML=yes
    1014                 MLINCL=""
    1015                 MLLIB=-L"$ML_ROOT/ -lml"
     1105                MLINCL=-I"$ML_ROOT/include"
     1106                MLLIB=-L"$ML_ROOT/lib -lml"
    10161107       
    10171108                AC_DEFINE([_HAVE_ML_],[1],[with Blacs in ISSM src])
     
    10231114        AC_MSG_RESULT($HAVE_ML)
    10241115        dnl }}}
    1025         dnl math{{{
     1116        dnl umfpack{{{
     1117                AC_ARG_WITH([umfpack-dir],
     1118                  AS_HELP_STRING([--with-umfpack-dir=DIR],[UMFPACK root directory]),
     1119                                        [UMFPACK_ROOT=$withval],[UMFPACK_ROOT=""])
     1120
     1121                AC_MSG_CHECKING(for UMFPACK headers and libraries in $UMFPACK_ROOT)
     1122                if test -d "$UMFPACK_ROOT"; then
     1123
     1124                        dnl defaults
     1125                        HAVE_UMFPACK=yes
     1126                        UMFPACKINCL=""
     1127                        UMFPACKLIB=-L"$UMFPACK_ROOT/lib -lumfpack -lumfpack.5.5.1"
     1128
     1129                        AC_DEFINE([_HAVE_UMFPACK_],[1],[with UMFPACK in ISSM src])
     1130                        AC_SUBST([UMFPACKINCL])
     1131                        AC_SUBST([UMFPACKLIB])
     1132                else
     1133                        HAVE_UMFPACK=no
     1134                fi
     1135                AC_MSG_RESULT($HAVE_UMFPACK)
     1136        dnl }}}
     1137dnl math{{{
    10261138        AC_MSG_CHECKING(for math library)
    10271139        AC_ARG_WITH([math-lib],
     
    10771189                                fi
    10781190                         fi
    1079                                 AC_MSG_ERROR([frtran library provided ($FORTRAN_LIB$) does not exist!]);
     1191                                AC_MSG_ERROR([fortran library provided ($FORTRAN_LIB) does not exist!]);
    10801192                        fi
    10811193                fi
     
    13561468        AM_CONDITIONAL([RIFTS], [test x$HAVE_RIFTS = xyes])
    13571469        AC_MSG_RESULT($HAVE_RIFTS)
     1470        dnl }}}
     1471        dnl math77{{{
     1472        AC_ARG_WITH([math77-dir],
     1473                AS_HELP_STRING([--with-math77-dir=DIR], [math77 root directory.]),
     1474                [MATH77_ROOT=$withval],[MATH77_ROOT=""])
     1475        AC_MSG_CHECKING(for math77)
     1476
     1477        if test -d "$MATH77_ROOT"; then
     1478
     1479          HAVE_MATH77=yes
     1480          MATH77LIB="-L$MATH77_ROOT/ -lmath77"
     1481
     1482          AC_DEFINE([_HAVE_MATH77_],[1],[with math77 in ISSM src])
     1483          AC_SUBST([MATH77LIB])
     1484        else
     1485                HAVE_MATH77=no
     1486        fi
     1487        AC_MSG_RESULT($HAVE_MATH77)
     1488        dnl }}}
     1489        dnl with-gia{{{
     1490        AC_ARG_WITH([gia],
     1491                AS_HELP_STRING([--with-gia = YES], [compile with gia capabilities (default is yes)]),
     1492                [GIA=$withval],[GIA=no])
     1493        AC_MSG_CHECKING(for gia capability compilation)
     1494
     1495        if test "x$GIA" = "xyes"; then
     1496         
     1497          if test "x$HAVE_MATH77" = "xno"; then
     1498                  HAVE_GIA=no
     1499                  AC_MSG_ERROR([gia requires compilation of math77 library! Reconfigure with --with-math77 option on]);
     1500          else
     1501                dnl defaults
     1502                HAVE_GIA=yes
     1503                AC_DEFINE([_HAVE_GIA_],[1],[with gia capability])
     1504          fi
     1505
     1506        else
     1507                HAVE_GIA=no
     1508        fi
     1509        AM_CONDITIONAL([GIA], [test x$HAVE_GIA = xyes])
     1510        AC_MSG_RESULT($HAVE_GIA)
     1511        dnl }}}
     1512        dnl with-ios{{{
     1513        AC_ARG_WITH([ios],
     1514                AS_HELP_STRING([--with-ios = YES], [compile with iOS capabilities (default is no, alternatives are yes)]),
     1515                [IOS=$withval],[IOS=no])
     1516        AC_MSG_CHECKING(for iOS compilation)
     1517
     1518        if test "x$IOS" = "xyes"; then
     1519                dnl defaults
     1520                HAVE_IOS=yes
     1521
     1522                AC_DEFINE([_HAVE_IOS_],[1],[with android capability])
     1523        elif test "x$IOS" = "xno"; then
     1524                HAVE_IOS=no
     1525        else
     1526          AC_MSG_ERROR([--with-ios should be either no or yes])
     1527        fi
     1528        AM_CONDITIONAL([IOS], [test x$HAVE_IOS != xno])
     1529        AC_MSG_RESULT($HAVE_IOS)
    13581530        dnl }}}
    13591531        dnl with-android{{{
  • issm/trunk/packagers/win7

    • Property svn:ignore set to
      *.msi
      *.aip
      *.aic
      *Setup*
  • issm/trunk/packagers/win7/ISSM.initial.aip

    r11995 r15396  
    11<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    2 <DOCUMENT Type="Advanced Installer" CreateVersion="8.9" version="8.9" Modules="simple" RootPath="." Language="en" Id="{36DC7549-63BC-4A22-AE82-A96C27BF7B21}">
     2<DOCUMENT Type="Advanced Installer" CreateVersion="8.9" version="10.1" Modules="simple" RootPath="." Language="en" Id="{36DC7549-63BC-4A22-AE82-A96C27BF7B21}">
    33  <COMPONENT cid="caphyon.advinst.msicomp.MsiPropsComponent">
    44    <ROW Property="ALLUSERS" Value="2"/>
     
    1212    <ROW Property="ProductLanguage" Value="1033"/>
    1313    <ROW Property="ProductName" Value="ISSM" ValueLocId="*"/>
    14     <ROW Property="ProductVersion" Value="1.0"/>
     14    <ROW Property="ProductVersion" Value="1.0" Type="32"/>
    1515    <ROW Property="SecureCustomProperties" Value="OLDPRODUCTS;AI_NEWERPRODUCTFOUND"/>
    1616    <ROW Property="UpgradeCode" Value="{F12D1A74-5079-41A3-A02A-15754B89E390}"/>
     
    5858    <ROW Fragment="CommonUI.aip" Path="&lt;AI_FRAGS&gt;CommonUI.aip"/>
    5959    <ROW Fragment="FolderDlg.aip" Path="&lt;AI_THEMES&gt;classic\fragments\FolderDlg.aip"/>
     60    <ROW Fragment="MaintenanceTypeDlg.aip" Path="&lt;AI_THEMES&gt;classic\fragments\MaintenanceTypeDlg.aip"/>
     61    <ROW Fragment="MaintenanceWelcomeDlg.aip" Path="&lt;AI_THEMES&gt;classic\fragments\MaintenanceWelcomeDlg.aip"/>
    6062    <ROW Fragment="SequenceDialogs.aip" Path="&lt;AI_THEMES&gt;classic\fragments\SequenceDialogs.aip"/>
    6163    <ROW Fragment="Sequences.aip" Path="&lt;AI_FRAGS&gt;Sequences.aip"/>
     
    6365    <ROW Fragment="UI.aip" Path="&lt;AI_THEMES&gt;classic\fragments\UI.aip"/>
    6466    <ROW Fragment="Validation.aip" Path="&lt;AI_FRAGS&gt;Validation.aip"/>
     67    <ROW Fragment="VerifyRemoveDlg.aip" Path="&lt;AI_THEMES&gt;classic\fragments\VerifyRemoveDlg.aip"/>
     68    <ROW Fragment="VerifyRepairDlg.aip" Path="&lt;AI_THEMES&gt;classic\fragments\VerifyRepairDlg.aip"/>
     69    <ROW Fragment="WelcomeDlg.aip" Path="&lt;AI_THEMES&gt;classic\fragments\WelcomeDlg.aip"/>
    6570  </COMPONENT>
    6671  <COMPONENT cid="caphyon.advinst.msicomp.MsiBinaryComponent">
     
    8792    <ROW Dialog_="VerifyReadyDlg" Control_="Install" Event="EndDialog" Argument="Return" Condition="AI_PATCH" Ordering="199"/>
    8893    <ROW Dialog_="ResumeDlg" Control_="Install" Event="EndDialog" Argument="Return" Condition="AI_RESUME" Ordering="299"/>
     94    <ROW Dialog_="VerifyRemoveDlg" Control_="Remove" Event="EndDialog" Argument="Return" Condition="AI_MAINT AND InstallMode = &quot;Remove&quot;" Ordering="299"/>
     95    <ROW Dialog_="VerifyRepairDlg" Control_="Repair" Event="EndDialog" Argument="Return" Condition="AI_MAINT AND InstallMode = &quot;Repair&quot;" Ordering="399"/>
     96    <ROW Dialog_="VerifyRemoveDlg" Control_="Back" Event="NewDialog" Argument="MaintenanceTypeDlg" Condition="AI_MAINT AND InstallMode = &quot;Remove&quot;" Ordering="1"/>
     97    <ROW Dialog_="VerifyRepairDlg" Control_="Back" Event="NewDialog" Argument="MaintenanceTypeDlg" Condition="AI_MAINT AND InstallMode = &quot;Repair&quot;" Ordering="1"/>
     98    <ROW Dialog_="MaintenanceTypeDlg" Control_="RemoveButton" Event="NewDialog" Argument="VerifyRemoveDlg" Condition="AI_MAINT AND InstallMode = &quot;Remove&quot;" Ordering="601"/>
     99    <ROW Dialog_="MaintenanceTypeDlg" Control_="RepairButton" Event="NewDialog" Argument="VerifyRepairDlg" Condition="AI_MAINT AND InstallMode = &quot;Repair&quot;" Ordering="601"/>
    89100  </COMPONENT>
    90101  <COMPONENT cid="caphyon.advinst.msicomp.MsiCreateFolderComponent">
     
    98109    <ROW Action="AI_RESTORE_LOCATION" Type="65" Source="aicustact.dll" Target="RestoreLocation"/>
    99110    <ROW Action="AI_ResolveKnownFolders" Type="1" Source="aicustact.dll" Target="AI_ResolveKnownFolders"/>
     111    <ROW Action="AI_ResolveLocalizedCredentials" Type="1" Source="aicustact.dll" Target="GetLocalizedCredentials"/>
    100112    <ROW Action="AI_SHOW_LOG" Type="65" Source="aicustact.dll" Target="LaunchLogFile" WithoutSeq="true"/>
    101113    <ROW Action="AI_STORE_LOCATION" Type="51" Source="ARPINSTALLLOCATION" Target="[APPDIR]"/>
     
    118130    <ROW Action="AI_STORE_LOCATION" Condition="(Not Installed) OR REINSTALL" Sequence="1501"/>
    119131    <ROW Action="AI_PREPARE_UPGRADE" Condition="AI_UPGRADE=&quot;No&quot; AND (Not Installed)" Sequence="1399"/>
    120     <ROW Action="AI_ResolveKnownFolders" Sequence="51"/>
     132    <ROW Action="AI_ResolveKnownFolders" Sequence="52"/>
     133    <ROW Action="AI_ResolveLocalizedCredentials" Sequence="51"/>
    121134  </COMPONENT>
    122135  <COMPONENT cid="caphyon.advinst.msicomp.MsiInstallUISequenceComponent">
    123136    <ROW Action="AI_RESTORE_LOCATION" Condition="APPDIR=&quot;&quot;" Sequence="749"/>
    124     <ROW Action="AI_ResolveKnownFolders" Sequence="51"/>
     137    <ROW Action="AI_ResolveKnownFolders" Sequence="52"/>
     138    <ROW Action="AI_ResolveLocalizedCredentials" Sequence="51"/>
    125139  </COMPONENT>
    126140  <COMPONENT cid="caphyon.advinst.msicomp.MsiLaunchConditionsComponent">
     141    <ROW Condition="Privileged" Description="[ProductName] requires administrative privileges to install." DescriptionLocId="AI.LaunchCondition.Privileged" IsPredefined="true" Builds="DefaultBuild"/>
    127142    <ROW Condition="VersionNT" Description="[ProductName] cannot be installed on [WindowsType9XDisplay]" DescriptionLocId="AI.LaunchCondition.No9X" IsPredefined="true" Builds="DefaultBuild"/>
    128143  </COMPONENT>
  • issm/trunk/scripts/getloc.sh

    r12707 r15396  
    11#!/bin/bash
    22#get number of lines of code
    3 cloc-1.55.pl $ISSM_DIR/src $ISSM_DIR/m4 --exclude-dir=.svn --exclude-dir=ad  --exclude-dir=android --exclude-ext=exp --exclude-lang=make --out=temp
     3cloc-1.55.pl $ISSM_DIR/src $ISSM_DIR/m4 --exclude-dir=.svn --exclude-dir=ad  --exclude-ext=exp --exclude-lang=make --out=temp
    44cat temp
    55./cloc2html.py
  • issm/trunk/scripts/issmconfiguration.sh

    r12332 r15396  
    1111        LIST=`ls`
    1212       
    13         if [[  $# == "0" ]]; then
    14                 COUNT=0;
    15                 for STEP in $LIST
    16                 do
    17                         let COUNT=$COUNT+1
    18                         printf '%3i: %s\n' $COUNT $STEP
    19                 done
     13        if test -d "$JPL_SVN/usr/$USER/configs"; then
     14                cd $JPL_SVN/usr/$USER/configs
     15                LIST2=`ls`
     16        fi
     17       
     18        #print choices
     19        COUNT=0;
     20        printf 'ISSM wide configurations\n'
     21        for STEP in $LIST
     22        do
     23                let COUNT=$COUNT+1
     24                printf '%3i: %s\n' $COUNT $STEP
     25        done
     26        printf 'Personal configuration\n'
     27        for STEP in $LIST2
     28        do
     29                let COUNT=$COUNT+1
     30                printf '%3i: %s\n' $COUNT $STEP
     31        done
    2032
    21                 echo -n "Configuration choice: "
    22                 read choice
    23         else
    24                 choice=$1
    25         fi
     33        echo -n "Configuration choice: "
     34        read choice
    2635
    2736        #Now go backto the list and retrieve the name of the configuration file:
    2837        COUNT=0;
    2938        for STEP in $LIST
     39        do
     40                let COUNT=$COUNT+1
     41                if [[ $COUNT == $choice ]]; then
     42                        configurename=$STEP
     43                fi
     44        done
     45        for STEP in $LIST2
    3046        do
    3147                let COUNT=$COUNT+1
     
    4157
    4258        cd $ISSM_DIR
     59
     60        #at this point, was a cleanup of the archive requested?
     61        if [ "$1" == "clean" ];
     62        then
     63                make uninstall && make distclean
     64        fi
     65
    4366        source ./scripts/automakererun.sh
    44         source configs/$configurename
     67        if [ -f configs/$configurename ]; then
     68                source configs/$configurename
     69        else
     70                source $JPL_SVN/usr/$USER/configs/$configurename
     71        fi
    4572       
    4673        #we are done, go back to original directory:
     
    5178fi
    5279
    53 
    54 
    55 
    56 
    57 
    5880#alias aut='a=`pwd` && cd $ISSM_DIR && ./scripts/automakererun.sh && ./configs/config-macosx64-larour-nopetsc.sh'
  • issm/trunk/scripts/vil

    r6626 r15396  
    11#!/bin/bash
     2
     3if [ ! -z $EXECUTION_DIR ];
     4then
     5        EXECUTION_DIR=$ISSM_DIR/execution
     6fi
    27
    38cd $EXECUTION_DIR
  • issm/trunk/src

  • issm/trunk/src/Makefile.am

    r13975 r15396  
    1 EXTRA_DIST =  perl pro
    2 SUBDIRS = c m wrappers
    3 if ANDROID
    4 SUBDIRS += android
    5 endif
     1EXTRA_DIST =  perl
     2SUBDIRS = c m wrappers mobile
  • issm/trunk/src/c/Makefile.am

    r14310 r15396  
    1919#sources
    2020#Core sources{{{
    21 core_sources = ./issm.h\
    22                                         ./issm-binding.h\
    23                                         ./include/macros.h\
    24                                         ./include/typedefs.h\
    25                                         ./include/types.h\
    26                                         ./include/include.h\
     21core_sources = ./main/issm.h\
     22                           ./main/globals.h\
     23                           ./datastructures/DataSet.h\
     24                                        ./datastructures/DataSet.cpp\
     25                                        ./datastructures/Object.h\
     26                                        ./datastructures/datastructures.h\
    2727                                        ./classes/classes.h\
    28                                         ./classes/objects.h\
    29                                         ./classes/objects/Object.h\
    3028                                        ./classes/gauss/GaussTria.h\
    3129                                        ./classes/gauss/GaussTria.cpp\
    32                                         ./classes/objects/Update.h\
    33                                         ./classes/objects/Element.h\
     30                                        ./classes/Update.h\
     31                                        ./classes/Element.h\
    3432                                        ./classes/FemModel.h\
    3533                                        ./classes/FemModel.cpp\
    36                                         ./classes/objects/Material.h\
    37                                         ./classes/objects/Load.h\
    38                                         ./classes/objects/Contour.h\
    39                                         ./classes/objects/OptArgs.h\
    40                                         ./classes/objects/OptPars.h\
    41                                         ./classes/objects/Loads/Friction.h\
    42                                         ./classes/objects/Loads/Friction.cpp\
    43                                         ./classes/objects/Inputs/TransientInput.h\
    44                                         ./classes/objects/Inputs/TransientInput.cpp\
    45                                         ./classes/objects/Constraints/SpcTransient.cpp\
    46                                         ./classes/objects/Constraints/SpcTransient.h\
    47                                         ./classes/objects/IndependentObject.h\
    48                                         ./classes/objects/IndependentObject.cpp\
    49                                         ./classes/objects/DependentObject.h\
    50                                         ./classes/objects/DependentObject.cpp\
     34                                        ./classes/Material.h\
     35                                        ./classes/Load.h\
     36                                        ./classes/Contour.h\
     37                                        ./classes/Loads/Friction.h\
     38                                        ./classes/Loads/Friction.cpp\
     39                                        ./classes/Inputs/TransientInput.h\
     40                                        ./classes/Inputs/TransientInput.cpp\
     41                                        ./classes/Constraints/SpcTransient.cpp\
     42                                        ./classes/Constraints/SpcTransient.h\
     43                                        ./classes/IndependentObject.h\
     44                                        ./classes/IndependentObject.cpp\
     45                                        ./classes/DependentObject.h\
     46                                        ./classes/DependentObject.cpp\
    5147                                        ./classes/DofIndexing.h\
    5248                                        ./classes/DofIndexing.cpp\
    5349                                        ./classes/IoModel.h\
    5450                                        ./classes/IoModel.cpp\
    55                                         ./classes/objects/Node.h\
    56                                         ./classes/objects/Node.cpp\
    57                                         ./classes/objects/Segment.h\
    58                                         ./classes/objects/Vertex.h\
    59                                         ./classes/objects/Vertex.cpp\
    60                                         ./classes/objects/AdolcEdf.h\
    61                                         ./classes/IssmComm.h\
    62                                         ./classes/IssmComm.cpp\
     51                                        ./classes/Contours.h\
     52                                        ./classes/Contours.cpp\
     53                                        ./classes/Nodes.h\
     54                                        ./classes/Nodes.cpp\
     55                                        ./classes/Vertices.h\
     56                                        ./classes/Vertices.cpp\
     57                                        ./classes/Node.h\
     58                                        ./classes/Node.cpp\
     59                                        ./classes/Segment.h\
     60                                        ./classes/Vertex.h\
     61                                        ./classes/Vertex.cpp\
    6362                                        ./classes/Hook.h\
    6463                                        ./classes/Hook.cpp\
    6564                                        ./classes/Patch.h\
    6665                                        ./classes/Patch.cpp\
    67                                         ./classes/objects/ElementResults/ElementResultLocal.h\
    68                                         ./classes/objects/ElementResults/DoubleElementResult.h\
    69                                         ./classes/objects/ElementResults/DoubleElementResult.cpp\
    70                                         ./classes/objects/ElementResults/TriaP1ElementResult.h\
    71                                         ./classes/objects/ElementResults/TriaP1ElementResult.cpp\
    72                                         ./classes/objects/ElementResults/BoolElementResult.h\
    73                                         ./classes/objects/ElementResults/BoolElementResult.cpp\
    74                                         ./classes/objects/ExternalResults/ExternalResult.h\
    75                                         ./classes/objects/ExternalResults/GenericExternalResult.h\
    76                                         ./classes/objects/Elements/Tria.h\
    77                                         ./classes/objects/Elements/Tria.cpp\
    78                                         ./classes/objects/Elements/TriaHook.h\
    79                                         ./classes/objects/Elements/TriaHook.cpp\
    80                                         ./classes/objects/Elements/TriaRef.h\
    81                                         ./classes/objects/Elements/TriaRef.cpp\
    82                                         ./classes/objects/Inputs/Input.h\
    83                                         ./classes/objects/Inputs/InputLocal.h\
    84                                         ./classes/objects/Inputs/TriaP1Input.h\
    85                                         ./classes/objects/Inputs/TriaP1Input.cpp\
    86                                         ./classes/objects/Inputs/BoolInput.h\
    87                                         ./classes/objects/Inputs/BoolInput.cpp\
    88                                         ./classes/objects/Inputs/IntInput.h\
    89                                         ./classes/objects/Inputs/IntInput.cpp\
    90                                         ./classes/objects/Inputs/DoubleInput.h\
    91                                         ./classes/objects/Inputs/DoubleInput.cpp\
    92                                         ./classes/objects/Inputs/DatasetInput.h\
    93                                         ./classes/objects/Inputs/DatasetInput.cpp\
    94                                         ./classes/objects/Materials/Matice.h\
    95                                         ./classes/objects/Materials/Matice.cpp\
    96                                         ./classes/objects/Materials/Matdamageice.h\
    97                                         ./classes/objects/Materials/Matdamageice.cpp\
    98                                         ./classes/objects/Materials/Matpar.h\
    99                                         ./classes/objects/Materials/Matpar.cpp\
    100                                         ./classes/objects/Constraints/Constraint.h\
    101                                         ./classes/objects/Constraints/SpcStatic.cpp\
    102                                         ./classes/objects/Constraints/SpcStatic.h\
    103                                         ./classes/objects/Constraints/SpcDynamic.cpp\
    104                                         ./classes/objects/Constraints/SpcDynamic.h\
    105                                         ./classes/objects/Loads/Penpair.cpp\
    106                                         ./classes/objects/Loads/Penpair.h\
    107                                         ./classes/objects/Loads/Pengrid.cpp\
    108                                         ./classes/objects/Loads/Pengrid.h\
    109                                         ./classes/objects/Loads/Icefront.cpp\
    110                                         ./classes/objects/Loads/Icefront.h\
    111                                         ./classes/objects/Loads/Numericalflux.cpp\
    112                                         ./classes/objects/Loads/Numericalflux.h\
     66                                        ./classes/ElementResults/ElementResultLocal.h\
     67                                        ./classes/ElementResults/DoubleElementResult.h\
     68                                        ./classes/ElementResults/DoubleElementResult.cpp\
     69                                        ./classes/ElementResults/TriaP1ElementResult.h\
     70                                        ./classes/ElementResults/TriaP1ElementResult.cpp\
     71                                        ./classes/ElementResults/BoolElementResult.h\
     72                                        ./classes/ElementResults/BoolElementResult.cpp\
     73                                        ./classes/ExternalResults/Results.h\
     74                                        ./classes/ExternalResults/Results.cpp\
     75                                        ./classes/ExternalResults/ExternalResult.h\
     76                                        ./classes/ExternalResults/GenericExternalResult.h\
     77                                        ./classes/Elements/Elements.h\
     78                                        ./classes/Elements/Elements.cpp\
     79                                        ./classes/Elements/ElementHook.h\
     80                                        ./classes/Elements/ElementHook.cpp\
     81                                        ./classes/Elements/Tria.h\
     82                                        ./classes/Elements/Tria.cpp\
     83                                        ./classes/Elements/TriaRef.h\
     84                                        ./classes/Elements/TriaRef.cpp\
     85                                        ./classes/Inputs/Inputs.h\
     86                                        ./classes/Inputs/Inputs.cpp\
     87                                        ./classes/Inputs/Input.h\
     88                                        ./classes/Inputs/InputLocal.h\
     89                                        ./classes/Inputs/TriaInput.h\
     90                                        ./classes/Inputs/TriaInput.cpp\
     91                                        ./classes/Inputs/BoolInput.h\
     92                                        ./classes/Inputs/BoolInput.cpp\
     93                                        ./classes/Inputs/IntInput.h\
     94                                        ./classes/Inputs/IntInput.cpp\
     95                                        ./classes/Inputs/DoubleInput.h\
     96                                        ./classes/Inputs/DoubleInput.cpp\
     97                                        ./classes/Inputs/DatasetInput.h\
     98                                        ./classes/Inputs/DatasetInput.cpp\
     99                                        ./classes/Materials/Materials.h\
     100                                        ./classes/Materials/Materials.cpp\
     101                                        ./classes/Materials/Matice.h\
     102                                        ./classes/Materials/Matice.cpp\
     103                                        ./classes/Materials/Matdamageice.h\
     104                                        ./classes/Materials/Matdamageice.cpp\
     105                                        ./classes/Materials/Matpar.h\
     106                                        ./classes/Materials/Matpar.cpp\
     107                                        ./classes/Constraints/Constraints.h\
     108                                        ./classes/Constraints/Constraints.cpp\
     109                                        ./classes/Constraints/Constraint.h\
     110                                        ./classes/Constraints/SpcStatic.cpp\
     111                                        ./classes/Constraints/SpcStatic.h\
     112                                        ./classes/Constraints/SpcDynamic.cpp\
     113                                        ./classes/Constraints/SpcDynamic.h\
     114                                        ./classes/Loads/Loads.h\
     115                                        ./classes/Loads/Loads.cpp\
     116                                        ./classes/Loads/Penpair.cpp\
     117                                        ./classes/Loads/Penpair.h\
     118                                        ./classes/Loads/Pengrid.cpp\
     119                                        ./classes/Loads/Pengrid.h\
     120                                        ./classes/Loads/Icefront.cpp\
     121                                        ./classes/Loads/Icefront.h\
     122                                        ./classes/Loads/Numericalflux.cpp\
     123                                        ./classes/Loads/Numericalflux.h\
    113124                                        ./classes/matrix/matrixobjects.h\
    114125                                        ./classes/matrix/ElementMatrix.h\
     
    116127                                        ./classes/matrix/ElementVector.h\
    117128                                        ./classes/matrix/ElementVector.cpp\
    118                                         ./classes/matrix/Matrix.h\
    119                                         ./classes/matrix/Vector.h\
    120                                         ./classes/objects/Params/Param.h\
    121                                         ./classes/objects/Params/GenericParam.h\
    122                                         ./classes/objects/Params/BoolParam.cpp\
    123                                         ./classes/objects/Params/BoolParam.h\
    124                                         ./classes/objects/Params/IntParam.cpp\
    125                                         ./classes/objects/Params/IntParam.h\
    126                                         ./classes/objects/Params/IntVecParam.cpp\
    127                                         ./classes/objects/Params/IntVecParam.h\
    128                                         ./classes/objects/Params/IntMatParam.cpp\
    129                                         ./classes/objects/Params/IntMatParam.h\
    130                                         ./classes/objects/Params/DoubleParam.cpp\
    131                                         ./classes/objects/Params/DoubleParam.h\
    132                                         ./classes/objects/Params/FileParam.cpp\
    133                                         ./classes/objects/Params/FileParam.h\
    134                                         ./classes/objects/Params/StringArrayParam.cpp\
    135                                         ./classes/objects/Params/StringArrayParam.h\
    136                                         ./classes/objects/Params/DoubleMatParam.cpp\
    137                                         ./classes/objects/Params/DoubleMatParam.h\
    138                                         ./classes/objects/Params/DoubleTransientMatParam.cpp\
    139                                         ./classes/objects/Params/DoubleTransientMatParam.h\
    140                                         ./classes/objects/Params/DoubleMatArrayParam.cpp\
    141                                         ./classes/objects/Params/DoubleMatArrayParam.h\
    142                                         ./classes/objects/Params/DoubleVecParam.cpp\
    143                                         ./classes/objects/Params/DoubleVecParam.h\
    144                                         ./classes/objects/Params/StringParam.cpp\
    145                                         ./classes/objects/Params/StringParam.h\
    146                                         ./classes/objects/Params/MatrixParam.h\
    147                                         ./classes/objects/Params/MatrixParam.cpp\
    148                                         ./classes/objects/Params/VectorParam.h\
    149                                         ./classes/objects/Params/VectorParam.cpp\
    150                                         ./classes/objects/Params/TransientParam.h\
    151                                         ./classes/objects/Params/TransientParam.cpp\
    152                                         ./classes/objects/Params/DataSetParam.h\
    153                                         ./classes/objects/Params/DataSetParam.cpp\
    154                                         ./classes/objects/Profiler.h\
    155                                         ./classes/objects/Profiler.cpp\
    156                                         ./Container/Container.h\
    157                                         ./Container/Constraints.h\
    158                                         ./Container/Constraints.cpp\
    159                                         ./Container/DataSet.h\
    160                                         ./Container/DataSet.cpp\
    161                                         ./Container/Elements.h\
    162                                         ./Container/Elements.cpp\
    163                                         ./Container/Inputs.h\
    164                                         ./Container/Inputs.cpp\
    165                                         ./Container/Loads.h\
    166                                         ./Container/Loads.cpp\
    167                                         ./Container/Materials.h\
    168                                         ./Container/Materials.cpp\
    169                                         ./Container/Nodes.h\
    170                                         ./Container/Nodes.cpp\
    171                                         ./Container/Options.h\
    172                                         ./Container/Options.cpp\
    173                                         ./Container/Parameters.h\
    174                                         ./Container/Parameters.cpp\
    175                                         ./Container/Results.h\
    176                                         ./Container/Results.cpp\
    177                                         ./Container/Vertices.h\
    178                                         ./Container/Vertices.cpp\
     129                                        ./classes/Params/Parameters.h\
     130                                        ./classes/Params/Parameters.cpp\
     131                                        ./classes/Params/Param.h\
     132                                        ./classes/Params/GenericParam.h\
     133                                        ./classes/Params/BoolParam.cpp\
     134                                        ./classes/Params/BoolParam.h\
     135                                        ./classes/Params/IntParam.cpp\
     136                                        ./classes/Params/IntParam.h\
     137                                        ./classes/Params/IntVecParam.cpp\
     138                                        ./classes/Params/IntVecParam.h\
     139                                        ./classes/Params/IntMatParam.cpp\
     140                                        ./classes/Params/IntMatParam.h\
     141                                        ./classes/Params/DoubleParam.cpp\
     142                                        ./classes/Params/DoubleParam.h\
     143                                        ./classes/Params/FileParam.cpp\
     144                                        ./classes/Params/FileParam.h\
     145                                        ./classes/Params/StringArrayParam.cpp\
     146                                        ./classes/Params/StringArrayParam.h\
     147                                        ./classes/Params/DoubleMatParam.cpp\
     148                                        ./classes/Params/DoubleMatParam.h\
     149                                        ./classes/Params/DoubleTransientMatParam.cpp\
     150                                        ./classes/Params/DoubleTransientMatParam.h\
     151                                        ./classes/Params/DoubleMatArrayParam.cpp\
     152                                        ./classes/Params/DoubleMatArrayParam.h\
     153                                        ./classes/Params/DoubleVecParam.cpp\
     154                                        ./classes/Params/DoubleVecParam.h\
     155                                        ./classes/Params/StringParam.cpp\
     156                                        ./classes/Params/StringParam.h\
     157                                        ./classes/Params/MatrixParam.h\
     158                                        ./classes/Params/MatrixParam.cpp\
     159                                        ./classes/Params/VectorParam.h\
     160                                        ./classes/Params/VectorParam.cpp\
     161                                        ./classes/Params/TransientParam.h\
     162                                        ./classes/Params/TransientParam.cpp\
     163                                        ./classes/Params/DataSetParam.h\
     164                                        ./classes/Params/DataSetParam.cpp\
     165                                        ./classes/Profiler.h\
     166                                        ./classes/Profiler.cpp\
    179167                                        ./shared/shared.h\
    180                                         ./shared/Alloc/alloc.h\
    181                                         ./shared/Alloc/alloc.cpp\
    182                                         ./shared/Alloc/xNewDelete.h\
    183                                         ./shared/MemOps/xMemCpy.h\
     168                                        ./shared/MemOps/MemOps.h\
    184169                                        ./shared/Matrix/matrix.h\
    185170                                        ./shared/Matrix/MatrixUtils.cpp\
     171                                        ./shared/io/io.h\
     172                                        ./shared/io/Disk/diskio.h\
     173                                        ./shared/io/Disk/pfopen.cpp\
     174                                        ./shared/io/Disk/pfclose.cpp\
     175                                        ./shared/io/Disk/WriteLockFile.cpp\
     176                                        ./shared/io/Print/PrintfFunction.cpp\
     177                                        ./shared/io/Print/Print.h\
     178                                        ./shared/io/Comm/Comm.h\
     179                                        ./shared/io/Comm/CommDef.h\
     180                                        ./shared/io/Comm/IssmComm.h\
     181                                        ./shared/io/Comm/IssmComm.cpp\
     182                                        ./shared/LatLong/Ll2xyx.cpp\
     183                                        ./shared/LatLong/Xy2llx.cpp\
     184                                        ./shared/Enum/Enum.h\
     185                                        ./shared/Enum/EnumDefinitions.h\
     186                                        ./shared/Enum/EnumToStringx.cpp\
     187                                        ./shared/Enum/StringToEnumx.cpp\
    186188                                        ./shared/Numerics/numerics.h\
     189                                        ./shared/Numerics/types.h\
     190                                        ./shared/Numerics/constants.h\
    187191                                        ./shared/Numerics/Verbosity.h\
    188192                                        ./shared/Numerics/Verbosity.cpp\
    189                                         ./shared/Numerics/IsInputConverged.cpp\
    190193                                        ./shared/Numerics/GaussPoints.h\
    191194                                        ./shared/Numerics/GaussPoints.cpp\
     
    196199                                        ./shared/Numerics/extrema.cpp\
    197200                                        ./shared/Numerics/XZvectorsToCoordinateSystem.cpp\
    198                                         ./shared/Numerics/UnitConversion.cpp\
    199                                         ./shared/Numerics/OptionsFromAnalysis.cpp\
     201                                        ./shared/Numerics/OptArgs.h\
     202                                        ./shared/Numerics/OptPars.h\
    200203                                        ./shared/Exceptions/exceptions.h\
    201204                                        ./shared/Exceptions/Exceptions.cpp\
     
    206209                                        ./shared/Elements/Paterson.cpp\
    207210                                        ./shared/Elements/Arrhenius.cpp\
    208                                         ./shared/Elements/GetVerticesCoordinates.cpp\
    209                                         ./shared/Elements/GetLocalDofList.cpp\
    210                                         ./shared/Elements/GetGlobalDofList.cpp\
    211                                         ./shared/Elements/GetNumberOfDofs.cpp\
    212211                                        ./shared/Elements/PrintArrays.cpp\
    213212                                        ./shared/Elements/PddSurfaceMassBalance.cpp\
     
    217216                                        ./toolkits/metis/metisincludes.h\
    218217                                        ./toolkits/issm/issmtoolkit.h\
    219                                         ./toolkits/issm/SeqVec.h\
    220                                         ./toolkits/issm/SeqMat.h\
     218                                        ./toolkits/issm/IssmToolkitUtils.h\
     219                                        ./toolkits/issm/IssmToolkitUtils.cpp\
     220                                        ./toolkits/issm/IssmAbsMat.h\
     221                                        ./toolkits/issm/IssmAbsVec.h\
     222                                        ./toolkits/issm/IssmDenseMat.h\
     223                                        ./toolkits/issm/IssmMat.h\
     224                                        ./toolkits/issm/IssmSeqVec.h\
     225                                        ./toolkits/issm/IssmVec.h\
     226                                        ./toolkits/issm/IssmSolver.h\
     227                                        ./toolkits/issm/IssmSolver.cpp\
     228                                        ./toolkits/issm/Bucket.h\
     229                                        ./toolkits/adolc/adolcincludes.h\
     230                                        ./toolkits/adolc/AdolcEdf.h\
     231                                        ./toolkits/ToolkitOptions.h\
     232                                        ./toolkits/ToolkitOptions.cpp\
    221233                                        ./toolkits/triangle/triangleincludes.h\
     234                                        ./toolkits/objects/toolkitobjects.h\
     235                                        ./toolkits/objects/Matrix.h\
     236                                        ./toolkits/objects/Vector.h\
     237                                        ./toolkits/objects/Solver.h\
    222238                                        ./toolkitsenums.h\
    223239                                        ./toolkits.h\
    224                                         ./io/io.h\
    225                                         ./io/Disk/diskio.h\
    226                                         ./io/Disk/pfopen.cpp\
    227                                         ./io/Disk/pfclose.cpp\
    228                                         ./io/Disk/WriteLockFile.cpp\
    229                                         ./io/PrintfFunction.cpp\
    230                                         ./EnumDefinitions/EnumDefinitions.h\
    231240                                        ./modules/ModelProcessorx/ModelProcessorx.h\
    232241                                        ./modules/ModelProcessorx/ModelProcessorx.cpp\
     
    242251                                        ./modules/ModelProcessorx/CreateNumberNodeToElementConnectivity.cpp\
    243252                                        ./modules/ModelProcessorx/CreateElementsVerticesAndMaterials.cpp\
    244                                         ./modules/ParsePetscOptionsx/ParsePetscOptionsx.h\
    245                                         ./modules/ParsePetscOptionsx/ParsePetscOptionsx.cpp\
     253                                        ./modules/ParseToolkitsOptionsx/ParseToolkitsOptionsx.h\
     254                                        ./modules/ParseToolkitsOptionsx/ParseToolkitsOptionsx.cpp\
    246255                                        ./modules/NodesDofx/NodesDofx.h\
    247256                                        ./modules/NodesDofx/NodesDofx.cpp\
     
    250259                                        ./modules/VerticesDofx/VerticesDofx.h\
    251260                                        ./modules/VerticesDofx/VerticesDofx.cpp\
     261                                        ./modules/VertexCoordinatesx/VertexCoordinatesx.h\
     262                                        ./modules/VertexCoordinatesx/VertexCoordinatesx.cpp\
    252263                                        ./modules/OutputResultsx/OutputResultsx.h\
    253264                                        ./modules/OutputResultsx/OutputResultsx.cpp\
     
    295306                                        ./modules/Reduceloadx/Reduceloadx.h\
    296307                                        ./modules/Reduceloadx/Reduceloadx.cpp\
    297                                         ./modules/EnumToStringx/EnumToStringx.cpp\
    298                                         ./modules/EnumToStringx/EnumToStringx.h\
    299                                         ./modules/StringToEnumx/StringToEnumx.cpp\
    300                                         ./modules/StringToEnumx/StringToEnumx.h\
    301308                                        ./modules/ConstraintsStatex/ConstraintsStatex.cpp\
    302309                                        ./modules/ConstraintsStatex/ConstraintsStatex.h\
     
    308315                                        ./modules/Solverx/Solverx.cpp\
    309316                                        ./modules/Solverx/Solverx.h\
    310                                         ./modules/Solverx/SolverxSeq.cpp\
    311317                                        ./modules/VecMergex/VecMergex.cpp\
    312318                                        ./modules/VecMergex/VecMergex.h\
     
    315321                                        ./modules/InputToResultx/InputToResultx.cpp\
    316322                                        ./modules/InputToResultx/InputToResultx.h\
    317                                         ./modules/InputConvergencex/InputConvergencex.cpp\
    318                                         ./modules/InputConvergencex/InputConvergencex.h\
    319                                         ./solutions/convergence.cpp\
    320                                         ./solutions/ProcessArguments.cpp\
    321                                         ./solutions/ResetBoundaryConditions.cpp\
    322                                         ./solutions/AnalysisConfiguration.cpp\
    323                                         ./solutions/WrapperCorePointerFromSolutionEnum.cpp\
    324                                         ./solutions/CorePointerFromSolutionEnum.cpp\
    325                                         ./solutions/EnvironmentInit.cpp\
    326                                         ./solutions/EnvironmentFinalize.cpp\
    327                                         ./solutions/ad_core.cpp\
    328                                         ./solvers/solver_linear.cpp\
    329                                         ./solvers/solver_nonlinear.cpp\
    330                                         ./solvers/solver_newton.cpp\
    331                                         ./classes/objects/Options/Option.h\
    332                                         ./classes/objects/Options/GenericOption.h\
    333                                         ./classes/objects/Options/OptionUtilities.cpp\
    334                                         ./classes/objects/Options/OptionUtilities.h\
     323                                        ./analyses/ProcessArguments.cpp\
     324                                        ./analyses/ResetBoundaryConditions.cpp\
     325                                        ./analyses/AnalysisConfiguration.cpp\
     326                                        ./analyses/WrapperCorePointerFromSolutionEnum.cpp\
     327                                        ./analyses/CorePointerFromSolutionEnum.cpp\
     328                                        ./analyses/EnvironmentInit.cpp\
     329                                        ./analyses/EnvironmentFinalize.cpp\
     330                                        ./analyses/ad_core.cpp\
     331                                        ./solutionsequences/solutionsequence_linear.cpp\
     332                                        ./solutionsequences/solutionsequence_nonlinear.cpp\
     333                                        ./solutionsequences/solutionsequence_newton.cpp\
     334                                        ./solutionsequences/convergence.cpp\
     335                                        ./classes/Options/Options.h\
     336                                        ./classes/Options/Options.cpp\
     337                                        ./classes/Options/Option.h\
     338                                        ./classes/Options/GenericOption.h\
     339                                        ./classes/Options/OptionUtilities.cpp\
     340                                        ./classes/Options/OptionUtilities.h\
    335341                                        ./classes/RiftStruct.cpp\
    336342                                        ./classes/RiftStruct.h
    337343#}}}
    338344#DAKOTA sources  {{{
    339 dakota_sources = ./classes/dakota/DakotaPlugin.h\
    340                                           ./classes/dakota/DakotaPlugin.cpp\
    341                                           ./modules/InputUpdateFromDakotax/InputUpdateFromDakotax.h\
     345dakota_sources = ./modules/InputUpdateFromDakotax/InputUpdateFromDakotax.h\
    342346                                          ./modules/InputUpdateFromDakotax/InputUpdateFromDakotax.cpp\
    343347                                          ./modules/InputUpdateFromVectorDakotax/InputUpdateFromVectorDakotax.h\
     
    348352                                          ./modules/AverageOntoPartitionx/AverageOntoPartitionx.h\
    349353                                          ./modules/ModelProcessorx/Dakota/CreateParametersDakota.cpp\
    350                                           ./solutions/dakota_core.cpp\
    351                                           ./solutions/DakotaSpawnCore.cpp
     354                                          ./analyses/dakota_core.cpp\
     355                                          ./analyses/DakotaSpawnCore.h\
     356                                          ./analyses/DakotaSpawnCore.cpp
    352357#}}}
    353358#Transient sources  {{{
    354359transient_sources  = ./modules/ModelProcessorx/Transient/UpdateElementsTransient.cpp \
    355                                          ./solutions/transient_core.cpp
     360                                                        ./analyses/transient_core.cpp
    356361#}}}
    357362#Steadystate sources  {{{
    358 steadystate_sources = ./solutions/steadystate_core.cpp\
    359                                           ./solutions/steadystateconvergence.cpp
     363steadystate_sources = ./analyses/steadystate_core.cpp
    360364#}}}
    361365#Prognostic sources  {{{
     
    364368                                              ./modules/ModelProcessorx/Prognostic/CreateConstraintsPrognostic.cpp\
    365369                                              ./modules/ModelProcessorx/Prognostic/CreateLoadsPrognostic.cpp\
    366                                                   ./solutions/prognostic_core.cpp
     370                                                        ./analyses/prognostic_core.cpp
    367371#}}}
    368372#Thermal sources  {{{
     
    382386                                           ./modules/ConstraintsStatex/ThermalIsPresent.cpp\
    383387                                           ./modules/ResetConstraintsx/ThermalConstraintsReset.cpp \
    384                                            ./solutions/thermal_core.cpp\
    385                                            ./solutions/enthalpy_core.cpp\
    386                                            ./solvers/solver_thermal_nonlinear.cpp
     388                                           ./analyses/thermal_core.cpp\
     389                                           ./analyses/enthalpy_core.cpp\
     390                                           ./solutionsequences/solutionsequence_thermal_nonlinear.cpp
    387391#}}}
    388392#Control sources  {{{
     
    425429                                          ./modules/RheologyBbarAbsGradientx/RheologyBbarAbsGradientx.cpp\
    426430                                          ./modules/RheologyBbarAbsGradientx/RheologyBbarAbsGradientx.h\
    427                                           ./classes/objects/Inputs/ControlInput.h\
    428                                           ./classes/objects/Inputs/ControlInput.cpp\
     431                                          ./classes/Inputs/ControlInput.h\
     432                                          ./classes/Inputs/ControlInput.cpp\
    429433                                          ./shared/Numerics/BrentSearch.cpp\
    430434                                          ./shared/Numerics/OptimalSearch.cpp \
    431                                           ./solutions/control_core.cpp\
    432                                           ./solutions/controltao_core.cpp\
    433                                           ./solutions/controlrestart.cpp\
    434                                           ./solutions/controlconvergence.cpp\
    435                                           ./solutions/objectivefunction.cpp\
    436                                           ./solutions/gradient_core.cpp\
    437                                           ./solutions/adjointdiagnostic_core.cpp\
    438                                           ./solutions/adjointbalancethickness_core.cpp\
    439                                           ./solutions/AdjointCorePointerFromSolutionEnum.cpp\
    440                                           ./solvers/solver_adjoint_linear.cpp
     435                                          ./analyses/control_core.cpp\
     436                                          ./analyses/controltao_core.cpp\
     437                                          ./analyses/objectivefunction.cpp\
     438                                          ./analyses/gradient_core.cpp\
     439                                          ./analyses/adjointdiagnostic_core.cpp\
     440                                          ./analyses/adjointbalancethickness_core.cpp\
     441                                          ./analyses/AdjointCorePointerFromSolutionEnum.cpp\
     442                                          ./solutionsequences/solutionsequence_adjoint_linear.cpp
    441443
    442444#}}}
    443445#Hydrology sources  {{{
    444 hydrology_sources  = ./modules/ModelProcessorx/Hydrology/UpdateElementsHydrology.cpp\
    445                                               ./modules/ModelProcessorx/Hydrology/CreateNodesHydrology.cpp\
    446                                               ./modules/ModelProcessorx/Hydrology/CreateConstraintsHydrology.cpp\
    447                                               ./modules/ModelProcessorx/Hydrology/CreateLoadsHydrology.cpp \
    448                                                   ./solutions/hydrology_core.cpp\
    449                                                   ./solutions/hydrology_core_step.cpp
     446hydrology_sources  = ./modules/ModelProcessorx/HydrologyShreve/UpdateElementsHydrologyShreve.cpp\
     447                                              ./modules/ModelProcessorx/HydrologyShreve/CreateNodesHydrologyShreve.cpp\
     448                                              ./modules/ModelProcessorx/HydrologyShreve/CreateConstraintsHydrologyShreve.cpp\
     449                                              ./modules/ModelProcessorx/HydrologyShreve/CreateLoadsHydrologyShreve.cpp \
     450                                                        ./modules/ModelProcessorx/HydrologyShreve/CreateParametersHydrologyShreve.cpp \
     451                                                        ./modules/ModelProcessorx/HydrologyDCInefficient/UpdateElementsHydrologyDCInefficient.cpp\
     452                                                        ./modules/ModelProcessorx/HydrologyDCInefficient/CreateNodesHydrologyDCInefficient.cpp\
     453                                                        ./modules/ModelProcessorx/HydrologyDCInefficient/CreateConstraintsHydrologyDCInefficient.cpp\
     454                                                        ./modules/ModelProcessorx/HydrologyDCInefficient/CreateLoadsHydrologyDCInefficient.cpp \
     455                                                        ./modules/ModelProcessorx/HydrologyDCInefficient/CreateParametersHydrologyDCInefficient.cpp \
     456                                                        ./modules/ModelProcessorx/HydrologyDCEfficient/UpdateElementsHydrologyDCEfficient.cpp\
     457                                                        ./modules/ModelProcessorx/HydrologyDCEfficient/CreateNodesHydrologyDCEfficient.cpp\
     458                                                        ./modules/ModelProcessorx/HydrologyDCEfficient/CreateConstraintsHydrologyDCEfficient.cpp\
     459                                                        ./modules/ModelProcessorx/HydrologyDCEfficient/CreateLoadsHydrologyDCEfficient.cpp \
     460                                                        ./modules/ModelProcessorx/HydrologyDCEfficient/CreateParametersHydrologyDCEfficient.cpp \
     461                                                        ./analyses/hydrology_core.cpp\
     462                                                        ./solutionsequences/solutionsequence_hydro_nonlinear.cpp
    450463#}}}
    451464#Diagnostic sources  {{{
     
    461474                                              ./modules/ModelProcessorx/DiagnosticHutter/CreateNodesDiagnosticHutter.cpp \
    462475                                              ./modules/ModelProcessorx/DiagnosticHutter/CreateConstraintsDiagnosticHutter.cpp \
    463                                               ./modules/ModelProcessorx/DiagnosticHutter/CreateLoadsDiagnosticHutter.cpp \
    464                                                   ./shared/Elements/CoordinateSystemTransform.cpp\
    465                                                   ./shared/Elements/TransformLoadVectorCoord.cpp \
    466                                                   ./shared/Elements/TransformStiffnessMatrixCoord.cpp \
    467                                                   ./shared/Elements/TransformInvStiffnessMatrixCoord.cpp \
    468                                                   ./shared/Elements/TransformSolutionCoord.cpp\
    469                                                   ./solutions/diagnostic_core.cpp\
    470                                                   ./solvers/solver_stokescoupling_nonlinear.cpp
     476                                                        ./modules/ModelProcessorx/DiagnosticHutter/CreateLoadsDiagnosticHutter.cpp \
     477                                                        ./analyses/diagnostic_core.cpp\
     478                                                        ./solutionsequences/solutionsequence_stokescoupling_nonlinear.cpp
    471479#}}}
    472480#Balanced sources  {{{
     
    474482                                            ./modules/ModelProcessorx/Balancethickness/CreateNodesBalancethickness.cpp\
    475483                                            ./modules/ModelProcessorx/Balancethickness/CreateConstraintsBalancethickness.cpp\
    476                                                 ./modules/ModelProcessorx/Balancethickness/CreateLoadsBalancethickness.cpp\
    477                                                 ./solutions/balancethickness_core.cpp \
    478                                                 ./solutions/dummy_core.cpp
     484                                                 ./modules/ModelProcessorx/Balancethickness/CreateLoadsBalancethickness.cpp\
     485                                                 ./analyses/balancethickness_core.cpp \
     486                                                 ./analyses/dummy_core.cpp
    479487#}}}
    480488#Slope sources  {{{
     
    487495                                          ./modules/ModelProcessorx/SurfaceSlope/CreateConstraintsSurfaceSlope.cpp\
    488496                                          ./modules/ModelProcessorx/SurfaceSlope/CreateLoadsSurfaceSlope.cpp\
    489                                           ./solutions/surfaceslope_core.cpp\
    490                                           ./solutions/bedslope_core.cpp
     497                                          ./analyses/surfaceslope_core.cpp\
     498                                          ./analyses/bedslope_core.cpp
     499#}}}
     500#Gia sources  {{{
     501gia_sources =  ./analyses/gia_core.cpp\
     502                                        ./modules/ModelProcessorx/Gia/UpdateElementsGia.cpp\
     503                                        ./modules/ModelProcessorx/Gia/CreateNodesGia.cpp \
     504                                        ./modules/ModelProcessorx/Gia/CreateConstraintsGia.cpp\
     505                                        ./modules/ModelProcessorx/Gia/CreateLoadsGia.cpp\
     506                                        ./modules/GiaDeflectionCorex/GiaDeflectionCorex.cpp\
     507                                        ./modules/GiaDeflectionCorex/GiaDeflectionCorex.h\
     508                                        ./modules/GiaDeflectionCorex/distme.f\
     509                                        ./modules/GiaDeflectionCorex/freed.f\
     510                                        ./modules/GiaDeflectionCorex/ojrule.f\
     511                                        ./modules/GiaDeflectionCorex/pwise.f\
     512                                        ./modules/GiaDeflectionCorex/qwise.f\
     513                                        ./modules/GiaDeflectionCorex/stot.f\
     514                                        ./modules/GiaDeflectionCorex/what0.f\
     515                                        ./classes/GiaDeflectionCoreArgs.h
     516
    491517#}}}
    492518#Groundingline sources  {{{
     
    495521#}}}
    496522#Rifts sources  {{{
    497 rifts_sources = ./classes/objects/Loads/Riftfront.cpp\
    498                                     ./classes/objects/Loads/Riftfront.h\
     523rifts_sources = ./classes/Loads/Riftfront.cpp\
     524                                    ./classes/Loads/Riftfront.h\
    499525                                    ./modules/ConstraintsStatex/RiftConstraintsState.cpp
    500526#}}}
     
    505531threed_sources = ./classes/gauss/GaussPenta.h\
    506532                                     ./classes/gauss/GaussPenta.cpp\
    507                                      ./classes/objects/ElementResults/PentaP1ElementResult.h\
    508                                      ./classes/objects/ElementResults/PentaP1ElementResult.cpp\
    509                                      ./classes/objects/Inputs/PentaP1Input.h\
    510                                      ./classes/objects/Inputs/PentaP1Input.cpp\
    511                                      ./classes/objects/Elements/Penta.h\
    512                                      ./classes/objects/Elements/Penta.cpp\
    513                                      ./classes/objects/Elements/PentaHook.h\
    514                                      ./classes/objects/Elements/PentaHook.cpp\
    515                                      ./classes/objects/Elements/PentaRef.h\
    516                                      ./classes/objects/Elements/PentaRef.cpp
     533                                     ./classes/ElementResults/PentaP1ElementResult.h\
     534                                     ./classes/ElementResults/PentaP1ElementResult.cpp\
     535                                     ./classes/Inputs/PentaP1Input.h\
     536                                     ./classes/Inputs/PentaP1Input.cpp\
     537                                     ./classes/Elements/Penta.h\
     538                                     ./classes/Elements/Penta.cpp\
     539                                     ./classes/Elements/PentaRef.h\
     540                                     ./classes/Elements/PentaRef.cpp
    517541#}}}
    518542#Bamg sources  {{{
    519 bamg_sources =  ./classes/bamg/bamgobjects.h\
    520                                 ./classes/bamg/BamgGeom.h\
    521                                 ./classes/bamg/BamgGeom.cpp\
    522                                 ./classes/bamg/BamgMesh.h\
    523                                 ./classes/bamg/BamgMesh.cpp\
    524                                 ./classes/bamg/BamgOpts.h\
    525                                 ./classes/bamg/BamgOpts.cpp\
    526                                 ./classes/bamg/CrackedEdge.h\
    527                                 ./classes/bamg/CrackedEdge.cpp\
    528                                 ./classes/bamg/Curve.h\
    529                                 ./classes/bamg/Curve.cpp\
    530                                 ./classes/bamg/Direction.h\
    531                                 ./classes/bamg/Direction.cpp\
    532                                 ./classes/bamg/DoubleAndInt.h\
    533                                 ./classes/bamg/Edge.h\
    534                                 ./classes/bamg/Edge.cpp\
    535                                 ./classes/bamg/GeomEdge.h\
    536                                 ./classes/bamg/GeomEdge.cpp\
    537                                 ./classes/bamg/GeomSubDomain.h\
    538                                 ./classes/bamg/GeomSubDomain.cpp\
    539                                 ./classes/bamg/GeomVertex.h\
    540                                 ./classes/bamg/GeomVertex.cpp\
    541                                 ./classes/bamg/Geometry.cpp\
    542                                 ./classes/bamg/Geometry.h\
    543                                 ./classes/bamg/ListofIntersectionTriangles.cpp\
    544                                 ./classes/bamg/ListofIntersectionTriangles.h\
    545                                 ./classes/bamg/EigenMetric.cpp\
    546                                 ./classes/bamg/Metric.cpp\
    547                                 ./classes/bamg/Metric.h\
    548                                 ./classes/bamg/BamgQuadtree.cpp\
    549                                 ./classes/bamg/BamgQuadtree.h\
    550                                 ./classes/bamg/R2.h\
    551                                 ./classes/bamg/SetOfE4.cpp\
    552                                 ./classes/bamg/SetOfE4.h\
    553                                 ./classes/bamg/SubDomain.h\
    554                                 ./classes/bamg/SubDomain.cpp\
    555                                 ./classes/bamg/AdjacentTriangle.h\
    556                                 ./classes/bamg/AdjacentTriangle.cpp\
    557                                 ./classes/bamg/Triangle.cpp\
    558                                 ./classes/bamg/Triangle.h\
    559                                 ./classes/bamg/BamgVertex.cpp\
    560                                 ./classes/bamg/BamgVertex.h\
    561                                 ./classes/bamg/VertexOnEdge.h\
    562                                 ./classes/bamg/VertexOnEdge.cpp\
    563                                 ./classes/bamg/VertexOnGeom.h\
    564                                 ./classes/bamg/VertexOnGeom.cpp\
    565                                 ./classes/bamg/VertexOnVertex.h\
    566                                 ./classes/bamg/VertexOnVertex.cpp\
    567                                 ./classes/bamg/Mesh.cpp\
    568                                 ./classes/bamg/Mesh.h\
     543bamg_sources =  ./bamg/bamgobjects.h\
     544                                ./bamg/BamgGeom.h\
     545                                ./bamg/BamgGeom.cpp\
     546                                ./bamg/BamgMesh.h\
     547                                ./bamg/BamgMesh.cpp\
     548                                ./bamg/BamgOpts.h\
     549                                ./bamg/BamgOpts.cpp\
     550                                ./bamg/CrackedEdge.h\
     551                                ./bamg/CrackedEdge.cpp\
     552                                ./bamg/Curve.h\
     553                                ./bamg/Curve.cpp\
     554                                ./bamg/Direction.h\
     555                                ./bamg/Direction.cpp\
     556                                ./bamg/DoubleAndInt.h\
     557                                ./bamg/Edge.h\
     558                                ./bamg/Edge.cpp\
     559                                ./bamg/GeomEdge.h\
     560                                ./bamg/GeomEdge.cpp\
     561                                ./bamg/GeomSubDomain.h\
     562                                ./bamg/GeomSubDomain.cpp\
     563                                ./bamg/GeomVertex.h\
     564                                ./bamg/GeomVertex.cpp\
     565                                ./bamg/Geometry.cpp\
     566                                ./bamg/Geometry.h\
     567                                ./bamg/ListofIntersectionTriangles.cpp\
     568                                ./bamg/ListofIntersectionTriangles.h\
     569                                ./bamg/EigenMetric.cpp\
     570                                ./bamg/Metric.cpp\
     571                                ./bamg/Metric.h\
     572                                ./bamg/BamgQuadtree.cpp\
     573                                ./bamg/BamgQuadtree.h\
     574                                ./bamg/R2.h\
     575                                ./bamg/SetOfE4.cpp\
     576                                ./bamg/SetOfE4.h\
     577                                ./bamg/SubDomain.h\
     578                                ./bamg/SubDomain.cpp\
     579                                ./bamg/AdjacentTriangle.h\
     580                                ./bamg/AdjacentTriangle.cpp\
     581                                ./bamg/Triangle.cpp\
     582                                ./bamg/det.h \
     583                                ./bamg/Triangle.h\
     584                                ./bamg/BamgVertex.cpp\
     585                                ./bamg/BamgVertex.h\
     586                                ./bamg/VertexOnEdge.h\
     587                                ./bamg/VertexOnEdge.cpp\
     588                                ./bamg/VertexOnGeom.h\
     589                                ./bamg/VertexOnGeom.cpp\
     590                                ./bamg/VertexOnVertex.h\
     591                                ./bamg/VertexOnVertex.cpp\
     592                                ./bamg/Mesh.cpp\
     593                                ./bamg/Mesh.h\
    569594                                ./shared/Bamg/Abs.h \
    570595                                ./shared/Bamg/BigPrimeNumber.h\
    571596                                ./shared/Bamg/BigPrimeNumber.cpp\
    572597                                ./shared/Bamg/BinaryRand.h \
    573                                 ./shared/Bamg/det.h \
    574598                                ./shared/Bamg/Exchange.h \
    575599                                ./shared/Bamg/extrema.h \
     
    584608#}}}
    585609#Kriging sources  {{{
    586 kriging_sources = ./Container/Observations.h\
    587                                                 ./Container/Observations.cpp\
     610kriging_sources = ./classes/kriging/Observations.h\
     611                                                ./classes/kriging/Observations.cpp\
    588612                                                ./classes/kriging/Variogram.h \
    589613                                                ./classes/kriging/GaussianVariogram.h\
     
    603627
    604628#For parallel kriging, only difference is ./modules/Krigingx/pKrigingx.cpp with no multithreading
    605 pkriging_sources = ./Container/Observations.h\
    606                                                 ./Container/Observations.cpp\
     629pkriging_sources = ./classes/kriging/Observations.h\
     630                                                ./classes/kriging/Observations.cpp\
    607631                                                ./classes/kriging/Variogram.h \
    608632                                                ./classes/kriging/GaussianVariogram.h\
     
    637661                             ./modules/KMLOverlayx/KMLOverlayx.h\
    638662                             ./modules/KMLOverlayx/KMLOverlayx.cpp\
    639                              ./classes/objects/KML/KML_Attribute.cpp\
    640                              ./classes/objects/KML/KML_Attribute.h\
    641                              ./classes/objects/KML/KML_Comment.cpp\
    642                              ./classes/objects/KML/KML_Comment.h\
    643                              ./classes/objects/KML/KML_ColorStyle.cpp\
    644                              ./classes/objects/KML/KML_ColorStyle.h\
    645                              ./classes/objects/KML/KML_Container.cpp\
    646                              ./classes/objects/KML/KML_Container.h\
    647                              ./classes/objects/KML/KML_Document.cpp\
    648                              ./classes/objects/KML/KML_Document.h\
    649                              ./classes/objects/KML/KML_Feature.cpp\
    650                              ./classes/objects/KML/KML_Feature.h\
    651                              ./classes/objects/KML/KML_File.cpp\
    652                              ./classes/objects/KML/KML_File.h\
    653                              ./classes/objects/KML/KML_Folder.cpp\
    654                              ./classes/objects/KML/KML_Folder.h\
    655                              ./classes/objects/KML/KML_Geometry.cpp\
    656                              ./classes/objects/KML/KML_Geometry.h\
    657                              ./classes/objects/KML/KML_GroundOverlay.cpp\
    658                              ./classes/objects/KML/KML_GroundOverlay.h\
    659                              ./classes/objects/KML/KML_Icon.cpp\
    660                              ./classes/objects/KML/KML_Icon.h\
    661                              ./classes/objects/KML/KML_LatLonBox.cpp\
    662                              ./classes/objects/KML/KML_LatLonBox.h\
    663                              ./classes/objects/KML/KML_LinearRing.cpp\
    664                              ./classes/objects/KML/KML_LinearRing.h\
    665                              ./classes/objects/KML/KML_LineString.cpp\
    666                              ./classes/objects/KML/KML_LineString.h\
    667                              ./classes/objects/KML/KML_LineStyle.cpp\
    668                              ./classes/objects/KML/KML_LineStyle.h\
    669                              ./classes/objects/KML/KML_MultiGeometry.cpp\
    670                              ./classes/objects/KML/KML_MultiGeometry.h\
    671                              ./classes/objects/KML/KML_Object.cpp\
    672                              ./classes/objects/KML/KML_Object.h\
    673                              ./classes/objects/KML/KML_Overlay.cpp\
    674                              ./classes/objects/KML/KML_Overlay.h\
    675                              ./classes/objects/KML/KML_Point.cpp\
    676                              ./classes/objects/KML/KML_Point.h\
    677                              ./classes/objects/KML/KML_Placemark.cpp\
    678                              ./classes/objects/KML/KML_Placemark.h\
    679                              ./classes/objects/KML/KML_Polygon.cpp\
    680                              ./classes/objects/KML/KML_Polygon.h\
    681                              ./classes/objects/KML/KML_PolyStyle.cpp\
    682                              ./classes/objects/KML/KML_PolyStyle.h\
    683                              ./classes/objects/KML/KML_Style.cpp\
    684                              ./classes/objects/KML/KML_Style.h\
    685                              ./classes/objects/KML/KML_StyleSelector.cpp\
    686                              ./classes/objects/KML/KML_StyleSelector.h\
    687                              ./classes/objects/KML/KML_SubStyle.cpp\
    688                              ./classes/objects/KML/KML_SubStyle.h\
    689                              ./classes/objects/KML/KML_Unknown.cpp\
    690                              ./classes/objects/KML/KML_Unknown.h\
    691                              ./classes/objects/KML/KMLFileReadUtils.cpp\
    692                              ./classes/objects/KML/KMLFileReadUtils.h
     663                             ./kml/kmlobjects.h\
     664                             ./kml/KML_Attribute.cpp\
     665                             ./kml/KML_Attribute.h\
     666                             ./kml/KML_Comment.cpp\
     667                             ./kml/KML_Comment.h\
     668                             ./kml/KML_ColorStyle.cpp\
     669                             ./kml/KML_ColorStyle.h\
     670                             ./kml/KML_Container.cpp\
     671                             ./kml/KML_Container.h\
     672                             ./kml/KML_Document.cpp\
     673                             ./kml/KML_Document.h\
     674                             ./kml/KML_Feature.cpp\
     675                             ./kml/KML_Feature.h\
     676                             ./kml/KML_File.cpp\
     677                             ./kml/KML_File.h\
     678                             ./kml/KML_Folder.cpp\
     679                             ./kml/KML_Folder.h\
     680                             ./kml/KML_Geometry.cpp\
     681                             ./kml/KML_Geometry.h\
     682                             ./kml/KML_GroundOverlay.cpp\
     683                             ./kml/KML_GroundOverlay.h\
     684                             ./kml/KML_Icon.cpp\
     685                             ./kml/KML_Icon.h\
     686                             ./kml/KML_LatLonBox.cpp\
     687                             ./kml/KML_LatLonBox.h\
     688                             ./kml/KML_LinearRing.cpp\
     689                             ./kml/KML_LinearRing.h\
     690                             ./kml/KML_LineString.cpp\
     691                             ./kml/KML_LineString.h\
     692                             ./kml/KML_LineStyle.cpp\
     693                             ./kml/KML_LineStyle.h\
     694                             ./kml/KML_MultiGeometry.cpp\
     695                             ./kml/KML_MultiGeometry.h\
     696                             ./kml/KML_Object.cpp\
     697                             ./kml/KML_Object.h\
     698                             ./kml/KML_Overlay.cpp\
     699                             ./kml/KML_Overlay.h\
     700                             ./kml/KML_Point.cpp\
     701                             ./kml/KML_Point.h\
     702                             ./kml/KML_Placemark.cpp\
     703                             ./kml/KML_Placemark.h\
     704                             ./kml/KML_Polygon.cpp\
     705                             ./kml/KML_Polygon.h\
     706                             ./kml/KML_PolyStyle.cpp\
     707                             ./kml/KML_PolyStyle.h\
     708                             ./kml/KML_Style.cpp\
     709                             ./kml/KML_Style.h\
     710                             ./kml/KML_StyleSelector.cpp\
     711                             ./kml/KML_StyleSelector.h\
     712                             ./kml/KML_SubStyle.cpp\
     713                             ./kml/KML_SubStyle.h\
     714                             ./kml/KML_Unknown.cpp\
     715                             ./kml/KML_Unknown.h\
     716                             ./kml/KMLFileReadUtils.cpp\
     717                             ./kml/KMLFileReadUtils.h
    693718#}}}
    694719#Petsc sources  {{{
     
    719744                                        ./toolkits/petsc/objects/PetscVec.h\
    720745                                        ./toolkits/petsc/objects/PetscVec.cpp\
    721                                         ./toolkits/petsc/petscincludes.h\
    722                                         ./shared/Numerics/PetscOptionsFromAnalysis.cpp\
    723                                         ./modules/Solverx/SolverxPetsc.cpp\
    724                                         ./modules/Solverx/DofTypesToIndexSet.cpp
    725 
     746                                        ./toolkits/petsc/objects/PetscSolver.cpp\
     747                                        ./toolkits/petsc/objects/PetscSolver.h\
     748                                        ./toolkits/petsc/petscincludes.h
     749
     750#}}}
     751#Mumps sources  {{{
     752mumps_sources=      ./toolkits/mumps\
     753                                        ./toolkits/mumps/mumpsincludes.h\
     754                                        ./toolkits/mumps/MpiDenseMumpsSolve.cpp
     755#}}}
     756#Gsl sources  {{{
     757gsl_sources=      ./toolkits/gsl\
     758                                        ./toolkits/gsl/gslincludes.h\
     759                                        ./toolkits/gsl/DenseGslSolve.cpp
    726760#}}}
    727761#Mpi sources  {{{
    728762mpi_sources= ./toolkits/mpi/mpiincludes.h\
    729763                                ./toolkits/mpi/patches/mpipatches.h\
    730                                 ./toolkits/mpi/patches/DetermineLocalSize.cpp
     764                                ./toolkits/mpi/patches/DetermineLocalSize.cpp\
     765                                ./toolkits/mpi/patches/DetermineGlobalSize.cpp\
     766                                ./toolkits/mpi/patches/DetermineRowRankFromLocalSize.cpp\
     767                                ./toolkits/mpi/patches/GetOwnershipBoundariesFromRange.cpp\
     768                                ./toolkits/issm/IssmMpiDenseMat.h\
     769                                ./toolkits/issm/IssmMpiVec.h
    731770#}}}
    732771#Metis sources  {{{
     
    739778                        ./shared/Threads/PartitionRange.cpp\
    740779                        ./shared/Exp/exp.h\
    741                         ./shared/Exp/IsInPoly.cpp\
    742                         ./shared/Exp/IsInPolySerial.cpp\
    743                         ./shared/Exp/ExpWrite.cpp\
     780                        ./shared/Exp/exp.cpp\
    744781                        ./shared/TriMesh/trimesh.h\
    745782                        ./shared/TriMesh/AssociateSegmentToElement.cpp\
     
    762799                        ./modules/PointCloudFindNeighborsx/PointCloudFindNeighborsx.cpp\
    763800                        ./modules/PointCloudFindNeighborsx/PointCloudFindNeighborsxt.cpp\
    764                         ./modules/Xy2llx/Xy2llx.h\
    765                         ./modules/Xy2llx/Xy2llx.cpp\
    766                         ./modules/Ll2xyx/Ll2xyx.h\
    767                         ./modules/Ll2xyx/Ll2xyx.cpp\
    768801                        ./modules/InterpFromGridToMeshx/InterpFromGridToMeshx.cpp\
    769802                        ./modules/InterpFromGridToMeshx/InterpFromGridToMeshx.h\
     
    779812                        ./modules/HoleFillerx/HoleFillerx.cpp\
    780813                        ./modules/HoleFillerx/HoleFillerx.h\
     814                        ./modules/EdgeDetectionx/EdgeDetectionx.cpp\
     815                        ./modules/EdgeDetectionx/EdgeDetectionx.h\
    781816                        ./modules/AverageFilterx/AverageFilterx.cpp\
    782817                        ./modules/AverageFilterx/AverageFilterx.h\
     
    816851endif
    817852
     853if MUMPS
     854issm_sources  +=  $(mumps_sources)
     855endif
     856
     857if GSL
     858issm_sources  +=  $(gsl_sources)
     859endif
     860
    818861if TRANSIENT
    819862issm_sources  +=  $(transient_sources)
     
    832875endif
    833876
     877if GIA
     878issm_sources  +=  $(gia_sources)
     879endif
     880
    834881if CONTROL
    835882issm_sources  +=  $(control_sources)
     
    884931
    885932libISSMCore_a_SOURCES  = $(issm_sources)
    886 libISSMCore_a_CXXFLAGS = $(ALLCXXFLAGS)
     933libISSMCore_a_CXXFLAGS = $(ALLCXXFLAGS) $(DAKOTAFLAGS)
     934libISSMCore_a_FFLAGS = $(AM_FFLAGS)
    887935
    888936if SHAREDLIBS
    889 libISSM_la_SOURCES = solutions/issm.cpp
     937libISSM_la_SOURCES = main/issm.cpp
    890938libISSM_la_LIBADD = libISSMCore.la libISSMOverload.la
    891939
    892940libISSMCore_la_SOURCES  = $(issm_sources)
    893941libISSMCore_la_LIBADD = $(PETSCLIB) $(TAOLIB) $(PLAPACKLIB) $(MUMPSLIB) $(SUPERLULIB) $(SPOOLESLIB) $(SCALAPACKLIB) $(BLACSLIB) $(HYPRELIB) $(SPAILIB) $(PROMETHEUSLIB) $(PASTIXLIB) $(MLLIB) $(DAKOTALIB) $(METISLIB) $(CHACOLIB) $(SCOTCHLIB) $(BLASLAPACKLIB) $(MKLLIB) $(MPILIB) $(MATHLIB) $(FORTRANLIB) $(GRAPHICSLIB) $(MULTITHREADINGLIB) $(OSLIBS) $(GSLLIB) $(ADOLCLIB)
    894 
    895 libISSMOverload_la_SOURCES = ./shared/String/stricmp.c
     942libISSMCore_la_FFLAGS = $(AM_FFLAGS)
    896943endif
    897944
     
    919966#}}}
    920967#Overload library, to overload any non-standard symbols. {{{
    921 libISSMOverload_a_SOURCES = ./shared/String/stricmp.c
     968libISSMOverload_a_SOURCES = ./shared/String/stricmp.cpp\
     969                                                        ./shared/String/ApiPrintf.cpp
     970
    922971libISSMOverload_a_CFLAGS  = -fPIC -D_C_ $(COPTFLAGS) $(CFLAGS)
    923972#}}}
     
    944993endif
    945994
    946 issm_SOURCES = solutions/issm.cpp
     995issm_SOURCES = main/issm.cpp
    947996issm_CXXFLAGS= -fPIC $(CXXFLAGS) $(CXXOPTFLAGS) $(COPTFLAGS)
    948997
    949998if KRIGING
    950999bin_PROGRAMS += kriging
    951 kriging_SOURCES = solutions/kriging.cpp
     1000kriging_SOURCES = main/kriging.cpp
    9521001kriging_CXXFLAGS= -fPIC $(CXXFLAGS) $(CXXOPTFLAGS) $(COPTFLAGS)
    9531002endif
     
    9801029bin_PROGRAMS +=  issmRose.exe
    9811030issmRose_exe_LDADD = ./libISSMRose.a $(LDADD)
    982 issmRose_exe_SOURCES = solutions/issm.cpp
     1031issmRose_exe_SOURCES = main/issm.cpp
    9831032issmRose_exe_CXXFLAGS= -fPIC $(CXXOPTFLAGS) $(COPTFLAGS)
    9841033LDADD +=  $(ADIC2LIB)
  • issm/trunk/src/c/classes/DofIndexing.cpp

    r13975 r15396  
    99#endif
    1010
    11 #include <stdio.h>
    1211#include <string.h>
    13 #include "./classes.h"
    14 #include "../EnumDefinitions/EnumDefinitions.h"
    15 #include "../shared/shared.h"
    16 #include "../Container/Container.h"
    17 #include "../include/include.h"
     12
     13#include "./DofIndexing.h"
     14#include "../shared/Numerics/types.h"
     15#include "../shared/Numerics/constants.h"
     16#include "../shared/io/Print/Print.h"
     17#include "../shared/Exceptions/exceptions.h"
     18#include "../shared/MemOps/MemOps.h"
     19#include "../shared/Enum/Enum.h"
    1820
    1921/*DofIndexing constructors and destructor*/
     
    2527        this->ssize    = UNDEF;
    2628        this->clone    = false;
     29        this->active   = true;
    2730        this->f_set    = NULL;
    2831        this->s_set    = NULL;
     
    3740/*FUNCTION DofIndexing::DofIndexing(int gsize){{{*/
    3841DofIndexing::DofIndexing(int in_gsize){
     42
    3943        this->Init(in_gsize,NULL);
     44
    4045}
    4146/*}}}*/
     
    4348DofIndexing::DofIndexing(DofIndexing* in){ //copy constructor
    4449
    45         this->gsize = in->gsize;
    46         this->fsize = in->fsize;
    47         this->ssize = in->ssize;
    48         this->clone = in->clone;
     50        this->gsize  = in->gsize;
     51        this->fsize  = in->fsize;
     52        this->ssize  = in->ssize;
     53        this->clone  = in->clone;
     54        this->active = in->active;
    4955
    5056        if(this->gsize>0){
     
    9399void DofIndexing::Init(int in_gsize,int* in_doftype){
    94100
    95         this->gsize=in_gsize;
    96         this->clone=false;
    97 
    98         /*allocate: */
     101        this->gsize = in_gsize;
     102
     103        /*At this point, assume this is not a clone (will be dealt with later)*/
     104        this->clone = false;
     105
     106        /*memory allocation */
    99107        if(this->gsize>0){
    100                 this->f_set=xNew<bool>(this->gsize);
    101                 this->s_set=xNew<bool>(this->gsize);
    102                 this->svalues=xNew<IssmDouble>(this->gsize);
    103                 if(in_doftype)this->doftype=xNew<int>(this->gsize);
    104                 this->gdoflist=xNew<int>(this->gsize);
    105         }
    106 
     108                this->f_set    = xNew<bool>(this->gsize);
     109                this->s_set    = xNew<bool>(this->gsize);
     110                this->svalues  = xNew<IssmDouble>(this->gsize);
     111                this->gdoflist = xNew<int>(this->gsize);
     112
     113                if(in_doftype)
     114                 this->doftype = xNew<int>(this->gsize);
     115        }
     116
     117        /*Assign values assuming no Dirichlet at this point*/
    107118        for(int i=0;i<this->gsize;i++){
    108                 /*assume dof is free, no constraints, no rigid body constraint: */
    109                 this->f_set[i]=true;
    110                 this->s_set[i]=false;
    111                 if(this->doftype)this->doftype[i]=in_doftype[i];
    112                 this->svalues[i]=0; //0 constraint is the default value
    113                 this->gdoflist[i]=UNDEF;
     119                this->f_set[i]    = true;
     120                this->s_set[i]    = false;
     121                this->svalues[i]  = 0.;      //0 constraint is the default value
     122                this->gdoflist[i] = UNDEF;
     123
     124                if(this->doftype)
     125                 this->doftype[i]=in_doftype[i];
    114126        }
    115127}
     
    128140                this->fsize=size;
    129141                xDelete<int>(this->fdoflist);
    130                 if(this->fsize)this->fdoflist=xNew<int>(size);
    131                 else this->fdoflist=NULL;
     142
     143                if(this->fsize)
     144                 this->fdoflist=xNew<int>(size);
     145                else
     146                 this->fdoflist=NULL;
    132147        }
    133148        else if(setenum==SsetEnum){
     
    136151                this->ssize=size;
    137152                xDelete<int>(this->sdoflist);
    138                 if(this->ssize)this->sdoflist=xNew<int>(size);
    139                 else this->sdoflist=NULL;
     153
     154                if(this->ssize)
     155                 this->sdoflist=xNew<int>(size);
     156                else
     157                 this->sdoflist=NULL;
    140158        }
    141159        else _error_("set of enum type " << EnumToStringx(setenum) << " not supported yet!");
     
    147165void DofIndexing::Echo(void){
    148166
    149         _printLine_("DofIndexing:");
    150         _printLine_("   gsize: " << gsize);
    151         _printLine_("   clone: " << clone);
     167        _printf_("DofIndexing:\n");
     168        _printf_("   gsize:  " << gsize << "\n");
     169        _printf_("   clone:  " << clone << "\n");
     170        _printf_("   active: " << active << "\n");
    152171}
    153172/*}}}*/
     
    157176        int i;
    158177
    159         _printLine_("DofIndexing:");
    160         _printLine_("   gsize: " << gsize);
    161         _printLine_("   fsize: " << fsize);
    162         _printLine_("   ssize: " << ssize);
    163         _printLine_("   clone: " << clone);
    164 
    165         _printLine_("   set membership: f,s sets ");
     178        _printf_("DofIndexing:\n");
     179        _printf_("   gsize:  " << gsize << "\n");
     180        _printf_("   fsize:  " << fsize << "\n");
     181        _printf_("   ssize:  " << ssize << "\n");
     182        _printf_("   clone:  " << clone << "\n");
     183        _printf_("   active: " << active << "\n");
     184
     185        _printf_("   set membership: f,s sets \n");
    166186        for(i=0;i<gsize;i++){
    167                 _printLine_("      dof " << i << ": " <<(f_set[i]?"true":"false")<< " " <<(s_set[i]?"true":"false"));
    168         }
    169 
    170         _printString_("   svalues (" << this->ssize << "): |");
     187                _printf_("      dof " << i << ": " <<(f_set[i]?"true":"false")<< " " <<(s_set[i]?"true":"false") << "\n");
     188        }
     189
     190        _printf_("   svalues (" << this->ssize << "): |");
    171191        for(i=0;i<this->gsize;i++){
    172                 if(this->s_set[i])_printString_(" " << svalues[i] << " |");
    173         }
    174         _printLine_("");
     192                if(this->s_set[i])_printf_(" " << svalues[i] << " |");
     193        }
     194        _printf_("\n");
    175195
    176196        if(doftype){
    177                 _printString_("   doftype: |");
     197                _printf_("   doftype: |");
    178198                for(i=0;i<gsize;i++){
    179                         _printString_(" " << doftype[i] << " |");
     199                        _printf_(" " << doftype[i] << " |");
    180200                }
    181                 _printLine_("");
    182         }
    183         else _printLine_("   doftype: NULL");
    184 
    185         _printString_("   g_doflist (" << this->gsize << "): |");
     201                _printf_("\n");
     202        }
     203        else _printf_("   doftype: NULL\n");
     204
     205        _printf_("   g_doflist (" << this->gsize << "): |");
    186206        for(i=0;i<this->gsize;i++){
    187                 _printString_(" " << gdoflist[i] << " |");
    188         }
    189         _printLine_("");
    190 
    191         _printString_("   f_doflist (" << this->fsize << "): |");
     207                _printf_(" " << gdoflist[i] << " |");
     208        }
     209        _printf_("\n");
     210
     211        _printf_("   f_doflist (" << this->fsize << "): |");
    192212        for(i=0;i<this->fsize;i++){
    193                 _printString_(" " << fdoflist[i] << " |");
    194         }
    195         _printLine_("");
    196 
    197         _printString_("   s_doflist (" << this->ssize << "): |");
     213                _printf_(" " << fdoflist[i] << " |");
     214        }
     215        _printf_("\n");
     216
     217        _printf_("   s_doflist (" << this->ssize << "): |");
    198218        for(i=0;i<this->ssize;i++){
    199                 _printString_(" " << sdoflist[i] << " |");
    200         }
    201         _printLine_("");
     219                _printf_(" " << sdoflist[i] << " |");
     220        }
     221        _printf_("\n");
    202222}               
    203223/*}}}*/
     224/*FUNCTION DofIndexing::Deactivate{{{*/
     225void DofIndexing::Deactivate(void){
     226        this->active = false;
     227
     228        /*Constrain to 0. at this point*/
     229        for(int i=0;i<this->gsize;i++){
     230                this->f_set[i]    = false;
     231                this->s_set[i]    = true;
     232                this->svalues[i]  = 0.;
     233        }
     234        return;
     235}
     236/*}}}*/
     237/*FUNCTION DofIndexing::Activate{{{*/
     238void DofIndexing::Activate(void){
     239        this->active = true;
     240
     241        /*Constrain to 0. at this point*/
     242        for(int i=0;i<this->gsize;i++){
     243                this->f_set[i]    = true;
     244                this->s_set[i]    = false;
     245                this->svalues[i]  = 0.;
     246        }
     247        return;
     248}
     249/*}}}*/
  • issm/trunk/src/c/classes/DofIndexing.h

    r13975 r15396  
    44
    55#ifndef _DOFINDEXING_H_
    6 #define  _DOFINDEXING_H_
     6#define _DOFINDEXING_H_
    77
    8 #include "../include/include.h"
     8#include "../shared/Numerics/types.h"
    99
    1010class DofIndexing{
     
    1919                /*partitioning: */
    2020                bool clone;   //this node is replicated from another one
     21                bool active;  //Is this node active or inactive (all dofs are constrained)
    2122
    2223                /*boundary conditions sets: */
     
    4849                /*DofIndexing management: {{{*/
    4950                DofIndexing* Spawn(int* indices, int numindices);
     51                void Activate(void);
     52                void Deactivate(void);
    5053                /*}}}*/
    5154
  • issm/trunk/src/c/classes/FemModel.cpp

    r14310 r15396  
    1 /*!\file FemModel.c
     1/*!\file FemModel.cpp
    22 * \brief: implementation of the FemModel object
    33 */
     
    1010
    1111#include <stdio.h>
    12 #include "../Container/Container.h"
     12#include "../analyses/analyses.h"
     13#include "../shared/io/io.h"
     14#include "./classes.h"
     15#include "../shared/Enum/Enum.h"
     16
     17/*module includes: {{{*/
    1318#include "../modules/ModelProcessorx/ModelProcessorx.h"
    14 #include "../solutions/solutions.h"
    15 #include "../io/io.h"
    16 #include "./classes.h"
    17 #include "../include/include.h"
    18 #include "../EnumDefinitions/EnumDefinitions.h"
    19 #include "../modules/modules.h"
     19#include "../modules/VerticesDofx/VerticesDofx.h"
     20#include "../modules/SpcNodesx/SpcNodesx.h"
     21#include "../modules/ConfigureObjectsx/ConfigureObjectsx.h"
     22#include "../modules/ParseToolkitsOptionsx/ParseToolkitsOptionsx.h"
     23#include "../modules/OutputResultsx/OutputResultsx.h"
     24#include "../modules/GetVectorFromInputsx/GetVectorFromInputsx.h"
     25#include "../modules/InputUpdateFromVectorx/InputUpdateFromVectorx.h"
     26#include "../modules/NodesDofx/NodesDofx.h"
     27#include "../modules/SurfaceAbsVelMisfitx/SurfaceAbsVelMisfitx.h"
     28#include "../modules/SurfaceRelVelMisfitx/SurfaceRelVelMisfitx.h"
     29#include "../modules/SurfaceLogVelMisfitx/SurfaceLogVelMisfitx.h"
     30#include "../modules/SurfaceLogVxVyMisfitx/SurfaceLogVxVyMisfitx.h"
     31#include "../modules/SurfaceAverageVelMisfitx/SurfaceAverageVelMisfitx.h"
     32#include "../modules/ThicknessAbsMisfitx/ThicknessAbsMisfitx.h"
     33#include "../modules/ThicknessAlongGradientx/ThicknessAlongGradientx.h"
     34#include "../modules/ThicknessAcrossGradientx/ThicknessAcrossGradientx.h"
     35#include "../modules/RheologyBbarAbsGradientx/RheologyBbarAbsGradientx.h"
     36#include "../modules/DragCoefficientAbsGradientx/DragCoefficientAbsGradientx.h"
     37#include "../modules/NodalValuex/NodalValuex.h"
     38#include "../modules/GetVectorFromInputsx/GetVectorFromInputsx.h"
     39#include "../modules/AverageOntoPartitionx/AverageOntoPartitionx.h"
     40/*}}}*/
    2041
    2142/*Object constructors and destructor*/
    22 /*FUNCTION FemModel::FemModel(int argc,char** argv){{{*/
     43/*FUNCTION FemModel::FemModel(int argc,char** argv,COMM incomm){{{*/
    2344FemModel::FemModel(int argc,char** argv,COMM incomm){
    2445
     
    3960        this->comm=incomm;
    4061        this->SetStaticComm();
    41        
     62
    4263        /*Now, initialize PETSC: */
    4364        #ifdef _HAVE_PETSC_
     
    7192}
    7293/*}}}*/
    73 /*FUNCTION FemModel::FemModel(char* rootpath, char* inputfilename, char* outputfilename, char* petscfilename, char* lockfilename, const int in_solution_type,const int* analyses,const int nummodels){{{*/
    74 FemModel::FemModel(char* rootpath, char* inputfilename, char* outputfilename, char* petscfilename, char* lockfilename, const int in_solution_type,const int* analyses,const int nummodels){
     94/*FUNCTION FemModel::FemModel(char* rootpath, char* inputfilename, char* outputfilename, char* toolkitsfilename, char* lockfilename, const int in_solution_type,const int* analyses,const int nummodels){{{*/
     95FemModel::FemModel(char* rootpath, char* inputfilename, char* outputfilename, char* toolkitsfilename, char* lockfilename, const int in_solution_type,const int* analyses,const int nummodels){
    7596
    7697        /*Call InitFromFiles. This constructor is just a wrapper: */
    77         this->InitFromFiles(rootpath, inputfilename, outputfilename, petscfilename, lockfilename, in_solution_type,analyses,nummodels);
     98        this->InitFromFiles(rootpath, inputfilename, outputfilename, toolkitsfilename, lockfilename, in_solution_type,analyses,nummodels);
    7899
    79100}
     
    97118        this->parameters->FindParam(&lockfilename,LockFileNameEnum);
    98119        if (waitonlock>0){
    99                 _pprintLine_("write lock file:");
     120                _printf0_("write lock file:\n");
    100121                WriteLockFile(lockfilename);
    101122        }
     
    116137        /*Before we delete the profiler, report statistics for this run: */
    117138        profiler->Tag(Finish);  //final tagging
    118         _pprintLine_("");
    119         _pprintLine_("   "<<setw(40)<<left<<"FemModel initialization elapsed time:"<<profiler->DeltaTime(StartInit,FinishInit));
    120         _pprintLine_("   "<<setw(40)<<left<<"Core solution elapsed time:"<<profiler->DeltaTime(StartCore,FinishCore));
    121         _pprintLine_("");
    122         _pprintLine_("   Total elapsed time:"
     139        _printf0_("\n");
     140        _printf0_("   "<<setw(40)<<left<<"FemModel initialization elapsed time:"<<profiler->DeltaTime(StartInit,FinishInit) << "\n");
     141        _printf0_("   "<<setw(40)<<left<<"Core solution elapsed time:"<<profiler->DeltaTime(StartCore,FinishCore) << "\n");
     142        _printf0_("\n");
     143        _printf0_("   Total elapsed time:"
    123144                        <<profiler->DeltaTimeModHour(Start,Finish)<<" hrs "
    124145                        <<profiler->DeltaTimeModMin(Start,Finish)<<" min "
    125146                        <<profiler->DeltaTimeModSec(Start,Finish)<<" sec"
    126147                        );
    127         _pprintLine_("");
     148        _printf0_("\n");
    128149
    129150        /*Now delete: */
    130151        delete profiler;
    131        
     152
    132153        /*Finalize PETSC for this model: */
    133154        #ifdef _HAVE_PETSC_
    134         _pprintLine_("closing Petsc");
     155        _printf0_("closing Petsc\n");
    135156        PetscFinalize();
    136157        #endif
     
    143164void FemModel::Echo(void){
    144165
    145         _printLine_("FemModel echo: ");
    146         _printLine_("   number of fem models: " << nummodels);
    147         _printLine_("   analysis_type_list: ");
    148         for(int i=0;i<nummodels;i++)_printLine_("     " << i << ": " << EnumToStringx(analysis_type_list[i]));
    149         _printLine_("   current analysis_type: ");
    150         _printLine_("     " << analysis_counter << ": " << EnumToStringx(analysis_type_list[analysis_counter]));
    151 
    152 }
    153 /*}}}*/
    154 /*FUNCTION FemModel::InitFromFiles(char* rootpath, char* inputfilename, char* outputfilename, char* petscfilename, char* lockfilename, const int in_solution_type,const int* analyses,const int nummodels){{{*/
    155 void FemModel::InitFromFiles(char* rootpath, char* inputfilename, char* outputfilename, char* petscfilename, char* lockfilename, const int in_solution_type,const int* analyses,const int nummodels){
     166        _printf_("FemModel echo: \n");
     167        _printf_("   number of fem models: " << nummodels << "\n");
     168        _printf_("   analysis_type_list: \n");
     169        for(int i=0;i<nummodels;i++)_printf_("     " << i << ": " << EnumToStringx(analysis_type_list[i]) << "\n");
     170        _printf_("   current analysis_type: \n");
     171        _printf_("     " << analysis_counter << ": " << EnumToStringx(analysis_type_list[analysis_counter]) << "\n");
     172
     173}
     174/*}}}*/
     175/*FUNCTION FemModel::InitFromFiles(char* rootpath, char* inputfilename, char* outputfilename, char* toolkitsfilename, char* lockfilename, const int in_solution_type,const int* analyses,const int nummodels){{{*/
     176void FemModel::InitFromFiles(char* rootpath, char* inputfilename, char* outputfilename, char* toolkitsfilename, char* lockfilename, const int in_solution_type,const int* analyses,const int nummodels){
    156177
    157178        /*intermediary*/
     
    159180        int         analysis_type;
    160181        FILE       *IOMODEL = NULL;
    161         FILE       *petscoptionsfid = NULL;
     182        FILE       *toolkitsoptionsfid = NULL;
    162183        FILE       *output_fid = NULL;
    163184        int         my_rank;
     
    187208        for(i=0;i<nummodels;i++){
    188209
    189                 if(VerboseMProcessor()) _pprintLine_("   Processing finite element model of analysis " << EnumToStringx(analysis_type_list[i]) << ":");
     210                if(VerboseMProcessor()) _printf0_("   Processing finite element model of analysis " << EnumToStringx(analysis_type_list[i]) << ":\n");
    190211                analysis_type=analysis_type_list[i];
    191212                this->SetCurrentConfiguration(analysis_type);
    192213
    193214                if(i==0){
    194                         if(VerboseMProcessor()) _pprintLine_("      creating vertex degrees of freedom");
     215                        if(VerboseMProcessor()) _printf0_("      creating vertex PIDs\n");
    195216                        VerticesDofx(vertices,parameters); //only call once, we only have one set of vertices
    196217                }
    197218
    198                 if(VerboseMProcessor()) _pprintLine_("      resolving node constraints");
     219                if(VerboseMProcessor()) _printf0_("      resolving node constraints\n");
    199220                SpcNodesx(nodes,constraints,parameters,analysis_type);
    200221
    201                 if(VerboseMProcessor()) _pprintLine_("      creating nodal degrees of freedom");
     222                if(VerboseMProcessor()) _printf0_("      creating nodal degrees of freedom\n");
    202223                NodesDofx(nodes,parameters,analysis_type);
    203224
    204                 if(VerboseMProcessor()) _pprintLine_("      configuring element and loads");
     225                if(VerboseMProcessor()) _printf0_("      configuring element and loads\n");
    205226                ConfigureObjectsx(elements, loads, nodes, vertices, materials,parameters);
    206227        }
     
    217238        this->parameters->AddObject(new StringParam(LockFileNameEnum,lockfilename));
    218239
    219         /*Now, deal with petsc options, which need to be put into the parameters dataset: */
    220         petscoptionsfid=pfopen(petscfilename,"r");
    221         ParsePetscOptionsx(this->parameters,petscoptionsfid);
    222         pfclose(petscoptionsfid,petscfilename);
     240        /*Now, deal with toolkits options, which need to be put into the parameters dataset: */
     241        toolkitsoptionsfid=pfopen(toolkitsfilename,"r");
     242        ParseToolkitsOptionsx(this->parameters,toolkitsoptionsfid);
     243        pfclose(toolkitsoptionsfid,toolkitsfilename);
    223244}
    224245/*}}}*/
     
    226247void FemModel::OutputResults(void){
    227248
    228         _pprintLine_("write results to disk:");
     249        _printf0_("write results to disk:\n");
    229250
    230251        /*Just call the OutputResultsx module: */
     
    270291        this->loads->SetCurrentConfiguration(elements, loads, nodes,vertices, materials,parameters);
    271292
    272         #ifdef _HAVE_PETSC_
    273         /*take care of petsc options, that depend on this analysis type (present only after model processor)*/
    274         if(this->parameters->Exist(PetscOptionsStringsEnum)){
    275                 PetscOptionsFromAnalysis(this->parameters,analysis_type);
    276                 if(VerboseSolver()) _pprintLine_("      petsc Options set for analysis type: " << EnumToStringx(analysis_type));
    277         }
    278         #endif
     293        /*take care of toolkits options, that depend on this analysis type (present only after model processor)*/
     294        if(this->parameters->Exist(ToolkitsOptionsStringsEnum)){
     295                ToolkitsOptionsFromAnalysis(this->parameters,analysis_type);
     296                if(VerboseSolver()) _printf0_("      toolkits Options set for analysis type: " << EnumToStringx(analysis_type) << "\n");
     297        }
    279298
    280299}
     
    298317        void (*solutioncore)(FemModel*)=NULL; //core solution function pointer
    299318
    300         _pprintLine_("call computational core:");
     319        _printf0_("call computational core:\n");
    301320
    302321        /*Retrieve solution_type from parameters: */
     
    324343                solution_memory=profiler->Memory(FinishCore);
    325344
    326                 _pprintLine_("Solution elapsed time  : " << solution_time << "  Seconds");
    327                 _pprintLine_("Solution elapsed flops : " << solution_flops << "  Flops");
    328                 _pprintLine_("Solution memory used   : " << solution_memory << "  Bytes");
    329 
     345                _printf0_("Solution elapsed time    : " << solution_time   << " Seconds\n");
     346                _printf0_("Solution number of flops : " << solution_flops  << " Flops\n");
     347                _printf0_("Solution memory used     : " << solution_memory << " Bytes\n");
     348               
    330349                /*Add to results: */
    331350                results->AddObject(new GenericExternalResult<IssmDouble>(results->Size()+1, ProfilingSolutionTimeEnum, solution_time, 1, 0));
    332351                results->AddObject(new GenericExternalResult<IssmDouble>(results->Size()+1, ProfilingCurrentMemEnum, solution_memory, 1, 0));
    333352                results->AddObject(new GenericExternalResult<IssmDouble>(results->Size()+1, ProfilingCurrentFlopsEnum, solution_flops, 1, 0));
    334         }
     353
     354                #ifdef _HAVE_ADOLC_
     355                solution_time=profiler->DeltaTime(StartAdCore,FinishAdCore);
     356                solution_flops=profiler->DeltaFlops(StartAdCore,FinishAdCore);
     357                solution_memory=profiler->Memory(FinishAdCore);
     358
     359                _printf0_("AD Solution elapsed time    : " << solution_time   << " Seconds\n");
     360                _printf0_("AD Solution number of flops : " << solution_flops  << " Flops\n");
     361                _printf0_("AD Solution memory used     : " << solution_memory << " Bytes\n");
     362
     363
     364                #endif
     365
     366                        }
    335367}
    336368/*}}}*/
     
    638670
    639671        /*Update element inputs*/
    640         InputUpdateFromVectorx(elements,nodes,vertices,loads,materials,parameters,vz,VzMeshEnum,VertexEnum);
     672        InputUpdateFromVectorx(elements,nodes,vertices,loads,materials,parameters,vz,VzMeshEnum,VertexPIdEnum);
    641673
    642674        /*Free ressources:*/
    643675        xDelete<IssmDouble>(thickness);
    644676        xDelete<IssmDouble>(bed);
    645         xdelete(&vz);
     677        delete vz;
    646678        return 1;
    647679}
     
    649681void FemModel::UpdateConstraintsx(void){ /*{{{*/
    650682
     683        Element   *element = NULL;
    651684        IssmDouble time;
    652         int    analysis_type;
     685        int        analysis_type;
    653686
    654687        /*retrieve parameters: */
     
    657690
    658691        /*start module: */
    659         if(VerboseModule()) _pprintLine_("   Updating constraints for time: " << time);
    660 
    661         /*First, update dof constraints in nodes, using constraints: */
     692        if(VerboseModule()) _printf0_("   Updating constraints for time: " << time << "\n");
     693
     694        /*First, Nodes might be activated/deactivated by element*/
     695        for(int i=0;i<elements->Size();i++){
     696                element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
     697                element->UpdateConstraints();
     698        }
     699
     700        /*Second, constraints might be time dependent: */
    662701        SpcNodesx(nodes,constraints,parameters,analysis_type);
    663702
     
    667706}
    668707/*}}}*/
    669 void FemModel::Responsex(IssmDouble* responses,const char* response_descriptor,bool process_units,int weight_index){/*{{{*/
     708void FemModel::Responsex(IssmDouble* responses,const char* response_descriptor,int weight_index){/*{{{*/
    670709
    671710        int response_descriptor_enum=StringToEnumx(response_descriptor);
    672         this->Responsex(responses, response_descriptor_enum, process_units, weight_index);
    673 
    674 }
    675 /*}}}*/
    676 void FemModel::Responsex(IssmDouble* responses,int response_descriptor_enum,bool process_units,int weight_index){/*{{{*/
    677 
     711        this->Responsex(responses, response_descriptor_enum,weight_index);
     712
     713}
     714/*}}}*/
     715void FemModel::Responsex(IssmDouble* responses,int response_descriptor_enum,int weight_index){/*{{{*/
    678716
    679717        switch (response_descriptor_enum){
    680718
    681719                #ifdef _HAVE_RESPONSES_
    682                 case IceVolumeEnum:              this->IceVolumex(responses,process_units); break;
    683                 case MinVelEnum:                 this->MinVelx(responses,process_units); break;
    684                 case MaxVelEnum:                 this->MaxVelx(                  responses,process_units); break;
    685                 case MinVxEnum:                  this->MinVxx(responses,process_units); break;
    686                 case MaxVxEnum:                  this->MaxVxx(                   responses,process_units); break;
    687                 case MaxAbsVxEnum:               this->MaxAbsVxx(                responses,process_units); break;
    688                 case MinVyEnum:                  this->MinVyx(responses,process_units); break;
    689                 case MaxVyEnum:                  this->MaxVyx(                   responses,process_units); break;
    690                 case MaxAbsVyEnum:               this->MaxAbsVyx(                responses,process_units); break;
    691                 case MinVzEnum:                  this->MinVzx(responses,process_units); break;
    692                 case MaxVzEnum:                  this->MaxVzx(                   responses,process_units); break;
    693                 case MaxAbsVzEnum:               this->MaxAbsVzx(                responses,process_units); break;
    694                 case MassFluxEnum:               this->MassFluxx(         responses,process_units); break;
    695                 case SurfaceAbsVelMisfitEnum:    SurfaceAbsVelMisfitx(responses, elements,nodes, vertices, loads, materials, parameters,process_units,weight_index); break;
    696                 case SurfaceRelVelMisfitEnum:    SurfaceRelVelMisfitx(responses, elements,nodes, vertices, loads, materials, parameters,process_units,weight_index); break;
    697                 case SurfaceLogVelMisfitEnum:    SurfaceLogVelMisfitx(responses, elements,nodes, vertices, loads, materials, parameters,process_units,weight_index); break;
    698                 case SurfaceLogVxVyMisfitEnum:   SurfaceLogVxVyMisfitx(responses, elements,nodes, vertices, loads, materials, parameters,process_units,weight_index); break;
    699                 case SurfaceAverageVelMisfitEnum:SurfaceAverageVelMisfitx( responses, elements,nodes, vertices, loads, materials, parameters,process_units,weight_index); break;
    700                 case ThicknessAbsMisfitEnum:     ThicknessAbsMisfitx(responses, elements,nodes, vertices, loads, materials, parameters,process_units,weight_index); break;
    701                 case ThicknessAbsGradientEnum:   this->ThicknessAbsGradientx(responses, process_units,weight_index); break;
    702                 case ThicknessAlongGradientEnum: ThicknessAlongGradientx(responses, elements,nodes, vertices, loads, materials, parameters,process_units,weight_index); break;
    703                 case ThicknessAcrossGradientEnum:ThicknessAcrossGradientx(responses, elements,nodes, vertices, loads, materials, parameters,process_units,weight_index); break;
    704                 case BalancethicknessMisfitEnum:BalancethicknessMisfitx(responses,process_units,weight_index); break;
    705                 case TotalSmbEnum:                                      this->TotalSmbx(responses,process_units); break;
    706                 case RheologyBbarAbsGradientEnum:RheologyBbarAbsGradientx(responses, elements,nodes, vertices, loads, materials, parameters,process_units,weight_index); break;
    707                 case DragCoefficientAbsGradientEnum:DragCoefficientAbsGradientx(responses, elements,nodes, vertices, loads, materials, parameters,process_units,weight_index); break;
    708                 case MaterialsRheologyBbarEnum: this->ElementResponsex(responses,MaterialsRheologyBbarEnum,process_units); break;
    709                 case VelEnum:                   this->ElementResponsex(responses,VelEnum,process_units); break;
    710                 case FrictionCoefficientEnum:NodalValuex(responses, FrictionCoefficientEnum,elements,nodes, vertices, loads, materials, parameters,process_units); break;
     720                case IceVolumeEnum:              this->IceVolumex(responses); break;
     721                case MinVelEnum:                 this->MinVelx(responses); break;
     722                case MaxVelEnum:                 this->MaxVelx(                  responses); break;
     723                case MinVxEnum:                  this->MinVxx(responses); break;
     724                case MaxVxEnum:                  this->MaxVxx(                   responses); break;
     725                case MaxAbsVxEnum:               this->MaxAbsVxx(                responses); break;
     726                case MinVyEnum:                  this->MinVyx(responses); break;
     727                case MaxVyEnum:                  this->MaxVyx(                   responses); break;
     728                case MaxAbsVyEnum:               this->MaxAbsVyx(                responses); break;
     729                case MinVzEnum:                  this->MinVzx(responses); break;
     730                case MaxVzEnum:                  this->MaxVzx(                   responses); break;
     731                case MaxAbsVzEnum:               this->MaxAbsVzx(                responses); break;
     732                case MassFluxEnum:               this->MassFluxx(         responses); break;
     733                #ifdef _HAVE_CONTROL_
     734                case SurfaceAbsVelMisfitEnum:    SurfaceAbsVelMisfitx(responses, elements,nodes, vertices, loads, materials, parameters,weight_index); break;
     735                case SurfaceRelVelMisfitEnum:    SurfaceRelVelMisfitx(responses, elements,nodes, vertices, loads, materials, parameters,weight_index); break;
     736                case SurfaceLogVelMisfitEnum:    SurfaceLogVelMisfitx(responses, elements,nodes, vertices, loads, materials, parameters,weight_index); break;
     737                case SurfaceLogVxVyMisfitEnum:   SurfaceLogVxVyMisfitx(responses, elements,nodes, vertices, loads, materials, parameters,weight_index); break;
     738                case SurfaceAverageVelMisfitEnum:SurfaceAverageVelMisfitx( responses, elements,nodes, vertices, loads, materials, parameters,weight_index); break;
     739                case ThicknessAbsMisfitEnum:     ThicknessAbsMisfitx(responses, elements,nodes, vertices, loads, materials, parameters,weight_index); break;
     740                case ThicknessAbsGradientEnum:   this->ThicknessAbsGradientx(responses,weight_index); break;
     741                case ThicknessAlongGradientEnum: ThicknessAlongGradientx(responses, elements,nodes, vertices, loads, materials, parameters,weight_index); break;
     742                case ThicknessAcrossGradientEnum:ThicknessAcrossGradientx(responses, elements,nodes, vertices, loads, materials, parameters,weight_index); break;
     743                case RheologyBbarAbsGradientEnum:RheologyBbarAbsGradientx(responses, elements,nodes, vertices, loads, materials, parameters,weight_index); break;
     744                case DragCoefficientAbsGradientEnum:DragCoefficientAbsGradientx(responses, elements,nodes, vertices, loads, materials, parameters,weight_index); break;
     745                case BalancethicknessMisfitEnum:BalancethicknessMisfitx(responses,weight_index); break;
     746                #endif
     747                case TotalSmbEnum:                                      this->TotalSmbx(responses); break;
     748                case MaterialsRheologyBbarEnum: this->ElementResponsex(responses,MaterialsRheologyBbarEnum); break;
     749                case VelEnum:                   this->ElementResponsex(responses,VelEnum); break;
     750                case FrictionCoefficientEnum:NodalValuex(responses, FrictionCoefficientEnum,elements,nodes, vertices, loads, materials, parameters); break;
    711751                default: _error_("response descriptor \"" << EnumToStringx(response_descriptor_enum) << "\" not supported yet!"); break;
    712752                #else
     
    718758/*}}}*/
    719759void FemModel::RequestedOutputsx(int* requested_outputs, int numoutputs){/*{{{*/
    720 
    721760
    722761        int      output_enum;
     
    738777
    739778                                case IceVolumeEnum:
    740                                         Responsex(&output_value,"IceVolume",false,0);
     779                                        Responsex(&output_value,"IceVolume",0);
    741780                                        results->AddObject(new GenericExternalResult<double>(results->Size()+1,IceVolumeEnum,reCast<IssmPDouble>(output_value),step,time));
    742781                                        break;
    743782                                case TotalSmbEnum:
    744                                         Responsex(&output_value,"TotalSmb",false,0);
     783                                        Responsex(&output_value,"TotalSmb",0);
    745784                                        results->AddObject(new GenericExternalResult<double>(results->Size()+1,TotalSmbEnum,reCast<IssmPDouble>(output_value),step,time));
    746785                                        break;
    747786                                case MaxVelEnum:
    748                                         Responsex(&output_value,"MaxVel",false,0);
     787                                        Responsex(&output_value,"MaxVel",0);
    749788                                        results->AddObject(new GenericExternalResult<double>(results->Size()+1,MaxVelEnum,reCast<IssmPDouble>(output_value),step,time));
    750789                                        break;
     
    763802void FemModel::RequestedDependentsx(void){/*{{{*/
    764803
    765 
    766804        bool        isautodiff      = false;
    767805        IssmDouble  output_value;
     
    811849
    812850        /*Display message*/
    813         if(VerboseModule()) _pprintLine_("   Generating matrices");
     851        if(VerboseModule()) _printf0_("   Generating matrices\n");
    814852
    815853        /*retrive parameters: */
     
    826864                for (i=0;i<this->elements->Size();i++){
    827865                        element=dynamic_cast<Element*>(this->elements->GetObjectByOffset(i));
    828                         element->CreateKMatrix(Kff_temp,NULL,NULL);
    829                 }
     866                        element->CreateKMatrix(Kff_temp,NULL);
     867                }
     868
    830869                for (i=0;i<this->loads->Size();i++){
    831870                        load=dynamic_cast<Load*>(this->loads->GetObjectByOffset(i));
     
    845884        for (i=0;i<this->elements->Size();i++){
    846885                element=dynamic_cast<Element*>(this->elements->GetObjectByOffset(i));
    847                 element->CreateKMatrix(Kff,Kfs,df);
    848         }
     886                element->CreateKMatrix(Kff,Kfs);
     887        }
     888       
    849889        for (i=0;i<this->loads->Size();i++){
    850890                load=dynamic_cast<Load*>(this->loads->GetObjectByOffset(i));
     
    872912                        if(load->InAnalysis(configuration_type)) load->PenaltyCreatePVector(pf,kmax);
    873913                }
     914        }
     915
     916        /*Create dof vector for stiffness matrix preconditioning*/
     917        for (i=0;i<this->elements->Size();i++){
     918                element=dynamic_cast<Element*>(this->elements->GetObjectByOffset(i));
     919                element->CreateDVector(df);
    874920        }
    875921
     
    884930        /*Assign output pointers: */
    885931        if(pKff) *pKff=Kff;
    886         else      xdelete(&Kff);
     932        else      delete Kff;
    887933        if(pKfs) *pKfs=Kfs;
    888         else      xdelete(&Kfs);
     934        else      delete Kfs;
    889935        if(ppf)  *ppf=pf;
    890         else      xdelete(&pf);
     936        else      delete pf;
    891937        if(pdf)  *pdf=df;
    892         else      xdelete(&df);
     938        else      delete df;
    893939        if(pkmax) *pkmax=kmax;
    894940}
     
    927973/*}}}*/
    928974#ifdef _HAVE_RESPONSES_
    929 void FemModel::MassFluxx(IssmDouble* pmass_flux,bool process_units){/*{{{*/
     975void FemModel::MassFluxx(IssmDouble* pmass_flux){/*{{{*/
    930976
    931977        int          i,j;
     
    9631009                        if (element->Id()==element_id){
    9641010                                /*We found the element which owns this segment, use it to compute the mass flux: */
    965                                 mass_flux+=element->MassFlux(segments+5*i+0,process_units);
     1011                                mass_flux+=element->MassFlux(segments+5*i+0);
    9661012                                break;
    9671013                        }
     
    9871033
    9881034}/*}}}*/
    989 void FemModel::MaxAbsVxx(IssmDouble* pmaxabsvx,bool process_units){/*{{{*/
     1035void FemModel::MaxAbsVxx(IssmDouble* pmaxabsvx){/*{{{*/
    9901036
    9911037        int i;
     
    9981044        for(i=0;i<this->elements->Size();i++){
    9991045                Element* element=(Element*)this->elements->GetObjectByOffset(i);
    1000                 element->MaxAbsVx(&element_maxabsvx,process_units);
     1046                element->MaxAbsVx(&element_maxabsvx);
    10011047                if(element_maxabsvx>maxabsvx) maxabsvx=element_maxabsvx;
    10021048        }
     
    10131059
    10141060}/*}}}*/
    1015 void FemModel::MaxAbsVyx(IssmDouble* pmaxabsvy,bool process_units){/*{{{*/
     1061void FemModel::MaxAbsVyx(IssmDouble* pmaxabsvy){/*{{{*/
    10161062
    10171063        int i;
     
    10241070        for(i=0;i<this->elements->Size();i++){
    10251071                Element* element=(Element*)this->elements->GetObjectByOffset(i);
    1026                 element->MaxAbsVy(&element_maxabsvy,process_units);
     1072                element->MaxAbsVy(&element_maxabsvy);
    10271073                if(element_maxabsvy>maxabsvy) maxabsvy=element_maxabsvy;
    10281074        }
     
    10391085
    10401086}/*}}}*/
    1041 void FemModel::MaxAbsVzx(IssmDouble* pmaxabsvz,bool process_units){/*{{{*/
     1087void FemModel::MaxAbsVzx(IssmDouble* pmaxabsvz){/*{{{*/
    10421088
    10431089        int i;
     
    10501096        for(i=0;i<this->elements->Size();i++){
    10511097                Element* element=(Element*)this->elements->GetObjectByOffset(i);
    1052                 element->MaxAbsVz(&element_maxabsvz,process_units);
     1098                element->MaxAbsVz(&element_maxabsvz);
    10531099                if(element_maxabsvz>maxabsvz) maxabsvz=element_maxabsvz;
    10541100        }
     
    10651111
    10661112}/*}}}*/
    1067 void FemModel::MaxVelx(IssmDouble* pmaxvel,bool process_units){/*{{{*/
     1113void FemModel::MaxVelx(IssmDouble* pmaxvel){/*{{{*/
    10681114
    10691115        int i;
     
    10761122        for(i=0;i<this->elements->Size();i++){
    10771123                Element* element=(Element*)this->elements->GetObjectByOffset(i);
    1078                 element->MaxVel(&element_maxvel,process_units);
     1124                element->MaxVel(&element_maxvel);
    10791125                if(element_maxvel>maxvel) maxvel=element_maxvel;
    10801126        }
     
    10911137
    10921138}/*}}}*/
    1093 void FemModel::MaxVxx(IssmDouble* pmaxvx,bool process_units){/*{{{*/
     1139void FemModel::MaxVxx(IssmDouble* pmaxvx){/*{{{*/
    10941140
    10951141        int i;
     
    11021148        for(i=0;i<this->elements->Size();i++){
    11031149                Element* element=(Element*)this->elements->GetObjectByOffset(i);
    1104                 element->MaxVx(&element_maxvx,process_units);
     1150                element->MaxVx(&element_maxvx);
    11051151                if(element_maxvx>maxvx) maxvx=element_maxvx;
    11061152        }
     
    11171163
    11181164}/*}}}*/
    1119 void FemModel::MaxVyx(IssmDouble* pmaxvy,bool process_units){/*{{{*/
     1165void FemModel::MaxVyx(IssmDouble* pmaxvy){/*{{{*/
    11201166
    11211167        int i;
     
    11281174        for(i=0;i<this->elements->Size();i++){
    11291175                Element* element=(Element*)this->elements->GetObjectByOffset(i);
    1130                 element->MaxVy(&element_maxvy,process_units);
     1176                element->MaxVy(&element_maxvy);
    11311177                if(element_maxvy>maxvy) maxvy=element_maxvy;
    11321178        }
     
    11431189
    11441190}/*}}}*/
    1145 void FemModel::MaxVzx(IssmDouble* pmaxvz,bool process_units){/*{{{*/
     1191void FemModel::MaxVzx(IssmDouble* pmaxvz){/*{{{*/
    11461192
    11471193        int i;
     
    11541200        for(i=0;i<this->elements->Size();i++){
    11551201                Element* element=(Element*)this->elements->GetObjectByOffset(i);
    1156                 element->MaxVz(&element_maxvz,process_units);
     1202                element->MaxVz(&element_maxvz);
    11571203                if(element_maxvz>maxvz) maxvz=element_maxvz;
    11581204        }
     
    11691215
    11701216}/*}}}*/
    1171 void FemModel::MinVelx(IssmDouble* pminvel,bool process_units){/*{{{*/
     1217void FemModel::MinVelx(IssmDouble* pminvel){/*{{{*/
    11721218
    11731219        int i;
     
    11801226        for(i=0;i<this->elements->Size();i++){
    11811227                Element* element=(Element*)this->elements->GetObjectByOffset(i);
    1182                 element->MinVel(&element_minvel,process_units);
     1228                element->MinVel(&element_minvel);
    11831229                if(element_minvel<minvel) minvel=element_minvel;
    11841230        }
     
    11951241
    11961242}/*}}}*/
    1197 void FemModel::MinVxx(IssmDouble* pminvx,bool process_units){/*{{{*/
     1243void FemModel::MinVxx(IssmDouble* pminvx){/*{{{*/
    11981244
    11991245        int i;
     
    12061252        for(i=0;i<this->elements->Size();i++){
    12071253                Element* element=(Element*)this->elements->GetObjectByOffset(i);
    1208                 element->MinVx(&element_minvx,process_units);
     1254                element->MinVx(&element_minvx);
    12091255                if(element_minvx<minvx) minvx=element_minvx;
    12101256        }
     
    12211267
    12221268}/*}}}*/
    1223 void FemModel::MinVyx(IssmDouble* pminvy,bool process_units){/*{{{*/
     1269void FemModel::MinVyx(IssmDouble* pminvy){/*{{{*/
    12241270
    12251271        int i;
     
    12321278        for(i=0;i<this->elements->Size();i++){
    12331279                Element* element=(Element*)this->elements->GetObjectByOffset(i);
    1234                 element->MinVy(&element_minvy,process_units);
     1280                element->MinVy(&element_minvy);
    12351281                if(element_minvy<minvy) minvy=element_minvy;
    12361282        }
     
    12471293
    12481294}/*}}}*/
    1249 void FemModel::MinVzx(IssmDouble* pminvz,bool process_units){/*{{{*/
     1295void FemModel::MinVzx(IssmDouble* pminvz){/*{{{*/
    12501296
    12511297        int i;
     
    12581304        for(i=0;i<this->elements->Size();i++){
    12591305                Element* element=(Element*)this->elements->GetObjectByOffset(i);
    1260                 element->MinVz(&element_minvz,process_units);
     1306                element->MinVz(&element_minvz);
    12611307                if(element_minvz<minvz) minvz=element_minvz;
    12621308        }
     
    12731319
    12741320}/*}}}*/
    1275 void FemModel::TotalSmbx(IssmDouble* pSmb,bool process_units){/*{{{*/
     1321void FemModel::TotalSmbx(IssmDouble* pSmb){/*{{{*/
    12761322
    12771323        IssmDouble local_smb = 0;
     
    12931339
    12941340}/*}}}*/
    1295 void FemModel::IceVolumex(IssmDouble* pV,bool process_units){/*{{{*/
     1341void FemModel::IceVolumex(IssmDouble* pV){/*{{{*/
    12961342
    12971343        IssmDouble local_ice_volume = 0;
     
    13131359
    13141360}/*}}}*/
    1315 void FemModel::ElementResponsex(IssmDouble* presponse,int response_enum,bool process_units){/*{{{*/
     1361void FemModel::ElementResponsex(IssmDouble* presponse,int response_enum){/*{{{*/
    13161362
    13171363        int found=0;
     
    13441390        /*Ok, we found the element, compute responseocity: */
    13451391        if(my_rank==cpu_found){
    1346                 element->ElementResponse(&response,response_enum,IuToExtEnum);
     1392                element->ElementResponse(&response,response_enum);
    13471393        }
    13481394
     
    13591405#endif
    13601406#ifdef _HAVE_CONTROL_
    1361 void FemModel::BalancethicknessMisfitx(IssmDouble* presponse,bool process_units,int weight_index){/*{{{*/
     1407void FemModel::BalancethicknessMisfitx(IssmDouble* presponse,int weight_index){/*{{{*/
    13621408
    13631409        IssmDouble J = 0;
     
    13661412        for(int i=0;i<this->elements->Size();i++){
    13671413                Element* element=dynamic_cast<Element*>(this->elements->GetObjectByOffset(i));
    1368                 J+=element->BalancethicknessMisfit(process_units,weight_index);
     1414                J+=element->BalancethicknessMisfit(weight_index);
    13691415        }
    13701416        #ifdef _HAVE_MPI_
     
    13781424
    13791425}/*}}}*/
    1380 void FemModel::ThicknessAbsGradientx( IssmDouble* pJ, bool process_units, int weight_index){/*{{{*/
    1381 
     1426void FemModel::ThicknessAbsGradientx( IssmDouble* pJ, int weight_index){/*{{{*/
    13821427
    13831428        /*Intermediary*/
     
    13921437        for (i=0;i<elements->Size();i++){
    13931438                element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
    1394                 J+=element->ThicknessAbsGradient(process_units,weight_index);
     1439                J+=element->ThicknessAbsGradient(weight_index);
    13951440        }
    13961441
     
    14081453void FemModel::CostFunctionx(IssmDouble* pJ){/*{{{*/
    14091454
    1410 
    14111455        /*Intermediary*/
    14121456        int      num_responses;
     
    14241468        J=0;
    14251469        for(int i=0;i<num_responses;i++){
    1426                 this->Responsex(&Jplus,EnumToStringx(responses[i]),false,i); //False means DO NOT process units
     1470                this->Responsex(&Jplus,EnumToStringx(responses[i]),i);
    14271471                J+=Jplus;
    14281472        }
     
    14371481void FemModel::DakotaResponsesx(double* d_responses,char** responses_descriptors,int numresponsedescriptors,int d_numresponses){/*{{{*/
    14381482
    1439 
    14401483        int        i,j;
    14411484        int        my_rank;
    1442         bool       process_units = true;
    14431485
    14441486        /*intermediary: */
     
    14931535                        parameters->SetParam(index,IndexEnum);
    14941536
    1495                         this->Responsex(&femmodel_response,root,process_units,0);//0 is the index for weights
     1537                        this->Responsex(&femmodel_response,root,0);//0 is the index for weights
    14961538
    14971539                        if(my_rank==0){
     
    15121554
    15131555                        /*perfectly normal response function: */
    1514                         this->Responsex(&femmodel_response,root,process_units,0);//0 is the weight index
     1556                        this->Responsex(&femmodel_response,root,0);//0 is the weight index
    15151557
    15161558                        if(my_rank==0){
     
    15271569        /*Synthesize echo: {{{*/
    15281570        if(my_rank==0){
    1529                 _printString_("   responses: " << d_numresponses << ": ");
    1530                 for(i=0;i<d_numresponses-1;i++)_printString_(d_responses[i] << "|");
    1531                 _printString_(d_responses[d_numresponses-1]);
    1532                 _printLine_("");
     1571                _printf_("   responses: " << d_numresponses << ": ");
     1572                for(i=0;i<d_numresponses-1;i++)_printf_(d_responses[i] << "|");
     1573                _printf_(d_responses[d_numresponses-1]);
     1574                _printf_("\n");
    15331575        }
    15341576        /*}}}*/
     
    15371579/*}}}*/
    15381580#endif
     1581#ifdef _HAVE_GIA_
     1582void FemModel::Deflection(Vector<IssmDouble>* wg,Vector<IssmDouble>* dwgdt, IssmDouble* x, IssmDouble* y){ /*{{{*/
     1583
     1584  int      i;
     1585
     1586        /*intermediary: */
     1587        Element *element     = NULL;
     1588
     1589        /*Go through elements, and add contribution from each element to the deflection vector wg:*/
     1590        for (i=0;i<elements->Size();i++){
     1591                element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
     1592                element->GiaDeflection(wg,dwgdt, x,y);
     1593        }
     1594}
     1595/*}}}*/
     1596#endif
     1597
     1598#ifdef _HAVE_HYDROLOGY_
     1599void FemModel::HydrologyEPLupdateDomainx(void){ /*{{{*/
     1600
     1601        Vector<IssmDouble>* mask          = NULL;
     1602        IssmDouble*         serial_mask   = NULL;
     1603        Vector<IssmDouble>* active        = NULL;
     1604        IssmDouble*         serial_active = NULL;
     1605
     1606        /*Step 1: update maks, the mask might be extended by residual and/or using downstream sediment head*/
     1607        mask=new Vector<IssmDouble>(nodes->NumberOfNodes(HydrologyDCEfficientAnalysisEnum));
     1608        for (int i=0;i<elements->Size();i++){
     1609                Element* element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
     1610                element->HydrologyEPLGetMask(mask);
     1611        }
     1612
     1613        /*Assemble and serialize*/
     1614        mask->Assemble();
     1615        serial_mask=mask->ToMPISerial();
     1616        delete mask;
     1617
     1618        /*Update Mask*/
     1619        InputUpdateFromVectorx(elements,nodes,vertices,loads,materials,parameters,serial_mask,HydrologydcMaskEplactiveEnum,NodeSIdEnum);
     1620        xDelete<IssmDouble>(serial_mask);
     1621
     1622        /*Step 2: update node activity. If one element is connected to mask=1, all nodes are active*/
     1623        active=new Vector<IssmDouble>(nodes->NumberOfNodes(HydrologyDCEfficientAnalysisEnum));
     1624        for (int i=0;i<elements->Size();i++){
     1625                Element* element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
     1626                element->HydrologyEPLGetActive(active);
     1627        }
     1628
     1629        /*Assemble and serialize*/
     1630        active->Assemble();
     1631        serial_active=active->ToMPISerial();
     1632        delete active;
     1633
     1634        /*Update node activation accordingly*/
     1635        int counter =0;
     1636        for (int i=0;i<nodes->Size();i++){
     1637                Node* node=dynamic_cast<Node*>(nodes->GetObjectByOffset(i));
     1638                if(node->InAnalysis(HydrologyDCEfficientAnalysisEnum)){
     1639                        if(serial_active[node->Sid()]==1.){
     1640                                node->Activate();
     1641                                counter++;
     1642                        }
     1643                        else{
     1644                                node->Deactivate();
     1645                        }
     1646                }
     1647        }
     1648        xDelete<IssmDouble>(serial_active);
     1649        #ifdef _HAVE_MPI_
     1650        int sum_counter;
     1651        MPI_Reduce(&counter,&sum_counter,1,MPI_INT,MPI_SUM,0,IssmComm::GetComm() );
     1652        MPI_Bcast(&sum_counter,1,MPI_INT,0,IssmComm::GetComm());               
     1653        counter=sum_counter;
     1654        #endif
     1655        if(VerboseSolution()) _printf0_("   Number of active nodes in EPL layer: "<< counter <<"\n");
     1656
     1657        /*Update dof indexings*/
     1658        this->UpdateConstraintsx();
     1659
     1660}
     1661/*}}}*/
     1662void FemModel::HydrologyTransferx(void){ /*{{{*/
     1663
     1664        Vector<IssmDouble>* transferg=NULL;
     1665
     1666        /*Vector allocation*/
     1667        transferg=new Vector<IssmDouble>(nodes->NumberOfNodes());
     1668
     1669        for (int i=0;i<elements->Size();i++){
     1670                Element* element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
     1671                element->GetHydrologyTransfer(transferg);
     1672        }
     1673        /*Assemble*/
     1674        transferg->Assemble();
     1675
     1676        /*Update Inputs*/
     1677        InputUpdateFromVectorx(elements,nodes,vertices,loads,materials,parameters,transferg,WaterTransferEnum,NodesEnum);
     1678
     1679        delete transferg;
     1680}
     1681/*}}}*/
     1682#endif
  • issm/trunk/src/c/classes/FemModel.h

    r14310 r15396  
    88/*Headers:*/
    99/*{{{*/
    10 #include "./objects/Object.h"
    1110#include "../toolkits/toolkits.h"
    1211class DataSet;
     
    6564                /*Modules*/
    6665                #ifdef _HAVE_RESPONSES_
    67                 void MassFluxx(IssmDouble* presponse,bool process_units);
    68                 void MaxAbsVxx(IssmDouble* presponse,bool process_units);
    69                 void MaxAbsVyx(IssmDouble* presponse,bool process_units);
    70                 void MaxAbsVzx(IssmDouble* presponse,bool process_units);
    71                 void MaxVelx(IssmDouble* presponse,bool process_units);
    72                 void MaxVxx(IssmDouble* presponse,bool process_units);
    73                 void MaxVyx(IssmDouble* presponse,bool process_units);
    74                 void MaxVzx(IssmDouble* presponse,bool process_units);
    75                 void MinVelx(IssmDouble* presponse,bool process_units);
    76                 void MinVxx(IssmDouble* presponse,bool process_units);
    77                 void MinVyx(IssmDouble* presponse,bool process_units);
    78                 void MinVzx(IssmDouble* presponse,bool process_units);
    79                 void TotalSmbx(IssmDouble* pSmb,bool process_units);
    80                 void IceVolumex(IssmDouble* pV,bool process_units);
    81                 void ElementResponsex(IssmDouble* presponse,int response_enum,bool process_units);
    82                 void BalancethicknessMisfitx(IssmDouble* pV,bool process_units,int weight_index);
     66                void MassFluxx(IssmDouble* presponse);
     67                void MaxAbsVxx(IssmDouble* presponse);
     68                void MaxAbsVyx(IssmDouble* presponse);
     69                void MaxAbsVzx(IssmDouble* presponse);
     70                void MaxVelx(IssmDouble* presponse);
     71                void MaxVxx(IssmDouble* presponse);
     72                void MaxVyx(IssmDouble* presponse);
     73                void MaxVzx(IssmDouble* presponse);
     74                void MinVelx(IssmDouble* presponse);
     75                void MinVxx(IssmDouble* presponse);
     76                void MinVyx(IssmDouble* presponse);
     77                void MinVzx(IssmDouble* presponse);
     78                void TotalSmbx(IssmDouble* pSmb);
     79                void IceVolumex(IssmDouble* pV);
     80                void ElementResponsex(IssmDouble* presponse,int response_enum);
     81                void BalancethicknessMisfitx(IssmDouble* pV,int weight_index);
    8382                #endif
    8483                #ifdef  _HAVE_DAKOTA_
     
    8786                void RequestedOutputsx(int* requested_outputs, int numoutputs);
    8887                void RequestedDependentsx(void);
    89                 void Responsex(IssmDouble* presponse,int response_descriptor_enum,bool process_units,int weight_index);
    90                 void Responsex(IssmDouble* presponse,const char* response_descriptor,bool process_units,int weight_index);
     88                void Responsex(IssmDouble* presponse,int response_descriptor_enum,int weight_index);
     89                void Responsex(IssmDouble* presponse,const char* response_descriptor,int weight_index);
    9190                #ifdef _HAVE_CONTROL_
    9291                void CostFunctionx( IssmDouble* pJ);
    93                 void ThicknessAbsGradientx( IssmDouble* pJ, bool process_units,int weight_index);
     92                void ThicknessAbsGradientx( IssmDouble* pJ,int weight_index);
     93                #endif
     94                #ifdef _HAVE_GIA_
     95                void Deflection(Vector<IssmDouble>* wg,Vector<IssmDouble>* dwgdt, IssmDouble* x, IssmDouble* y);
    9496                #endif
    9597                void SystemMatricesx(Matrix<IssmDouble>** pKff, Matrix<IssmDouble>** pKfs, Vector<IssmDouble>** ppf, Vector<IssmDouble>** pdf, IssmDouble* pkmax);
     
    9799                void UpdateConstraintsx(void);
    98100                int  UpdateVertexPositionsx(void);
     101                void ParEplMask(void);         
     102                void HydrologyTransferx(void);
     103                void HydrologyEPLupdateDomainx(void);
    99104};
    100105
  • issm/trunk/src/c/classes/Hook.cpp

    r13975 r15396  
    1212#include <string.h>
    1313#include "./classes.h"
    14 #include "../Container/Container.h"
    15 #include "../EnumDefinitions/EnumDefinitions.h"
     14#include "../shared/Enum/Enum.h"
    1615#include "../shared/shared.h"
    17 #include "../include/include.h"
    1816
    1917/*Constructor/Destructors*/
     
    6866        int i;
    6967        if (num){
    70                 _printLine_("   Hook: ");
    71                 _printLine_("      num=" << this->num);
    72                 _printString_("      ids: ");
    73                 for (i=0;i<this->num;i++) _printString_(this->ids[i] << " ");
    74                 _printLine_("");
    75                 _printString_("      offsets: ");
    76                 for (i=0;i<this->num;i++) _printString_(this->offsets[i] << " ");
    77                 _printLine_("");
     68                _printf_("   Hook: \n");
     69                _printf_("      num=" << this->num << "\n");
     70                _printf_("      ids: ");
     71                for (i=0;i<this->num;i++) _printf_(this->ids[i] << " ");
     72                _printf_("\n");
     73                _printf_("      offsets: ");
     74                for (i=0;i<this->num;i++) _printf_(this->offsets[i] << " ");
     75                _printf_("\n");
    7876        }
    7977        else{
    80                 _printLine_("   Hook: num=0 ");
     78                _printf_("   Hook: num=0 \n");
    8179        }
    8280}
     
    8785        int i;
    8886        if (num){
    89                 _printLine_("   Hook: ");
    90                 _printLine_("      num=" << this->num);
    91                 _printString_("      ids: ");
    92                 for (i=0;i<this->num;i++) _printString_(this->ids[i] << " ");
    93                 _printLine_("");
    94                 _printString_("      offsets: ");
    95                 for (i=0;i<this->num;i++) _printString_(this->offsets[i] << " ");
    96                 _printLine_("");
    97                 if (!objects) _printLine_("      warning: object not hooked yet");
     87                _printf_("   Hook: \n");
     88                _printf_("      num=" << this->num << "\n");
     89                _printf_("      ids: ");
     90                for (i=0;i<this->num;i++) _printf_(this->ids[i] << " ");
     91                _printf_("\n");
     92                _printf_("      offsets: ");
     93                for (i=0;i<this->num;i++) _printf_(this->offsets[i] << " ");
     94                _printf_("\n");
     95                if (!objects) _printf_("      warning: object not hooked yet\n");
    9896                else{
    99                         _printString_("      objects:\n   ");
     97                        _printf_("      objects:\n   ");
    10098                        for (i=0;i<this->num;i++){
    101                                 _printLine_("         object " << i);
     99                                _printf_("         object " << i << "\n");
    102100                                if(objects[i]) objects[i]->DeepEcho();
    103                                 else           _printLine_("            no object hooked yet (not configured)");
     101                                else           _printf_("            no object hooked yet (not configured)\n");
    104102                        }
    105103                }
    106104        }
    107105        else{
    108                 _printLine_("   Hook: num=0 ");
     106                _printf_("   Hook: num=0 \n");
    109107        }
    110108}
  • issm/trunk/src/c/classes/Hook.h

    r13975 r15396  
    1111/*Headers:*/
    1212/*{{{*/
    13 #include "./objects/Object.h"
    14 class DataSet;
     13#include "../datastructures/datastructures.h"
    1514/*}}}*/
    1615
  • issm/trunk/src/c/classes/IoModel.cpp

    r13975 r15396  
    1616
    1717#include "./classes.h"
    18 #include "../io/io.h"
    19 #include "../Container/Parameters.h"
     18#include "../shared/io/io.h"
    2019#include "../shared/shared.h"
    21 #include "../include/include.h"
    2220
    2321/*FUNCTION IoModel::IoModel(){{{*/
     
    2624        this->data=NULL;
    2725        this->independents=NULL;
     26        this->independent_objects=NULL;
    2827        this->constants=NULL;
    2928
     
    3130        this->my_nodes=NULL;
    3231        this->my_vertices=NULL;
     32
    3333        this->singlenodetoelementconnectivity=NULL;
    3434        this->numbernodetoelementconnectivity=NULL;
     
    6565        this->my_nodes=NULL;
    6666        this->my_vertices=NULL;
     67
    6768        this->singlenodetoelementconnectivity=NULL;
    6869        this->numbernodetoelementconnectivity=NULL;
     
    8384                for(int i=0;i<MaximumNumberOfEnums;i++){
    8485                        if(this->data[i]){
    85                                 _pprintLine_("Info: previous pointer of " << EnumToStringx(i) << " has not been freed (DeleteData has not been called)");
     86                                _printf0_("Info: previous pointer of " << EnumToStringx(i) << " has not been freed (DeleteData has not been called)\n");
    8687                        }
    8788                }
     
    124125                else{
    125126                        if(record_enum!=MaximumNumberOfEnums){
    126                                 _printLine_("");
    127                                 _printLine_("=========================================================================");
    128                                 _printLine_(" Enums in marshalled file are not compatible with compiled code          ");
    129                                 _printLine_("                                                                         ");
    130                                 _printLine_("   * If you are running ISSM on a remote cluster:                        ");
    131                                 _printLine_("     make sure that you are using the same version of ISSM on your local ");
    132                                 _printLine_("     machine and remote cluster (you might need to run svn update)       ");
    133                                 _printLine_("   * If you are running ISSM on your local machine:                      ");
    134                                 _printLine_("     make sure that all the code is compiled (modules and executables)   ");
    135                                 _printLine_("   * If you are a developer and just added a new Enum:                   ");
    136                                 _printLine_("     you might need to run ./Synchronize.sh in src/c/EnumDefinitions     ");
    137                                 _printLine_("     and recompile                                                       ");
    138                                 _printLine_("=========================================================================");
    139                                 _printLine_("");
     127                                _printf0_("\n");
     128                                _printf0_("=========================================================================\n");
     129                                _printf0_(" Enums in marshalled file are not compatible with compiled code          \n");
     130                                _printf0_("                                                                         \n");
     131                                _printf0_("   * If you are running ISSM on a remote cluster:                        \n");
     132                                _printf0_("     make sure that you are using the same version of ISSM on your local \n");
     133                                _printf0_("     machine and remote cluster (you might need to run svn update)       \n");
     134                                _printf0_("   * If you are running ISSM on your local machine:                      \n");
     135                                _printf0_("     make sure that all the code is compiled (modules and executables)   \n");
     136                                _printf0_("   * If you are a developer and just added a new Enum:                   \n");
     137                                _printf0_("     you might need to run ./Synchronize.sh in src/c/EnumDefinitions     \n");
     138                                _printf0_("     and recompile                                                       \n");
     139                                _printf0_("=========================================================================\n");
     140                                _printf0_("\n");
    140141                                _error_("Enums not consistent (See error message above)");
    141142                        }
     
    204205void IoModel::DeclareIndependents(void){
    205206
    206         int         i;
    207         bool        autodiff                = false;
    208         int         num_independent_objects;
     207        int  i;
     208        bool autodiff = false;
     209        int  num_independent_objects;
    209210
    210211        int *names = NULL;
    211212        int *types = NULL;
    212213
    213         int         numberofvertices;
    214         int         dummy;
    215         bool        keep=false;
     214        int  dummy;
     215        bool keep=false;
    216216
    217217        /*Initialize array detecting whether data[i] is an independent AD mode variable: */
     
    222222        if(autodiff){
    223223
    224                 this->FetchData(&numberofvertices,MeshNumberofverticesEnum);
    225 
    226224                #ifdef _HAVE_ADOLC_
    227 
    228                 /*Start trace: {{{*/
     225                /*Start trace*/
    229226                this->FetchData(&keep,AutodiffKeepEnum);
    230227                if(keep)trace_on(1,1);
    231228                else    trace_on(1);
    232229
    233                 /*}}}*/
    234                 /*build dataset made of independent objects: {{{*/
     230                /*build dataset made of independent objects:*/
    235231                this->independent_objects=new DataSet();
    236232                this->FetchData(&num_independent_objects,AutodiffNumIndependentObjectsEnum);
     
    244240
    245241                                IndependentObject* independent_object=NULL;
    246                                 independent_object=new IndependentObject(names[i],types[i],numberofvertices);
     242                                independent_object=new IndependentObject(names[i],types[i]);
    247243
    248244                                /*add to independent_objects dataset:*/
     
    254250                        xDelete<int>(names);
    255251                        xDelete<int>(types);
    256                 } /*}}}*/
    257 
     252                }
    258253                #else
    259254                /*if we asked for AD computations, we have a problem!: */
     
    337332
    338333                                /* Read the record length and the data type code: */
    339                                 fread(&record_length,sizeof(int),1,this->fid);
    340                                 fread(&record_code,sizeof(int),1,this->fid);
     334                                if(fread(&record_length,sizeof(int),1,this->fid)!=1) _error_("Cound not read record_length");
     335                                if(fread(&record_code  ,sizeof(int),1,this->fid)!=1) _error_("Cound not read record_code");
    341336
    342337                                #ifdef _HAVE_MPI_
     
    685680        int*    integer_matrix=NULL;
    686681        int code=0;
    687         int vector_type=0;
    688682
    689683        /*recover my_rank:*/
     
    691685
    692686        /*Set file pointer to beginning of the data: */
    693         fid=this->SetFilePointerToData(&code,&vector_type,data_enum);
     687        fid=this->SetFilePointerToData(&code,NULL,data_enum);
    694688
    695689        if((code!=5) && (code!=6) && (code!=7))_error_("expecting a IssmDouble, integer or boolean matrix for enum " << EnumToStringx(data_enum));
     
    759753        IssmPDouble* matrix=NULL;
    760754        int code=0;
    761         int vector_type=0;
    762755
    763756        /*recover my_rank:*/
     
    765758
    766759        /*Set file pointer to beginning of the data: */
    767         fid=this->SetFilePointerToData(&code,&vector_type,data_enum);
     760        fid=this->SetFilePointerToData(&code,NULL,data_enum);
    768761        if((code!=5) && (code!=6) && (code!=7))_error_("expecting a IssmDouble, integer or boolean matrix for enum " << EnumToStringx(data_enum));
    769762
     
    12661259
    12671260        int my_rank;
    1268         int        lastindex,index;
    1269         int        record_length;
     1261        int lastindex,index;
     1262        int record_length;
    12701263
    12711264        /*recover my_rank:*/
     
    12871280
    12881281                        /*read the record length, and use it to skip this record: */
    1289                         fread(&record_length,sizeof(int),1,fid);
     1282                        if(fread(&record_length,sizeof(int),1,fid)!=1) _error_("Could not read record_length");
    12901283                        fseek(fid,record_length,SEEK_CUR);
    12911284                        lastindex=index;
     
    13341327                                /*Ok, we have found the correct string. Pass the record length, and read data type code: */
    13351328                                fseek(fid,sizeof(int),SEEK_CUR);
    1336                                 fread(&record_code,sizeof(int),1,fid);
     1329                                if(fread(&record_code,sizeof(int),1,fid)!=1) _error_("Could not read record_code");
    13371330
    13381331                                /*if record_code points to a vector, get its type (nodal or elementary): */
    1339                                 if(5<=record_code && record_code<=7)fread(&vector_type,sizeof(int),1,fid);
     1332                                if(5<=record_code && record_code<=7){
     1333                                        if(fread(&vector_type,sizeof(int),1,fid)!=1) _error_("Could not read vector_type");
     1334                                }
    13401335                                found=1;
    13411336                                break;
     
    13431338                        else{
    13441339                                /*This is not the correct string, read the record length, and use it to skip this record: */
    1345                                 fread(&record_length,sizeof(int),1,fid);
     1340                                if(fread(&record_length,sizeof(int),1,fid)!=1) _error_("Could not read record_length");
    13461341                                /*skip: */
    13471342                                fseek(fid,record_length,SEEK_CUR);
  • issm/trunk/src/c/classes/IoModel.h

    r13975 r15396  
    88#define _IOMODEL_H
    99
    10 #include "../include/include.h"
    11 #include "../EnumDefinitions/EnumDefinitions.h"
     10#include "../shared/Enum/Enum.h"
    1211
    1312class Parameters;
     
    2423                IssmDouble **data;   //this dataset holds temporary data, memory intensive.
    2524
    26                 /*This data needs to stay memory resident at all time, even if it's memory intensive: */
    27                 FILE *fid;                               //pointer to input file
     25                /*pointer to input file*/
     26                FILE *fid;
     27
     28                /*Partitioning*/
    2829                bool *my_elements;
    2930                bool *my_nodes;
    3031                int  *my_vertices;
     32
     33                /*Connectivity tables*/
    3134                int  *singlenodetoelementconnectivity;
    3235                int  *numbernodetoelementconnectivity;
    3336
    3437                /*Data to synchronize through low level object drivers: */
    35                 int nodecounter;         //keep track of how many nodes are being created in each analysis type
    36                 int loadcounter;         //keep track of how many loads are being created in each analysis type
    37                 int constraintcounter;   //keep track of how many constraints are being created in each analysis type
     38                int nodecounter;         //keep track of how many nodes are being created in each analysis
     39                int loadcounter;         //keep track of how many loads are being created in each analysis
     40                int constraintcounter;   //keep track of how many constraints are being created in each analysis
    3841
    3942                /*for AD mode: to keep track of our independent variables we fetch:*/
    40                 bool* independents;
    41                 DataSet* independent_objects;
     43                bool    *independents;
     44                DataSet *independent_objects;
    4245
    4346                /*Methods*/
     
    6770                void        FetchData(Option **poption,int data_enum);
    6871                void        FetchData(int num,...);
    69                 void        FetchDataToInput(Elements* elements,int vector_enum,int default_vector_enum=NoneEnum,IssmDouble default_value=0);
     72                void        FetchDataToInput(Elements* elements,int vector_enum,int default_vector_enum=NoneEnum,IssmDouble default_value=0.);
    7073                void        LastIndex(int *pindex);
    7174                FILE*       SetFilePointerToData(int* pcode,int* pvector_type, int data_enum);
  • issm/trunk/src/c/classes/Patch.cpp

    r13975 r15396  
    1414#include <math.h>
    1515#include "./classes.h"
    16 #include "../Container/Container.h"
    17 #include "../io/io.h"
    18 #include "../EnumDefinitions/EnumDefinitions.h"
    1916#include "../shared/shared.h"
    20 #include "../include/include.h"
    2117
    2218/*Object constructors and destructors:*/
  • issm/trunk/src/c/classes/RiftStruct.cpp

    r14310 r15396  
    44
    55#include "./classes.h"
    6 #include "../EnumDefinitions/EnumDefinitions.h"
     6#include "../shared/Enum/Enum.h"
    77#include "../shared/shared.h"
    8 #include "../include/include.h"
    98
    109/*RiftStruct constructors and destructor*/
  • issm/trunk/src/c/classes/classes.h

    r13975 r15396  
    33 */
    44
    5 #ifndef ALL_CLASSES_H_
    6 #define ALL_CLASSES_H_
     5#ifndef _ALL_CLASSES_H_
     6#define _ALL_CLASSES_H_
    77
    8 /*Objects derived classes, which are used in our containers: */
    9 #include "./objects/objects.h"
     8/*Objects: */
     9#include "./Contour.h"
     10#include "./Vertices.h"
     11#include "./Vertex.h"
     12#include "./Nodes.h"
     13#include "./Contours.h"
     14#include "./Node.h"
     15#include "./Profiler.h"
     16#include "./DependentObject.h"
     17#include "./IndependentObject.h"
     18#include "./Segment.h"
     19
     20/*Constraints: */
     21#include "./Constraints/Constraints.h"
     22#include "./Constraints/Constraint.h"
     23#include "./Constraints/SpcStatic.h"
     24#include "./Constraints/SpcTransient.h"
     25#include "./Constraints/SpcDynamic.h"
     26
     27/*Loads: */
     28#include "./Loads/Loads.h"
     29#include "./Loads/Load.h"
     30#include "./Loads/Friction.h"
     31#include "./Loads/Icefront.h"
     32#include "./Loads/Numericalflux.h"
     33#include "./Loads/Riftfront.h"
     34#include "./Loads/Penpair.h"
     35#include "./Loads/Pengrid.h"
     36
     37/*Elements: */
     38#include "./Elements/Elements.h"
     39#include "./Elements/Element.h"
     40#include "./Elements/Penta.h"
     41#include "./Elements/PentaRef.h"
     42#include "./Elements/Tria.h"
     43#include "./Elements/TriaRef.h"
     44#include "./Elements/ElementHook.h"
     45
     46/*Option parsing objects: */
     47#include "./Options/Option.h"
     48#include "./Options/Options.h"
     49#include "./Options/GenericOption.h"
     50#include "./Options/OptionUtilities.h"
     51
     52/*Inputs: */
     53#include "./Inputs/Inputs.h"
     54#include "./Inputs/Input.h"
     55#include "./Inputs/BoolInput.h"
     56#include "./Inputs/DoubleInput.h"
     57#include "./Inputs/IntInput.h"
     58#include "./Inputs/PentaP1Input.h"
     59#include "./Inputs/TriaInput.h"
     60#include "./Inputs/ControlInput.h"
     61#include "./Inputs/DatasetInput.h"
     62#include "./Inputs/TransientInput.h"
     63
     64/*ElementResults: */
     65#include "./ElementResults/ElementResult.h"
     66#include "./ElementResults/DoubleElementResult.h"
     67#include "./ElementResults/TriaP1ElementResult.h"
     68#include "./ElementResults/PentaP1ElementResult.h"
     69#include "./ElementResults/BoolElementResult.h"
     70
     71/*ExternalResults: */
     72#include "./ExternalResults/Results.h"
     73#include "./ExternalResults/ExternalResult.h"
     74#include "./ExternalResults/GenericExternalResult.h"
     75
     76/*Materials: */
     77#include "./Materials/Materials.h"
     78#include "./Materials/Material.h"
     79#include "./Materials/Matice.h"
     80#include "./Materials/Matdamageice.h"
     81#include "./Materials/Matpar.h"
     82
     83/*Params: */
     84#include "./Params/GenericParam.h"
     85#include "./Params/BoolParam.h"
     86#include "./Params/DoubleMatParam.h"
     87#include "./Params/DoubleTransientMatParam.h"
     88#include "./Params/DoubleMatArrayParam.h"
     89#include "./Params/DoubleParam.h"
     90#include "./Params/DoubleVecParam.h"
     91#include "./Params/IntParam.h"
     92#include "./Params/IntVecParam.h"
     93#include "./Params/IntMatParam.h"
     94#include "./Params/FileParam.h"
     95#include "./Params/Parameters.h"
     96#include "./Params/Param.h"
     97#include "./Params/MatrixParam.h"
     98#include "./Params/VectorParam.h"
     99#include "./Params/StringArrayParam.h"
     100#include "./Params/StringParam.h"
     101#include "./Params/TransientParam.h"
     102#include "./Params/DataSetParam.h"
    10103
    11104/*matrix: */
    12105#include "./matrix/matrixobjects.h"
    13 
    14 /*bamg: */
    15 #include "./bamg/bamgobjects.h"
    16106
    17107/*gauss: */
     
    28118#include "./Update.h"
    29119#include "./FemModel.h"
    30 #include "./OptArgs.h"
    31 #include "./OptPars.h"
    32 #include "./AdolcEdf.h"
    33 #include "./IssmComm.h"
     120#include "./GiaDeflectionCoreArgs.h"
    34121#include "./RiftStruct.h"
    35122
  • issm/trunk/src/c/classes/gauss/GaussPenta.cpp

    r13395 r15396  
    33 */
    44
    5 #include "./gaussobjects.h"
     5#include "./GaussPenta.h"
     6#include "./GaussTria.h"
     7#include "../../shared/io/Print/Print.h"
     8#include "../../shared/Exceptions/exceptions.h"
     9#include "../../shared/MemOps/MemOps.h"
     10#include "../../shared/Numerics/GaussPoints.h"
     11#include "../../shared/Numerics/constants.h"
    612
    713/*GaussPenta constructors and destructors:*/
     
    3137        int     numgauss_horiz;
    3238        int     numgauss_vert;
    33         double *coords1_horiz = NULL;
    34         double *coords2_horiz = NULL;
    35         double *coords3_horiz = NULL;
    36         double *weights_horiz  = NULL;
     39        IssmDouble *coords1_horiz = NULL;
     40        IssmDouble *coords2_horiz = NULL;
     41        IssmDouble *coords3_horiz = NULL;
     42        IssmDouble *weights_horiz  = NULL;
    3743        double *coords_vert = NULL;
    3844        double *weights_vert   = NULL;
     
    4551        /*Allocate GaussPenta fields*/
    4652        numgauss=numgauss_horiz*numgauss_vert;
    47         coords1=xNew<double>(numgauss);
    48         coords2=xNew<double>(numgauss);
    49         coords3=xNew<double>(numgauss);
    50         coords4=xNew<double>(numgauss);
    51         weights=xNew<double>(numgauss);
     53        coords1=xNew<IssmDouble>(numgauss);
     54        coords2=xNew<IssmDouble>(numgauss);
     55        coords3=xNew<IssmDouble>(numgauss);
     56        coords4=xNew<IssmDouble>(numgauss);
     57        weights=xNew<IssmDouble>(numgauss);
    5258
    5359        /*Combine Horizontal and vertical points*/
     
    7076
    7177        /*Clean up*/
    72         xDelete<double>(coords1_horiz);
    73         xDelete<double>(coords2_horiz);
    74         xDelete<double>(coords3_horiz);
     78        xDelete<IssmDouble>(coords1_horiz);
     79        xDelete<IssmDouble>(coords2_horiz);
     80        xDelete<IssmDouble>(coords3_horiz);
    7581        xDelete<double>(coords_vert);
    76         xDelete<double>(weights_horiz);
     82        xDelete<IssmDouble>(weights_horiz);
    7783        xDelete<double>(weights_vert);
    7884}
     
    9197
    9298        /*Allocate GaussPenta fields*/
    93         coords1=xNew<double>(numgauss);
    94         coords2=xNew<double>(numgauss);
    95         coords3=xNew<double>(numgauss);
    96         coords4=xNew<double>(numgauss);
    97         weights=xNew<double>(numgauss);
     99        coords1=xNew<IssmDouble>(numgauss);
     100        coords2=xNew<IssmDouble>(numgauss);
     101        coords3=xNew<IssmDouble>(numgauss);
     102        coords4=xNew<IssmDouble>(numgauss);
     103        weights=xNew<IssmDouble>(numgauss);
    98104
    99105        if(index1==0 && index2==3){
     
    145151
    146152                /*compute z coordinate*/
    147                 coords4=xNew<double>(numgauss);
     153                coords4=xNew<IssmDouble>(numgauss);
    148154                for(int i=0;i<numgauss;i++) coords4[i]=-1.0;
    149155        }
     
    155161
    156162                /*compute z coordinate*/
    157                 coords4=xNew<double>(numgauss);
     163                coords4=xNew<IssmDouble>(numgauss);
    158164                for(int i=0;i<numgauss;i++) coords4[i]=1.0;
    159165        }
     
    180186        /*Allocate GaussPenta fields*/
    181187        numgauss=order_horiz*order_vert;
    182         coords1=xNew<double>(numgauss);
    183         coords2=xNew<double>(numgauss);
    184         coords3=xNew<double>(numgauss);
    185         coords4=xNew<double>(numgauss);
    186         weights=xNew<double>(numgauss);
     188        coords1=xNew<IssmDouble>(numgauss);
     189        coords2=xNew<IssmDouble>(numgauss);
     190        coords3=xNew<IssmDouble>(numgauss);
     191        coords4=xNew<IssmDouble>(numgauss);
     192        weights=xNew<IssmDouble>(numgauss);
    187193
    188194        /*Quads: get the gauss points using the product of two line rules  */
     
    233239/*FUNCTION GaussPenta::~GaussPenta(){{{*/
    234240GaussPenta::~GaussPenta(){
    235         xDelete<double>(weights);
    236         xDelete<double>(coords1);
    237         xDelete<double>(coords2);
    238         xDelete<double>(coords3);
    239         xDelete<double>(coords4);
     241        xDelete<IssmDouble>(weights);
     242        xDelete<IssmDouble>(coords1);
     243        xDelete<IssmDouble>(coords2);
     244        xDelete<IssmDouble>(coords3);
     245        xDelete<IssmDouble>(coords4);
    240246}
    241247/*}}}*/
     
    245251void GaussPenta::Echo(void){
    246252
    247         _printLine_("GaussPenta:");
    248         _printLine_("   numgauss: " << numgauss);
     253        _printf_("GaussPenta:\n");
     254        _printf_("   numgauss: " << numgauss << "\n");
    249255
    250256        if (weights){
    251          _printString_("   weights = [");
    252          for(int i=0;i<numgauss;i++) _printLine_(" " << weights[i]);
    253          _printLine_("]");
    254         }
    255         else _printLine_("weights = NULL");
     257         _printf_("   weights = [");
     258         for(int i=0;i<numgauss;i++) _printf_(" " << weights[i] << "\n");
     259         _printf_("]\n");
     260        }
     261        else _printf_("weights = NULL\n");
    256262        if (coords1){
    257          _printString_("   coords1 = [");
    258          for(int i=0;i<numgauss;i++) _printLine_(" " << coords1[i]);
    259          _printLine_("]");
    260         }
    261         else _printLine_("coords1 = NULL");
     263         _printf_("   coords1 = [");
     264         for(int i=0;i<numgauss;i++) _printf_(" " << coords1[i] << "\n");
     265         _printf_("]\n");
     266        }
     267        else _printf_("coords1 = NULL\n");
    262268        if (coords2){
    263          _printString_("   coords2 = [");
    264          for(int i=0;i<numgauss;i++) _printLine_(" " << coords2[i]);
    265          _printLine_("]");
    266         }
    267         else _printLine_("coords2 = NULL");
     269         _printf_("   coords2 = [");
     270         for(int i=0;i<numgauss;i++) _printf_(" " << coords2[i] << "\n");
     271         _printf_("]\n");
     272        }
     273        else _printf_("coords2 = NULL\n");
    268274        if (coords3){
    269          _printString_("   coords3 = [");
    270          for(int i=0;i<numgauss;i++) _printLine_(" " << coords3[i]);
    271          _printLine_("]");
    272         }
    273         else _printLine_("coords3 = NULL");
     275         _printf_("   coords3 = [");
     276         for(int i=0;i<numgauss;i++) _printf_(" " << coords3[i] << "\n");
     277         _printf_("]\n");
     278        }
     279        else _printf_("coords3 = NULL\n");
    274280        if (coords4){
    275                 _printString_("   coords4 = [");
    276                 for(int i=0;i<numgauss;i++) _printLine_(" " << coords4[i]);
    277                 _printLine_("]");
    278         }
    279         else _printLine_("coords4 = NULL");
    280 
    281         _printLine_("   weight = " << weight);
    282         _printLine_("   coord1 = " << coord1);
    283         _printLine_("   coord2 = " << coord2);
    284         _printLine_("   coord3 = " << coord3);
    285         _printLine_("   coord4 = " << coord4);
     281                _printf_("   coords4 = [");
     282                for(int i=0;i<numgauss;i++) _printf_(" " << coords4[i] << "\n");
     283                _printf_("]\n");
     284        }
     285        else _printf_("coords4 = NULL\n");
     286
     287        _printf_("   weight = " << weight << "\n");
     288        _printf_("   coord1 = " << coord1 << "\n");
     289        _printf_("   coord2 = " << coord2 << "\n");
     290        _printf_("   coord3 = " << coord3 << "\n");
     291        _printf_("   coord4 = " << coord4 << "\n");
    286292
    287293}
     
    355361        if(index1==0 && index2==1 && index3==2){
    356362                GaussLegendreTria(&numgauss,&coords1,&coords2,&coords3,&weights,order);
    357                 coords4=xNew<double>(numgauss);
     363                coords4=xNew<IssmDouble>(numgauss);
    358364                for(int i=0;i<numgauss;i++) coords4[i]=-1.0;
    359365        }
  • issm/trunk/src/c/classes/gauss/GaussPenta.h

    r13975 r15396  
    77
    88/*Headers:*/
    9 /*{{{*/
    10 #include "./../../shared/shared.h"
     9#include "../../shared/Numerics/types.h"
    1110class GaussTria;
    12 /*}}}*/
    1311
    1412class GaussPenta{
     
    1614        private:
    1715                int numgauss;
    18                 double* weights;
    19                 double* coords1;
    20                 double* coords2;
    21                 double* coords3;
    22                 double* coords4;
     16                IssmDouble* weights;
     17                IssmDouble* coords1;
     18                IssmDouble* coords2;
     19                IssmDouble* coords3;
     20                IssmDouble* coords4;
    2321
    2422        public:
    25                 double weight;
    26                 double coord1;
    27                 double coord2;
    28                 double coord3;
    29                 double coord4;
     23                IssmDouble weight;
     24                IssmDouble coord1;
     25                IssmDouble coord2;
     26                IssmDouble coord3;
     27                IssmDouble coord4;
    3028
    3129        public:
  • issm/trunk/src/c/classes/gauss/GaussTria.cpp

    r13395 r15396  
    33 */
    44
    5 #include "./gaussobjects.h"
     5#include "./GaussTria.h"
     6#include "../../shared/shared.h"
    67
    78/*GaussTria constructors and destructors:*/
     
    4243        IssmPDouble *seg_coords  = NULL;
    4344        IssmPDouble *seg_weights = NULL;
     45        IssmDouble  a1,b1,c1,a2,b2,c2;
    4446        int     i,index3;
    4547
     
    4951
    5052        /*Allocate GaussTria fields*/
    51         coords1=xNew<IssmPDouble>(numgauss);
    52         coords2=xNew<IssmPDouble>(numgauss);
    53         coords3=xNew<IssmPDouble>(numgauss);
    54         weights=xNew<IssmPDouble>(numgauss);
    55 
    56         /*Reverse index1 and 2 if necessary*/
    57         if (index1>index2){
    58                 index3=index1; index1=index2; index2=index3;
    59                 for(i=0;i<numgauss;i++) seg_coords[i]=-seg_coords[i];
     53        coords1=xNew<IssmDouble>(numgauss);
     54        coords2=xNew<IssmDouble>(numgauss);
     55        coords3=xNew<IssmDouble>(numgauss);
     56        weights=xNew<IssmDouble>(numgauss);
     57
     58        /*Figure out coords of index1 (a1,b1,c1) and index2 (a2,b2,c2)*/
     59        if(index1==0){
     60                a1=1; b1=0; c1=0;
     61        }
     62        else if(index1==1){
     63                a1=0; b1=1; c1=0;
     64        }
     65        else if(index1==2){
     66                a1=0; b1=0; c1=1;
     67        }
     68        else{
     69                _error_("First indice provided is not supported yet (user provided " << index1 << ")");
     70        }
     71        if(index2==0){
     72                a2=1; b2=0; c2=0;
     73        }
     74        else if(index2==1){
     75                a2=0; b2=1; c2=0;
     76        }
     77        else if(index2==2){
     78                a2=0; b2=0; c2=1;
     79        }
     80        else{
     81         _error_("Second indice provided is not supported yet (user provided " << index2 << " )");
    6082        }
    6183
    6284        /*Build Triangle Gauss point*/
    63         if (index1==0 && index2==1){
    64                 for(i=0;i<numgauss;i++) coords1[i]=  0.5*(1-seg_coords[i]);
    65                 for(i=0;i<numgauss;i++) coords2[i]=1-0.5*(1.-seg_coords[i]);
    66                 for(i=0;i<numgauss;i++) coords3[i]=0;
    67                 for(i=0;i<numgauss;i++) weights[i]=seg_weights[i];
    68         }
    69         else if (index1==0 && index2==2){
    70                 for(i=0;i<numgauss;i++) coords1[i]=  0.5*(1-seg_coords[i]);
    71                 for(i=0;i<numgauss;i++) coords2[i]= 0 ;
    72                 for(i=0;i<numgauss;i++) coords3[i]=1-0.5*(1.-seg_coords[i]);
    73                 for(i=0;i<numgauss;i++) weights[i]=seg_weights[i];
    74         }
    75         else if (index1==1 && index2==2){
    76                 for(i=0;i<numgauss;i++) coords1[i]=0;
    77                 for(i=0;i<numgauss;i++) coords2[i]=  0.5*(1-seg_coords[i]);
    78                 for(i=0;i<numgauss;i++) coords3[i]=1-0.5*(1.-seg_coords[i]);
    79                 for(i=0;i<numgauss;i++) weights[i]=seg_weights[i];
    80         }
    81         else
    82          _error_("The 2 indices provided are not supported yet (user provided " << index1 << " and " << index2 << ")");
     85        for(i=0;i<numgauss;i++){
     86                coords1[i]=0.5*(a1+a2) + 0.5*seg_coords[i]*(a2-a1);
     87                coords2[i]=0.5*(b1+b2) + 0.5*seg_coords[i]*(b2-b1);
     88                coords3[i]=0.5*(c1+c2) + 0.5*seg_coords[i]*(c2-c1);
     89                weights[i]=seg_weights[i];
     90        }
    8391
    8492        /*Initialize static fields as undefined*/
     
    93101}
    94102/*}}}*/
     103/*FUNCTION GaussTria::GaussTria(int index,double r1,double r2,int order) {{{*/
     104GaussTria::GaussTria(int index,IssmDouble r1,IssmDouble r2,bool mainlyfloating,int order){
     105
     106        /*
     107         *  ^
     108         *  |
     109         * 1|\
     110         *  |  \
     111         *  |    \
     112         *  |      \
     113         *  |        \
     114         *  |          \
     115         *  |    +(x,y)  \
     116         *  |              \
     117         *  +---------------+-->
     118         *  0               1
     119         *
     120         */
     121        int         ig;
     122        IssmDouble x,y;
     123        IssmDouble xy_list[3][2];
     124
     125        if(mainlyfloating){
     126                /*Get gauss points*/
     127                GaussLegendreTria(&this->numgauss,&this->coords1,&this->coords2,&this->coords3,&this->weights,order);
     128
     129                xy_list[0][0]=0;  xy_list[0][1]=0;
     130                xy_list[1][0]=r1; xy_list[1][1]=0;
     131                xy_list[2][0]=0;  xy_list[2][1]=r2;
     132
     133                for(ig=0;ig<this->numgauss;ig++){
     134                        x = this->coords1[ig]*xy_list[0][0] + this->coords2[ig]*xy_list[1][0] + this->coords3[ig]*xy_list[2][0];
     135                        y = this->coords1[ig]*xy_list[0][1] + this->coords2[ig]*xy_list[1][1] + this->coords3[ig]*xy_list[2][1];
     136
     137                        switch(index){
     138                                case 0:
     139                                        this->coords1[ig] = 1.-x-y;
     140                                        this->coords2[ig] = x;
     141                                        this->coords3[ig] = y;
     142                                        break;
     143                                case 1:
     144                                        this->coords1[ig] = y;
     145                                        this->coords2[ig] = 1.-x-y;
     146                                        this->coords3[ig] = x;
     147                                        break;
     148                                case 2:
     149                                        this->coords1[ig] = x;
     150                                        this->coords2[ig] = y;
     151                                        this->coords3[ig] = 1.-x-y;
     152                                        break;
     153                                default:
     154                                        _error_("index "<<index<<" not supported yet");
     155                        }
     156                        this->weights[ig] = this->weights[ig]*r1*r2;
     157                }
     158        }
     159        else{
     160                /*Double number of gauss points*/
     161                GaussTria *gauss1    = NULL;
     162                GaussTria *gauss2    = NULL;
     163                gauss1=new GaussTria(order);
     164                gauss2=new GaussTria(order);
     165
     166                xy_list[0][0]=r1; xy_list[0][1]=0;
     167                xy_list[1][0]=0;  xy_list[1][1]=1.;
     168                xy_list[2][0]=0;  xy_list[2][1]=r2;
     169
     170                        //gauss1->Echo();
     171                for(ig=0;ig<gauss1->numgauss;ig++){
     172                        x = gauss1->coords1[ig]*xy_list[0][0] + gauss1->coords2[ig]*xy_list[1][0] + gauss1->coords3[ig]*xy_list[2][0];
     173                        y = gauss1->coords1[ig]*xy_list[0][1] + gauss1->coords2[ig]*xy_list[1][1] + gauss1->coords3[ig]*xy_list[2][1];
     174
     175                        switch(index){
     176                                case 0:
     177                                        gauss1->coords1[ig] = 1.-x-y;
     178                                        gauss1->coords2[ig] = x;
     179                                        gauss1->coords3[ig] = y;
     180                                        break;
     181                                case 1:
     182                                        gauss1->coords1[ig] = y;
     183                                        gauss1->coords2[ig] = 1.-x-y;
     184                                        gauss1->coords3[ig] = x;
     185                                        break;
     186                                case 2:
     187                                        gauss1->coords1[ig] = x;
     188                                        gauss1->coords2[ig] = y;
     189                                        gauss1->coords3[ig] = 1.-x-y;
     190                                        break;
     191                                default:
     192                                        _error_("index "<<index<<" not supported yet");
     193                        }
     194                        gauss1->weights[ig] = gauss1->weights[ig]*r1*(1-r2);
     195                }
     196                        //gauss1->Echo();
     197                xy_list[0][0]=r1; xy_list[0][1]=0;
     198                xy_list[1][0]=1.; xy_list[1][1]=0;
     199                xy_list[2][0]=0;  xy_list[2][1]=1.;
     200
     201                        //gauss2->Echo();
     202                for(ig=0;ig<gauss2->numgauss;ig++){
     203                        x = gauss2->coords1[ig]*xy_list[0][0] + gauss2->coords2[ig]*xy_list[1][0] + gauss2->coords3[ig]*xy_list[2][0];
     204                        y = gauss2->coords1[ig]*xy_list[0][1] + gauss2->coords2[ig]*xy_list[1][1] + gauss2->coords3[ig]*xy_list[2][1];
     205
     206                        switch(index){
     207                                case 0:
     208                                        gauss2->coords1[ig] = 1.-x-y;
     209                                        gauss2->coords2[ig] = x;
     210                                        gauss2->coords3[ig] = y;
     211                                        break;
     212                                case 1:
     213                                        gauss2->coords1[ig] = y;
     214                                        gauss2->coords2[ig] = 1.-x-y;
     215                                        gauss2->coords3[ig] = x;
     216                                        break;
     217                                case 2:
     218                                        gauss2->coords1[ig] = x;
     219                                        gauss2->coords2[ig] = y;
     220                                        gauss2->coords3[ig] = 1.-x-y;
     221                                        break;
     222                                default:
     223                                        _error_("index "<<index<<" not supported yet");
     224                        }
     225                        gauss2->weights[ig] = gauss2->weights[ig]*(1-r1);
     226                }
     227
     228                this->numgauss = gauss1->numgauss + gauss2->numgauss;
     229                this->coords1=xNew<IssmDouble>(this->numgauss);
     230                this->coords2=xNew<IssmDouble>(this->numgauss);
     231                this->coords3=xNew<IssmDouble>(this->numgauss);
     232                this->weights=xNew<IssmDouble>(this->numgauss);
     233
     234                for(ig=0;ig<gauss1->numgauss;ig++){ // Add the first triangle gauss points
     235                        this->coords1[ig]=gauss1->coords1[ig];
     236                        this->coords2[ig]=gauss1->coords2[ig];
     237                        this->coords3[ig]=gauss1->coords3[ig];
     238                        this->weights[ig]=gauss1->weights[ig];
     239                }
     240                for(ig=0;ig<gauss2->numgauss;ig++){ // Add the second triangle gauss points
     241                        this->coords1[gauss1->numgauss+ig]=gauss2->coords1[ig];
     242                        this->coords2[gauss1->numgauss+ig]=gauss2->coords2[ig];
     243                        this->coords3[gauss1->numgauss+ig]=gauss2->coords3[ig];
     244                        this->weights[gauss1->numgauss+ig]=gauss2->weights[ig];
     245                }
     246
     247                /*Delete gauss points*/
     248                delete gauss1;
     249                delete gauss2;
     250        }
     251
     252        /*Initialize static fields as undefined*/
     253        weight=UNDEF;
     254        coord1=UNDEF;
     255        coord2=UNDEF;
     256        coord3=UNDEF;
     257}
     258/*}}}*/
    95259/*FUNCTION GaussTria::~GaussTria(){{{*/
    96260GaussTria::~GaussTria(){
    97         xDelete<IssmPDouble>(weights);
    98         xDelete<IssmPDouble>(coords1);
    99         xDelete<IssmPDouble>(coords2);
    100         xDelete<IssmPDouble>(coords3);
     261        xDelete<IssmDouble>(weights);
     262        xDelete<IssmDouble>(coords1);
     263        xDelete<IssmDouble>(coords2);
     264        xDelete<IssmDouble>(coords3);
    101265}
    102266/*}}}*/
     
    106270void GaussTria::Echo(void){
    107271
    108         _printLine_("GaussTria:");
    109         _printLine_("   numgauss: " << numgauss);
     272        _printf_("GaussTria:\n");
     273        _printf_("   numgauss: " << numgauss << "\n");
    110274
    111275        if (weights){
    112          _printString_("   weights = [");
    113          for(int i=0;i<numgauss;i++) _printLine_(" " << weights[i]);
    114          _printLine_("]");
    115         }
    116         else _printLine_("weights = NULL");
     276         _printf_("   weights = [");
     277         for(int i=0;i<numgauss;i++) _printf_(" " << weights[i] << "\n");
     278         _printf_("]\n");
     279        }
     280        else _printf_("weights = NULL\n");
    117281        if (coords1){
    118          _printString_("   coords1 = [");
    119          for(int i=0;i<numgauss;i++) _printLine_(" " << coords1[i]);
    120          _printLine_("]");
    121         }
    122         else _printLine_("coords1 = NULL");
     282         _printf_("   coords1 = [");
     283         for(int i=0;i<numgauss;i++) _printf_(" " << coords1[i] << "\n");
     284         _printf_("]\n");
     285        }
     286        else _printf_("coords1 = NULL\n");
    123287        if (coords2){
    124          _printString_("   coords2 = [");
    125          for(int i=0;i<numgauss;i++) _printLine_(" " << coords2[i]);
    126          _printLine_("]");
    127         }
    128         else _printLine_("coords2 = NULL");
     288         _printf_("   coords2 = [");
     289         for(int i=0;i<numgauss;i++) _printf_(" " << coords2[i] << "\n");
     290         _printf_("]\n");
     291        }
     292        else _printf_("coords2 = NULL\n");
    129293        if (coords3){
    130          _printString_("   coords3 = [");
    131          for(int i=0;i<numgauss;i++) _printLine_(" " << coords3[i]);
    132          _printLine_("]");
    133         }
    134         else _printLine_("coords3 = NULL");
    135 
    136         _printLine_("   weight = " << weight);
    137         _printLine_("   coord1 = " << coord1);
    138         _printLine_("   coord2 = " << coord2);
    139         _printLine_("   coord3 = " << coord3);
     294         _printf_("   coords3 = [");
     295         for(int i=0;i<numgauss;i++) _printf_(" " << coords3[i] << "\n");
     296         _printf_("]\n");
     297        }
     298        else _printf_("coords3 = NULL\n");
     299
     300        _printf_("   weight = " << weight << "\n");
     301        _printf_("   coord1 = " << coord1 << "\n");
     302        _printf_("   coord2 = " << coord2 << "\n");
     303        _printf_("   coord3 = " << coord3 << "\n");
    140304
    141305}
     
    231395        /*update static arrays*/
    232396        switch(iv){
    233                 case 0:
    234                         coord1=1; coord2=0; coord3=0;
     397                case 0: coord1=1.; coord2=0.; coord3=0.; break;
     398                case 1: coord1=0.; coord2=1.; coord3=0.; break;
     399                case 2: coord1=0.; coord2=0.; coord3=1.; break;
     400                default: _error_("vertex index should be in [0 2]");
     401        }
     402
     403}
     404/*}}}*/
     405/*FUNCTION GaussTria::GaussNode{{{*/
     406void GaussTria::GaussNode(int numnodes,int iv){
     407
     408        /*in debugging mode: check that the default constructor has been called*/
     409        _assert_(numgauss==-1);
     410
     411        /*update static arrays*/
     412        switch(numnodes){
     413                case 3: //P1 Lagrange element
     414                        switch(iv){
     415                                case 0: coord1=1.; coord2=0.; coord3=0.; break;
     416                                case 1: coord1=0.; coord2=1.; coord3=0.; break;
     417                                case 2: coord1=0.; coord2=0.; coord3=1.; break;
     418                                default: _error_("node index should be in [0 2]");
     419                        }
    235420                        break;
    236                 case 1:
    237                         coord1=0; coord2=1; coord3=0;
     421                case 6: //P2 Lagrange element
     422                        switch(iv){
     423                                case 0: coord1=1.; coord2=0.; coord3=0.; break;
     424                                case 1: coord1=0.; coord2=1.; coord3=0.; break;
     425                                case 2: coord1=0.; coord2=0.; coord3=1.; break;
     426                                case 3: coord1=0.; coord2=.5; coord3=.5; break;
     427                                case 4: coord1=.5; coord2=0.; coord3=.5; break;
     428                                case 5: coord1=.5; coord2=.5; coord3=0.; break;
     429                                default: _error_("node index should be in [0 5]");
     430                        }
    238431                        break;
    239                 case 2:
    240                         coord1=0; coord2=0; coord3=1;
    241                         break;
    242                 default:
    243                         _error_("vertex index should be in [0 2]");
    244 
     432                default: _error_("supported number of nodes are 3 and 6");
    245433        }
    246434
  • issm/trunk/src/c/classes/gauss/GaussTria.h

    r13975 r15396  
    77
    88/*Headers:*/
    9 /*{{{*/
    10 #include "./../../shared/shared.h"
    11 /*}}}*/
     9#include "../../shared/Numerics/types.h"
    1210
    1311class GaussTria{
     
    1513        private:
    1614                int numgauss;
    17                 IssmPDouble* weights;
    18                 IssmPDouble* coords1;
    19                 IssmPDouble* coords2;
    20                 IssmPDouble* coords3;
     15                IssmDouble* weights;
     16                IssmDouble* coords1;
     17                IssmDouble* coords2;
     18                IssmDouble* coords3;
    2119
    2220        public:
    23                 IssmPDouble weight;
     21                IssmDouble weight;
    2422                IssmDouble coord1;
    2523                IssmDouble coord2;
     
    3230                GaussTria(int order);
    3331                GaussTria(int index1,int index2,int order);
     32                GaussTria(int index,IssmDouble r1, IssmDouble r2,bool maintlyfloating,int order);
    3433                ~GaussTria();
    3534
     
    4140                void GaussPoint(int ig);
    4241                void GaussVertex(int iv);
     42                void GaussNode(int numnodes,int iv);
    4343                void GaussCenter(void);
    4444                void GaussEdgeCenter(int index1,int index2);
  • issm/trunk/src/c/classes/kriging/ExponentialVariogram.cpp

    r13975 r15396  
    99#endif
    1010
    11 #include <stdio.h>
    12 #include <string.h>
    13 #include "../objects/objects.h"
    14 #include "../../EnumDefinitions/EnumDefinitions.h"
     11#include "../classes.h"
    1512#include "../../shared/shared.h"
    16 #include "../../include/include.h"
    1713
    1814/*ExponentialVariogram constructors and destructor*/
     
    5147/*FUNCTION ExponentialVariogram::Echo {{{*/
    5248void ExponentialVariogram::Echo(void){
    53         _printLine_("ExponentialVariogram");
    54         _printLine_("   nugget: " << this->nugget);
    55         _printLine_("   sill  : " << this->sill);
    56         _printLine_("   range : " << this->range);
     49        _printf_("ExponentialVariogram\n");
     50        _printf_("   nugget: " << this->nugget << "\n");
     51        _printf_("   sill  : " << this->sill << "\n");
     52        _printf_("   range : " << this->range << "\n");
    5753}
    5854/*}}}*/
  • issm/trunk/src/c/classes/kriging/GaussianVariogram.cpp

    r13975 r15396  
    99#endif
    1010
    11 #include <stdio.h>
    12 #include <string.h>
    13 #include "../objects/objects.h"
    14 #include "../../EnumDefinitions/EnumDefinitions.h"
     11#include "../classes.h"
    1512#include "../../shared/shared.h"
    16 #include "../../include/include.h"
    1713
    1814/*GaussianVariogram constructors and destructor*/
     
    5147/*FUNCTION GaussianVariogram::Echo {{{*/
    5248void GaussianVariogram::Echo(void){
    53         _printLine_("GaussianVariogram");
    54         _printLine_("   nugget: " << this->nugget);
    55         _printLine_("   sill  : " << this->sill);
    56         _printLine_("   range : " << this->range);
     49        _printf_("GaussianVariogram\n");
     50        _printf_("   nugget: " << this->nugget << "\n");
     51        _printf_("   sill  : " << this->sill << "\n");
     52        _printf_("   range : " << this->range << "\n");
    5753}
    5854/*}}}*/
     
    9389        gamma = (sill-nugget)*(1.-exp(-h2/(a*range*range))) + nugget;
    9490
    95         //if(h2>1000*1000) _printLine_("gamma = " << gamma << " h= " << sqrt(h2));
    96         _printLine_("h = " << sqrt(h2) << " gamma = " << gamma);
     91        //if(h2>1000*1000) _printf_("gamma = " << gamma << " h= " << sqrt(h2) << "\n");
     92        _printf_("h = " << sqrt(h2) << " gamma = " << gamma << "\n");
    9793        return gamma;
    9894}
  • issm/trunk/src/c/classes/kriging/Observation.cpp

    r13975 r15396  
    44
    55#include <stdlib.h>
    6 #include "../objects/objects.h"
     6#include "../classes.h"
    77
    88/*Observation constructors and destructor*/
     
    3535void Observation::Echo(void){
    3636
    37         _printLine_("Observation");
    38         _printLine_("   index : " << this->index);
    39         _printLine_("   x     : " << this->x);
    40         _printLine_("   y     : " << this->y);
    41         _printLine_("   xi    : "); printbinary(this->xi); _printLine_("");
    42         _printLine_("   yi    : "); printbinary(this->yi); _printLine_("");
    43         _printLine_("   weight: " << this->weight);
    44         _printLine_("   value : " << this->value);
     37        _printf_("Observation\n");
     38        _printf_("   index : " << this->index << "\n");
     39        _printf_("   x     : " << this->x << "\n");
     40        _printf_("   y     : " << this->y << "\n");
     41        _printf_("   xi    : \n"); printbinary(this->xi); _printf_("\n");
     42        _printf_("   yi    : \n"); printbinary(this->yi); _printf_("\n");
     43        _printf_("   weight: " << this->weight << "\n");
     44        _printf_("   value : " << this->value << "\n");
    4545}
    4646/*}}}*/
  • issm/trunk/src/c/classes/kriging/Observation.h

    r13975 r15396  
    66#define _OBSERVATION_H_
    77
    8 #include "../objects/Object.h"
     8#include "../../datastructures/datastructures.h"
    99
    1010class Observation: public Object{
  • issm/trunk/src/c/classes/kriging/PowerVariogram.cpp

    r13975 r15396  
    99#endif
    1010
    11 #include <stdio.h>
    12 #include <string.h>
    13 #include "../objects/objects.h"
    14 #include "../../EnumDefinitions/EnumDefinitions.h"
     11#include "../classes.h"
    1512#include "../../shared/shared.h"
    16 #include "../../include/include.h"
    1713
    1814/*PowerVariogram constructors and destructor*/
     
    5248/*FUNCTION PowerVariogram::Echo {{{*/
    5349void PowerVariogram::Echo(void){
    54         _printLine_("PowerVariogram");
    55         _printLine_("   nugget: " << this->nugget);
    56         _printLine_("   slope : " << this->slope);
    57         _printLine_("   power : " << this->power);
     50        _printf_("PowerVariogram\n");
     51        _printf_("   nugget: " << this->nugget << "\n");
     52        _printf_("   slope : " << this->slope << "\n");
     53        _printf_("   power : " << this->power << "\n");
    5854}
    5955/*}}}*/
     
    8985        gamma = this->nugget + this->slope*pow(h,this->power);
    9086
    91         //if(h>1000) _printLine_("gamma = " << gamma << " h=" << h);
     87        //if(h>1000) _printf_("gamma = " << gamma << " h=" << h << "\n");
    9288        return gamma;
    9389}
  • issm/trunk/src/c/classes/kriging/Quadtree.cpp

    r13975 r15396  
    1 #include "../objects/objects.h"
     1#include "../classes.h"
    22
    33/*DOCUMENTATION What is a Quadtree? {{{
     
    297297void  Quadtree::Echo(void){
    298298
    299         _printLine_("Quadtree:");
    300         _printLine_("   MaxDepth      = " << this->MaxDepth);
    301         _printLine_("   NbQuadtreeBox = " << this->NbQuadtreeBox);
    302         _printLine_("   NbObs         = " << this->NbObs);
    303         _printLine_("   root          = " << this->root);
     299        _printf_("Quadtree:\n");
     300        _printf_("   MaxDepth      = " << this->MaxDepth << "\n");
     301        _printf_("   NbQuadtreeBox = " << this->NbQuadtreeBox << "\n");
     302        _printf_("   NbObs         = " << this->NbObs << "\n");
     303        _printf_("   root          = " << this->root << "\n");
    304304
    305305}/*}}}*/
     
    307307void  Quadtree::DeepEcho(void){
    308308
    309         _printLine_("Quadtree:");
    310         _printLine_("   MaxDepth      = " << this->MaxDepth);
    311         _printLine_("   NbQuadtreeBox = " << this->NbQuadtreeBox);
    312         _printLine_("   NbObs         = " << this->NbObs);
    313         _printLine_("   root          = " << this->root);
     309        _printf_("Quadtree:\n");
     310        _printf_("   MaxDepth      = " << this->MaxDepth << "\n");
     311        _printf_("   NbQuadtreeBox = " << this->NbQuadtreeBox << "\n");
     312        _printf_("   NbObs         = " << this->NbObs << "\n");
     313        _printf_("   root          = " << this->root << "\n");
    314314        boxcontainer->Echo();
    315315
     
    512512void  Quadtree::QuadtreeBox::Echo(void){
    513513
    514         _printLine_("QuadtreeBox:");
    515         _printLine_("   nbitems = " << this->nbitems);
    516         _printLine_("   xcenter = " << this->xcenter);
    517         _printLine_("   ycenter = " << this->ycenter);
    518         _printLine_("   length  = " << this->length);
     514        _printf_("QuadtreeBox:\n");
     515        _printf_("   nbitems = " << this->nbitems << "\n");
     516        _printf_("   xcenter = " << this->xcenter << "\n");
     517        _printf_("   ycenter = " << this->ycenter << "\n");
     518        _printf_("   length  = " << this->length << "\n");
    519519
    520520}/*}}}*/
  • issm/trunk/src/c/classes/kriging/SphericalVariogram.cpp

    r13975 r15396  
    99#endif
    1010
    11 #include <stdio.h>
    12 #include <string.h>
    13 #include "../objects/objects.h"
    14 #include "../../EnumDefinitions/EnumDefinitions.h"
     11#include "../classes.h"
    1512#include "../../shared/shared.h"
    16 #include "../../include/include.h"
    1713
    1814/*SphericalVariogram constructors and destructor*/
     
    5147/*FUNCTION SphericalVariogram::Echo {{{*/
    5248void SphericalVariogram::Echo(void){
    53         _printLine_("SphericalVariogram");
    54         _printLine_("   nugget: " << this->nugget);
    55         _printLine_("   sill  : " << this->sill);
    56         _printLine_("   range : " << this->range);
     49        _printf_("SphericalVariogram\n");
     50        _printf_("   nugget: " << this->nugget << "\n");
     51        _printf_("   sill  : " << this->sill << "\n");
     52        _printf_("   range : " << this->range << "\n");
    5753}
    5854/*}}}*/
  • issm/trunk/src/c/classes/kriging/Variogram.h

    r13395 r15396  
    66#define _VARIOGRAM_H_
    77
    8 #include "../objects/Object.h"
     8#include "../../datastructures/datastructures.h"
    99
    1010class Variogram: public Object{
  • issm/trunk/src/c/classes/kriging/krigingobjects.h

    r13395 r15396  
    1414#include "./Quadtree.h"
    1515#include "./Observation.h"
     16#include "./Observations.h"
    1617
    1718#endif
  • issm/trunk/src/c/classes/matrix/ElementMatrix.cpp

    r13975 r15396  
    1515#include "../classes.h"
    1616#include "../../shared/shared.h"
    17 #include "../../Container/Container.h"
    18 #include "../../include/include.h"
    1917/*}}}*/
    2018
     
    251249        IssmDouble* localvalues=NULL;
    252250
     251        /*Check that Kff has been alocated in debugging mode*/
     252        _assert_(Kff);
     253
    253254        /*If Kfs is not provided, call the other function*/
    254255        if(!Kfs){
     
    376377
    377378        int i,j;
    378         _printLine_("Element Matrix echo:");
    379         _printLine_("   nrows: " << this->nrows);
    380         _printLine_("   ncols: " << this->ncols);
    381         _printLine_("   dofsymmetrical: " << (dofsymmetrical?"true":"false"));
    382 
    383         _printLine_("   values:");
     379        _printf_("Element Matrix echo:\n");
     380        _printf_("   nrows: " << this->nrows << "\n");
     381        _printf_("   ncols: " << this->ncols << "\n");
     382        _printf_("   dofsymmetrical: " << (dofsymmetrical?"true":"false") << "\n");
     383
     384        _printf_("   values:\n");
    384385        for(i=0;i<nrows;i++){
    385                 _printString_(setw(4) << right << i << ": ");
    386                 for(j=0;j<ncols;j++) _printString_( " " << setw(11) << setprecision (5) << right << values[i*ncols+j]);
    387                 _printLine_("");
    388         }
    389 
    390         _printString_("   gglobaldoflist (" << gglobaldoflist << "): ");
    391         if(gglobaldoflist) for(i=0;i<nrows;i++) _printString_(" " << gglobaldoflist[i]); _printLine_("");
    392 
    393         _printLine_("   row_fsize: " << row_fsize);
    394         _printString_("   row_flocaldoflist  (" << row_flocaldoflist << "): ");
    395         if(row_flocaldoflist) for(i=0;i<row_fsize;i++) _printString_(" " << row_flocaldoflist[i]); _printLine_(" ");
    396         _printString_("   row_fglobaldoflist  (" << row_fglobaldoflist << "): ");
    397         if(row_fglobaldoflist) for(i=0;i<row_fsize;i++) _printString_(" " << row_fglobaldoflist[i]); _printLine_(" ");
    398 
    399         _printLine_("   row_ssize: " << row_ssize);
    400         _printString_("   row_slocaldoflist  (" << row_slocaldoflist << "): ");
    401         if(row_slocaldoflist) for(i=0;i<row_ssize;i++) _printString_(" " << row_slocaldoflist[i]); _printLine_(" ");
    402         _printString_("   row_sglobaldoflist  (" << row_sglobaldoflist << "): ");
    403         if(row_sglobaldoflist) for(i=0;i<row_ssize;i++) _printString_(" " << row_sglobaldoflist[i]); _printLine_(" ");
     386                _printf_(setw(4) << right << i << ": ");
     387                for(j=0;j<ncols;j++) _printf_( " " << setw(11) << setprecision (5) << right << values[i*ncols+j]);
     388                _printf_("\n");
     389        }
     390
     391        _printf_("   gglobaldoflist (" << gglobaldoflist << "): ");
     392        if(gglobaldoflist) for(i=0;i<nrows;i++) _printf_(" " << gglobaldoflist[i] << "\n"); _printf_("\n");
     393
     394        _printf_("   row_fsize: " << row_fsize << "\n");
     395        _printf_("   row_flocaldoflist  (" << row_flocaldoflist << "): ");
     396        if(row_flocaldoflist) for(i=0;i<row_fsize;i++) _printf_(" " << row_flocaldoflist[i] << "\n"); _printf_(" \n");
     397        _printf_("   row_fglobaldoflist  (" << row_fglobaldoflist << "): ");
     398        if(row_fglobaldoflist) for(i=0;i<row_fsize;i++) _printf_(" " << row_fglobaldoflist[i] << "\n"); _printf_(" \n");
     399
     400        _printf_("   row_ssize: " << row_ssize << "\n");
     401        _printf_("   row_slocaldoflist  (" << row_slocaldoflist << "): ");
     402        if(row_slocaldoflist) for(i=0;i<row_ssize;i++) _printf_(" " << row_slocaldoflist[i] << "\n"); _printf_(" \n");
     403        _printf_("   row_sglobaldoflist  (" << row_sglobaldoflist << "): ");
     404        if(row_sglobaldoflist) for(i=0;i<row_ssize;i++) _printf_(" " << row_sglobaldoflist[i] << "\n"); _printf_(" \n");
    404405
    405406        if(!dofsymmetrical){
    406                 _printLine_("   col_fsize: " << col_fsize);
    407                 _printString_("   col_flocaldoflist  (" << col_flocaldoflist << "): ");
    408                 if(col_flocaldoflist) for(i=0;i<col_fsize;i++) _printString_(" " << col_flocaldoflist[i]); _printLine_(" ");
    409                 _printString_("   col_fglobaldoflist  (" << col_fglobaldoflist << "): ");
    410                 if(col_fglobaldoflist) for(i=0;i<col_fsize;i++) _printString_(" " << col_fglobaldoflist[i]); _printLine_(" ");
    411 
    412                 _printLine_("   col_ssize: " << col_ssize);
    413                 _printString_("   col_slocaldoflist  (" << col_slocaldoflist << "): ");
    414                 if(col_slocaldoflist) for(i=0;i<col_ssize;i++) _printString_(" " << col_slocaldoflist[i]); _printLine_(" ");
    415                 _printString_("   col_sglobaldoflist  (" << col_sglobaldoflist << "): ");
    416                 if(col_sglobaldoflist) for(i=0;i<col_ssize;i++) _printString_(" " << col_sglobaldoflist[i]); _printLine_(" ");
     407                _printf_("   col_fsize: " << col_fsize << "\n");
     408                _printf_("   col_flocaldoflist  (" << col_flocaldoflist << "): ");
     409                if(col_flocaldoflist) for(i=0;i<col_fsize;i++) _printf_(" " << col_flocaldoflist[i] << "\n"); _printf_(" \n");
     410                _printf_("   col_fglobaldoflist  (" << col_fglobaldoflist << "): ");
     411                if(col_fglobaldoflist) for(i=0;i<col_fsize;i++) _printf_(" " << col_fglobaldoflist[i] << "\n"); _printf_(" \n");
     412
     413                _printf_("   col_ssize: " << col_ssize << "\n");
     414                _printf_("   col_slocaldoflist  (" << col_slocaldoflist << "): ");
     415                if(col_slocaldoflist) for(i=0;i<col_ssize;i++) _printf_(" " << col_slocaldoflist[i] << "\n"); _printf_(" \n");
     416                _printf_("   col_sglobaldoflist  (" << col_sglobaldoflist << "): ");
     417                if(col_sglobaldoflist) for(i=0;i<col_ssize;i++) _printf_(" " << col_sglobaldoflist[i] << "\n"); _printf_(" \n");
    417418        }
    418419}
  • issm/trunk/src/c/classes/matrix/ElementMatrix.h

    r13975 r15396  
    1111/*Headers:*/
    1212/*{{{*/
    13 #include "../objects/Object.h"
     13#include "../../datastructures/datastructures.h"
    1414#include "../../toolkits/toolkits.h"
    15 #include "../../EnumDefinitions/EnumDefinitions.h"
     15#include "../../shared/shared.h"
    1616class Node;
    1717template <class doublematrix> class Matrix;
  • issm/trunk/src/c/classes/matrix/ElementVector.cpp

    r13975 r15396  
    1515#include "../classes.h"
    1616#include "../../shared/shared.h"
    17 #include "../../Container/Container.h"
    18 #include "../../include/include.h"
    1917/*}}}*/
    2018
     
    221219        int i;
    222220
    223         _printLine_("Element Vector echo:");
    224         _printLine_("   nrows: " << nrows);
    225         _printLine_("   values:");
     221        _printf_("Element Vector echo:\n");
     222        _printf_("   nrows: " << nrows << "\n");
     223        _printf_("   values:\n");
    226224        for(i=0;i<nrows;i++){
    227                 _printLine_(setw(4) << right << i << ": " << setw(10) << values[i]);
    228         }
    229 
    230         _printString_("   gglobaldoflist (" << gglobaldoflist << "): ");
    231         if(gglobaldoflist) for(i=0;i<nrows;i++) _printString_(" " << gglobaldoflist[i] );
    232         _printLine_(" ");
    233 
    234         _printLine_("   fsize: " << fsize);
    235         _printString_("   flocaldoflist  (" << flocaldoflist << "): ");
    236         if(flocaldoflist) for(i=0;i<fsize;i++) _printString_(" " << flocaldoflist[i] );
    237         _printLine_(" ");
    238         _printString_("   fglobaldoflist (" << fglobaldoflist << "): ");
    239         if(fglobaldoflist) for(i=0;i<fsize;i++) _printString_(" " << fglobaldoflist[i] );
    240         _printLine_(" ");
     225                _printf_(setw(4) << right << i << ": " << setw(10) << values[i] << "\n");
     226        }
     227
     228        _printf_("   gglobaldoflist (" << gglobaldoflist << "): ");
     229        if(gglobaldoflist) for(i=0;i<nrows;i++) _printf_(" " << gglobaldoflist[i] );
     230        _printf_(" \n");
     231
     232        _printf_("   fsize: " << fsize << "\n");
     233        _printf_("   flocaldoflist  (" << flocaldoflist << "): ");
     234        if(flocaldoflist) for(i=0;i<fsize;i++) _printf_(" " << flocaldoflist[i] );
     235        _printf_(" \n");
     236        _printf_("   fglobaldoflist (" << fglobaldoflist << "): ");
     237        if(fglobaldoflist) for(i=0;i<fsize;i++) _printf_(" " << fglobaldoflist[i] );
     238        _printf_(" \n");
    241239}
    242240/*}}}*/
  • issm/trunk/src/c/classes/matrix/ElementVector.h

    r13975 r15396  
    1111/*Headers:*/
    1212/*{{{*/
    13 #include "../objects/Object.h"
     13#include "../../datastructures/datastructures.h"
    1414#include "../../toolkits/toolkits.h"
    15 #include "../../EnumDefinitions/EnumDefinitions.h"
     15#include "../../shared/shared.h"
    1616class Node;
    1717template <class doubletype> class Vector;
  • issm/trunk/src/c/classes/matrix/matrixobjects.h

    r13975 r15396  
    99#include "./ElementMatrix.h"
    1010#include "./ElementVector.h"
    11 #include "./Vector.h"
    12 #include "./Matrix.h"
    1311
    1412#endif
  • issm/trunk/src/c/modules/AverageOntoPartitionx/AverageOntoPartitionx.cpp

    r13975 r15396  
    1111
    1212#include "./AverageOntoPartitionx.h"
    13 #include "../../Container/Container.h"   
    1413#include "../../shared/shared.h"
    15 #include "../../include/include.h"
    16 #include "../../EnumDefinitions/EnumDefinitions.h"
    1714#include "../../toolkits/toolkits.h"
    18 #include "../modules.h"
    1915
    2016void AverageOntoPartitionx(double** paverage, Elements* elements, Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,double* vertex_response){
     
    6359        /*Free ressources:*/
    6460        xDelete<double>(qmu_part);
    65         xdelete(&partition_contributions);
    66         xdelete(&partition_areas);
    67         xdelete(&vec_average);
     61        delete partition_contributions;
     62        delete partition_areas;
     63        delete vec_average;
    6864
    6965        /*Assign output pointers:*/
  • issm/trunk/src/c/modules/AverageOntoPartitionx/AverageOntoPartitionx.h

    r13395 r15396  
    66#define _AVERAGEONTOPARTITIONXX_H
    77
    8 #include "../../classes/objects/objects.h"
    9 #include "../../Container/Container.h"
     8#include "../../classes/classes.h"
    109
    1110void AverageOntoPartitionx(double** average, Elements* elements, Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,double* vertex_response);
  • issm/trunk/src/c/modules/BamgConvertMeshx/BamgConvertMeshx.cpp

    r13395 r15396  
    55
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../classes/bamg/bamgobjects.h"
     8#include "../../bamg/bamgobjects.h"
    109
    1110using namespace bamg;
  • issm/trunk/src/c/modules/BamgConvertMeshx/BamgConvertMeshx.h

    r13395 r15396  
    66#define _BAMGCONVERTMESHX_H
    77
    8 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
     9#include "../../bamg/bamgobjects.h"
    910
    1011/* local prototypes: */
  • issm/trunk/src/c/modules/BamgTriangulatex/BamgTriangulatex.cpp

    r13395 r15396  
    55
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
     9#include "../../bamg/bamgobjects.h"
    1010
    1111using namespace bamg;
  • issm/trunk/src/c/modules/BamgTriangulatex/BamgTriangulatex.h

    r13395 r15396  
    66#define _BAMGTRIANGULATEX_H
    77
    8 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    99
    1010/* local prototypes: */
  • issm/trunk/src/c/modules/Bamgx/Bamgx.cpp

    r13975 r15396  
    33 */
    44#include "./Bamgx.h"
    5 #include "../../classes/bamg/bamgobjects.h"
     5#include "../../bamg/bamgobjects.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    98
     
    4140
    4241                //Step1: generate geometry Gh
    43                 if (verbosity>0) _printLine_("Construction of a mesh from a given geometry");
    44                 if (verbosity>1) _printLine_("   Processing geometry...");
     42                if (verbosity>0) _printf_("Construction of a mesh from a given geometry\n");
     43                if (verbosity>1) _printf_("   Processing geometry...\n");
    4544                Geometry Gh(bamggeom_in,bamgopts);
    4645
     
    5049
    5150                //build metric using geometry
    52                 if (verbosity>1) _printLine_("   Generating Metric...");
     51                if (verbosity>1) _printf_("   Generating Metric...\n");
    5352                for(i=0;i<Gh.nbv;i++){
    5453                        Metric M=Gh[i];
     
    6059
    6160                //generate mesh
    62                 if (verbosity>1) _printLine_("   Generating Mesh...");
     61                if (verbosity>1) _printf_("   Generating Mesh...\n");
    6362                Mesh Th(maxnbv,Gh,bamgopts);
    6463
     
    7372
    7473                //Build output
    75                 if (verbosity>1) _printLine_("   Write Mesh...");
     74                if (verbosity>1) _printf_("   Write Mesh...\n");
    7675                Th.WriteMesh(bamgmesh_out,bamgopts);
    77                 if (verbosity>1) _printLine_("   Write Geometry...");
     76                if (verbosity>1) _printf_("   Write Geometry...\n");
    7877                Gh.WriteGeometry(bamggeom_out,bamgopts);
    7978
     
    8786
    8887                // read background mesh
    89                 if (verbosity>0) _printLine_("Anisotropic mesh adaptation");
    90                 if (verbosity>1) _printLine_("   Processing initial mesh and geometry...");
     88                if (verbosity>0) _printf_("Anisotropic mesh adaptation\n");
     89                if (verbosity>1) _printf_("   Processing initial mesh and geometry...\n");
    9190                Mesh BTh(bamggeom_in,bamgmesh_in,bamgopts);
    9291
     
    10099                //Generate initial metric
    101100                if (bamgopts->metric){
    102                         if (verbosity>1) _printLine_("   Processing Metric...");
     101                        if (verbosity>1) _printf_("   Processing Metric...\n");
    103102                        BTh.ReadMetric(bamgopts);
    104103                }
    105104                else {
    106                         if (verbosity>1) _printLine_("   Generating initial Metric...");
     105                        if (verbosity>1) _printf_("   Generating initial Metric...\n");
    107106                        Metric Mhmax(bamgopts->hmax);
    108107                        for (int iv=0;iv<BTh.nbv;iv++) BTh[iv].m = Mhmax;
     
    111110                //use present fields to generate metric if present
    112111                if (bamgopts->field){
    113                         if (verbosity>1) _printLine_("   Merge metric with field provided...");
     112                        if (verbosity>1) _printf_("   Merge metric with field provided...\n");
    114113                        BTh.AddMetric(bamgopts);
    115114                }
     
    117116                // change using hVertices if provided
    118117                if(bamgopts->hVertices && bamgopts->hVerticesSize[0]==BTh.nbv){
    119                         if (verbosity>1) _printLine_("   Merging Metric with hVertices...");
     118                        if (verbosity>1) _printf_("   Merging Metric with hVertices...\n");
    120119                        for (i=0;i<BTh.nbv;i++){
    121120                                if (!xIsNan<IssmPDouble>(bamgopts->hVertices[i])){
     
    127126                // change using hminVertices if provided
    128127                if (bamgopts->hminVertices){
    129                         if (verbosity>1) _printLine_("   Merging Metric with hminVertices...");
     128                        if (verbosity>1) _printf_("   Merging Metric with hminVertices...\n");
    130129                        for (i=0;i<BTh.nbv;i++){
    131130                                if (!xIsNan<IssmPDouble>(bamgopts->hminVertices[i])){
     
    140139                // change using hmaxVertices if provided
    141140                if (bamgopts->hmaxVertices){
    142                         if (verbosity>1) _printLine_("   Merging Metric with hmaxVertices...");
     141                        if (verbosity>1) _printf_("   Merging Metric with hmaxVertices...\n");
    143142                        for (i=0;i<BTh.nbv;i++){
    144143                                if (!xIsNan<IssmPDouble>(bamgopts->hmaxVertices[i])){
     
    164163
    165164                //Build new mesh
    166                 if (verbosity>1) _printLine_("   Generating Mesh...");
     165                if (verbosity>1) _printf_("   Generating Mesh...\n");
    167166                Thr=&BTh,Thb=0;
    168167                Mesh & Th( *(0 ?  new Mesh(*Thr,&Thr->Gh,Thb,maxnbv) :  new Mesh(maxnbv,BTh,bamgopts,bamgopts->KeepVertices)));
     
    185184                if(verbosity>0) {
    186185                        if (Th.nbt-Th.nbtout-Th.nbq*2){
    187                                 _printLine_("   new number of triangles = " << (Th.nbt-Th.nbtout-Th.nbq*2));
     186                                _printf_("   new number of triangles = " << (Th.nbt-Th.nbtout-Th.nbq*2) << "\n");
    188187                        }
    189188                        if (Th.nbq ){
    190                                 _printLine_("   new number of quads = " << Th.nbq);
     189                                _printf_("   new number of quads = " << Th.nbq << "\n");
    191190                        }
    192191                }
    193192
    194193                //Build output
    195                 if (verbosity>1) _printLine_("   Write Mesh...");
     194                if (verbosity>1) _printf_("   Write Mesh...\n");
    196195                Th.WriteMesh(bamgmesh_out,bamgopts);
    197                 if (verbosity>1) _printLine_("   Write Geometry...");
     196                if (verbosity>1) _printf_("   Write Geometry...\n");
    198197                Th.Gh.WriteGeometry(bamggeom_out,bamgopts);
    199                 if (verbosity>1) _printLine_("   Write Metric...");
     198                if (verbosity>1) _printf_("   Write Metric...\n");
    200199                BTh.WriteMetric(bamgopts);
    201200
     
    207206
    208207        /*No error return*/
    209         if (verbosity>1) _printLine_("   Exiting Bamg.");
     208        if (verbosity>1) _printf_("   Exiting Bamg.\n");
    210209        return noerr;
    211210
  • issm/trunk/src/c/modules/Bamgx/Bamgx.h

    r13395 r15396  
    66#define _BAMGX_H
    77
    8 #include "../../classes/bamg/bamgobjects.h"
     8#include "../../bamg/bamgobjects.h"
    99
    1010/* local prototypes: */
  • issm/trunk/src/c/modules/CMakeLists.txt

    r14310 r15396  
    2929add_subdirectory(InputArtificialNoisex)
    3030add_subdirectory(InputControlUpdatex)
    31 add_subdirectory(InputConvergencex)
    3231add_subdirectory(InputDuplicatex)
    3332add_subdirectory(InputScalex)
  • issm/trunk/src/c/modules/Chacox/Chacox.cpp

    r13975 r15396  
    2222        #ifdef _HAVE_CHACO_ //only works if Chaco library has been compiled in.
    2323
    24         extern int Using_Main;  /* is main routine being called? */
    25         extern char *PARAMS_FILENAME;   /* name of file with parameter updates */
    26         extern double EIGEN_TOLERANCE;  /* tolerance for eigen calculations */
    27         extern int OUTPUT_ASSIGN;       /* whether to write assignment to file */
    28         extern int DEBUG_MEMORY;        /* debug memory allocation and freeing? */
    29         extern int DEBUG_TRACE; /* trace main execution path */
    30         extern int DEBUG_PARAMS;        /* debug flag for reading parameters */
    31         extern long RANDOM_SEED;        /* seed for random number generators */
    32         extern int ECHO;                /* controls amount of output */
    33         extern int PROMPT;              /* prompt for input or not? */
    34         extern int PRINT_HEADERS;       /* print lines for output sections? */
    35         extern int MATCH_TYPE;      /* matching routine to call */
    36         extern double input_time;       /* times data file input */
    37         extern double start_time;       /* time partitioning starts */
    38         FILE     *params_file;  /* file with parameter value updates */
    39         int       global_method;        /* global partitioning method */
    40         int       local_method; /* local partitioning method */
    41         double    eigtol;               /* tolerance in eigenvector calculation */
    42         int       ndims;                /* dimension of recursive partitioning */
    43         int       architecture; /* 0 => hypercube, d => d-dimensional mesh */
    44         int       ndims_tot;    /* total number of cube dimensions to divide */
    45         int       mesh_dims[3]; /* dimensions of mesh of processors */
    46         long      seed;         /* for random graph mutations */
    47         int       rqi_flag;             /* use RQI/Symmlq eigensolver? */
    48         int       vmax;         /* if so, how many vertices to coarsen down to? */
    49         char      outassignname[NAME_LENGTH];   /* assignment output file name */
    50         char      outfilename[NAME_LENGTH];     /* name of output file */
    51         char     *outassignptr; /* name or null pointer for output assignment */
    52         char     *outfileptr;   /* name or null pointer for output file */
    53         int       nprocs;               /* number of processors being divided into */
    54         double    time;         /* timing marker */
    55         int       flag;         /* return code from input routines */
    56         double   *smalloc();    /* safe version of malloc */
    57         //double    seconds();  /* returns elapsed time in seconds */
    58         /*int       sfree(), interface(), affirm();
    59         void      input_queries(), smalloc_stats(), read_params(), clear_timing();*/
     24        extern int     Using_Main;                   /* is main routine being called?                */
     25        extern char   *PARAMS_FILENAME;              /* name of file with parameter updates          */
     26        extern double  EIGEN_TOLERANCE;              /* tolerance for eigen calculations            */
     27        extern int     OUTPUT_ASSIGN;                /* whether to write assignment to file          */
     28        extern int     DEBUG_MEMORY;                 /* debug memory allocation and freeing?        */
     29        extern int     DEBUG_TRACE;                  /* trace main execution path                    */
     30        extern int     DEBUG_PARAMS;                 /* debug flag for reading parameters            */
     31        extern long    RANDOM_SEED;                  /* seed for random number generators            */
     32        extern int     ECHO;                         /* controls amount of output                    */
     33        extern int     PROMPT;                       /* prompt for input or not?                    */
     34        extern int     PRINT_HEADERS;                /* print lines for output sections?            */
     35        extern int     MATCH_TYPE;                   /* matching routine to call                    */
     36        extern double  input_time;                   /* times data file input                        */
     37        extern double  start_time;                   /* time partitioning starts                    */
     38        FILE          *params_file;                  /* file with parameter value updates            */
     39        int            global_method;                /* global partitioning method                  */
     40        int            local_method;                 /* local partitioning method                    */
     41        double         eigtol;                       /* tolerance in eigenvector calculation        */
     42        int            ndims;                        /* dimension of recursive partitioning          */
     43        int            architecture;                 /* 0 => hypercube, d => d-dimensional mesh      */
     44        int            ndims_tot;                    /* total number of cube dimensions to divide    */
     45        int            mesh_dims[3];                 /* dimensions of mesh of processors            */
     46        long           seed;                         /* for random graph mutations                  */
     47        int            rqi_flag;                     /* use RQI/Symmlq eigensolver?                  */
     48        int            vmax;                         /* if so, how many vertices to coarsen down to? */
     49        char           outassignname[NAME_LENGTH];   /* assignment output file name                  */
     50        char           outfilename[NAME_LENGTH];     /* name of output file                          */
     51        char          *outassignptr;                 /* name or null pointer for output assignment  */
     52        char          *outfileptr;                   /* name or null pointer for output file        */
     53        int            nprocs;                       /* number of processors being divided into      */
     54        double         time;                         /* timing marker                                */
     55        int            flag;                         /* return code from input routines              */
     56        double        *smalloc();                    /* safe version of malloc                      */
     57        //double       seconds();                    /* returns elapsed time in seconds              */
     58        /*int sfree(), interface(), affirm();
     59        void input_queries()  , smalloc_stats(), read_params(), clear_timing();  */
    6060
    6161        int i,tvwgt;
     
    6363
    6464        if (DEBUG_TRACE > 0) {
    65                 _printLine_("<Entering main>");
     65                _printf_("<Entering main>\n");
    6666        }
    6767
    6868        if (PRINT_HEADERS) {
    69                 _printLine_("\n                    Chaco 2.0");
    70                 _printLine_("          Sandia National Laboratories\n");
     69                _printf_("\n                    Chaco 2.0\n");
     70                _printf_("          Sandia National Laboratories\n\n");
    7171        }
    7272
     
    7474        params_file = fopen(PARAMS_FILENAME, "r");
    7575        if (params_file == NULL && DEBUG_PARAMS > 1) {
    76                 printf("Parameter file `%s' not found; using default parameters.\n",
    77                            PARAMS_FILENAME);
     76                printf("Parameter file `%s' not found; using default parameters.\n",PARAMS_FILENAME);
    7877        }
    7978
     
    10099
    101100        if ((int)options[OPT_VWGTS] && vwgts) {
    102                 printf("%s -- Applying weights for %d vertices.\n",
    103                            __FUNCT__,nvtxs);
     101                printf("%s -- Applying weights for %d vertices.\n",__FUNCT__,nvtxs);
    104102                tvwgt = 0;
    105103                for (i=0; i<nvtxs; i++)
     
    109107                tvwgt = nvtxs;
    110108                if      ( (int)options[OPT_VWGTS] && !vwgts)
    111                         printf("%s -- Vertex weight flag=%d, but no vertex weights specified.\n",
    112                                    __FUNCT__,options[OPT_VWGTS]);
     109                        printf("%s -- Vertex weight flag=%d, but no vertex weights specified.\n",__FUNCT__,(int)options[OPT_VWGTS]);
    113110                else if (!(int)options[OPT_VWGTS] &&  vwgts)
    114                         printf("%s -- Vertex weight flag=%d, so specified vertex weights ignored.\n",
    115                                    __FUNCT__,options[OPT_VWGTS]);
     111                        printf("%s -- Vertex weight flag=%d, so specified vertex weights ignored.\n",__FUNCT__,(int)options[OPT_VWGTS]);
    116112        }
    117113
     
    122118        else {
    123119                if      ( (int)options[OPT_EWGTS] && !ewgts)
    124                         printf("%s -- Edge weight flag=%d, but no edge weights specified.\n",
    125                                    __FUNCT__,options[OPT_EWGTS]);
     120                        printf("%s -- Edge weight flag=%d, but no edge weights specified.\n",__FUNCT__,(int)options[OPT_EWGTS]);
    126121                else if (!(int)options[OPT_EWGTS] &&  ewgts)
    127                         printf("%s -- Edge weight flag=%d, so specified edge weights ignored.\n",
    128                                    __FUNCT__,options[OPT_EWGTS]);
     122                        printf("%s -- Edge weight flag=%d, so specified edge weights ignored.\n",__FUNCT__,(int)options[OPT_EWGTS]);
    129123        }
    130124
     
    155149        for (i=0; i<start[nvtxs]; adjacency[i++]++);
    156150
    157         printf("\n%s -- Calling Chaco interface:\n\n",
    158                    __FUNCT__);
     151        printf("\n%s -- Calling Chaco interface:\n\n",__FUNCT__);
    159152        flag = interface(nvtxs, start, adjacency,
    160153                  ((int)options[OPT_VWGTS] && vwgts ? vwgts : NULL),
     
    166159                  global_method, local_method, rqi_flag, vmax, ndims,
    167160                  eigtol, seed);
    168         printf("\n%s -- Chaco interface returning flag=%d.\n",
    169                    __FUNCT__,flag);
     161        printf("\n%s -- Chaco interface returning flag=%d.\n",__FUNCT__,flag);
    170162
    171163/*  Reset adjacency matrix in case calling function needs it.  */
     
    174166
    175167        if (DEBUG_MEMORY > 0) {
    176                 _printLine_("");
     168                _printf_("\n");
    177169                smalloc_stats();
    178170        }
     
    182174
    183175        if (DEBUG_TRACE > 1) {
    184                 _printLine_("<Leaving main>");
     176                _printf_("<Leaving main>\n");
    185177        }
    186178
  • issm/trunk/src/c/modules/Chacox/Chacox.h

    r13975 r15396  
    3232#endif
    3333
    34 #include "../../Container/Container.h"
    35 #include "../../classes/objects/objects.h"
     34#include "../../classes/classes.h"
    3635
    3736/* local prototypes: */
  • issm/trunk/src/c/modules/Chacox/input_parse.cpp

    r13975 r15396  
    3737
    3838        if (DEBUG_TRACE > 0) {
    39                 _printLine_("<Entering input_parse>");
     39                _printf_("<Entering input_parse>\n");
    4040        }
    4141
    4242        if (PROMPT) {
    43                 _printLine_("Parallel machine architecture:");
    44                 _printLine_("  (0) Hypercube");
    45                 _printLine_("  (1) One-dimensional mesh");
    46                 _printLine_("  (2) Two-dimensional mesh");
    47                 _printLine_("  (3) Three-dimensional mesh");
     43                _printf_("Parallel machine architecture:\n");
     44                _printf_("  (0) Hypercube\n");
     45                _printf_("  (1) One-dimensional mesh\n");
     46                _printf_("  (2) Two-dimensional mesh\n");
     47                _printf_("  (3) Three-dimensional mesh\n");
    4848        }
    4949        *architecture = (int)options[OPT_ARCH];
    5050        if (*architecture < 0 || *architecture > 3) {
    51                 printf("%s -- Architecture %d must be between 0 and 3.\n",
    52                            __FUNCT__,options[OPT_ARCH]);
     51                printf("%s -- Architecture %d must be between 0 and 3.\n",__FUNCT__,*architecture);
    5352                return(-1);
    5453        }
     
    5655        /* Name output assignment file. */
    5756        if (PROMPT)
    58                 _printString_("Assignment output file: ");
     57                _printf_("Assignment output file: ");
    5958        outassignname = NULL;
    6059
    6160        /* Name output results file. */
    6261        if (PROMPT)
    63                 _printString_("File name for saving run results: ");
     62                _printf_("File name for saving run results: ");
    6463        outfilename = NULL;
    6564
     
    7473        else {
    7574                if (PROMPT) {
    76                         _printLine_("Global partitioning method:");
    77                         _printLine_("  (1) Multilevel-KL");
    78                         _printLine_("  (2) Spectral");
    79                         _printLine_("  (3) Inertial");
    80                         _printLine_("  (4) Linear");
    81                         _printLine_("  (5) Random");
    82                         _printLine_("  (6) Scattered");
    83                         _printLine_("  (7) Read-from-file");
     75                        _printf_("Global partitioning method:\n");
     76                        _printf_("  (1) Multilevel-KL\n");
     77                        _printf_("  (2) Spectral\n");
     78                        _printf_("  (3) Inertial\n");
     79                        _printf_("  (4) Linear\n");
     80                        _printf_("  (5) Random\n");
     81                        _printf_("  (6) Scattered\n");
     82                        _printf_("  (7) Read-from-file\n");
    8483                }
    8584                *global_method = (int)options[OPT_GLOBAL];
    8685                if (*global_method < 1 || *global_method > 7) {
    87                         printf("%s -- Global method %d must be between 1 and 7.\n",
    88                                    __FUNCT__,options[OPT_GLOBAL]);
     86                        printf("%s -- Global method %d must be between 1 and 7.\n",__FUNCT__,*global_method);
    8987                        return(-1);
    9088                }
     
    9391        if (*global_method == 7) {      /* Name and open input assignment file. */
    9492                if (PROMPT)
    95                         _printString_("Assignment input file: ");
     93                        _printf_("Assignment input file: ");
    9694        }
    9795
    9896        else if (*global_method == 3) {
    9997                if (PROMPT)
    100                         _printString_("Geometry input file name: ");
     98                        _printf_("Geometry input file name: ");
    10199        }
    102100
    103101        else if (*global_method == 2) {
    104102                if (PROMPT) {
    105                         _printLine_("Eigensolver:");
    106                         _printLine_("  (1) Multilevel RQI/Symmlq");
    107                         _printLine_("  (2) Lanczos");
     103                        _printf_("Eigensolver:\n");
     104                        _printf_("  (1) Multilevel RQI/Symmlq\n");
     105                        _printf_("  (2) Lanczos\n");
    108106                }
    109107                eigensolver = (int)options[OPT_RQI];
    110108                if (eigensolver < 0 || eigensolver > 2) {
    111                         printf("%s -- RQI/Symmlq flag %d must be between 0 and 2.\n",
    112                                    __FUNCT__,options[OPT_RQI]);
     109                        printf("%s -- RQI/Symmlq flag %d must be between 0 and 2.\n",__FUNCT__,eigensolver);
    113110                        return(-1);
    114111                }
     
    116113                        if (MATCH_TYPE == 5) {  /* geometric matching */
    117114                                if (PROMPT)
    118                                         _printString_("Geometry input file name: ");
     115                                        _printf_("Geometry input file name: ");
    119116                        }
    120117                        *rqi_flag = 1;
    121118                        if (PROMPT)
    122                                 _printString_("Number of vertices to coarsen down to: ");
     119                                _printf_("Number of vertices to coarsen down to: ");
    123120                        *vmax = (int)options[OPT_VMAX];
    124121                        if (*vmax <= 0) {
    125                                 printf("%s -- Vmax %d must be greater then 0.\n",
    126                                            __FUNCT__,options[OPT_VMAX]);
     122                                printf("%s -- Vmax %d must be greater then 0.\n",__FUNCT__,*vmax);
    127123                                return(-1);
    128124                        }
     
    136132                if (MATCH_TYPE == 5) {          /* geometric matching */
    137133                        if (PROMPT)
    138                                 _printString_("Geometry input file name: ");
    139                 }
    140                 if (PROMPT)
    141                         _printString_("Number of vertices to coarsen down to: ");
     134                                _printf_("Geometry input file name: ");
     135                }
     136                if (PROMPT)
     137                        _printf_("Number of vertices to coarsen down to: ");
    142138                *vmax = (int)options[OPT_VMAX];
    143139                if (*vmax <= 0) {
    144                         printf("%s -- Vmax %d must be greater then 0.\n",
    145                                    __FUNCT__,options[OPT_VMAX]);
     140                        printf("%s -- Vmax %d must be greater then 0.\n",__FUNCT__,*vmax);
    146141                        return(-1);
    147142                }
     
    167162        else {
    168163                if (PROMPT) {
    169                         _printLine_("Local refinement method:");
    170                         _printLine_("  (1) Kernighan-Lin");
    171                         _printLine_("  (2) None");
     164                        _printf_("Local refinement method:\n");
     165                        _printf_("  (1) Kernighan-Lin\n");
     166                        _printf_("  (2) None\n");
    172167                }
    173168                *local_method = (int)options[OPT_LOCAL];
    174169                if (*local_method < 1 || *local_method > 2) {
    175                         printf("%s -- Local method %d must be 1 and 2.\n",
    176                                    __FUNCT__,options[OPT_LOCAL]);
     170                        printf("%s -- Local method %d must be 1 and 2.\n",__FUNCT__,*local_method);
    177171                        return(-1);
    178172                }
     
    184178                *ndims_tot = 0;
    185179                if (PROMPT)
    186                         _printString_("Total number of target hypercube dimensions: ");
     180                        _printf_("Total number of target hypercube dimensions: ");
    187181                *ndims_tot = nparts[0];
    188182                if (*ndims_tot < 1) {
    189                         _printLine_(" Number of divisions must be at least 1");
     183                        _printf_(" Number of divisions must be at least 1\n");
    190184                        printf("%s -- Number of divisions %d must be at least 1.\n",
    191185                                   __FUNCT__,nparts[0]);
     
    199193                if (*architecture == 2) {
    200194                        if (PROMPT)
    201                                 _printString_("X and Y extent of of 2-D mesh: ");
     195                                _printf_("X and Y extent of of 2-D mesh: ");
    202196                        mesh_dims[0] = nparts[0];
    203197                        mesh_dims[1] = nparts[1];
     
    205199                else if (*architecture == 3) {
    206200                        if (PROMPT)
    207                                 _printString_("X, Y and Z extent of 3-D mesh: ");
     201                                _printf_("X, Y and Z extent of 3-D mesh: ");
    208202                        mesh_dims[0] = nparts[0];
    209203                        mesh_dims[1] = nparts[1];
     
    212206                else {                  /* Anything else => 1-D mesh */
    213207                        if (PROMPT)
    214                                 _printString_("Size of 1-D mesh: ");
     208                                _printf_("Size of 1-D mesh: ");
    215209                        mesh_dims[0] = nparts[0];
    216210                        *architecture = 1;
     
    226220        else if (*nprocs <= 7) {
    227221                if (PROMPT) {
    228                         _printLine_("Partitioning dimension: ");
    229                         _printLine_("  (1) Bisection");
    230                         _printLine_("  (2) Quadrisection");
     222                        _printf_("Partitioning dimension: \n");
     223                        _printf_("  (1) Bisection\n");
     224                        _printf_("  (2) Quadrisection\n");
    231225                }
    232226                *ndims = (int)options[OPT_NDIMS];
    233227                if (*ndims < 1 || *ndims > 2) {
    234                         printf("%s -- Ndims %d must be 1 or 2 for %d processors.\n",
    235                                    __FUNCT__,options[OPT_NDIMS],*nprocs);
     228                        printf("%s -- Ndims %d must be 1 or 2 for %d processors.\n",__FUNCT__,*ndims,*nprocs);
    236229                        return(-1);
    237230                }
     
    239232        else {
    240233                if (PROMPT) {
    241                         _printLine_("Partitioning dimension: ");
    242                         _printLine_("  (1) Bisection");
    243                         _printLine_("  (2) Quadrisection");
    244                         _printLine_("  (3) Octasection");
     234                        _printf_("Partitioning dimension: \n");
     235                        _printf_("  (1) Bisection\n");
     236                        _printf_("  (2) Quadrisection\n");
     237                        _printf_("  (3) Octasection\n");
    245238                }
    246239                *ndims = (int)options[OPT_NDIMS];
    247240                if (*ndims < 1 || *ndims > 3) {
    248                         printf("%s -- Ndims %d must be between 1 and 3 for %d processors.\n",
    249                                    __FUNCT__,options[OPT_NDIMS],*nprocs);
     241                        printf("%s -- Ndims %d must be between 1 and 3 for %d processors.\n",__FUNCT__,*ndims,*nprocs);
    250242                        return(-1);
    251243                }
  • issm/trunk/src/c/modules/ComputeBasalStressx/ComputeBasalStressx.cpp

    r13975 r15396  
    66
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    98#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    119
    1210void    ComputeBasalStressx( Vector<IssmDouble>** psigma,Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads, Materials* materials,Parameters* parameters){
  • issm/trunk/src/c/modules/ComputeBasalStressx/ComputeBasalStressx.h

    r13975 r15396  
    66#define _COMPUTEBASALSTRESSX_H
    77
    8 #include "../../classes/objects/objects.h"
    9 #include "../../Container/Container.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
  • issm/trunk/src/c/modules/ComputeStrainRatex/ComputeStrainRatex.cpp

    r13975 r15396  
    66
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    98#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    119
    1210void    ComputeStrainRatex( Vector<IssmDouble>** peps,Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads, Materials* materials,Parameters* parameters){
  • issm/trunk/src/c/modules/ComputeStrainRatex/ComputeStrainRatex.h

    r13975 r15396  
    66#define _COMPUTESTRAINRATEX_H
    77
    8 #include "../../classes/objects/objects.h"
    9 #include "../../Container/Container.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
  • issm/trunk/src/c/modules/ConfigureObjectsx/ConfigureObjectsx.cpp

    r13975 r15396  
    66
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    9 #include "../../io/io.h"
    108#include "../../toolkits/toolkits.h"
    11 #include "../../EnumDefinitions/EnumDefinitions.h"
     9#include "../../classes/classes.h"
    1210
    1311int     ConfigureObjectsx( Elements* elements, Loads* loads, Nodes* nodes, Vertices* vertices, Materials* materials,Parameters* parameters){
    1412
    1513        /*Intermediary*/
     14        int i;
    1615        int noerr=1;
    17         int i;
    18         Element* element=NULL;
    19         Load* load=NULL;
    20         Node* node=NULL;
    21         Material* material=NULL;
    2216        int configuration_type;
     17        Element  *element  = NULL;
     18        Load     *load     = NULL;
     19        Node     *node     = NULL;
     20        Material *material = NULL;
    2321
    2422        /*Get analysis type: */
    2523        parameters->FindParam(&configuration_type,ConfigurationTypeEnum);
    2624
    27         if(VerboseMProcessor()) _pprintLine_("      Configuring elements...");
     25        if(VerboseMProcessor()) _printf0_("      Configuring elements...\n");
    2826        for (i=0;i<elements->Size();i++){
    2927                element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
    30                 element->Configure(elements,loads,nodes,materials,parameters);
     28                element->Configure(elements,loads,nodes,vertices,materials,parameters);
    3129        }
    32         if(VerboseMProcessor()) _pprintLine_("      Configuring loads...");
     30        if(VerboseMProcessor()) _printf0_("      Configuring loads...\n");
    3331        for (i=0;i<loads->Size();i++){
    3432                load=(Load*)loads->GetObjectByOffset(i);
     
    3735                }
    3836        }
    39         if(VerboseMProcessor()) _pprintLine_("      Configuring nodes...");
     37        if(VerboseMProcessor()) _printf0_("      Configuring nodes...\n");
    4038        for (i=0;i<nodes->Size();i++){
    4139                node=(Node*)nodes->GetObjectByOffset(i);
     
    4543        }
    4644
    47         if(VerboseMProcessor()) _pprintLine_("      Configuring materials...");
     45        if(VerboseMProcessor()) _printf0_("      Configuring materials...\n");
    4846        for (i=0;i<materials->Size();i++){
    4947                material=(Material*)materials->GetObjectByOffset(i);
  • issm/trunk/src/c/modules/ConfigureObjectsx/ConfigureObjectsx.h

    r4236 r15396  
    66#define _CONFIGUREOBJECTSX_H
    77
    8 #include "../../Container/Container.h"
     8#include "../../classes/classes.h"
    99
    1010/* local prototypes: */
  • issm/trunk/src/c/modules/ConstraintsStatex/ConstraintsStateLocal.h

    r13975 r15396  
    66#define _CONSTRAINTSSTATELOCAL_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/*melting: */
  • issm/trunk/src/c/modules/ConstraintsStatex/ConstraintsStatex.cpp

    r13975 r15396  
    66#include "./ConstraintsStateLocal.h"
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    9 #include "../../io/io.h"
    108#include "../../toolkits/toolkits.h"
    11 #include "../../EnumDefinitions/EnumDefinitions.h"
    129
    1310void ConstraintsStatex(int* pconverged, int* pnum_unstable_constraints, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads,Materials* materials,  Parameters* parameters){
     
    2017
    2118        /*Display message*/
    22         if(VerboseModule()) _pprintLine_("   Constraining penalties");
     19        if(VerboseModule()) _printf0_("   Constraining penalties\n");
    2320
    2421        /*recover parameters: */
     
    2825        /*Do we have penalties linked to rifts? In this case, run our special rifts penalty
    2926         * management routine, otherwise, skip : */
     27
     28        /*No constraints management by default!:*/
     29        num_unstable_constraints=0;
     30        converged=1;
     31
     32        #ifdef _HAVE_RIFTS_
    3033        if (RiftIsPresent(loads,analysis_type)){
    3134                RiftConstraintsState(&converged,&num_unstable_constraints,loads,min_mechanical_constraints,analysis_type);
    3235        }
     36        #endif
    3337        #ifdef _HAVE_THERMAL_
    34         else if(ThermalIsPresent(loads,analysis_type)){
     38        if(ThermalIsPresent(loads,analysis_type)){
    3539                ThermalConstraintsState(loads,&converged,&num_unstable_constraints,analysis_type);
    3640        }
    3741        #endif
    38         else{
    39                 /*Do nothing, no constraints management!:*/
    40                 num_unstable_constraints=0;
    41                 converged=1;
    42         }
    4342
    4443        /*Assign output pointers: */
  • issm/trunk/src/c/modules/ConstraintsStatex/ConstraintsStatex.h

    r13975 r15396  
    66#define _CONSTRAINTSSTATEX_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
  • issm/trunk/src/c/modules/ConstraintsStatex/RiftConstraintsState.cpp

    r13975 r15396  
    44
    55#include "./ConstraintsStateLocal.h"
    6 #include "../../EnumDefinitions/EnumDefinitions.h"
    7 #include "../../include/include.h"
    8 #include "../../io/io.h"
    96#include "../../shared/shared.h"
    107
     
    5451        }
    5552        else if(num_unstable_constraints<=min_mechanical_constraints){
    56                 if(VerboseModule()) _pprintLine_("   freezing constraints");
     53                if(VerboseModule()) _printf0_("   freezing constraints\n");
    5754                RiftFreezeConstraints(loads,configuration_type);
    5855        }
  • issm/trunk/src/c/modules/ContourToMeshx/ContourToMeshx.cpp

    r13975 r15396  
    1010#include "./ContourToMeshx.h"
    1111
    12 int ContourToMeshx(SeqVec<double>** pin_nod,SeqVec<double>** pin_elem, double* index, double* x, double* y,DataSet* contours,char* interptype,int nel,int nods, int edgevalue) {
     12int ContourToMeshx(double** pin_nod,double** pin_elem, double* index, double* x, double* y,Contours* contours,char* interptype,int nel,int nods, int edgevalue) {
    1313
    1414        /*Contour:*/
    15         double*  in_nod_serial;
    1615        double   value;
    1716
     
    2423
    2524        /*output: */
    26         SeqVec<double>* in_nod=NULL;
    27         SeqVec<double>* in_elem=NULL;
    28         in_nod  = new SeqVec<double>(nods);
    29         in_elem = new SeqVec<double>(nel);
     25        double*  in_nod;
     26        double*  in_elem;
     27        in_nod   = xNewZeroInit<double>(nods);
     28        in_elem  = xNewZeroInit<double>(nel);
    3029
    3130        /*initialize thread parameters: */
     
    4039        LaunchThread(ContourToMeshxt,(void*)&gate,num);
    4140
    42         /*Assemble in_nod: */
    43         in_nod->Assemble();
    44 
    45         /*Get in_nod serialised for next operation: */
    46         in_nod_serial=in_nod->ToMPISerial();
    47 
    4841        /*Take care of the case where an element interpolation has been requested: */
    4942        if ((strcmp(interptype,"element")==0) || (strcmp(interptype,"element and node")==0)){
    5043                for(int n=0;n<nel;n++){
    51                         if ( (in_nod_serial[ (int)*(index+3*n+0) -1] == 1) && (in_nod_serial[ (int)*(index+3*n+1) -1] == 1) && (in_nod_serial[ (int)*(index+3*n+2) -1] == 1) ){
    52                                 value=1; in_elem->SetValue(n,value,INS_VAL);
     44                        if ( (in_nod[ (int)*(index+3*n+0) -1] == 1) && (in_nod[ (int)*(index+3*n+1) -1] == 1) && (in_nod[ (int)*(index+3*n+2) -1] == 1) ){
     45                                value=1; in_elem[n]=value;
    5346                        }
    5447                }
    5548        }
    56 
    57         /*Assemble vectors: */
    58         in_elem->Assemble();
    5949
    6050        /*Assign output pointers: */
     
    6252        *pin_elem=in_elem;
    6353
    64         /*Free ressources:*/
    65         xDelete<double>(in_nod_serial);
    66 
    6754        return 1;
    6855}
  • issm/trunk/src/c/modules/ContourToMeshx/ContourToMeshx.h

    r13975 r15396  
    77
    88#include "../../shared/shared.h"
    9 #include "../../classes/objects/objects.h"
     9#include "../../classes/classes.h"
    1010
    1111/*threading: */
    1212typedef struct{
    1313
    14         DataSet *contours;
    15         int    nods;
    16         int    edgevalue;
    17         SeqVec<double> *in_nod;
    18         double *x;
    19         double *y;
     14        Contours *contours;
     15        int       nods;
     16        int       edgevalue;
     17        double  *in_nod;
     18        double   *x;
     19        double   *y;
    2020
    2121} ContourToMeshxThreadStruct;
    2222
    2323/* local prototypes: */
    24 int ContourToMeshx(SeqVec<double>** pin_nods,SeqVec<double>** pin_elem, double* index, double* x, double* y,DataSet* contours,char* interptype,int nel,int nods, int edgevalue);
     24int ContourToMeshx(double** pin_nods,double** pin_elem, double* index, double* x, double* y,Contours* contours,char* interptype,int nel,int nods, int edgevalue);
    2525
    2626void* ContourToMeshxt(void* vContourToMeshxThreadStruct);
  • issm/trunk/src/c/modules/ContourToMeshx/ContourToMeshxt.cpp

    r13975 r15396  
    2626
    2727        /*Contour:*/
    28         DataSet* contours=NULL;
     28        Contours* contours=NULL;
    2929
    3030        /*parameters: */
     
    3333        double* x=NULL;
    3434        double* y=NULL;
    35         SeqVec<double>* in_nod=NULL;
     35        double* in_nod=NULL;
    3636
    3737        /*recover handle and gate: */
  • issm/trunk/src/c/modules/ContourToNodesx/ContourToNodesx.cpp

    r13975 r15396  
    44#include "./ContourToNodesx.h"
    55
    6 int ContourToNodesx(SeqVec<IssmPDouble>** pflags,double* x, double* y, int nods, Contour<IssmPDouble>** contours,int numcontours,int edgevalue){
     6int ContourToNodesx(IssmPDouble** pflags,double* x, double* y, int nods, Contour<IssmPDouble>** contours,int numcontours,int edgevalue){
    77
    88        int i;
     
    1515
    1616        /*output: */
    17         SeqVec<IssmPDouble>* flags=NULL;
    18         flags=new SeqVec<IssmPDouble>(nods);
     17        IssmPDouble* flags=NULL;
     18        flags=xNew<IssmPDouble>(nods);
    1919
    2020        /*Loop through all contours: */
     
    2727        }
    2828
    29         /*Assemble vector: */
    30         flags->Assemble();
    31 
    3229        /*Assign output pointers: */
    3330        *pflags=flags;
     
    3532}
    3633
    37 int ContourToNodesx(SeqVec<IssmPDouble>** pflags,double* x, double* y, int nods, DataSet* contours, int edgevalue){
     34int ContourToNodesx(IssmPDouble** pflags,double* x, double* y, int nods, Contours* contours, int edgevalue){
    3835
    3936        /*Contour:*/
     
    4340
    4441        /*output: */
    45         SeqVec<IssmPDouble>* flags=NULL;
    46         flags=new SeqVec<IssmPDouble>(nods);
     42        IssmPDouble* flags=NULL;
     43        flags=xNewZeroInit<IssmPDouble>(nods);
    4744
    4845        /*Loop through all contours: */
     
    5451        }
    5552
    56         /*Assemble vector: */
    57         flags->Assemble();
    58 
    5953        /*Assign output pointers: */
    6054        *pflags=flags;
  • issm/trunk/src/c/modules/ContourToNodesx/ContourToNodesx.h

    r13395 r15396  
    77
    88#include "../../shared/shared.h"
    9 #include "../../classes/objects/objects.h"
     9#include "../../classes/classes.h"
    1010
    1111/* local prototypes: */
    12 int ContourToNodesx(SeqVec<IssmPDouble>** pflags,double* x, double* y, int nods, Contour<IssmPDouble>** contours,int numcontours,int edgevalue);
    13 int ContourToNodesx(SeqVec<IssmPDouble>** pflags,double* x, double* y, int nods, DataSet* contours, int edgevalue);
     12int ContourToNodesx(IssmPDouble** pflags,double* x, double* y, int nods, Contour<IssmPDouble>** contours,int numcontours,int edgevalue);
     13int ContourToNodesx(IssmPDouble** pflags,double* x, double* y, int nods, Contours* contours, int edgevalue);
    1414
    1515#endif /* _CONTOURTONODESX_H */
  • issm/trunk/src/c/modules/ControlInputGetGradientx/ControlInputGetGradientx.cpp

    r13395 r15396  
    55#include "./ControlInputGetGradientx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
    108
    119void ControlInputGetGradientx( Vector<IssmDouble>** pgradient, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters){
  • issm/trunk/src/c/modules/ControlInputGetGradientx/ControlInputGetGradientx.h

    r13395 r15396  
    55#define _CONTROLINPUTGETGRADIENTX_H
    66
    7 #include "../../classes/objects/objects.h"
    8 #include "../../Container/Container.h"
     7#include "../../classes/classes.h"
    98
    109void    ControlInputGetGradientx( Vector<IssmDouble>** pgradient, Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads, Materials* materials,  Parameters* parameters);
  • issm/trunk/src/c/modules/ControlInputScaleGradientx/ControlInputScaleGradientx.cpp

    r13975 r15396  
    55#include "./ControlInputScaleGradientx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
    108
    119void ControlInputScaleGradientx(Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,IssmDouble* norm_list,int step){
  • issm/trunk/src/c/modules/ControlInputScaleGradientx/ControlInputScaleGradientx.h

    r13395 r15396  
    55#define _CONTROLINPUTSSCALEGRADIENTX_H
    66
    7 #include "../../classes/objects/objects.h"
    8 #include "../../Container/Container.h"
     7#include "../../classes/classes.h"
    98
    109void    ControlInputScaleGradientx(Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads, Materials* materials,  Parameters* parameters,IssmDouble* norm_list,int step);
  • issm/trunk/src/c/modules/ControlInputSetGradientx/ControlInputSetGradientx.cpp

    r13395 r15396  
    55#include "./ControlInputSetGradientx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
    108
    119void ControlInputSetGradientx(Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,IssmDouble* gradient){
  • issm/trunk/src/c/modules/ControlInputSetGradientx/ControlInputSetGradientx.h

    r13395 r15396  
    55#define _CONTROLINPUTSSETGRADIENTX_H
    66
    7 #include "../../classes/objects/objects.h"
    8 #include "../../Container/Container.h"
     7#include "../../classes/classes.h"
    98
    109void    ControlInputSetGradientx(Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads, Materials* materials,  Parameters* parameters,double* gradient);
  • issm/trunk/src/c/modules/CreateNodalConstraintsx/CreateNodalConstraintsx.cpp

    r13975 r15396  
    66
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    98#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    119
    1210void CreateNodalConstraintsx( Vector<IssmDouble>** pys, Nodes* nodes,int configuration_type){
     
    1614        /*output: */
    1715        Vector<IssmDouble>* ys=NULL;
     16        int ssize;
     17        int slocalsize;
     18
     19        if(VerboseModule()) _printf0_("   Create nodal constraints\n");
    1820
    1921        /*figure out how many dofs we have: */
    20         int ssize=nodes->NumberOfDofs(configuration_type,SsetEnum);
    21         int slocalsize = nodes->NumberOfDofsLocal(configuration_type,SsetEnum);
     22        ssize=nodes->NumberOfDofs(configuration_type,SsetEnum);
     23        slocalsize = nodes->NumberOfDofsLocal(configuration_type,SsetEnum);
    2224
    2325        /*allocate:*/
  • issm/trunk/src/c/modules/CreateNodalConstraintsx/CreateNodalConstraintsx.h

    r13395 r15396  
    55#define _CREATENODALCONSTRAINTSX_H
    66
    7 #include "../../Container/Container.h"
    8 #include "../../classes/objects/objects.h"
     7#include "../../classes/classes.h"
    98
    109/* local prototypes: */
  • issm/trunk/src/c/modules/Delta18oParameterizationx/Delta18oParameterizationx.cpp

    r13975 r15396  
    55#include "./Delta18oParameterizationx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    8 #include "../../io/io.h"
    97#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    118
    129void Delta18oParameterizationx(Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads,Materials* materials, Parameters* parameters){
  • issm/trunk/src/c/modules/Delta18oParameterizationx/Delta18oParameterizationx.h

    r13395 r15396  
    66#define _DELTA18OPARAMETERIZATIONX_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
  • issm/trunk/src/c/modules/DragCoefficientAbsGradientx/DragCoefficientAbsGradientx.cpp

    r13975 r15396  
    66
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    98#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    119
    12 void DragCoefficientAbsGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,bool process_units, int weight_index){
     10void DragCoefficientAbsGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,int weight_index){
    1311
    1412        /*Intermediary*/
     
    2321        for (i=0;i<elements->Size();i++){
    2422                element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
    25                 J+=element->DragCoefficientAbsGradient(process_units,weight_index);
     23                J+=element->DragCoefficientAbsGradient(weight_index);
    2624        }
    2725
  • issm/trunk/src/c/modules/DragCoefficientAbsGradientx/DragCoefficientAbsGradientx.h

    r13395 r15396  
    66#define _DRAGCOEFFABSGRADX_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
    12 void DragCoefficientAbsGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,bool process_units,int weight_index);
     11void DragCoefficientAbsGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,int weight_index);
    1312
    1413#endif
  • issm/trunk/src/c/modules/ElementConnectivityx/ElementConnectivityx.cpp

    r14067 r15396  
    1111
    1212#include "../../shared/shared.h"
    13 #include "../../include/include.h"
    1413#include "../../toolkits/toolkits.h"
    15 #include "../../EnumDefinitions/EnumDefinitions.h"
    1614
    1715int hascommondedge(int* element1,int* element2);
  • issm/trunk/src/c/modules/Exp2Kmlx/Exp2Kmlx.cpp

    r13975 r15396  
    55#include "./Exp2Kmlx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    8 #include "../../io/io.h"
     7#include "../../kml/kmlobjects.h"
    98#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    11 #include "../modules.h"
    129
    1310int Exp2Kmlx(char* filexp,char* filkml,int sgn,bool holes){
     
    5047        clock0=clock();
    5148        time0 =time(NULL);
    52         _pprintString_("\nExp2Kmlx Module -- " << ctime(&time0));
     49        _printf0_("\nExp2Kmlx Module -- " << ctime(&time0));
    5350
    5451        /*read exp file  */
    5552
    56         if (!DomainOutlineRead(&nprof,&pnvert,&pprofx,&pprofy,&closed,filexp))
     53        if (!ExpRead(&nprof,&pnvert,&pprofx,&pprofy,&closed,filexp))
    5754                _error_("Error reading exp file.");
    58         _pprintLine_("Exp2Kmlx -- Reading " << nprof << " exp profiles from file \"" << filexp << "\".");
     55        _printf0_("Exp2Kmlx -- Reading " << nprof << " exp profiles from file \"" << filexp << "\".\n");
    5956//      for (i=0; i<nprof; i++)
    60 //              _printLine_("i=" << i << "; nvert=" << pnvert[i] << ", closed=" << closed[i]);
     57//              _printf_("i=" << i << "; nvert=" << pnvert[i] << ", closed=" << closed[i] << "\n");
    6158
    6259/*  construct kml file  */
     
    121118
    122119        if (holes && nprof && (pnvert[0] <= 1 || pprofx[0][pnvert[0]-1] != pprofx[0][0] || pprofy[0][pnvert[0]-1] != pprofy[0][0])) {
    123                 _pprintLine_("Warning -- Outer profile is not closed, so \"holes\" option will be ignored.");
     120                _printf0_("Warning -- Outer profile is not closed, so \"holes\" option will be ignored.\n");
    124121                holes=false;
    125122        }
     
    153150                for (i=1; i<nprof; i++) {
    154151                        if (pnvert[i] <= 1 || pprofx[i][pnvert[i]-1] != pprofx[i][0] || pprofy[i][pnvert[i]-1] != pprofy[i][0]) {
    155                                 _pprintLine_("Warning -- Inner profile " << i+1 << " is not closed with \"holes\" specified, so it will be ignored.");
     152                                _printf0_("Warning -- Inner profile " << i+1 << " is not closed with \"holes\" specified, so it will be ignored.\n");
    156153                                continue;
    157154                        }
     
    275272/*  write kml file  */
    276273
    277         _pprintLine_("Exp2Kmlx -- Writing kml document to file \"" << filkml << "\".");
     274        _printf0_("Exp2Kmlx -- Writing kml document to file \"" << filkml << "\".\n");
    278275        fid=fopen(filkml,"w");
    279276        fprintf(fid,"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
     
    290287        clock1=clock();
    291288        time1 =time(NULL);
    292         _printf_(true,"Exp2Kmlx Module -- %f CPU seconds; %f elapsed seconds.\n\n",
    293                          ((double)(clock1-clock0))/CLOCKS_PER_SEC,difftime(time1,time0));
     289        _printf_("Exp2Kmlx Module -- " <<((double)(clock1-clock0))/CLOCKS_PER_SEC << " CPU seconds; " <<difftime(time1,time0) << " elapsed seconds.\n\n\n");
    294290
    295291        return(iret);
  • issm/trunk/src/c/modules/Exp2Kmlx/Exp2Kmlx.h

    r13395 r15396  
    77
    88#include <float.h>    /*  DBL_MAX  */
    9 #include "../../Container/Container.h"
    10 #include "../../classes/objects/objects.h"
     9#include "../../classes/classes.h"
    1110
    1211/* local prototypes: */
  • issm/trunk/src/c/modules/GetSolutionFromInputsx/GetSolutionFromInputsx.cpp

    r13975 r15396  
    55#include "./GetSolutionFromInputsx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
    108
    119void    GetSolutionFromInputsx( Vector<IssmDouble>** psolution, Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads, Materials* materials,  Parameters* parameters){
     
    2018        /*output: */
    2119        Vector<IssmDouble>* solution=NULL;
     20
     21        if(VerboseModule()) _printf0_("   Get solution from inputs\n");
    2222
    2323        /*retrive parameters: */
  • issm/trunk/src/c/modules/GetSolutionFromInputsx/GetSolutionFromInputsx.h

    r13975 r15396  
    66#define _GETSOLUTIONFROMINPUTSXX_H
    77
    8 #include "../../classes/objects/objects.h"
    9 #include "../../Container/Container.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
  • issm/trunk/src/c/modules/GetVectorFromControlInputsx/GetVectorFromControlInputsx.cpp

    r13975 r15396  
    55#include "./GetVectorFromControlInputsx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
    108
    119void GetVectorFromControlInputsx(Vector<IssmDouble>** pvector, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,const char* data){
     
    4846
    4947        /*Free ressources:*/
    50         xdelete(&vec_vector);
     48        delete vec_vector;
    5149
    5250        /*Assign output pointers:*/
  • issm/trunk/src/c/modules/GetVectorFromControlInputsx/GetVectorFromControlInputsx.h

    r13975 r15396  
    55#define _GETVECTORFROMCONTROLINPUTSXX_H
    66
    7 #include "../../classes/objects/objects.h"
    8 #include "../../Container/Container.h"
     7#include "../../classes/classes.h"
    98
    109/* local prototypes: */
  • issm/trunk/src/c/modules/GetVectorFromInputsx/GetVectorFromInputsx.cpp

    r13975 r15396  
    55#include "./GetVectorFromInputsx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
    108
    119void GetVectorFromInputsx( Vector<IssmDouble>** pvector, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters, int name, int type){
     
    5351
    5452        /*Free ressources:*/
    55         xdelete(&vec_vector);
     53        delete vec_vector;
    5654
    5755        /*Assign output pointers:*/
  • issm/trunk/src/c/modules/GetVectorFromInputsx/GetVectorFromInputsx.h

    r13975 r15396  
    55#define _GETVECTORFROMINPUTSXX_H
    66
    7 #include "../../classes/objects/objects.h"
    8 #include "../../Container/Container.h"
     7#include "../../classes/classes.h"
    98
    109/* local prototypes: */
  • issm/trunk/src/c/modules/Gradjx/Gradjx.cpp

    r13975 r15396  
    44
    55#include "./Gradjx.h"
    6 #include "../modules.h"
    76#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    97#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    118
    129void Gradjx(Vector<IssmDouble>** pgradient,IssmDouble** pnorm_list, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters){
     
    4946        for(i=0;i<num_controls;i++){
    5047                gradient->AXPY(gradient_list[i],1.0);
    51                 xdelete(&gradient_list[i]);
     48                delete gradient_list[i];
    5249        }
    5350
  • issm/trunk/src/c/modules/Gradjx/Gradjx.h

    r13395 r15396  
    66#define _GRADJX_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
  • issm/trunk/src/c/modules/GroundinglineMigrationx/GroundinglineMigrationx.cpp

    r13975 r15396  
    44
    55#include "../../shared/shared.h"
    6 #include "../../io/io.h"
    7 #include "../../include/include.h"
    86#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
    10 #include "../../Container/Container.h"
     7#include "../../classes/classes.h"
    118#include "./GroundinglineMigrationx.h"
    129
    1310void GroundinglineMigrationx(Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads,Materials* materials, Parameters* parameters){
    1411
    15         int      i, migration_style,analysis_type;
    16         IssmDoublevertices_potentially_ungrounding = NULL;
    17         IssmDoublevertices_ungrounding             = NULL;
    18         IssmDoubleold_floatingice                  = NULL;
    19         Vector<IssmDouble>*      vec_old_floatingice              = NULL;
    20         Element* element                          = NULL;
     12        int                migration_style,analysis_type;
     13        IssmDouble         *vertices_potentially_ungrounding = NULL;
     14        IssmDouble         *vertices_ungrounding             = NULL;
     15        IssmDouble         *old_floatingice                  = NULL;
     16        Vector<IssmDouble> *vec_old_floatingice              = NULL;
     17        Element            *element                          = NULL;
    2118
    22         if(VerboseModule()) _pprintLine_("   Migrating grounding line");
     19        if(VerboseModule()) _printf0_("   Migrating grounding line\n");
    2320
    2421        /*retrieve parameters: */
     
    2724
    2825        if(migration_style==NoneEnum) return;
    29         if(migration_style!=AgressiveMigrationEnum && migration_style!=SoftMigrationEnum) _error_(EnumToStringx(migration_style) << " not supported yet!");
     26
     27        if(migration_style!=AgressiveMigrationEnum  &&
     28                migration_style!=SoftMigrationEnum       &&
     29                migration_style!=SubelementMigrationEnum &&
     30                migration_style!=SubelementMigration2Enum)
     31         _error_("Grounding line migration "<<EnumToStringx(migration_style) << " not supported yet!");
     32
     33        /*Set toolkit to default*/
     34        ToolkitsOptionsFromAnalysis(parameters,NoneAnalysisEnum);
    3035
    3136        if(migration_style==SoftMigrationEnum){
    3237                /*Create flag for grounded vertices above the hydrostatic equilibrium: */
    33                 vertices_potentially_ungrounding=PotentialSheetUngrounding(elements,vertices,parameters);
     38                vertices_potentially_ungrounding=PotentialUngrounding(elements,vertices,parameters);
    3439
    3540                /*propagate ice shelf into connex areas of the ice sheet that potentially want to unground: */
     
    4247
    4348        /*Migrate grounding line : */
    44         for(i=0;i<elements->Size();i++){
     49        for(int i=0;i<elements->Size();i++){
    4550                element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
    4651                element->MigrateGroundingLine(old_floatingice,vertices_ungrounding);
     
    4853
    4954        /*free ressouces: */
    50         xdelete(&vec_old_floatingice);
     55        delete vec_old_floatingice;
    5156        xDelete<IssmDouble>(vertices_potentially_ungrounding);
    5257        xDelete<IssmDouble>(vertices_ungrounding);
     
    8186}
    8287/*%}}}*/
    83 /*FUNCTION PotentialSheetUngrounding {{{*/
    84 IssmDouble*    PotentialSheetUngrounding(Elements* elements,Vertices* vertices,Parameters* parameters){
     88/*FUNCTION PotentialUngrounding {{{*/
     89IssmDouble*    PotentialUngrounding(Elements* elements,Vertices* vertices,Parameters* parameters){
    8590
    8691        int      i,numberofvertices;
     
    96101        for(i=0;i<elements->Size();i++){
    97102                element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
    98                 element->PotentialSheetUngrounding(vec_vertices_potentially_ungrounding);
     103                element->PotentialUngrounding(vec_vertices_potentially_ungrounding);
    99104        }
    100105
     
    104109
    105110        /*free ressouces and return: */
    106         xdelete(&vec_vertices_potentially_ungrounding);
     111        delete vec_vertices_potentially_ungrounding;
    107112        return vertices_potentially_ungrounding;
    108113}
     
    150155                        element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
    151156                        if(reCast<int,IssmDouble>(elements_neighboring_floatingce[element->Sid()])){
    152                                 local_nflipped+=element->UpdatePotentialSheetUngrounding(vertices_potentially_ungrounding,vec_nodes_on_floatingice,nodes_on_floatingice);
     157                                local_nflipped+=element->UpdatePotentialUngrounding(vertices_potentially_ungrounding,vec_nodes_on_floatingice,nodes_on_floatingice);
    153158                        }
    154159                }
     
    157162                #ifdef _HAVE_MPI_
    158163                MPI_Allreduce(&local_nflipped,&nflipped,1,MPI_INT,MPI_SUM,IssmComm::GetComm());
    159                 if(VerboseConvergence()) _pprintLine_("   Additional number of vertices allowed to unground: " << nflipped);
     164                if(VerboseConvergence()) _printf0_("   Additional number of vertices allowed to unground: " << nflipped << "\n");
    160165                #else
    161166                nflipped=local_nflipped;
     
    167172
    168173                /*Assemble and serialize:*/
    169                 xdelete(&vec_elements_neighboring_floatingice);
     174                delete vec_elements_neighboring_floatingice;
    170175                nodes_on_floatingice=vec_nodes_on_floatingice->ToMPISerial();
    171176        }
    172177
    173178        /*Free ressources:*/
    174         xdelete(&vec_nodes_on_floatingice);
     179        delete vec_nodes_on_floatingice;
    175180        xDelete<IssmDouble>(elements_neighboring_floatingce);
    176181
  • issm/trunk/src/c/modules/GroundinglineMigrationx/GroundinglineMigrationx.h

    r13395 r15396  
    1414void       GroundinglineMigrationx(Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads,Materials* materials, Parameters* parameters);
    1515
    16 Vector<IssmDouble>*        CreateNodesOnFloatingIce(Nodes* nodes,int configuration_type);
    17 IssmDouble*    PotentialSheetUngrounding(Elements* elements,Vertices* vertices,Parameters* parameters);
     16Vector<IssmDouble>* CreateNodesOnFloatingIce(Nodes* nodes,int configuration_type);
     17IssmDouble*    PotentialUngrounding(Elements* elements,Vertices* vertices,Parameters* parameters);
    1818IssmDouble*    PropagateFloatingiceToGroundedNeighbors(Elements* elements,Nodes* nodes,Vertices* vertices,Parameters* parameters,IssmDouble* vertices_potentially_ungrounding);
    1919#endif  /* _GROUNDINGLINEMIGRATIONX_H */
  • issm/trunk/src/c/modules/HoleFillerx/HoleFillerx.cpp

    r13975 r15396  
    6969                        }
    7070                }
    71                 _printLine_( "" );
    72                 _printString_("Number of zeroes remaining: " << lines*samps-counter);
     71                _printf_( ""  << "\n");
     72                _printf_("Number of zeroes remaining: " << lines*samps-counter);
    7373                fflush( stdout );
    7474        #endif
     
    8888                }
    8989                //        n u m b e r   o f   z e r o e s   r e m a i n i n g :   1 2 3 4 5 6 7 8 9 10       
    90                 _printString_( "\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b" );
    91                 _printString_("Number of zeroes remaining: " << lines*samps-counter);
     90                _printf_( "\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b" );
     91                _printf_("Number of zeroes remaining: " << lines*samps-counter);
    9292                fflush( stdout );
    9393        #endif
     
    9797/***************** FIRST RUN *********************/
    9898/*
    99 fprintf ( stdout, "First  Application:  " ); time(&t2); _printString_( ctime(&t2) );
     99fprintf ( stdout, "First  Application:  " ); time(&t2); _printf_( ctime(&t2) );
    100100*/
    101101        for ( i = 0; i < lines; i++ ){
     
    268268
    269269                        #ifdef _DEBUG2_
    270                                 //_printLine_(temp << " " << elev << " " << range << " ");
     270                                //_printf_(temp << " " << elev << " " << range << " \n");
    271271                        #endif
    272272
     
    337337
    338338        #ifdef _DEBUG2_
    339                 _printString_( "\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b" );
    340                 _printLine_("Number of zeroes remaining:          0\n");
     339                _printf_( "\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b" );
     340                _printf_("Number of zeroes remaining:          0\n\n");
    341341                printf ( "\n");
    342342        #endif
  • issm/trunk/src/c/modules/InputArtificialNoisex/InputArtificialNoisex.cpp

    r13975 r15396  
    55#include "./InputArtificialNoisex.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
    108
    119void InputArtificialNoisex( Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,int enum_name,IssmDouble min,IssmDouble max){
  • issm/trunk/src/c/modules/InputArtificialNoisex/InputArtificialNoisex.h

    r13395 r15396  
    66#define _INPUTARTIFICIALNOISEX_H
    77
    8 #include "../../classes/objects/objects.h"
    9 #include "../../Container/Container.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
  • issm/trunk/src/c/modules/InputControlUpdatex/InputControlUpdatex.cpp

    r13975 r15396  
    55#include "./InputControlUpdatex.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
     7#include "../../classes/classes.h"
    88#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
    109
    1110void InputControlUpdatex(Elements* elements,Nodes* nodes,Vertices* vertices,Loads* loads,Materials* materials,Parameters* parameters,IssmDouble scalar,bool save_parameter){
  • issm/trunk/src/c/modules/InputControlUpdatex/InputControlUpdatex.h

    r13395 r15396  
    66#define _INPUTCONTROLUPDATEX_H
    77
    8 #include "../../Container/Container.h"
     8#include "../../classes/classes.h"
    99
    1010/* local prototypes: */
  • issm/trunk/src/c/modules/InputDuplicatex/InputDuplicatex.cpp

    r13975 r15396  
    55#include "./InputDuplicatex.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
     7#include "../../classes/classes.h"
    88#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
    109
    1110void InputDuplicatex(Elements* elements,Nodes* nodes,Vertices* vertices,Loads* loads,Materials* materials,Parameters* parameters,int original_enum, int new_enum){
     
    1918        for(i=0;i<materials->Size();i++){
    2019                Material* material=(Material*)materials->GetObjectByOffset(i);
    21                 //material->InputDuplicate(original_enum,new_enum);
     20                material->InputDuplicate(original_enum,new_enum);
    2221        }
    2322
  • issm/trunk/src/c/modules/InputDuplicatex/InputDuplicatex.h

    r13975 r15396  
    66#define _INPUTDUPLICATEX_H
    77
    8 #include "../../Container/Container.h"
     8#include "../../classes/classes.h"
    99
    1010/* local prototypes: */
  • issm/trunk/src/c/modules/InputScalex/InputScalex.cpp

    r13975 r15396  
    55#include "./InputScalex.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
     8#include "../../classes/classes.h"
    109
    1110void InputScalex(Elements* elements,Nodes* nodes,Vertices* vertices,Loads* loads,Materials* materials,Parameters* parameters,int enum_type, IssmDouble scale_factor){
  • issm/trunk/src/c/modules/InputScalex/InputScalex.h

    r13975 r15396  
    66#define _SCALEINPUTX_H
    77
    8 #include "../../Container/Container.h"
     8#include "../../classes/classes.h"
    99
    1010/* local prototypes: */
  • issm/trunk/src/c/modules/InputToResultx/InputToResultx.cpp

    r13975 r15396  
    55#include "./InputToResultx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
     7#include "../../classes/classes.h"
    88#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
    109
    1110void InputToResultx(Elements* elements,Nodes* nodes,Vertices* vertices,Loads* loads,Materials* materials,Parameters* parameters,int enum_type){
  • issm/trunk/src/c/modules/InputToResultx/InputToResultx.h

    r11995 r15396  
    66#define _INPUTTORESULTX_H
    77
    8 #include "../../Container/Container.h"
     8#include "../../classes/classes.h"
    99
    1010/* local prototypes: */
  • issm/trunk/src/c/modules/InputUpdateFromConstantx/InputUpdateFromConstantx.cpp

    r13975 r15396  
    55#include "./InputUpdateFromConstantx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
    108
    119void InputUpdateFromConstantx( Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,bool   constant, int name){
    1210
    1311        int i;
     12        if(VerboseModule()) _printf0_("   Input updates from constant\n");
    1413
    1514        /*Elements and loads drive the update: */
     
    3231
    3332        int i;
     33        if(VerboseModule()) _printf0_("   Input updates from constant\n");
    3434
    3535        /*Elements and loads drive the update: */
     
    5252
    5353        int i;
     54        if(VerboseModule()) _printf0_("   Input updates from constant\n");
    5455
    5556        /*Elements and loads drive the update: */
  • issm/trunk/src/c/modules/InputUpdateFromConstantx/InputUpdateFromConstantx.h

    r13975 r15396  
    66#define _UPDATEINPUTSFROMCONSTANTXX_H
    77
    8 #include "../../classes/objects/objects.h"
    9 #include "../../Container/Container.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
  • issm/trunk/src/c/modules/InputUpdateFromDakotax/InputUpdateFromDakotax.cpp

    r13975 r15396  
    55#include "./InputUpdateFromDakotax.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
    10 #include "../modules.h"
     8#include "../InputUpdateFromMatrixDakotax/InputUpdateFromMatrixDakotax.h"
     9#include "../InputUpdateFromConstantx/InputUpdateFromConstantx.h"
     10#include "../InputUpdateFromVectorDakotax/InputUpdateFromVectorDakotax.h"
    1111
    1212void  InputUpdateFromDakotax(Elements* elements,Nodes* nodes,Vertices* vertices,Loads* loads,Materials*  materials,Parameters* parameters,double* variables,char* *variables_descriptors,int numvariables){
  • issm/trunk/src/c/modules/InputUpdateFromDakotax/InputUpdateFromDakotax.h

    r13975 r15396  
    66#define _INPUTUPDATEFROMDAKOTAXX_H
    77
    8 #include "../../classes/objects/objects.h"
    9 #include "../../Container/Container.h"
     8#include "../../classes/classes.h"
    109
    1110void  InputUpdateFromDakotax(Elements* elements,Nodes* nodes,Vertices* vertices,Loads* loads,Materials*  materials,Parameters* parameters,double* variables,char* *variables_descriptors,int numvariables);
  • issm/trunk/src/c/modules/InputUpdateFromMatrixDakotax/InputUpdateFromMatrixDakotax.cpp

    r13975 r15396  
    55#include "./InputUpdateFromMatrixDakotax.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
    10 #include "../modules.h"
     8#include "../InputUpdateFromVectorDakotax/InputUpdateFromVectorDakotax.h"
    119
    1210void InputUpdateFromMatrixDakotax( Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,double* matrix,int nrows,int ncols, int name, int type){
  • issm/trunk/src/c/modules/InputUpdateFromMatrixDakotax/InputUpdateFromMatrixDakotax.h

    r13975 r15396  
    66#define _UPDATEINPUTSFROMMATRIXDAKOTAXX_H
    77
    8 #include "../../classes/objects/objects.h"
    9 #include "../../Container/Container.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
  • issm/trunk/src/c/modules/InputUpdateFromSolutionx/InputUpdateFromSolutionx.cpp

    r13975 r15396  
    55#include "./InputUpdateFromSolutionx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
    108
    119void InputUpdateFromSolutionx( Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,Vector<IssmDouble>* solution){
  • issm/trunk/src/c/modules/InputUpdateFromSolutionx/InputUpdateFromSolutionx.h

    r13975 r15396  
    66#define _UPDATEINPUTSFROMSOLUTIONXX_H
    77
    8 #include "../../classes/objects/objects.h"
    9 #include "../../Container/Container.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
  • issm/trunk/src/c/modules/InputUpdateFromVectorDakotax/InputUpdateFromVectorDakotax.cpp

    r13975 r15396  
    55#include "./InputUpdateFromVectorDakotax.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
    108
    119void InputUpdateFromVectorDakotax( Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,Vector<IssmDouble>* vector, int name, int type){
  • issm/trunk/src/c/modules/InputUpdateFromVectorDakotax/InputUpdateFromVectorDakotax.h

    r13975 r15396  
    66#define _UPDATEINPUTSFROMVECTORDAKOTAXX_H
    77
    8 #include "../../classes/objects/objects.h"
    9 #include "../../Container/Container.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
  • issm/trunk/src/c/modules/InputUpdateFromVectorx/InputUpdateFromVectorx.cpp

    r13975 r15396  
    55#include "./InputUpdateFromVectorx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
    108
    119void InputUpdateFromVectorx( Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,Vector<IssmDouble>* vector, int name, int type){
  • issm/trunk/src/c/modules/InputUpdateFromVectorx/InputUpdateFromVectorx.h

    r13975 r15396  
    66#define _UPDATEINPUTSFROMVECTORXX_H
    77
    8 #include "../../classes/objects/objects.h"
    9 #include "../../Container/Container.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
  • issm/trunk/src/c/modules/InterpFromGridToMeshx/InterpFromGridToMeshx.cpp

    r13975 r15396  
    1212#include "./InterpFromGridToMeshx.h"
    1313#include "../../shared/shared.h"
    14 #include "../../include/include.h"
    15 #include "../../io/io.h"
     14#include "../../shared/io/io.h"
    1615/*}}}*/
    1716
    1817/*InterpFromGridToMeshx{{{*/
    19 int InterpFromGridToMeshx(SeqVec<IssmPDouble>** pdata_mesh,double* x_in, int x_rows, double* y_in, int y_rows, double* data, int M, int N, double* x_mesh, double* y_mesh, int nods,double default_value, int interpenum){
     18int InterpFromGridToMeshx(IssmSeqVec<IssmPDouble>** pdata_mesh,double* x_in, int x_rows, double* y_in, int y_rows, double* data, int M, int N, double* x_mesh, double* y_mesh, int nods,double default_value, int interpenum){
    2019
    2120        /*output: */
    22         SeqVec<IssmPDouble>* data_mesh=NULL;
     21        IssmSeqVec<IssmPDouble>* data_mesh=NULL;
    2322
    2423        /*Intermediary*/
     
    4645
    4746        /*Allocate output vector: */
    48         data_mesh=new SeqVec<IssmPDouble>(nods);
     47        data_mesh=new IssmSeqVec<IssmPDouble>(nods);
    4948
    5049        /*Find out what kind of coordinates (x_in,y_in) have been given is input*/
     
    8887        /*launch the thread manager with InterpFromGridToMeshxt as a core: */
    8988        LaunchThread(InterpFromGridToMeshxt,(void*)&gate,num);
    90         _printLine_("\r      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");
     89        _printf_("\r      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%\n");
    9190
    9291        /*Assign output pointers:*/
    9392        *pdata_mesh=data_mesh;
     93        return 1;
    9494}
    9595/*}}}*/
     
    126126        double *y                     = gate->y;
    127127        int     nods                  = gate->nods;
    128         SeqVec<IssmPDouble>*data_mesh = gate->data_mesh;
     128        IssmSeqVec<IssmPDouble>*data_mesh = gate->data_mesh;
    129129        double *data                  = gate->data;
    130130        double  default_value         = gate->default_value;
     
    141141
    142142                if(debug && my_thread==0)
    143                  _printString_("\r      interpolation progress: "<<setw(6)<<setprecision(2)<<double(i-i0)/double(i1-i0)*100<<"%");
     143                 _printf_("\r      interpolation progress: "<<setw(6)<<setprecision(2)<<double(i-i0)/double(i1-i0)*100<<"%");
    144144                x_grid=*(x_mesh+i);
    145145                y_grid=*(y_mesh+i);
     
    177177                                        break;
    178178                                default:
    179                                         _printLine_("Interpolation " << EnumToStringx(interpenum) << " not supported yet");
     179                                        _printf_("Interpolation " << EnumToStringx(interpenum) << " not supported yet\n");
    180180                                        return NULL; /*WARNING: no error because it would blow up the multithreading!*/
    181181                        }
  • issm/trunk/src/c/modules/InterpFromGridToMeshx/InterpFromGridToMeshx.h

    r13395 r15396  
    66#define _INTERPFROMGRIDTOMESHX_H
    77
    8 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    99#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
     10#include "../../shared/shared.h"
    1111
    1212/*threading: */
     
    2424        double*             x_mesh;
    2525        double*             y_mesh;
    26         SeqVec<IssmPDouble>* data_mesh;
     26        IssmSeqVec<IssmPDouble>* data_mesh;
    2727} InterpFromGridToMeshxThreadStruct;
    2828
    29 int    InterpFromGridToMeshx(SeqVec<IssmPDouble>** pdata_mesh,double* x, int x_rows, double* y, int y_rows, double* data, int M, int N, double* x_mesh, double* y_mesh, int nods, double default_value, int interpenum=BilinearInterpEnum);
     29int    InterpFromGridToMeshx(IssmSeqVec<IssmPDouble>** pdata_mesh,double* x, int x_rows, double* y, int y_rows, double* data, int M, int N, double* x_mesh, double* y_mesh, int nods, double default_value, int interpenum=BilinearInterpEnum);
    3030void*  InterpFromGridToMeshxt(void* vInterpFromGridToMeshxThreadStruct);
    3131bool   findindices(int* pn,int* pm,double* x,int x_rows, double* y,int y_rows, double xgrid,double ygrid);
  • issm/trunk/src/c/modules/InterpFromMesh2dx/InterpFromMesh2dx.cpp

    r13975 r15396  
    55#include "./InterpFromMesh2dx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../classes/objects/objects.h"
    10 #include "../modules.h"
     8#include "../../classes/classes.h"
     9#include "../ContourToNodesx/ContourToNodesx.h"
    1110
    12 int InterpFromMesh2dx(SeqVec<IssmPDouble>** pdata_prime,
     11int InterpFromMesh2dx(IssmSeqVec<IssmPDouble>** pdata_prime,
    1312                        double* index_data, double* x_data, double* y_data, int nods_data,int nels_data, double* data, int data_length,
    1413                        double* x_prime, double* y_prime, int nods_prime,
     
    1615
    1716        /*Output*/
    18         SeqVec<IssmPDouble>* data_prime=NULL;
     17        IssmSeqVec<IssmPDouble>* data_prime=NULL;
    1918
    2019        /*Intermediary*/
     
    2625
    2726        /*contours: */
    28         SeqVec<IssmPDouble> *vec_incontour = NULL;
    2927        double              *incontour     = NULL;
    3028
     
    7068
    7169        /*Initialize output*/
    72         data_prime=new SeqVec<IssmPDouble>(nods_prime);
     70        data_prime=new IssmSeqVec<IssmPDouble>(nods_prime);
    7371        if(num_default_values){
    7472                if(num_default_values==1)for (i=0;i<nods_prime;i++) data_prime->SetValue(i,default_values[0],INS_VAL);
     
    7876        /*Build indices of contour: */
    7977        if(numcontours){
    80                 ContourToNodesx( &vec_incontour,x_prime,y_prime,nods_prime,contours,numcontours,1);
    81                 incontour=vec_incontour->ToMPISerial();
     78                ContourToNodesx( &incontour,x_prime,y_prime,nods_prime,contours,numcontours,1);
    8279        }
    8380        else{
     
    112109         xDelete<double>(incontour);
    113110        *pdata_prime=data_prime;
     111        return 1;
    114112}
  • issm/trunk/src/c/modules/InterpFromMesh2dx/InterpFromMesh2dx.h

    r13975 r15396  
    66#define _INTERPFROMMESH2DX_H
    77
    8 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    99#include "../../toolkits/toolkits.h"
    1010
     
    2222        double              ymin,ymax;
    2323        int                 nods_prime;
    24         SeqVec<IssmPDouble> *data_prime;
     24        IssmSeqVec<IssmPDouble> *data_prime;
    2525        double              *x_prime;
    2626        double              *y_prime;
     
    3131} InterpFromMesh2dxThreadStruct;
    3232
    33 int InterpFromMesh2dx(SeqVec<IssmPDouble>** pdata_prime,double* index_data, double* x_data, double* y_data, int nods_data,int nels_data, double* data, int data_length, double* x_prime, double* y_prime, int nods_prime,
     33int InterpFromMesh2dx(IssmSeqVec<IssmPDouble>** pdata_prime,double* index_data, double* x_data, double* y_data, int nods_data,int nels_data, double* data, int data_length, double* x_prime, double* y_prime, int nods_prime,
    3434                double* default_values,int num_default_values,Contour<IssmPDouble>** contours,int numcontours);
    3535
  • issm/trunk/src/c/modules/InterpFromMesh2dx/InterpFromMesh2dxt.cpp

    r13975 r15396  
    3232        double  ymax                    = gate->ymax;
    3333        int     nods_prime              = gate->nods_prime;
    34         SeqVec<IssmPDouble>* data_prime = gate->data_prime;
     34        IssmSeqVec<IssmPDouble>* data_prime = gate->data_prime;
    3535        double *x_prime                 = gate->x_prime;
    3636        double *y_prime                 = gate->y_prime;
     
    4747                /*display current iteration*/
    4848                if (debug && my_thread==0 && fmod((double)i,(double)100)==0)
    49                  _printString_("\r      interpolation progress: "<<setw(6)<<setprecision(2)<<double(i-i0)/double(i1-i0)*100<<"%");
     49                 _printf_("\r      interpolation progress: "<<setw(6)<<setprecision(2)<<double(i-i0)/double(i1-i0)*100<<"%");
    5050
    5151                /*if there is no point inside the domain, go to next iteration*/
     
    9999        }
    100100        if(debug && my_thread==0)
    101          _printLine_("\r      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");
     101         _printf_("\r      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%\n");
    102102        return NULL;
    103103}
  • issm/trunk/src/c/modules/InterpFromMeshToGridx/InterpFromMeshToGridx.cpp

    r13975 r15396  
    55#include "./InterpFromMeshToGridx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87
    98void InterpFromMeshToGridx(double** px_m,double** py_m,double** pgriddata,double* index_mesh, double* x_mesh, double* y_mesh, int nods,int nels, double* data_mesh, int data_length, double xmin,double ymax,double xposting,double yposting,int nlines,int ncols,double default_value) {
     
    2019        bool   debug;
    2120        int    xflip,yflip;
    22         double area,ymin;
     21        double area;
    2322        double area_1,area_2,area_3;
    2423        double x_tria_min,y_tria_min;
     
    5251        debug=(bool)((double)ncols*nlines*nels >= 5*pow(10.,10.));
    5352
     53        /*Initialize coordintes and griddata*/
     54        for(i=0;i<nlines;i++){
     55                for(j=0;j<ncols; j++){
     56                        griddata[i*ncols+j]=default_value;
     57                }
     58        }
    5459        /*figure out if x or y are flipped*/
    5560        if (xposting<0) xflip=1;
     
    5863        else yflip=0;
    5964
    60         /*Compute coordinates lists*/
    61         ymin=ymax-(nlines-1)*yposting;
    62         for(i=0;i<nlines;i++)   y_grid[i]= ymin + yposting*i;
    63         for(i=0;i<ncols; i++)   x_grid[i]= xmin + xposting*i;
    6465
    65         /*Initialize coordintes and griddata*/
    66         for(i=0;i<nlines;i++){
    67                 for(j=0;j<ncols; j++){
    68                         griddata[i*ncols+j]=default_value;
    69                 }
    70         }
    7166
    7267        /*Get extreme coordinates of the grid*/
    7368        if (xflip){
    74                 x_grid_min=x_grid[ncols-1]; x_grid_max=x_grid[0];
     69                for(i=0;i<ncols; i++) x_grid[ncols-1-i] = xmin - xposting*i;
     70                x_grid_min=x_grid[ncols-1];
     71                x_grid_max=x_grid[0];
    7572        }
    7673        else{
    77                 x_grid_min=x_grid[0]; x_grid_max=x_grid[ncols-1];
     74                for(i=0;i<ncols; i++) x_grid[i]= xmin + xposting*i;
     75                x_grid_min=x_grid[0];
     76                x_grid_max=x_grid[ncols-1];
    7877        }
    7978        if (yflip){
    80                 y_grid_min=y_grid[nlines-1]; y_grid_max=y_grid[0];
     79                for(i=0;i<nlines;i++) y_grid[i] = ymax + yposting*i;
     80                y_grid_min=y_grid[nlines-1];
     81                y_grid_max=y_grid[0];
    8182        }
    8283        else{
    83                 y_grid_min=y_grid[0]; y_grid_max=y_grid[nlines-1];
     84                for(i=0;i<nlines;i++) y_grid[nlines-1-i]= ymax - yposting*i;
     85                y_grid_min=y_grid[0];
     86                y_grid_max=y_grid[nlines-1];
    8487        }
    8588
     
    8992                /*display current iteration*/
    9093                if (debug && fmod((double)n,(double)100)==0)
    91                  _printString_("\r      interpolation progress: "<<setw(6)<<setprecision(2)<<double(n)/double(nels)*100<<"%");
     94                 _printf_("\r      interpolation progress: "<<setw(6)<<setprecision(2)<<double(n)/double(nels)*100<<"%");
    9295
    9396                /*Get extrema coordinates of current elements*/
     
    169172        }
    170173        if (debug)
    171          _printLine_("\r      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");
     174         _printf_("\r      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%\n");
    172175
    173176        /*Assign output pointers:*/
  • issm/trunk/src/c/modules/InterpFromMeshToMesh2dx/InterpFromMeshToMesh2dx.cpp

    r13975 r15396  
    55
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../classes/objects/objects.h"
    10 #include "../modules.h"
     8#include "../../classes/classes.h"
     9#include "../../bamg/bamgobjects.h"
    1110
    1211using namespace bamg;
     
    6968        /*Loop over output nodes*/
    7069        for(i=0;i<N_interp;i++){
    71                 //if(i%100==0) _printString_("\r      interpolation progress: "<<setw(6)<<setprecision(2)<<double(i)/double(N_interp)*100.<<"%");
     70                //if(i%100==0) _printf_("\r      interpolation progress: "<<setw(6)<<setprecision(2)<<double(i)/double(N_interp)*100.<<"%");
    7271
    7372                if(isdefault){
     
    143142                }
    144143        }
    145         //if(N_interp>=100) _printLine_("\r      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");
     144        //if(N_interp>=100) _printf_("\r      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%\n");
    146145
    147146        /*clean-up and return*/
  • issm/trunk/src/c/modules/InterpFromMeshToMesh3dx/InterpFromMeshToMesh3dx.cpp

    r13395 r15396  
    55#include "./InterpFromMeshToMesh3dx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87
    9 int InterpFromMeshToMesh3dx( SeqVec<IssmPDouble>** pdata_prime,double* index_data, double* x_data, double* y_data, double* z_data, int nods_data,int nels_data, double* data, int data_length, double* x_prime, double* y_prime, double* z_prime, int nods_prime,double default_value) {
     8int InterpFromMeshToMesh3dx( IssmSeqVec<IssmPDouble>** pdata_prime,double* index_data, double* x_data, double* y_data, double* z_data, int nods_data,int nels_data, double* data, int data_length, double* x_prime, double* y_prime, double* z_prime, int nods_prime,double default_value) {
    109
    1110        /*Output*/
    12         SeqVec<IssmPDouble>* data_prime=NULL;
     11        IssmSeqVec<IssmPDouble>* data_prime=NULL;
    1312
    1413        /*Intermediary*/
     
    5453
    5554        /*Initialize output*/
    56         data_prime=new SeqVec<IssmPDouble>(nods_prime);
     55        data_prime=new IssmSeqVec<IssmPDouble>(nods_prime);
    5756        for (i=0;i<nods_prime;i++) data_prime->SetValue(i,default_value,INS_VAL);
    5857
     
    6261                /*display current iteration*/
    6362                if (debug && fmod((double)i,(double)100)==0)
    64                  _printString_("\r      interpolation progress: "<<setw(6)<<setprecision(2)<<double(i)/double(nels_data)*100<<"%");
     63                 _printf_("\r      interpolation progress: "<<setw(6)<<setprecision(2)<<double(i)/double(nels_data)*100<<"%");
    6564
    6665                /*Get extrema coordinates of current elements*/
     
    133132        }
    134133        if (debug)
    135          _printLine_("\r      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");
     134         _printf_("\r      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%\n");
    136135
    137136        /*Assign output pointers:*/
    138137        *pdata_prime=data_prime;
     138        return 1;
    139139}
  • issm/trunk/src/c/modules/InterpFromMeshToMesh3dx/InterpFromMeshToMesh3dx.h

    r13395 r15396  
    77
    88#include "../../toolkits/toolkits.h"
    9 #include "../../classes/objects/objects.h"
     9#include "../../classes/classes.h"
    1010
    11 int InterpFromMeshToMesh3dx(SeqVec<IssmPDouble>** pdata_prime,double* index_data, double* x_data, double* y_data, double* z_data, int nods_data,int nels_data, double* data, int data_length, double* x_prime, double* y_prime, double* z_prime, int nods_prime,double default_value);
     11int InterpFromMeshToMesh3dx(IssmSeqVec<IssmPDouble>** pdata_prime,double* index_data, double* x_data, double* y_data, double* z_data, int nods_data,int nels_data, double* data, int data_length, double* x_prime, double* y_prime, double* z_prime, int nods_prime,double default_value);
    1212
    1313#endif /* _INTERPFROMMESHTOMESH3DX_H */
  • issm/trunk/src/c/modules/IoModelToConstraintsx/IoModelToConstraintsx.cpp

    r13975 r15396  
    55#include "./IoModelToConstraintsx.h"
    66#include "../../shared/shared.h"
    7 #include "../../io/io.h"
    8 #include "../../include/include.h"
    97#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    118
    129void IoModelToConstraintsx(Constraints* constraints,IoModel* iomodel,int vector_enum,int analysis_type){
     
    1411        /*intermediary: */
    1512        int     i,j;
     13        IssmDouble yts;
    1614        bool        transient        = false;
    1715        FILE       *fid              = NULL;
     
    3028        /*Fetch parameters: */
    3129        iomodel->Constant(&numberofvertices,MeshNumberofverticesEnum);
     30        iomodel->Constant(&yts,ConstantsYtsEnum);
    3231
    3332        /*First of, find the record for the enum, and get code  of data type: */
     
    6766                times=xNew<IssmDouble>(N);
    6867                for(j=0;j<N;j++){
    69                         times[j]=IssmDoublevector[(M-1)*N+j];
     68                        times[j]=IssmDoublevector[(M-1)*N+j]*yts;
    7069                }
    71                 /*unit conversion: */
    72                 UnitConversion(times,N,ExtToIuEnum,TimeEnum);
    7370
    7471                /*Create constraints from x,y,z: */
  • issm/trunk/src/c/modules/IoModelToConstraintsx/IoModelToConstraintsx.h

    r13395 r15396  
    55#define _IOMODEL_TO_CONSTRAINTS_H_
    66
    7 #include "../../Container/Container.h"
    8 #include "../../classes/objects/objects.h"
     7#include "../../classes/classes.h"
    98
    109/* local prototypes: */
  • issm/trunk/src/c/modules/KMLFileReadx/KMLFileReadx.cpp

    r13975 r15396  
    44#include "./KMLFileReadx.h"
    55#include "../../shared/shared.h"
    6 #include "../../include/include.h"
    7 #include "../../io/io.h"
    86#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
    107
    118KML_Object* KMLFileReadx(FILE* fid){
     
    2118        clock0=clock();
    2219        time0 =time(NULL);
    23         _pprintString_("\nKMLFileReadx Module -- " << ctime(&time0));
     20        _printf0_("\nKMLFileReadx Module -- " << ctime(&time0));
    2421
    2522/*  read kml file  */
     
    4340                }
    4441
    45 //              _pprintLine_(kstr);
     42//              _printf0_(kstr << "\n");
    4643                xDelete<char>(kstr);
    4744        }
    4845
    4946        if (kxml) {
    50                 _pprintLine_("XML declaration:");
     47                _printf0_("XML declaration:\n");
    5148                kxml->DeepEcho("  ");
    5249                delete kxml;
    5350        }
    5451        if (kdtd) {
    55                 _pprintLine_("DTD declaration (not yet implemented):");
     52                _printf0_("DTD declaration (not yet implemented):\n");
    5653                kdtd->DeepEcho("  ");
    5754                delete kdtd;
     
    6057        clock1=clock();
    6158        time1 =time(NULL);
    62         _printf_(true,"KMLFileReadx Module -- %f CPU seconds; %f elapsed seconds.\n\n",
    63                          ((double)(clock1-clock0))/CLOCKS_PER_SEC,difftime(time1,time0));
     59        _printf_("KMLFileReadx Module -- " <<((double)(clock1-clock0))/CLOCKS_PER_SEC << " CPU seconds; " <<difftime(time1,time0) << " elapsed seconds.\n\n\n");
    6460
    6561        return(kfil);
  • issm/trunk/src/c/modules/KMLFileReadx/KMLFileReadx.h

    r13395 r15396  
    77
    88#include <float.h>    /*  DBL_MAX  */
    9 #include "../../Container/Container.h"
    10 #include "../../classes/objects/objects.h"
     9#include "../../kml/kmlobjects.h"
    1110
    1211/* local prototypes: */
  • issm/trunk/src/c/modules/KMLMeshWritex/KMLMeshWritex.cpp

    r13395 r15396  
    44#include "./KMLMeshWritex.h"
    55#include "../../shared/shared.h"
    6 #include "../../include/include.h"
    7 #include "../../io/io.h"
    86#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
    107
    118void KMLMeshWritex(int* ierror,char* name,char* notes,int* elem,int melem,int nelem,int* nodecon,int mncon,int nncon,double* lat, double* lng,int* part,double* data, int mdata, int ndata,double* cmap, int mcmap, int ncmap,FILE* fid){
     
    2926        clock0=clock();
    3027        time0 =time(NULL);
    31         _pprintString_("\nKMLMeshWritex Module -- " << ctime(&time0));
     28        _printf0_("\nKMLMeshWritex Module -- " << ctime(&time0));
    3229
    3330/*  construct kml document  */
     
    8380
    8481        if (cmap) {
    85                 _pprintLine_("Writing " << mcmap << " Matlab colors as KML style templates.");
     82                _printf0_("Writing " << mcmap << " Matlab colors as KML style templates.\n");
    8683                ipt=0;
    8784                for (i=0; i<mcmap; i++) {
     
    118115
    119116        if (!nodecon) {
    120                 _pprintLine_("Creating the node connectivity table.");
     117                _printf0_("Creating the node connectivity table.\n");
    121118                nncon=mxepg+1;
    122119                nodecon=xNewZeroInit<int>(mncon*nncon);
     
    149146
    150147                else if (mdata == mncon) {
    151                         _pprintLine_("Averaging nodal data to element data.");
     148                        _printf0_("Averaging nodal data to element data.\n");
    152149                        edata=xNewZeroInit<double>(melem*ndata);
    153150                        edfree=true;
     
    188185        clock0a=clock();
    189186        time0a =time(NULL);
    190         _printf_(true,"  Constructed kml document -- %f CPU seconds; %f elapsed seconds.\n\n",
    191                          ((double)(clock0a-clock0))/CLOCKS_PER_SEC,difftime(time0a,time0));
     187        _printf_("  Constructed kml document -- " << ((double)(clock0a-clock0))/CLOCKS_PER_SEC << " CPU seconds; " << difftime(time0a,time0) << " elapsed seconds.\n\n\n");
    192188
    193189/*  write kml file  */
    194190
    195         _pprintLine_("Writing kml document to file.");
     191        _printf0_("Writing kml document to file.\n");
    196192        fprintf(fid,"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
    197193        fprintf(fid,"<kml xmlns=\"http://www.opengis.net/kml/2.2\">\n");
     
    200196        clock0b=clock();
    201197        time0b =time(NULL);
    202         _printf_(true,"  Wrote kml file -- %f CPU seconds; %f elapsed seconds.\n\n",
    203                          ((double)(clock0b-clock0a))/CLOCKS_PER_SEC,difftime(time0b,time0a));
    204 
    205         _pprintLine_("Deleting kml document.");
     198        _printf_("  Wrote kml file -- " << ((double)(clock0b-clock0a))/CLOCKS_PER_SEC << " CPU seconds; " << difftime(time0b,time0a) << " elapsed seconds.\n\n\n");
     199
     200        _printf0_("Deleting kml document.\n");
    206201        delete kdoc;
    207202        clock0c=clock();
    208203        time0c =time(NULL);
    209         _printf_(true,"  Deleted kml document -- %f CPU seconds; %f elapsed seconds.\n\n",
    210                          ((double)(clock0c-clock0b))/CLOCKS_PER_SEC,difftime(time0c,time0b));
     204        _printf_("  Deleted kml document -- " << ((double)(clock0c-clock0b))/CLOCKS_PER_SEC << " CPU seconds; " << difftime(time0c,time0b) << " elapsed seconds.\n\n\n");
    211205
    212206        clock1=clock();
    213207        time1 =time(NULL);
    214         _printf_(true,"KMLMeshWritex Module -- %f CPU seconds; %f elapsed seconds.\n\n",
    215                          ((double)(clock1-clock0))/CLOCKS_PER_SEC,difftime(time1,time0));
     208        _printf_("KMLMeshWritex Module -- " << ((double)(clock1-clock0))/CLOCKS_PER_SEC << " CPU seconds; " << difftime(time1,time0) << " elapsed seconds.\n\n\n");
    216209
    217210        return;
     
    304297/*  write each element as a polygon placemark  */
    305298
    306         _pprintLine_("Writing " << melem << " tria elements as KML polygons.");
     299        _printf0_("Writing " << melem << " tria elements as KML polygons.\n");
    307300
    308301        for (i=0; i<melem; i++) {
     
    356349
    357350//              if (!(int)fmod((double)(i+1),1000))
    358 //                      _pprintLine_("  " << (i+1) << " tria elements written.");
     351//                      _printf0_("  " << (i+1) << " tria elements written.\n");
    359352        }
    360         _pprintLine_("  " << melem << " tria elements written.");
     353        _printf0_("  " << melem << " tria elements written.\n");
    361354
    362355        return(kfold);
  • issm/trunk/src/c/modules/KMLMeshWritex/KMLMeshWritex.h

    r13395 r15396  
    77
    88#include <float.h>    /*  DBL_MAX  */
    9 #include "../../Container/Container.h"
    10 #include "../../classes/objects/objects.h"
     9#include "../../kml/kmlobjects.h"
    1110
    1211/* local prototypes: */
  • issm/trunk/src/c/modules/KMLOverlayx/KMLOverlayx.cpp

    r13975 r15396  
    44#include "./KMLOverlayx.h"
    55#include "../../shared/shared.h"
    6 #include "../../include/include.h"
    7 #include "../../io/io.h"
    86#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
     7#include "../../kml/kmlobjects.h"
    108
    119void KMLOverlayx(int* ierror,
     
    2826        clock0=clock();
    2927        time0 =time(NULL);
    30         _pprintString_("\nKMLOverlayx Module -- " << ctime(&time0));
     28        _printf0_("\nKMLOverlayx Module -- " << ctime(&time0));
    3129
    3230/*  construct kml file  */
     
    8179/*  write kml file  */
    8280
    83         _pprintLine_("Writing kml document to file.");
     81        _printf0_("Writing kml document to file.\n");
    8482        fprintf(fid,"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
    8583        kfile->Write(fid,indent);
     
    8987        clock1=clock();
    9088        time1 =time(NULL);
    91         _printf_(true,"KMLOverlayx Module -- %f CPU seconds; %f elapsed seconds.\n\n",
    92                          ((double)(clock1-clock0))/CLOCKS_PER_SEC,difftime(time1,time0));
     89        _printf_("KMLOverlayx Module -- " << ((double)(clock1-clock0))/CLOCKS_PER_SEC << " CPU seconds; " << difftime(time1,time0) << " elapsed seconds.\n\n\n");
    9390
    9491        return;
  • issm/trunk/src/c/modules/KMLOverlayx/KMLOverlayx.h

    r13395 r15396  
    77
    88#include <float.h>    /*  DBL_MAX  */
    9 #include "../../Container/Container.h"
    10 #include "../../classes/objects/objects.h"
     9#include "../../classes/classes.h"
    1110
    1211/* local prototypes: */
  • issm/trunk/src/c/modules/Kml2Expx/Kml2Expx.cpp

    r13975 r15396  
    55#include "./Kml2Expx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    8 #include "../../io/io.h"
    97#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    11 #include "../modules.h"
     8#include "../KMLFileReadx/KMLFileReadx.h"
    129
    1310int Kml2Expx(char* filkml,char* filexp,
     
    3835        clock0=clock();
    3936        time0 =time(NULL);
    40         _pprintString_("\nKml2Expx Module -- " << ctime(&time0));
     37        _printf0_("\nKml2Expx Module -- " << ctime(&time0));
    4138
    4239/*  read kml file  */
     
    4946/*  open exp file  */
    5047
    51         _pprintLine_("Writing exp profiles to file.");
     48        _printf0_("Writing exp profiles to file.\n");
    5249        fido=fopen(filexp,"w");
    5350
     
    6461        clock1=clock();
    6562        time1 =time(NULL);
    66         _printf_(true,"Kml2Expx Module -- %f CPU seconds; %f elapsed seconds.\n\n",
    67                          ((double)(clock1-clock0))/CLOCKS_PER_SEC,difftime(time1,time0));
     63        _printf_("Kml2Expx Module -- " << ((double)(clock1-clock0))/CLOCKS_PER_SEC << " CPU seconds; " << difftime(time1,time0) << " elapsed seconds.\n\n\n");
    6864
    6965        return(iret);
  • issm/trunk/src/c/modules/Kml2Expx/Kml2Expx.h

    r13395 r15396  
    77
    88#include <float.h>    /*  DBL_MAX  */
    9 #include "../../Container/Container.h"
    10 #include "../../classes/objects/objects.h"
     9#include "../../classes/classes.h"
    1110
    1211/* local prototypes: */
  • issm/trunk/src/c/modules/Krigingx/Krigingx.cpp

    r14310 r15396  
    55#include "./Krigingx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../classes/objects/objects.h"
    10 #include "../../Container/Observations.h"
     8#include "../../classes/classes.h"
    119#include "../modules.h"
    1210#ifdef _HAVE_GSL_
     
    8583                observations->ObservationList(&x,&y,&data,&nobs);
    8684
    87                 _printLine_("Generation Delaunay Triangulation");
     85                _printf_("Generation Delaunay Triangulation\n");
    8886                BamgTriangulatex(&index,&nel,x,y,nobs);
    8987
    90                 _printLine_("Interpolating");
     88                _printf_("Interpolating\n");
    9189                xDelete<double>(predictions);
    9290                InterpFromMeshToMesh2dx(&predictions,index,x,y,nobs,nel,data,nobs,1,x_interp,y_interp,n_interp,options);
     
    112110                /*launch the thread manager with Krigingxt as a core: */
    113111                LaunchThread(NearestNeighbort,(void*)&gate,num);
    114                 _printLine_("\r      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");
     112                _printf_("\r      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%\n");
    115113                xDelete<int>(gate.numdone);
    116114        }
     
    134132                /*launch the thread manager with Krigingxt as a core: */
    135133                LaunchThread(idwt,(void*)&gate,num);
    136                 _printLine_("\r      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");
     134                _printf_("\r      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%\n");
    137135                xDelete<int>(gate.numdone);
    138136        }
     
    156154                /*launch the thread manager with Krigingxt as a core: */
    157155                LaunchThread(v4t,(void*)&gate,num);
    158                 _printLine_("\r      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");
     156                _printf_("\r      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%\n");
    159157                xDelete<int>(gate.numdone);
    160158        }
     
    179177                /*launch the thread manager with Krigingxt as a core: */
    180178                LaunchThread(Krigingxt,(void*)&gate,num);
    181                 _printLine_("\r      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");
     179                _printf_("\r      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%\n");
    182180                xDelete<int>(gate.numdone);
    183181        }
     
    232230                        int alldone=numdone[0];
    233231                        for(int i=1;i<num_threads;i++) alldone+=numdone[i];
    234                         _printString_("\r      interpolation progress: "<<setw(6)<<setprecision(2)<<double(alldone)/double(n_interp)*100.<<"%");
     232                        _printf_("\r      interpolation progress: "<<setw(6)<<setprecision(2)<<double(alldone)/double(n_interp)*100.<<"%");
    235233                }
    236234
     
    279277                        int alldone=numdone[0];
    280278                        for(int i=1;i<num_threads;i++) alldone+=numdone[i];
    281                         _printString_("\r      interpolation progress: "<<setw(6)<<setprecision(2)<<double(alldone)/double(n_interp)*100.<<"%");
     279                        _printf_("\r      interpolation progress: "<<setw(6)<<setprecision(2)<<double(alldone)/double(n_interp)*100.<<"%");
    282280                }
    283281
     
    326324                        int alldone=numdone[0];
    327325                        for(int i=1;i<num_threads;i++) alldone+=numdone[i];
    328                         _printString_("\r      interpolation progress: "<<setw(6)<<setprecision(2)<<double(alldone)/double(n_interp)*100.<<"%");
     326                        _printf_("\r      interpolation progress: "<<setw(6)<<setprecision(2)<<double(alldone)/double(n_interp)*100.<<"%");
    329327                }
    330328
     
    371369                        int alldone=numdone[0];
    372370                        for(int i=1;i<num_threads;i++) alldone+=numdone[i];
    373                         _printString_("\r      interpolation progress: "<<setw(6)<<setprecision(2)<<double(alldone)/double(n_interp)*100.<<"%");
     371                        _printf_("\r      interpolation progress: "<<setw(6)<<setprecision(2)<<double(alldone)/double(n_interp)*100.<<"%");
    374372                }
    375373
  • issm/trunk/src/c/modules/Krigingx/Krigingx.h

    r14310 r15396  
    66#define _KRIGINGX_H
    77
    8 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    99#include "../../toolkits/toolkits.h"
    1010
  • issm/trunk/src/c/modules/Krigingx/pKrigingx.cpp

    r13975 r15396  
    55#include "./Krigingx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../classes/objects/objects.h"
    10 #include "../../Container/Container.h"
    11 #include "../../io/io.h"
     8#include "../../classes/classes.h"
     9#include "../../shared/io/io.h"
    1210
    1311/*FUNCTION pKrigingx{{{*/
    1412int pKrigingx(double** ppredictions,double **perror,double* obs_x, double* obs_y, double* obs_list, int obs_length,double* x_interp,double* y_interp,int n_interp,Options* options){
    1513
     14#ifdef _HAVE_MPI_
    1615        int num_procs;
    1716        int my_rank;
     
    2827        Observations *observations = NULL;
    2928
     29        /*timing*/
     30        double   start, finish;
     31        double   start_core, finish_core;
     32        double   start_init, finish_init;
     33
    3034        /*Get my_rank: */
    3135        my_rank=IssmComm::GetRank();
     
    3337
    3438        /*Get some Options*/
     39        MPI_Barrier(MPI_COMM_WORLD); start=MPI_Wtime();
    3540        options->Get(&radius,"searchradius",0.);
    3641        options->Get(&mindata,"mindata",1);
     
    3843
    3944        /*Process observation dataset*/
     45        MPI_Barrier(MPI_COMM_WORLD); start_init=MPI_Wtime();
    4046        observations=new Observations(obs_list,obs_x,obs_y,obs_length,options);
     47        MPI_Barrier(MPI_COMM_WORLD); finish_init=MPI_Wtime();
    4148
    4249        /*Allocate output*/
     
    4754        options->Get(&output,"output",(char*)"prediction");
    4855
     56        MPI_Barrier(MPI_COMM_WORLD); start_core=MPI_Wtime( );
    4957        if(strcmp(output,"quadtree")==0){
    5058                observations->QuadtreeColoring(predictions,x_interp,y_interp,n_interp);
     
    6068                /*partition loop across threads: */
    6169                for(int idx=my_rank;idx<n_interp;idx+=num_procs){
    62                         _pprintLine_("      interpolation progress: "<<setw(6)<<setprecision(2)<<double(idx)/double(n_interp)*100<<"%");
     70                        _printf0_("      interpolation progress: "<<fixed<<setw(6)<<setprecision(4)<<double(idx)/double(n_interp)*100.<<"%\n");
    6371                        observations->InterpolationKriging(&predictions[idx],&error[idx],x_interp[idx],y_interp[idx],radius,mindata,maxdata,variogram);
    6472                }
    65                 _pprintLine_("      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");
     73                _printf0_("      interpolation progress: "<<fixed<<setw(6)<<setprecision(4)<<100.<<"%\n");
    6674
    6775#ifdef _HAVE_MPI_
     
    7482#endif
    7583        }
     84        else if(strcmp(output,"v4")==0){
     85
     86                /*partition loop across threads: */
     87                for(int idx=my_rank;idx<n_interp;idx+=num_procs){
     88                        _printf0_("      interpolation progress: "<<fixed<<setw(6)<<setprecision(4)<<double(idx)/double(n_interp)*100.<<"%\n");
     89                        observations->InterpolationV4(&predictions[idx],x_interp[idx],y_interp[idx],radius,mindata,maxdata);
     90                }
     91                _printf0_("      interpolation progress: "<<fixed<<setw(6)<<setprecision(4)<<100.<<"%\n");
     92
     93#ifdef _HAVE_MPI_
     94                double *sumpredictions =xNew<double>(n_interp);
     95                MPI_Allreduce(predictions,sumpredictions,n_interp,MPI_DOUBLE,MPI_SUM,IssmComm::GetComm());
     96                xDelete<double>(predictions); predictions=sumpredictions;
     97#endif
     98        }
    7699        else if(strcmp(output,"nearestneighbor")==0){
    77100
    78101                /*partition loop across threads: */
    79102                for(int idx=my_rank;idx<n_interp;idx+=num_procs){
    80                         _pprintLine_("      interpolation progress: "<<setw(6)<<setprecision(2)<<double(idx)/double(n_interp)*100<<"%");
     103                        _printf0_("      interpolation progress: "<<setw(6)<<setprecision(4)<<double(idx)/double(n_interp)*100.<<"%\n");
    81104                        observations->InterpolationNearestNeighbor(&predictions[idx],x_interp[idx],y_interp[idx],radius);
    82105                }
    83                 _pprintLine_("      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");
     106                _printf0_("      interpolation progress: "<<fixed<<setw(6)<<setprecision(4)<<100.<<"%\n");
    84107
    85108#ifdef _HAVE_MPI_
     
    95118                /*partition loop across threads: */
    96119                for(int idx=my_rank;idx<n_interp;idx+=num_procs){
    97                         _pprintLine_("      interpolation progress: "<<setw(6)<<setprecision(2)<<double(idx)/double(n_interp)*100<<"%");
     120                        _printf0_("      interpolation progress: "<<setw(6)<<setprecision(4)<<double(idx)/double(n_interp)*100.<<"%\n");
    98121                        observations->InterpolationIDW(&predictions[idx],x_interp[idx],y_interp[idx],radius,mindata,maxdata,power);
    99122                }
    100                 _pprintLine_("      interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");
     123                _printf0_("      interpolation progress: "<<fixed<<setw(6)<<setprecision(4)<<100.<<"%\n");
    101124
    102125#ifdef _HAVE_MPI_
     
    109132                _error_("output '" << output << "' not supported yet");
    110133        }
     134        MPI_Barrier(MPI_COMM_WORLD); finish_core=MPI_Wtime( );
    111135
    112136        /*clean-up and Assign output pointer*/
     
    116140        *ppredictions = predictions;
    117141        *perror       = error;
     142
     143        MPI_Barrier(MPI_COMM_WORLD); finish=MPI_Wtime( );
     144        _printf0_("\n   " << setw(34) << left << "Observation fitering elapsed time: " << finish_init-start_init << " seconds  \n\n");
     145        _printf0_("   " << setw(34) << left << "Kriging prediction elapsed time: " << finish_core-start_core << " seconds  \n\n");
     146        _printf0_("\n   " << "Total elapsed time " << int((finish-start)/3600) << " hrs " << int(int(finish-start)%3600/60) << " min " << int(finish-start)%60 << " sec\n\n\n");
    118147        return 1;
     148#else
     149        _error_("MPI not available");
     150#endif
    119151}/*}}}*/
    120152void ProcessVariogram(Variogram **pvariogram,Options* options){/*{{{*/
  • issm/trunk/src/c/modules/Mergesolutionfromftogx/Mergesolutionfromftogx.cpp

    r13975 r15396  
    44
    55#include "../VecMergex/VecMergex.h"
    6 #include "../../io/io.h"
     6#include "../../shared/io/io.h"
    77#include "./Mergesolutionfromftogx.h"
    88
     
    1717
    1818        /*Display message*/
    19         if(VerboseModule()) _pprintLine_("   Merging solution vector from fset to gset");
     19        if(VerboseModule()) _printf0_("   Merging solution vector from fset to gset\n");
    2020
    2121        /*first, get gsize, fsize and ssize: */
  • issm/trunk/src/c/modules/Mergesolutionfromftogx/Mergesolutionfromftogx.h

    r13975 r15396  
    66#define _MERGESOLUTIONFROMFTOGX_H
    77
    8 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    99
    1010/* local prototypes: */
  • issm/trunk/src/c/modules/MeshPartitionx/MeshPartitionx.h

    r13975 r15396  
    66#define _MESHPARTITIONX_H
    77
    8 #include "../../include/include.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
     8#include "../../shared/shared.h"
    109
    1110/* local prototypes: */
  • issm/trunk/src/c/modules/MeshProfileIntersectionx/MeshProfileIntersectionx.h

    r14310 r15396  
    77
    88#include "../../shared/shared.h"
    9 #include "../../classes/objects/objects.h"
     9#include "../../classes/classes.h"
    1010
    1111/* local prototypes: */
  • issm/trunk/src/c/modules/ModelProcessorx/Autodiff/CreateParametersAutodiff.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../io/io.h"
    8 #include "../../../EnumDefinitions/EnumDefinitions.h"
    96#include "../../../classes/classes.h"
    107#include "../../../shared/shared.h"
    11 #include "../../../include/include.h"
    12 #include "../../Solverx/Solverx.h"
    138#include "../ModelProcessorx.h"
    149
  • issm/trunk/src/c/modules/ModelProcessorx/Balancethickness/CreateConstraintsBalancethickness.cpp

    r13975 r15396  
    1 #include "../../../Container/Container.h"
    2 #include "../../../modules/modules.h"
    3 #include "../../../io/io.h"
    41#include "../../../toolkits/toolkits.h"
    5 #include "../../../EnumDefinitions/EnumDefinitions.h"
    62#include "../../../classes/classes.h"
    73#include "../../../shared/shared.h"
    84#include "../ModelProcessorx.h"
     5#include "../../IoModelToConstraintsx/IoModelToConstraintsx.h"
    96
    107void    CreateConstraintsBalancethickness(Constraints** pconstraints, IoModel* iomodel){
  • issm/trunk/src/c/modules/ModelProcessorx/Balancethickness/CreateLoadsBalancethickness.cpp

    r13975 r15396  
    22 */
    33
    4 #include "../../../Container/Container.h"
    54#include "../../../toolkits/toolkits.h"
    6 #include "../../../io/io.h"
    7 #include "../../../EnumDefinitions/EnumDefinitions.h"
    8 #include "../../../classes/objects/objects.h"
     5#include "../../../classes/classes.h"
    96#include "../../../shared/shared.h"
    10 #include "../../../include/include.h"
    117#include "../ModelProcessorx.h"
    128
  • issm/trunk/src/c/modules/ModelProcessorx/Balancethickness/CreateNodesBalancethickness.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../io/io.h"
    8 #include "../../../EnumDefinitions/EnumDefinitions.h"
    9 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    107#include "../../../shared/shared.h"
    11 #include "../../../include/include.h"
    128#include "../../MeshPartitionx/MeshPartitionx.h"
    139#include "../ModelProcessorx.h"
  • issm/trunk/src/c/modules/ModelProcessorx/Balancethickness/UpdateElementsBalancethickness.cpp

    r13395 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../modules/modules.h"
    8 #include "../../../io/io.h"
    9 #include "../../../EnumDefinitions/EnumDefinitions.h"
    10 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    117#include "../../../shared/shared.h"
    128#include "../../MeshPartitionx/MeshPartitionx.h"
    13 #include "../../../include/include.h"
    149#include "../ModelProcessorx.h"
    1510
  • issm/trunk/src/c/modules/ModelProcessorx/BedSlope/CreateConstraintsBedSlope.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    6 #include "../../../io/io.h"
    75#include "../../../toolkits/toolkits.h"
    8 #include "../../../EnumDefinitions/EnumDefinitions.h"
    9 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    107#include "../../../shared/shared.h"
    118#include "../ModelProcessorx.h"
  • issm/trunk/src/c/modules/ModelProcessorx/BedSlope/CreateLoadsBedSlope.cpp

    r13975 r15396  
    22 */
    33
    4 #include "../../../Container/Container.h"
    5 #include "../../../io/io.h"
    64#include "../../../toolkits/toolkits.h"
    7 #include "../../../EnumDefinitions/EnumDefinitions.h"
    8 #include "../../../classes/objects/objects.h"
     5#include "../../../classes/classes.h"
    96#include "../../../shared/shared.h"
    10 #include "../../../include/include.h"
    117#include "../ModelProcessorx.h"
    128
  • issm/trunk/src/c/modules/ModelProcessorx/BedSlope/CreateNodesBedSlope.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    6 #include "../../../io/io.h"
    75#include "../../../toolkits/toolkits.h"
    8 #include "../../../EnumDefinitions/EnumDefinitions.h"
    9 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    107#include "../../../shared/shared.h"
    11 #include "../../../include/include.h"
    128#include "../../MeshPartitionx/MeshPartitionx.h"
    139#include "../ModelProcessorx.h"
  • issm/trunk/src/c/modules/ModelProcessorx/BedSlope/UpdateElementsBedSlope.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    6 #include "../../../modules/modules.h"
    75#include "../../../toolkits/toolkits.h"
    8 #include "../../../io/io.h"
    9 #include "../../../EnumDefinitions/EnumDefinitions.h"
    10 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    117#include "../../../shared/shared.h"
    128#include "../../MeshPartitionx/MeshPartitionx.h"
    13 #include "../../../include/include.h"
    149#include "../ModelProcessorx.h"
    1510
  • issm/trunk/src/c/modules/ModelProcessorx/Control/CreateParametersControl.cpp

    r14310 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../io/io.h"
    8 #include "../../../EnumDefinitions/EnumDefinitions.h"
    9 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    107#include "../../../shared/shared.h"
    11 #include "../../../include/include.h"
    128#include "../ModelProcessorx.h"
    139
  • issm/trunk/src/c/modules/ModelProcessorx/Control/UpdateElementsAndMaterialsControl.cpp

    r14310 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../modules/modules.h"
    8 #include "../../../io/io.h"
    9 #include "../../../EnumDefinitions/EnumDefinitions.h"
    10 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    117#include "../../../shared/shared.h"
    128#include "../../MeshPartitionx/MeshPartitionx.h"
    13 #include "../../../include/include.h"
    149#include "../ModelProcessorx.h"
    1510
  • issm/trunk/src/c/modules/ModelProcessorx/CreateDataSets.cpp

    r13975 r15396  
    99#endif
    1010
    11 #include "../../classes/objects/objects.h"
     11#include "../../classes/classes.h"
    1212#include "../../shared/shared.h"
    13 #include "../../include/include.h"
    14 #include "../../EnumDefinitions/EnumDefinitions.h"
    1513#include "./ModelProcessorx.h"
    1614
     
    5654
    5755                #ifdef _HAVE_HYDROLOGY_
    58                 case HydrologyAnalysisEnum:
    59                         CreateNodesHydrology(pnodes, iomodel);
    60                         CreateConstraintsHydrology(pconstraints,iomodel);
    61                         CreateLoadsHydrology(ploads,iomodel);
    62                         UpdateElementsHydrology(elements,iomodel,analysis_counter,analysis_type);
     56                case HydrologyShreveAnalysisEnum:
     57                        CreateNodesHydrologyShreve(pnodes, iomodel);
     58                        CreateConstraintsHydrologyShreve(pconstraints,iomodel);
     59                        CreateLoadsHydrologyShreve(ploads,iomodel);
     60                        UpdateElementsHydrologyShreve(elements,iomodel,analysis_counter,analysis_type);
     61                        break;
     62                case HydrologyDCInefficientAnalysisEnum:
     63                        CreateNodesHydrologyDCInefficient(pnodes, iomodel);
     64                        CreateConstraintsHydrologyDCInefficient(pconstraints,iomodel);
     65                        CreateLoadsHydrologyDCInefficient(ploads,iomodel);
     66                        UpdateElementsHydrologyDCInefficient(elements,iomodel,analysis_counter,analysis_type);
     67                        break;
     68                case HydrologyDCEfficientAnalysisEnum:
     69                        CreateNodesHydrologyDCEfficient(pnodes, iomodel);
     70                        CreateConstraintsHydrologyDCEfficient(pconstraints,iomodel);
     71                        CreateLoadsHydrologyDCEfficient(ploads,iomodel);
     72                        UpdateElementsHydrologyDCEfficient(elements,iomodel,analysis_counter,analysis_type);
    6373                        break;
    6474                #endif
     
    93103                        CreateLoadsBalancethickness(ploads,iomodel);
    94104                        UpdateElementsBalancethickness(elements,iomodel,analysis_counter,analysis_type);
     105                        break;
     106                #endif
     107
     108                #ifdef _HAVE_GIA_
     109                case GiaAnalysisEnum:
     110                        CreateNodesGia(pnodes, iomodel);
     111                        CreateConstraintsGia(pconstraints,iomodel);
     112                        CreateLoadsGia(ploads,iomodel);
     113                        UpdateElementsGia(elements,iomodel,analysis_counter,analysis_type);
    95114                        break;
    96115                #endif
  • issm/trunk/src/c/modules/ModelProcessorx/CreateElementsVerticesAndMaterials.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../Container/Container.h"
    65#include "../../toolkits/toolkits.h"
    7 #include "../../io/io.h"
    8 #include "../../EnumDefinitions/EnumDefinitions.h"
    9 #include "../../classes/objects/objects.h"
     6#include "../../classes/classes.h"
    107#include "../../shared/shared.h"
    118#include "../MeshPartitionx/MeshPartitionx.h"
    12 #include "../../include/include.h"
    139#include "./ModelProcessorx.h"
    1410
     
    2117        int numberofvertices;
    2218        bool control_analysis;
     19        bool dakota_analysis;
    2320
    2421        /*DataSets: */
     
    3229        iomodel->Constant(&numberofvertices,MeshNumberofverticesEnum);
    3330        iomodel->Constant(&control_analysis,InversionIscontrolEnum);
     31        iomodel->Constant(&dakota_analysis,QmuIsdakotaEnum);
    3432        iomodel->Constant(&materials_type,MaterialsEnum);
    3533
     
    6866                        iomodel->FetchData(2,MaterialsRheologyBEnum,MaterialsRheologyNEnum);
    6967                        for (i=0;i<numberofelements;i++) if(iomodel->my_elements[i]) materials->AddObject(new Matice(i+1,i,iomodel));
     68                        if(dakota_analysis){
     69                                if(dim==2) materials->InputDuplicate(MaterialsRheologyBbarEnum,QmuMaterialsRheologyBEnum);
     70           #ifdef _HAVE_3D_
     71                                else       materials->InputDuplicate(MaterialsRheologyBEnum,QmuMaterialsRheologyBEnum);
     72           #endif
     73                        }
    7074                        break;
    7175                case MatdamageiceEnum:
  • issm/trunk/src/c/modules/ModelProcessorx/CreateNumberNodeToElementConnectivity.cpp

    r12706 r15396  
    1010
    1111#include "../../shared/shared.h"
    12 #include "../../io/io.h"
    13 #include "../../include/include.h"
     12#include "../../classes/classes.h"
     13#include "../../shared/io/io.h"
    1414#include "./ModelProcessorx.h"
    1515
  • issm/trunk/src/c/modules/ModelProcessorx/CreateParameters.cpp

    r13975 r15396  
    99#endif
    1010
    11 #include "../../Container/Container.h"
    1211#include "../../toolkits/toolkits.h"
    13 #include "../../EnumDefinitions/EnumDefinitions.h"
    14 #include "../../classes/objects/objects.h"
     12#include "../../classes/classes.h"
    1513#include "../../shared/shared.h"
    1614#include "../MeshPartitionx/MeshPartitionx.h"
    17 #include "../../io/io.h"
    1815#include "./ModelProcessorx.h"
    1916
     
    2421        Parameters *parameters       = NULL;
    2522        IssmDouble *requestedoutputs = NULL;
    26         bool        isdelta18o;
     23        IssmDouble  time;
     24        bool        ispdd,isdelta18o;
    2725
    2826        /*parameters for mass flux: {{{*/
    29         int      mass_flux_num_profiles=0;
    30         bool     qmu_mass_flux_present=false;
    31         bool     autodiff_mass_flux_present=false;
    32         bool     mass_flux_present=false;
    33         IssmDouble** array=NULL;
    34         int*     mdims_array=NULL;
    35         int*     ndims_array=NULL;
    36         IssmDouble*  temp_matrix=NULL;
    37         int      temp_m,temp_n;
    38         IssmDouble*  matrix=NULL;
    39         int      count;
     27        int          mass_flux_num_profiles     = 0;
     28        bool         qmu_mass_flux_present      = false;
     29        bool         autodiff_mass_flux_present = false;
     30        bool         mass_flux_present          = false;
     31        IssmDouble **array                      = NULL;
     32        int         *mdims_array                = NULL;
     33        int         *ndims_array                = NULL;
     34        IssmDouble  *temp_matrix                = NULL;
     35        int          temp_m,temp_n;
     36        IssmDouble  *matrix                     = NULL;
     37        int          count;
    4038        /*}}}*/
    4139
     
    7674        parameters->AddObject(iomodel->CopyConstantObject(ConstantsReferencetemperatureEnum));
    7775        parameters->AddObject(iomodel->CopyConstantObject(BalancethicknessStabilizationEnum));
    78         parameters->AddObject(iomodel->CopyConstantObject(HydrologyStabilizationEnum));
    7976        parameters->AddObject(iomodel->CopyConstantObject(GroundinglineMeltingRateEnum));
    8077        parameters->AddObject(iomodel->CopyConstantObject(ThermalMaxiterEnum));
     
    8986        parameters->AddObject(iomodel->CopyConstantObject(MeshNumberofelementsEnum));
    9087        parameters->AddObject(iomodel->CopyConstantObject(MeshNumberofverticesEnum));
     88        parameters->AddObject(iomodel->CopyConstantObject(MeshNumberoflayersEnum));
    9189        parameters->AddObject(iomodel->CopyConstantObject(SettingsIoGatherEnum));
    9290        parameters->AddObject(iomodel->CopyConstantObject(SettingsResultsAsPatchesEnum));
     
    9694        parameters->AddObject(iomodel->CopyConstantObject(TransientIsthermalEnum));
    9795        parameters->AddObject(iomodel->CopyConstantObject(TransientIsgroundinglineEnum));
     96        parameters->AddObject(iomodel->CopyConstantObject(TransientIsgiaEnum));
    9897        parameters->AddObject(iomodel->CopyConstantObject(ThermalIsenthalpyEnum));
    9998        parameters->AddObject(iomodel->CopyConstantObject(MaterialsRheologyLawEnum));
     
    105104        parameters->AddObject(iomodel->CopyConstantObject(SurfaceforcingsIsdelta18oEnum));
    106105        parameters->AddObject(iomodel->CopyConstantObject(SurfaceforcingsIssmbgradientsEnum));
    107 
    108         iomodel->Constant(&isdelta18o,SurfaceforcingsIsdelta18oEnum);
    109         if(isdelta18o){
    110                 IssmDouble *temp = NULL;
    111                 IssmDouble  yts;
    112                 int         N,M;
    113 
    114                 iomodel->Constant(&yts,ConstantsYtsEnum);
    115 
    116                 iomodel->FetchData(&temp,&N,&M,SurfaceforcingsDelta18oEnum); _assert_(N==2);
    117                 for(i=0;i<M;i++) temp[M+i]=yts*temp[M+i];
    118                 parameters->AddObject(new TransientParam(SurfaceforcingsDelta18oEnum,&temp[0],&temp[M],M));
    119                 iomodel->DeleteData(temp,SurfaceforcingsDelta18oEnum);
    120 
    121                 iomodel->FetchData(&temp,&N,&M,SurfaceforcingsDelta18oSurfaceEnum); _assert_(N==2);
    122                 for(i=0;i<M;i++) temp[M+i]=yts*temp[M+i];
    123                 parameters->AddObject(new TransientParam(SurfaceforcingsDelta18oSurfaceEnum,&temp[0],&temp[M],M));
    124                 iomodel->DeleteData(temp,SurfaceforcingsDelta18oSurfaceEnum);
     106        parameters->AddObject(iomodel->CopyConstantObject(GiaCrossSectionShapeEnum));
     107
     108        iomodel->Constant(&ispdd,SurfaceforcingsIspddEnum);
     109        if(ispdd){
     110
     111                parameters->AddObject(iomodel->CopyConstantObject(SurfaceforcingsDesfacEnum));
     112                parameters->AddObject(iomodel->CopyConstantObject(SurfaceforcingsS0pEnum));
     113
     114                iomodel->Constant(&isdelta18o,SurfaceforcingsIsdelta18oEnum);
     115                if(isdelta18o){
     116                        IssmDouble *temp = NULL;
     117                        IssmDouble  yts;
     118                        int         N,M;
     119
     120                        iomodel->Constant(&yts,ConstantsYtsEnum);
     121
     122                        iomodel->FetchData(&temp,&N,&M,SurfaceforcingsDelta18oEnum); _assert_(N==2);
     123                        for(i=0;i<M;i++) temp[M+i]=yts*temp[M+i];
     124                        parameters->AddObject(new TransientParam(SurfaceforcingsDelta18oEnum,&temp[0],&temp[M],M));
     125                        iomodel->DeleteData(temp,SurfaceforcingsDelta18oEnum);
     126
     127                        iomodel->FetchData(&temp,&N,&M,SurfaceforcingsDelta18oSurfaceEnum); _assert_(N==2);
     128                        for(i=0;i<M;i++) temp[M+i]=yts*temp[M+i];
     129                        parameters->AddObject(new TransientParam(SurfaceforcingsDelta18oSurfaceEnum,&temp[0],&temp[M],M));
     130                        iomodel->DeleteData(temp,SurfaceforcingsDelta18oSurfaceEnum);
     131                }
    125132        }
    126133
     
    129136        parameters->AddObject(new IntParam(AnalysisTypeEnum,analysis_type));
    130137        parameters->AddObject(new IntParam(AnalysisCounterEnum,analysis_counter));
    131         parameters->AddObject(new DoubleParam(TimeEnum,0.0));  //start at time 0 by default for all solutions FIXME: to be deleted
     138
     139        iomodel->Constant(&time,TimesteppingStartTimeEnum);
     140        parameters->AddObject(new DoubleParam(TimeEnum,time));  //start at time 0 by default for all solutions FIXME: to be deleted
    132141        parameters->AddObject(new IntParam(StepEnum,1));  //start at time 0 by default for all solutions FIXME: to be deleted
    133142
     
    217226        /*}}}*/
    218227
     228        /*Solution specific parameters (FIXME: extend to other params)*/
     229        #ifdef _HAVE_HYDROLOGY_
     230        CreateParametersHydrologyShreve(&parameters,iomodel,solution_type,analysis_type);
     231        CreateParametersHydrologyDCInefficient(&parameters,iomodel,solution_type,analysis_type);
     232        CreateParametersHydrologyDCEfficient(&parameters,iomodel,solution_type,analysis_type);
     233        #endif
     234
    219235        /*Before returning, create parameters in case we are running Qmu or control types runs: */
    220236        #ifdef _HAVE_CONTROL_
     
    230246        #endif
    231247
    232         /*Go through all parameters, and convert units to SI: */
    233         parameters->UnitConversion(ExtToIuEnum);
    234 
    235248        /*Assign output pointer: */
    236249        *pparameters=parameters;
  • issm/trunk/src/c/modules/ModelProcessorx/CreateSingleNodeToElementConnectivity.cpp

    r12706 r15396  
    1010
    1111#include "../../shared/shared.h"
    12 #include "../../io/io.h"
    13 #include "../../include/include.h"
     12#include "../../shared/io/io.h"
     13#include "../../classes/classes.h"
    1414#include "./ModelProcessorx.h"
    1515
  • issm/trunk/src/c/modules/ModelProcessorx/Dakota/CreateParametersDakota.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../EnumDefinitions/EnumDefinitions.h"
    8 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    97#include "../../../shared/shared.h"
    10 #include "../../../io/io.h"
    11 #include "../../../include/include.h"
    128#include "../../MeshPartitionx/MeshPartitionx.h"
    139#include "../ModelProcessorx.h"
  • issm/trunk/src/c/modules/ModelProcessorx/DiagnosticHoriz/CreateConstraintsDiagnosticHoriz.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../io/io.h"
    8 #include "../../../EnumDefinitions/EnumDefinitions.h"
    9 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    107#include "../../../shared/shared.h"
    118#include "../ModelProcessorx.h"
     
    9188                timesx[j]=spcvx[(Mx-1)*Nx+j];
    9289        }
    93         /*unit conversion: */
    94         UnitConversion(timesx,Nx,ExtToIuEnum,TimeEnum);
    9590        /*figure out times: */
    9691        timesy=xNew<IssmDouble>(Ny);
     
    9893                timesy[j]=spcvy[(My-1)*Ny+j];
    9994        }
    100         /*unit conversion: */
    101         UnitConversion(timesy,Ny,ExtToIuEnum,TimeEnum);
    10295        /*figure out times: */
    10396        timesz=xNew<IssmDouble>(Nz);
     
    10598                timesz[j]=spcvz[(Mz-1)*Nz+j];
    10699        }
    107         /*unit conversion: */
    108         UnitConversion(timesz,Nz,ExtToIuEnum,TimeEnum);
    109100
    110101        /*Create spcs from x,y,z, as well as the spc values on those spcs: */
  • issm/trunk/src/c/modules/ModelProcessorx/DiagnosticHoriz/CreateLoadsDiagnosticHoriz.cpp

    r13975 r15396  
    22 */
    33
    4 #include "../../../Container/Container.h"
    54#include "../../../toolkits/toolkits.h"
    6 #include "../../../io/io.h"
    7 #include "../../../EnumDefinitions/EnumDefinitions.h"
    8 #include "../../../classes/objects/objects.h"
     5#include "../../../classes/classes.h"
    96#include "../../../shared/shared.h"
    10 #include "../../../include/include.h"
    117#include "../ModelProcessorx.h"
    128
     
    154150
    155151        /*Create Riffront loads for rifts: */
     152        #ifdef _HAVE_RIFTS_
    156153        if(numrifts){
    157154                iomodel->FetchData(&riftinfo,&numriftsegments,NULL,RiftsRiftstructEnum);
     
    166163                xDelete<IssmDouble>(riftinfo);
    167164        }
     165        #endif
    168166
    169167        /*Assign output pointer: */
  • issm/trunk/src/c/modules/ModelProcessorx/DiagnosticHoriz/CreateNodesDiagnosticHoriz.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../io/io.h"
    8 #include "../../../EnumDefinitions/EnumDefinitions.h"
    9 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    107#include "../../../shared/shared.h"
    118#include "../../MeshPartitionx/MeshPartitionx.h"
    12 #include "../../../include/include.h"
    139#include "../ModelProcessorx.h"
    1410
     
    5551        }
    5652
     53        if(false){
     54                /*Quadratic element*/
     55                int numberofedges;
     56                int  element1,element2;
     57                bool my_edge;
     58
     59                iomodel->Constant(&numberofedges,MeshNumberofedgesEnum);
     60
     61                for (i=0;i<numberofedges;i++){
     62
     63                        /*Get left and right elements*/
     64                        element1=reCast<int>(iomodel->Data(MeshEdgesEnum)[4*i+2])-1; //edges are [node1 node2 elem1 elem2]
     65                        element2=reCast<int>(iomodel->Data(MeshEdgesEnum)[4*i+3])-1; //edges are [node1 node2 elem1 elem2]
     66
     67                        /*Check whether we should include this edge (element2 is -2 for boundary edges)*/
     68                        my_edge = iomodel->my_elements[element1];
     69                        if(!my_edge && element2>=0){
     70                                my_edge = iomodel->my_elements[element2];
     71                        }
     72
     73                        /*Add node on edge*/
     74                        if(my_edge){
     75                                nodes->AddObject(new Node(iomodel->nodecounter+numberofvertices+i+1,numberofvertices+i,numberofvertices+i+1,i,iomodel,DiagnosticHorizAnalysisEnum));
     76                        }
     77                }
     78        }
     79
    5780        /*Clean fetched data: */
    5881        iomodel->DeleteData(9,MeshVertexonbedEnum,MeshVertexonsurfaceEnum,FlowequationBordermacayealEnum,FlowequationBorderstokesEnum,
  • issm/trunk/src/c/modules/ModelProcessorx/DiagnosticHoriz/UpdateElementsDiagnosticHoriz.cpp

    r14310 r15396  
    88#endif
    99
    10 #include "../../../Container/Container.h"
    11 #include "../../../modules/modules.h"
    1210#include "../../../toolkits/toolkits.h"
    13 #include "../../../io/io.h"
    14 #include "../../../EnumDefinitions/EnumDefinitions.h"
    15 #include "../../../classes/objects/objects.h"
     11#include "../../../classes/classes.h"
    1612#include "../../../shared/shared.h"
    1713#include "../../MeshPartitionx/MeshPartitionx.h"
    18 #include "../../../include/include.h"
    1914#include "../ModelProcessorx.h"
    2015
     
    6964        iomodel->FetchDataToInput(elements,VxEnum);
    7065        iomodel->FetchDataToInput(elements,VyEnum);
     66        iomodel->FetchDataToInput(elements,LoadingforceXEnum);
     67        iomodel->FetchDataToInput(elements,LoadingforceYEnum);
    7168        if(materials_type==MatdamageiceEnum){
    7269                iomodel->FetchDataToInput(elements,MaterialsRheologyZEnum);
     
    7976                iomodel->FetchDataToInput(elements,BasalforcingsMeltingRateEnum);
    8077                iomodel->FetchDataToInput(elements,FlowequationBorderstokesEnum);
     78                iomodel->FetchDataToInput(elements,LoadingforceZEnum);
    8179        }
    8280
     
    9088        elements->InputDuplicate(VxEnum,InversionVxObsEnum);
    9189        if(dakota_analysis)elements->InputDuplicate(VxEnum,QmuVxEnum);
    92        
     90
    9391        #ifdef _HAVE_ANDROID_
    9492        elements->InputDuplicate(FrictionCoefficientEnum,AndroidFrictionCoefficientEnum);
  • issm/trunk/src/c/modules/ModelProcessorx/DiagnosticHutter/CreateConstraintsDiagnosticHutter.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../io/io.h"
    8 #include "../../../EnumDefinitions/EnumDefinitions.h"
    9 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    107#include "../../../shared/shared.h"
    118#include "../ModelProcessorx.h"
  • issm/trunk/src/c/modules/ModelProcessorx/DiagnosticHutter/CreateLoadsDiagnosticHutter.cpp

    r13975 r15396  
    22 */
    33
    4 #include "../../../Container/Container.h"
    54#include "../../../toolkits/toolkits.h"
    6 #include "../../../io/io.h"
    7 #include "../../../EnumDefinitions/EnumDefinitions.h"
    8 #include "../../../classes/objects/objects.h"
     5#include "../../../classes/classes.h"
    96#include "../../../shared/shared.h"
    10 #include "../../../include/include.h"
    117#include "../ModelProcessorx.h"
    128
  • issm/trunk/src/c/modules/ModelProcessorx/DiagnosticHutter/CreateNodesDiagnosticHutter.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../io/io.h"
    8 #include "../../../EnumDefinitions/EnumDefinitions.h"
    9 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    107#include "../../../shared/shared.h"
    118#include "../../MeshPartitionx/MeshPartitionx.h"
    12 #include "../../../include/include.h"
    139#include "../ModelProcessorx.h"
    1410
  • issm/trunk/src/c/modules/ModelProcessorx/DiagnosticHutter/UpdateElementsDiagnosticHutter.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../io/io.h"
    8 #include "../../../modules/modules.h"
    9 #include "../../../EnumDefinitions/EnumDefinitions.h"
    10 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    117#include "../../../shared/shared.h"
    128#include "../../MeshPartitionx/MeshPartitionx.h"
    13 #include "../../../include/include.h"
    149#include "../ModelProcessorx.h"
    1510
  • issm/trunk/src/c/modules/ModelProcessorx/DiagnosticVert/CreateConstraintsDiagnosticVert.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../io/io.h"
    8 #include "../../../EnumDefinitions/EnumDefinitions.h"
    9 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    107#include "../../../shared/shared.h"
    118#include "../ModelProcessorx.h"
  • issm/trunk/src/c/modules/ModelProcessorx/DiagnosticVert/CreateLoadsDiagnosticVert.cpp

    r13975 r15396  
    22 */
    33
    4 #include "../../../Container/Container.h"
    54#include "../../../toolkits/toolkits.h"
    6 #include "../../../io/io.h"
    7 #include "../../../EnumDefinitions/EnumDefinitions.h"
    8 #include "../../../classes/objects/objects.h"
     5#include "../../../classes/classes.h"
    96#include "../../../shared/shared.h"
    10 #include "../../../include/include.h"
    117#include "../ModelProcessorx.h"
    128
  • issm/trunk/src/c/modules/ModelProcessorx/DiagnosticVert/CreateNodesDiagnosticVert.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../io/io.h"
    8 #include "../../../EnumDefinitions/EnumDefinitions.h"
    9 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    107#include "../../../shared/shared.h"
    118#include "../../MeshPartitionx/MeshPartitionx.h"
    12 #include "../../../include/include.h"
    139#include "../ModelProcessorx.h"
    1410
  • issm/trunk/src/c/modules/ModelProcessorx/DiagnosticVert/UpdateElementsDiagnosticVert.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../io/io.h"
    8 #include "../../../modules/modules.h"
    9 #include "../../../EnumDefinitions/EnumDefinitions.h"
    10 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    117#include "../../../shared/shared.h"
    128#include "../../MeshPartitionx/MeshPartitionx.h"
    13 #include "../../../include/include.h"
    149#include "../ModelProcessorx.h"
    1510
  • issm/trunk/src/c/modules/ModelProcessorx/DistributeNumDofs.cpp

    r13975 r15396  
    44
    55#include "../../shared/shared.h"
    6 #include "../../include/include.h"
    7 #include "../../EnumDefinitions/EnumDefinitions.h"
     6#include "../../classes/classes.h"
    87
    98void DistributeNumDofs(DofIndexing* index,int analysis_type,IssmDouble* vertices_type){
     
    8079                numdofs=1;
    8180        }
    82         else if (analysis_type==HydrologyAnalysisEnum){
     81        else if (analysis_type==HydrologyDCInefficientAnalysisEnum){
     82                numdofs=1;
     83        }
     84        else if (analysis_type==HydrologyDCEfficientAnalysisEnum){
     85                numdofs=1;
     86        }
     87        else if (analysis_type==HydrologyShreveAnalysisEnum){
    8388                numdofs=1;
    8489        }
     
    8792        }
    8893        else if (analysis_type==PrognosticAnalysisEnum){
     94                numdofs=1;
     95        }
     96        else if (analysis_type==GiaAnalysisEnum){
    8997                numdofs=1;
    9098        }
  • issm/trunk/src/c/modules/ModelProcessorx/ElementsAndVerticesPartitioning.cpp

    r13975 r15396  
    1010
    1111#include <string.h>
    12 #include "../../classes/objects/objects.h"
     12#include "../../classes/classes.h"
    1313#include "../../shared/shared.h"
    14 #include "../../EnumDefinitions/EnumDefinitions.h"
    15 #include "../../io/io.h"
    16 #include "../../include/include.h"
    1714#include "../MeshPartitionx/MeshPartitionx.h"
    1815#include "../ModelProcessorx/ModelProcessorx.h"
  • issm/trunk/src/c/modules/ModelProcessorx/Enthalpy/CreateConstraintsEnthalpy.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    6 #include "../../../io/io.h"
    75#include "../../../toolkits/toolkits.h"
    8 #include "../../../EnumDefinitions/EnumDefinitions.h"
    9 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    107#include "../../../shared/shared.h"
    11 #include "../../../include/include.h"
    128#include "../ModelProcessorx.h"
    139
     
    7975                        times[j]=spcvector[(M-1)*N+j];
    8076                }
    81                 /*unit conversion: */
    82                 UnitConversion(times,N,ExtToIuEnum,TimeEnum);
    8377
    8478                /*Create constraints from x,y,z: */
  • issm/trunk/src/c/modules/ModelProcessorx/Enthalpy/CreateLoadsEnthalpy.cpp

    r13975 r15396  
    22 */
    33
    4 #include "../../../Container/Container.h"
    54#include "../../../toolkits/toolkits.h"
    6 #include "../../../io/io.h"
    7 #include "../../../EnumDefinitions/EnumDefinitions.h"
    8 #include "../../../classes/objects/objects.h"
     5#include "../../../classes/classes.h"
    96#include "../../../shared/shared.h"
    10 #include "../../../include/include.h"
    117#include "../ModelProcessorx.h"
    128
  • issm/trunk/src/c/modules/ModelProcessorx/Enthalpy/CreateNodesEnthalpy.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../io/io.h"
    8 #include "../../../EnumDefinitions/EnumDefinitions.h"
    9 #include "../../../classes/objects/objects.h"
    10 #include "../../../include/include.h"
     6#include "../../../classes/classes.h"
    117#include "../../../shared/shared.h"
    128#include "../../MeshPartitionx/MeshPartitionx.h"
  • issm/trunk/src/c/modules/ModelProcessorx/Enthalpy/UpdateElementsEnthalpy.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../io/io.h"
    8 #include "../../../EnumDefinitions/EnumDefinitions.h"
    9 #include "../../../modules/modules.h"
    10 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    117#include "../../../shared/shared.h"
    128#include "../../MeshPartitionx/MeshPartitionx.h"
    13 #include "../../../include/include.h"
    149#include "../ModelProcessorx.h"
    1510
  • issm/trunk/src/c/modules/ModelProcessorx/Melting/CreateConstraintsMelting.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    6 #include "../../../io/io.h"
    75#include "../../../toolkits/toolkits.h"
    8 #include "../../../EnumDefinitions/EnumDefinitions.h"
    9 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    107#include "../../../shared/shared.h"
    118#include "../ModelProcessorx.h"
  • issm/trunk/src/c/modules/ModelProcessorx/Melting/CreateLoadsMelting.cpp

    r13975 r15396  
    22 */
    33
    4 #include "../../../Container/Container.h"
    54#include "../../../toolkits/toolkits.h"
    6 #include "../../../io/io.h"
    7 #include "../../../EnumDefinitions/EnumDefinitions.h"
    8 #include "../../../classes/objects/objects.h"
     5#include "../../../classes/classes.h"
    96#include "../../../shared/shared.h"
    10 #include "../../../include/include.h"
    117#include "../ModelProcessorx.h"
    128
  • issm/trunk/src/c/modules/ModelProcessorx/Melting/CreateNodesMelting.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../io/io.h"
    8 #include "../../../EnumDefinitions/EnumDefinitions.h"
    9 #include "../../../include/include.h"
    10 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    117#include "../../../shared/shared.h"
    128#include "../../MeshPartitionx/MeshPartitionx.h"
  • issm/trunk/src/c/modules/ModelProcessorx/Melting/UpdateElementsMelting.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../modules/modules.h"
    8 #include "../../../io/io.h"
    9 #include "../../../EnumDefinitions/EnumDefinitions.h"
    10 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    117#include "../../../shared/shared.h"
    128#include "../../MeshPartitionx/MeshPartitionx.h"
    13 #include "../../../include/include.h"
    149#include "../ModelProcessorx.h"
    1510
  • issm/trunk/src/c/modules/ModelProcessorx/ModelProcessorx.cpp

    r13975 r15396  
    99#endif
    1010
    11 #include "../../classes/objects/objects.h"
     11#include "../../classes/classes.h"
    1212#include "../../shared/shared.h"
    13 #include "../../io/io.h"
    14 #include "../../Container/Container.h"
    15 #include "../../EnumDefinitions/EnumDefinitions.h"
    16 #include "../../include/include.h"
    17 #include "../../modules/modules.h"
     13#include "./ModelProcessorx.h"
    1814
    1915void ModelProcessorx(Elements** pelements, Nodes** pnodes, Vertices** pvertices, Materials** pmaterials, Constraints** pconstraints, Loads** ploads, Parameters** pparameters, FILE* IOMODEL,char* rootpath,const int solution_type,const int nummodels,const int* analysis_type_list){
     
    4541        SetVerbosityLevel(verbose);
    4642
     43        if(VerboseMProcessor()) _printf0_("   starting model processor \n");
     44
    4745        for(i=0;i<nummodels;i++){
    4846
    4947                analysis_type=analysis_type_list[i];
    5048
    51                 /*Hack for trasient runs (to be improved)*/
     49                /*Hack for trasient runs (FIXME: to be improved)*/
    5250                if(solution_type==TransientSolutionEnum && analysis_type==ThermalAnalysisEnum && dim==2) continue;
    5351                if(solution_type==TransientSolutionEnum && analysis_type==MeltingAnalysisEnum && dim==2) continue;
     
    6765                if(solution_type==SteadystateSolutionEnum && analysis_type==EnthalpyAnalysisEnum && isenthalpy==false) continue;
    6866
    69                 if(VerboseMProcessor()) _pprintLine_("   creating datasets for analysis " << EnumToStringx(analysis_type));
     67                if(VerboseMProcessor()) _printf0_("   creating datasets for analysis " << EnumToStringx(analysis_type) << "\n");
    7068                CreateDataSets(&elements,&nodes,&vertices,&materials,&constraints,&loads,&parameters,iomodel,rootpath,solution_type,analysis_type,nummodels,i);
    7169        }
     70        if(VerboseMProcessor()) _printf0_("   done with model processor \n");
    7271
    7372        /*Free resources:*/
  • issm/trunk/src/c/modules/ModelProcessorx/ModelProcessorx.h

    r13975 r15396  
    88#define RIFTINFOSIZE 12
    99
    10 class DataSet;
    11 class IoModel;
    12 class Parameters;
    13 class DofIndexing;
    14 
    15 #include "../../io/io.h"
     10#include "../../classes/classes.h"
    1611
    1712void ModelProcessorx(Elements** pelements, Nodes** pnodes, Vertices** pvertices, Materials** pmaterials, Constraints** pconstraints, Loads** ploads, Parameters** pparameters, FILE* iomodel_handle,char* rootpath,const int solution_type,const int nummodels,const int* analysis_type_listh);
     
    2116void  CreateElementsVerticesAndMaterials(Elements** pelements,Vertices** pvertices,Materials** pmaterials, IoModel* iomodel,const int nummodels);
    2217void  CreateParameters(Parameters** pparameters,IoModel* iomodel,char* rootpath,const int solution_type,int analysis_type,int analysis_counter);
     18void  CreateParametersAutodiff(Parameters** pparameters,IoModel* iomodel,int solution_type,int analysis_type);
    2319void  CreateParametersControl(Parameters** pparameters,IoModel* iomodel,int solution_type,int analysis_type);
    2420void  CreateParametersDakota(Parameters** pparameters,IoModel* iomodel,char* rootpath,int solution_type,int analysis_type);
    25 void  CreateParametersAutodiff(Parameters** pparameters,IoModel* iomodel,int solution_type,int analysis_type);
     21void  CreateParametersHydrologyShreve(Parameters** pparameters,IoModel* iomodel,int solution_type,int analysis_type);
     22void  CreateParametersHydrologyDCInefficient(Parameters** pparameters,IoModel* iomodel,int solution_type,int analysis_type);
     23void  CreateParametersHydrologyDCEfficient(Parameters** pparameters,IoModel* iomodel,int solution_type,int analysis_type);
    2624void  UpdateElementsAndMaterialsControl(Elements* elements,Materials* materials, IoModel* iomodel);
    2725
     
    4543void  CreateLoadsDiagnosticHutter(Loads** ploads, IoModel* iomodel);
    4644void    UpdateElementsDiagnosticHutter(Elements* elements,IoModel* iomodel,int analysis_counter,int analysis_type);
     45
     46#ifdef _HAVE_GIA_
     47/*gia*/
     48void    CreateNodesGia(Nodes** pnodes,IoModel* iomodel);
     49void    CreateConstraintsGia(Constraints** pconstraints,IoModel* iomodel);
     50void    CreateLoadsGia(Loads** ploads, IoModel* iomodel);
     51void    UpdateElementsGia(Elements* elements,IoModel* iomodel,int analysis_counter,int analysis_type);
     52#endif
    4753
    4854/*bed slope*/
     
    7076void    UpdateElementsEnthalpy(Elements* elements,IoModel* iomodel,int analysis_counter,int analysis_type);
    7177
    72 /*hydrology:*/
    73 void    CreateNodesHydrology(Nodes** pnodes,IoModel* iomodel);
    74 void    CreateConstraintsHydrology(Constraints** pconstraints,IoModel* iomodel);
    75 void  CreateLoadsHydrology(Loads** ploads, IoModel* iomodel);
    76 void    UpdateElementsHydrology(Elements* elements,IoModel* iomodel,int analysis_counter,int analysis_type);
     78/*hydrology Shreve:*/
     79void    CreateNodesHydrologyShreve(Nodes** pnodes,IoModel* iomodel);
     80void    CreateConstraintsHydrologyShreve(Constraints** pconstraints,IoModel* iomodel);
     81void  CreateLoadsHydrologyShreve(Loads** ploads, IoModel* iomodel);
     82void    UpdateElementsHydrologyShreve(Elements* elements,IoModel* iomodel,int analysis_counter,int analysis_type);
     83
     84/*hydrology DC:*/
     85void    CreateNodesHydrologyDCInefficient(Nodes** pnodes,IoModel* iomodel);
     86void    CreateConstraintsHydrologyDCInefficient(Constraints** pconstraints,IoModel* iomodel);
     87void  CreateLoadsHydrologyDCInefficient(Loads** ploads, IoModel* iomodel);
     88void    UpdateElementsHydrologyDCInefficient(Elements* elements,IoModel* iomodel,int analysis_counter,int analysis_type);
     89void    CreateNodesHydrologyDCEfficient(Nodes** pnodes,IoModel* iomodel);
     90void    CreateConstraintsHydrologyDCEfficient(Constraints** pconstraints,IoModel* iomodel);
     91void  CreateLoadsHydrologyDCEfficient(Loads** ploads, IoModel* iomodel);
     92void    UpdateElementsHydrologyDCEfficient(Elements* elements,IoModel* iomodel,int analysis_counter,int analysis_type);
    7793
    7894/*melting:*/
  • issm/trunk/src/c/modules/ModelProcessorx/NodesPartitioning.cpp

    r13975 r15396  
    1010
    1111#include <string.h>
    12 #include "../../classes/objects/objects.h"
     12#include "../../classes/classes.h"
    1313#include "../../shared/shared.h"
    14 #include "../../EnumDefinitions/EnumDefinitions.h"
    15 #include "../../io/io.h"
    16 #include "../../include/include.h"
    1714#include "../MeshPartitionx/MeshPartitionx.h"
    1815#include "../ModelProcessorx/ModelProcessorx.h"
  • issm/trunk/src/c/modules/ModelProcessorx/Prognostic/CreateConstraintsPrognostic.cpp

    r13975 r15396  
    1 #include "../../../Container/Container.h"
    2 #include "../../../modules/modules.h"
    31#include "../../../toolkits/toolkits.h"
    4 #include "../../../EnumDefinitions/EnumDefinitions.h"
    5 #include "../../../io/io.h"
    6 #include "../../../classes/objects/objects.h"
     2#include "../../../classes/classes.h"
    73#include "../../../shared/shared.h"
    84#include "../ModelProcessorx.h"
     5#include "../../IoModelToConstraintsx/IoModelToConstraintsx.h"
    96
    107void    CreateConstraintsPrognostic(Constraints** pconstraints, IoModel* iomodel){
  • issm/trunk/src/c/modules/ModelProcessorx/Prognostic/CreateLoadsPrognostic.cpp

    r13975 r15396  
    22 */
    33
    4 #include "../../../Container/Container.h"
    54#include "../../../toolkits/toolkits.h"
    6 #include "../../../io/io.h"
    7 #include "../../../EnumDefinitions/EnumDefinitions.h"
    8 #include "../../../classes/objects/objects.h"
     5#include "../../../classes/classes.h"
    96#include "../../../shared/shared.h"
    10 #include "../../../include/include.h"
    117#include "../ModelProcessorx.h"
    128
  • issm/trunk/src/c/modules/ModelProcessorx/Prognostic/CreateNodesPrognostic.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../EnumDefinitions/EnumDefinitions.h"
    8 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    97#include "../../../shared/shared.h"
    10 #include "../../../io/io.h"
    118#include "../../MeshPartitionx/MeshPartitionx.h"
    12 #include "../../../include/include.h"
    139#include "../ModelProcessorx.h"
    1410
  • issm/trunk/src/c/modules/ModelProcessorx/Prognostic/UpdateElementsPrognostic.cpp

    r14310 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../modules/modules.h"
    8 #include "../../../io/io.h"
    9 #include "../../../EnumDefinitions/EnumDefinitions.h"
    10 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    117#include "../../../shared/shared.h"
    128#include "../../MeshPartitionx/MeshPartitionx.h"
    13 #include "../../../include/include.h"
    149#include "../ModelProcessorx.h"
    1510
     
    6358                elements->InputDuplicate(ThicknessEnum,QmuThicknessEnum);
    6459                elements->InputDuplicate(SurfaceEnum,QmuSurfaceEnum);
     60                elements->InputDuplicate(BasalforcingsMeltingRateEnum,QmuMeltingEnum);
     61                elements->InputDuplicate(VxEnum,QmuVxEnum);
     62                elements->InputDuplicate(VyEnum,QmuVyEnum);
    6563        }
    6664
     
    7068                iomodel->FetchDataToInput(elements,PressureEnum);
    7169                iomodel->FetchDataToInput(elements,TemperatureEnum);
     70                iomodel->FetchDataToInput(elements,VzEnum);
     71                if(dakota_analysis){
     72                        elements->InputDuplicate(PressureEnum,QmuPressureEnum);
     73                        elements->InputDuplicate(TemperatureEnum,QmuTemperatureEnum);
     74                        elements->InputDuplicate(VzEnum,QmuVzEnum);
     75                }
    7276        }
    7377        if(issmbgradients){
  • issm/trunk/src/c/modules/ModelProcessorx/SortDataSets.cpp

    r13975 r15396  
    99#endif
    1010
    11 #include "../../classes/objects/objects.h"
     11#include "../../classes/classes.h"
    1212#include "../../shared/shared.h"
    13 #include "../../include/include.h"
    14 #include "../../EnumDefinitions/EnumDefinitions.h"
    1513#include "./ModelProcessorx.h"
    1614
  • issm/trunk/src/c/modules/ModelProcessorx/SurfaceSlope/CreateConstraintsSurfaceSlope.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    6 #include "../../../io/io.h"
    75#include "../../../toolkits/toolkits.h"
    8 #include "../../../EnumDefinitions/EnumDefinitions.h"
    9 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    107#include "../../../shared/shared.h"
    118#include "../ModelProcessorx.h"
  • issm/trunk/src/c/modules/ModelProcessorx/SurfaceSlope/CreateLoadsSurfaceSlope.cpp

    r13975 r15396  
    22 */
    33
    4 #include "../../../Container/Container.h"
    5 #include "../../../io/io.h"
    64#include "../../../toolkits/toolkits.h"
    7 #include "../../../EnumDefinitions/EnumDefinitions.h"
    8 #include "../../../classes/objects/objects.h"
     5#include "../../../classes/classes.h"
    96#include "../../../shared/shared.h"
    10 #include "../../../include/include.h"
    117#include "../ModelProcessorx.h"
    128
  • issm/trunk/src/c/modules/ModelProcessorx/SurfaceSlope/CreateNodesSurfaceSlope.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    6 #include "../../../io/io.h"
    75#include "../../../toolkits/toolkits.h"
    8 #include "../../../EnumDefinitions/EnumDefinitions.h"
    9 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    107#include "../../../shared/shared.h"
    11 #include "../../../include/include.h"
    128#include "../../MeshPartitionx/MeshPartitionx.h"
    139#include "../ModelProcessorx.h"
  • issm/trunk/src/c/modules/ModelProcessorx/SurfaceSlope/UpdateElementsSurfaceSlope.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../modules/modules.h"
    8 #include "../../../io/io.h"
    9 #include "../../../EnumDefinitions/EnumDefinitions.h"
    10 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    117#include "../../../shared/shared.h"
    128#include "../../MeshPartitionx/MeshPartitionx.h"
    13 #include "../../../include/include.h"
    149#include "../ModelProcessorx.h"
    1510
  • issm/trunk/src/c/modules/ModelProcessorx/Thermal/CreateConstraintsThermal.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    6 #include "../../../modules/modules.h"
    7 #include "../../../io/io.h"
    85#include "../../../toolkits/toolkits.h"
    9 #include "../../../EnumDefinitions/EnumDefinitions.h"
    10 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    117#include "../../../shared/shared.h"
    128#include "../ModelProcessorx.h"
     9#include "../../IoModelToConstraintsx/IoModelToConstraintsx.h"
    1310
    1411void    CreateConstraintsThermal(Constraints** pconstraints, IoModel* iomodel){
  • issm/trunk/src/c/modules/ModelProcessorx/Thermal/CreateLoadsThermal.cpp

    r13975 r15396  
    22 */
    33
    4 #include "../../../Container/Container.h"
    54#include "../../../toolkits/toolkits.h"
    6 #include "../../../io/io.h"
    7 #include "../../../EnumDefinitions/EnumDefinitions.h"
    8 #include "../../../classes/objects/objects.h"
     5#include "../../../classes/classes.h"
    96#include "../../../shared/shared.h"
    10 #include "../../../include/include.h"
    117#include "../ModelProcessorx.h"
    128
     
    1410
    1511        /*Intermediary*/
    16         int i;
    17         int    dim;
    18         int    numberofvertices;
    19         Pengrid*    pengrid  = NULL;
     12        int      dim;
     13        int      numberofvertices;
     14        Pengrid *pengrid          = NULL;
    2015
    2116        /*Recover pointer: */
     
    3631        CreateSingleNodeToElementConnectivity(iomodel);
    3732
    38         for (i=0;i<numberofvertices;i++){
     33        for(int i=0;i<numberofvertices;i++){
    3934
    4035                /*keep only this partition's nodes:*/
  • issm/trunk/src/c/modules/ModelProcessorx/Thermal/CreateNodesThermal.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../io/io.h"
    8 #include "../../../EnumDefinitions/EnumDefinitions.h"
    9 #include "../../../classes/objects/objects.h"
    10 #include "../../../include/include.h"
     6#include "../../../classes/classes.h"
    117#include "../../../shared/shared.h"
    128#include "../../MeshPartitionx/MeshPartitionx.h"
  • issm/trunk/src/c/modules/ModelProcessorx/Thermal/UpdateElementsThermal.cpp

    r13975 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    6 #include "../../../modules/modules.h"
    75#include "../../../toolkits/toolkits.h"
    8 #include "../../../io/io.h"
    9 #include "../../../EnumDefinitions/EnumDefinitions.h"
    10 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    117#include "../../../shared/shared.h"
    128#include "../../MeshPartitionx/MeshPartitionx.h"
    13 #include "../../../include/include.h"
    149#include "../ModelProcessorx.h"
    1510
     
    6358        if(dakota_analysis){
    6459                elements->InputDuplicate(TemperatureEnum,QmuTemperatureEnum);
     60                elements->InputDuplicate(PressureEnum,QmuPressureEnum);
    6561                elements->InputDuplicate(BasalforcingsMeltingRateEnum,QmuMeltingEnum);
    6662        }
     63
    6764        /*Free data: */
    6865        iomodel->DeleteData(1,MeshElementsEnum);
  • issm/trunk/src/c/modules/ModelProcessorx/Transient/UpdateElementsTransient.cpp

    r13395 r15396  
    33 */
    44
    5 #include "../../../Container/Container.h"
    65#include "../../../toolkits/toolkits.h"
    7 #include "../../../io/io.h"
    8 #include "../../../modules/modules.h"
    9 #include "../../../EnumDefinitions/EnumDefinitions.h"
    10 #include "../../../classes/objects/objects.h"
     6#include "../../../classes/classes.h"
    117#include "../../../shared/shared.h"
    128#include "../../MeshPartitionx/MeshPartitionx.h"
    13 #include "../../../include/include.h"
    149#include "../ModelProcessorx.h"
    1510
    1611void    UpdateElementsTransient(Elements* elements, Parameters* parameters,IoModel* iomodel,int analysis_counter,int analysis_type){
     12
     13        bool        isgl;
     14        int         migration_style;
     15        int         i,numberofvertices;
     16        IssmDouble  rho_ice,rho_water;
     17        IssmDouble *phi   = NULL;
     18
     19        /*Fetch data needed*/
     20        iomodel->Constant(&isgl,TransientIsgroundinglineEnum);
     21        iomodel->Constant(&migration_style,GroundinglineMigrationEnum);
     22
     23        if(isgl==1 && (migration_style==SubelementMigrationEnum || migration_style==SubelementMigration2Enum)){
     24
     25                /*get parameters and constants: */
     26                iomodel->Constant(&rho_ice,MaterialsRhoIceEnum);
     27                iomodel->Constant(&rho_water,MaterialsRhoWaterEnum);
     28                iomodel->Constant(&numberofvertices,MeshNumberofverticesEnum);
     29                iomodel->FetchData(3,MeshElementsEnum,ThicknessEnum,BathymetryEnum);
     30
     31                /*Create phi vector */
     32                phi=xNew<IssmDouble>(numberofvertices);
     33                for (i=0;i<numberofvertices;i++){
     34                        if(iomodel->my_vertices[i]){
     35                                phi[i] = iomodel->Data(ThicknessEnum)[i] + rho_water/rho_ice * iomodel->Data(BathymetryEnum)[i];
     36                        }
     37                }
     38
     39                /*Update elements: */
     40                for(i=0;i<elements->Size();i++){
     41                        Element* element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
     42                        element->InputCreate(phi,element->Sid(),iomodel,numberofvertices,1,1,GLlevelsetEnum,1);
     43                }
     44
     45                /*Free ressources:*/
     46                iomodel->DeleteData(3,MeshElementsEnum,ThicknessEnum,BathymetryEnum);
     47                xDelete<IssmDouble>(phi);
     48        }
    1749}
  • issm/trunk/src/c/modules/ModelProcessorx/UpdateCounters.cpp

    r13975 r15396  
    99#endif
    1010
    11 #include "../../classes/objects/objects.h"
     11#include "../../classes/classes.h"
    1212#include "../../shared/shared.h"
    13 #include "../../include/include.h"
    14 #include "../../EnumDefinitions/EnumDefinitions.h"
    1513#include "./ModelProcessorx.h"
    1614
  • issm/trunk/src/c/modules/NodalValuex/NodalValuex.cpp

    r13975 r15396  
    66
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    98#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    119
    12 void NodalValuex( IssmDouble* pnodalvalue, int natureofdataenum,Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,bool process_units){
     10void NodalValuex( IssmDouble* pnodalvalue, int natureofdataenum,Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters){
    1311
    1412        int my_rank;
     
    3129        for(i=0;i<elements->Size();i++){
    3230                Element* element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
    33                 found=element->NodalValue(&value,index,natureofdataenum,process_units);
     31                found=element->NodalValue(&value,index,natureofdataenum);
    3432                if (found){
    3533                        cpu_found=my_rank;
  • issm/trunk/src/c/modules/NodalValuex/NodalValuex.h

    r13975 r15396  
    66#define _NODALVALUEX_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
    12 void NodalValuex( IssmDouble* pnodalvalue, int natureofdataenum,Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,bool process_units);
     11void NodalValuex( IssmDouble* pnodalvalue, int natureofdataenum,Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters);
    1312
    1413#endif  /* _NODALVALUEX_H */
  • issm/trunk/src/c/modules/NodeConnectivityx/NodeConnectivityx.cpp

    r14310 r15396  
    1414
    1515#include "../../shared/shared.h"
    16 #include "../../include/include.h"
    1716#include "../../toolkits/toolkits.h"
    18 #include "../../EnumDefinitions/EnumDefinitions.h"
    1917
    2018void    NodeConnectivityx(int** pconnectivity,int* pwidth,int* elements, int nels, int nods){
  • issm/trunk/src/c/modules/NodesDofx/NodesDofx.cpp

    r13975 r15396  
    66
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    98#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    119
    1210void NodesDofx(Nodes* nodes, Parameters* parameters,int configuration_type){
  • issm/trunk/src/c/modules/NodesDofx/NodesDofx.h

    r13395 r15396  
    66#define _NODESDOFX_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
  • issm/trunk/src/c/modules/Orthx/Orthx.h

    r13975 r15396  
    66#define _ORTHX_H
    77
    8 #include "../../classes/objects/objects.h"
    9 #include "../../include/include.h"
     8#include "../../classes/classes.h"
    109#include "../../shared/shared.h"
    1110
  • issm/trunk/src/c/modules/OutputResultsx/OutputResultsx.cpp

    r14310 r15396  
    1212#include <stdio.h>
    1313#include "./OutputResultsx.h"
    14 #include "../../Container/Container.h"
    15 #include "../../io/io.h"
    16 #include "../../classes/objects/objects.h"
     14#include "../../shared/io/io.h"
     15#include "../../classes/classes.h"
    1716
    1817void OutputResultsx(Elements* elements, Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,Results* results){
     
    3938
    4039        /*We have results inside our elements, loads, etc ... Get them out of there, into the results dataset: */
    41         elements->ProcessResultsUnits();
    4240        elements->ToResults(results,parameters);
    4341        elements->DeleteResults();
  • issm/trunk/src/c/modules/OutputResultsx/OutputResultsx.h

    r13975 r15396  
    1212#endif
    1313
    14 #include "../../Container/Container.h"
     14#include "../../classes/classes.h"
    1515
    1616void OutputResultsx(Elements* elements, Nodes* nodes, Vertices* vertices, Loads* loads,  Materials* materials, Parameters* parameters, Results* results);
  • issm/trunk/src/c/modules/OutputRiftsx/OutputRiftsx.cpp

    r13975 r15396  
    77
    88#include "../../shared/shared.h"
    9 #include "../../include/include.h"
    109#include "../../toolkits/toolkits.h"
    11 #include "../../EnumDefinitions/EnumDefinitions.h"
    1210
    1311void OutputRiftsx( Vec* priftproperties, Loads* loads, int numrifts){
  • issm/trunk/src/c/modules/OutputRiftsx/OutputRiftsx.h

    r13975 r15396  
    66#define _OUTPUTRIFTSX_H
    77
    8 #include "../../Container/Container.h"
     8#include "../../classes/classes.h"
    99
    1010/* local prototypes: */
  • issm/trunk/src/c/modules/PointCloudFindNeighborsx/PointCloudFindNeighborsx.cpp

    r13395 r15396  
    44#include "./PointCloudFindNeighborsx.h"
    55
    6 int PointCloudFindNeighborsx(SeqVec<IssmPDouble>** pflags,double* x, double* y, int nods, double mindistance,double multithread){
     6int PointCloudFindNeighborsx(IssmSeqVec<IssmPDouble>** pflags,double* x, double* y, int nods, double mindistance,double multithread){
    77
    88        /*output: */
    9         SeqVec<IssmPDouble>* flags=NULL;
    10         flags=new SeqVec<IssmPDouble>(nods);
     9        IssmSeqVec<IssmPDouble>* flags=NULL;
     10        flags=new IssmSeqVec<IssmPDouble>(nods);
    1111
    1212        /*threading: */
  • issm/trunk/src/c/modules/PointCloudFindNeighborsx/PointCloudFindNeighborsx.h

    r13975 r15396  
    77
    88#include "../../shared/shared.h"
    9 #include "../../classes/objects/objects.h"
     9#include "../../classes/classes.h"
    1010
    1111/* local prototypes: */
    12 int PointCloudFindNeighborsx(SeqVec<IssmPDouble>** pflags,double* x, double* y, int nods, double mindistance,double multithread);
     12int PointCloudFindNeighborsx(IssmSeqVec<IssmPDouble>** pflags,double* x, double* y, int nods, double mindistance,double multithread);
    1313
    1414/*threading: */
     
    1919        int nods;
    2020        double mindistance;
    21         SeqVec<IssmPDouble>* flags;
     21        IssmSeqVec<IssmPDouble>* flags;
    2222
    2323} PointCloudFindNeighborsThreadStruct;
  • issm/trunk/src/c/modules/PointCloudFindNeighborsx/PointCloudFindNeighborsxt.cpp

    r13975 r15396  
    1717        int     nods;
    1818        double  mindistance;
    19         SeqVec<IssmPDouble>*     flags;
     19        IssmSeqVec<IssmPDouble>*     flags;
    2020
    2121        /*recover handle and gate: */
     
    4949                /*display current iteration*/
    5050                if (my_thread==0 && fmod((double)i,(double)100)==0)
    51                  _printString_("\r      loop progress: "<<setw(6)<<setprecision(2)<<double(i-i0)/double(i1-i0)*100<<"%");
     51                 _printf_("\r      loop progress: "<<setw(6)<<setprecision(2)<<double(i-i0)/double(i1-i0)*100<<"%");
    5252
    5353                distance=mindistance+100; //make sure initialization respects min distance criterion.
     
    7070        }
    7171        if (my_thread==0)
    72          _printLine_("\r      loop progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");
     72         _printf_("\r      loop progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%\n");
    7373
    7474        /*Free ressources:*/
  • issm/trunk/src/c/modules/PositiveDegreeDayx/PositiveDegreeDayx.cpp

    r13975 r15396  
    55#include "./PositiveDegreeDayx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    8 #include "../../io/io.h"
    97#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    118
    129void PositiveDegreeDayx(Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads,Materials* materials, Parameters* parameters){
     
    5754
    5855  if (itm >= NPDMAX){
    59     _printLine_("increase NPDMAX in massBalance.cpp");
     56    _printf_("increase NPDMAX in massBalance.cpp\n");
    6057    exit (1);
    6158      }
     
    8380  itm = reCast<int,IssmDouble>((PDCUT+2.*siglimc)/DT + 1.5);
    8481  if (itm >= NPDCMAX){
    85     _printLine_("'increase NPDCMAX in p35com'");
     82    _printf_("'increase NPDCMAX in p35com'\n");
    8683    exit (1);
    8784      }
  • issm/trunk/src/c/modules/PositiveDegreeDayx/PositiveDegreeDayx.h

    r13395 r15396  
    66#define _POSITIVEDEGREEDAYX_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
  • issm/trunk/src/c/modules/PropagateFlagsFromConnectivityx/PropagateFlagsFromConnectivityx.cpp

    r13975 r15396  
    55
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    98
  • issm/trunk/src/c/modules/PropagateFlagsFromConnectivityx/PropagateFlagsFromConnectivityx.h

    r13975 r15396  
    55#define _PROPAGATEFLAGSFROMCONNECTIVITYX_H
    66
    7 #include "../../Container/Container.h"
     7#include "../../classes/classes.h"
    88
    99/* local prototypes: */
  • issm/trunk/src/c/modules/Reduceloadx/Reduceloadx.cpp

    r13975 r15396  
    1010
    1111#include "./Reduceloadx.h"
    12 #include "../../io/io.h"
     12#include "../../shared/io/io.h"
    1313
    1414void    Reduceloadx( Vector<IssmDouble>* pf, Matrix<IssmDouble>* Kfs, Vector<IssmDouble>* y_s,bool flag_ys0){
     
    2222        bool        oldalloc  = false;
    2323
    24         if(VerboseModule()) _pprintLine_("   Dirichlet lifting applied to load vector");
     24        if(VerboseModule()) _printf0_("   Dirichlet lifting applied to load vector\n");
    2525
    2626        Kfs->GetSize(&global_m,&global_n);
     
    5454
    5555        /*Free ressources and return*/
    56         xdelete(&y_s0);
    57         xdelete(&Kfsy_s);
     56        delete y_s0;
     57        delete Kfsy_s;
    5858
    5959}
  • issm/trunk/src/c/modules/Reduceloadx/Reduceloadx.h

    r13395 r15396  
    66#define _REDUCELOADX_H
    77
    8 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    99
    1010/* local prototypes: */
  • issm/trunk/src/c/modules/Reducevectorgtofx/Reducevectorgtofx.cpp

    r13975 r15396  
    1616        IssmDouble *ug_serial = NULL;
    1717        bool        oldalloc  = false;
     18
     19        if(VerboseModule()) _printf0_("   Reduce vector from g to f set\n");
    1820
    1921        /*first figure out fsize: */
  • issm/trunk/src/c/modules/Reducevectorgtofx/Reducevectorgtofx.h

    r13975 r15396  
    77#define _REDUCEVECTORGTOFX_H
    88
    9 #include "../../classes/objects/objects.h"
     9#include "../../classes/classes.h"
    1010
    1111/* local prototypes: */
  • issm/trunk/src/c/modules/Reducevectorgtosx/Reducevectorgtosx.h

    r13975 r15396  
    77#define _REDUCEVECTORGTOSX_H
    88
    9 #include "../../classes/objects/objects.h"
     9#include "../../classes/classes.h"
    1010
    1111/* local prototypes: */
  • issm/trunk/src/c/modules/ResetConstraintsx/ResetConstraintsx.cpp

    r13975 r15396  
    33 */
    44
     5#ifdef HAVE_CONFIG_H
     6        #include <config.h>
     7#else
     8#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     9#endif
     10
    511#include "./ResetConstraintsx.h"
    6 #include "../modules.h"
    712#include "../../shared/shared.h"
    8 #include "../../io/io.h"
    9 #include "../../include/include.h"
    1013#include "../../toolkits/toolkits.h"
    11 #include "../../EnumDefinitions/EnumDefinitions.h"
     14#include "../ConstraintsStatex/ConstraintsStatex.h"
    1215
    1316void ResetConstraintsx(Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads,Materials* materials,  Parameters* parameters){
     
    1720
    1821        /*Display message*/
    19         if(VerboseModule()) _pprintLine_("   Resetting penalties");
     22        if(VerboseModule()) _printf0_("   Resetting penalties\n");
    2023
    2124        /*recover parameters: */
     
    2427        /*Do we have penalties linked to rifts? In this case, run our special rifts penalty
    2528         * management routine, otherwise, skip : */
     29        #ifdef _HAVE_RIFTS_
    2630        if (RiftIsPresent(loads,analysis_type)){
    2731                _error_("rift constraints reset not supported yet!");
    2832        }
    29         else if(ThermalIsPresent(loads,analysis_type)){
     33        #endif
     34        #ifdef _HAVE_THERMAL_
     35        if(ThermalIsPresent(loads,analysis_type)){
    3036                ThermalConstraintsReset(loads,analysis_type);
    3137        }
    32         else{ /*Do nothing, no constraints management!:*/}
     38        #endif
    3339
    3440}
  • issm/trunk/src/c/modules/ResetConstraintsx/ResetConstraintsx.h

    r13975 r15396  
    66#define _RESETCONSTRAINTSX_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
  • issm/trunk/src/c/modules/ResetCoordinateSystemx/ResetCoordinateSystemx.cpp

    r13975 r15396  
    55#include "./ResetCoordinateSystemx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    98
  • issm/trunk/src/c/modules/ResetCoordinateSystemx/ResetCoordinateSystemx.h

    r13395 r15396  
    66#define _RESETCOORDINATESYSTEMX_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
  • issm/trunk/src/c/modules/RheologyBbarAbsGradientx/RheologyBbarAbsGradientx.cpp

    r13975 r15396  
    66
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    98#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    119
    12 void RheologyBbarAbsGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,bool process_units, int weight_index){
     10void RheologyBbarAbsGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters, int weight_index){
    1311
    1412        /*Intermediary*/
     
    2321        for (i=0;i<elements->Size();i++){
    2422                element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
    25                 J+=element->RheologyBbarAbsGradient(process_units,weight_index);
     23                J+=element->RheologyBbarAbsGradient(weight_index);
    2624        }
    2725
  • issm/trunk/src/c/modules/RheologyBbarAbsGradientx/RheologyBbarAbsGradientx.h

    r13395 r15396  
    66#define _RHEOLOGYBBARGRADIENTX_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
    12 void RheologyBbarAbsGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,bool process_units,int weight_index);
     11void RheologyBbarAbsGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,int weight_index);
    1312
    1413#endif
  • issm/trunk/src/c/modules/Scotchx/Scotchx.h

    r13975 r15396  
    1717#include <stdio.h>
    1818#include <string.h>
    19 
    20 #include "../../Container/Container.h"
    21 #include "../../classes/objects/objects.h"
     19#include "../../classes/classes.h"
    2220
    2321#ifdef _HAVE_SCOTCH_ //only works if scotch library has been compiled in.
  • issm/trunk/src/c/modules/SetControlInputsFromVectorx/SetControlInputsFromVectorx.cpp

    r13975 r15396  
    55#include "./SetControlInputsFromVectorx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
    108
    119void SetControlInputsFromVectorx(Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,IssmDouble* vector){
  • issm/trunk/src/c/modules/SetControlInputsFromVectorx/SetControlInputsFromVectorx.h

    r13395 r15396  
    55#define _SETCONTROLINPUTSXFROMVECTOR_H
    66
    7 #include "../../classes/objects/objects.h"
    8 #include "../../Container/Container.h"
     7#include "../../classes/classes.h"
    98
    109/* local prototypes: */
  • issm/trunk/src/c/modules/Shp2Expx/Shp2Expx.cpp

    r14283 r15396  
    55#include "./Shp2Expx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    8 #include "../../io/io.h"
    97#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    11 #include "../modules.h"
     8#include "../../kml/kmlobjects.h"
    129
    1310int Shp2Expx(char* filshp,char* filexp){
     
    8077        clock0=clock();
    8178        time0 =time(NULL);
    82         _pprintString_("\nShp2Expx Module -- " << ctime(&time0));
     79        _printf0_("\nShp2Expx Module -- " << ctime(&time0));
    8380
    8481/*  note that much of the following code is taken from shpdump.c in shapelib.  */
     
    299296
    300297                        if (pnpart[i] > 0)
    301                                 _printf_(true,"Warning -- Shape %d of type \"%s\" should not have %d > 0 parts.\n",
    302                                                  i,SHPTypeName( pstype[i] ),pnpart[i]);
     298                                _printf_("Warning -- Shape " << i << " of type \"" << SHPTypeName( pstype[i] ) << "\" should not have " << pnpart[i] << " > 0 parts.\n\n");
    303299                        if (pnvert[i] > 1)
    304                                 _printf_(true,"Warning -- Shape %d of type \"%s\" should not have %d > 1 vertices.\n",
    305                                                  i,SHPTypeName( pstype[i] ),pnvert[i]);
     300                                _printf_("Warning -- Shape " << i << " of type \"" << SHPTypeName( pstype[i] ) << "\" should not have " << pnvert[i] << " > 1 vertices.\n\n");
    306301
    307302                        kpoint=new KML_Point();
     
    470465                                else {
    471466                                        if (!kpoly) {
    472                                                 _printf_(true,"Warning -- Shape %d of type \"%s\", part %d, expected to be outer loop (cw).\n",
    473                                                                  i,SHPTypeName( pstype[i] ),j);
     467                                                _printf_("Warning -- Shape " << i << " of type \"" << SHPTypeName( pstype[i] ) << "\", part " << j << ", expected to be outer loop (cw).\n\n");
    474468                                                continue;
    475469                                        }
     
    519513
    520514                        if (pnpart[i] > 0)
    521                                 _printf_(true,"Warning -- Shape %d of type \"%s\" should not have %d > 0 parts.\n",
    522                                                  i,SHPTypeName( pstype[i] ),pnpart[i]);
     515                                _printf_("Warning -- Shape " << i << " of type \"" << SHPTypeName( pstype[i] ) << "\" should not have " << pnpart[i] << " > 0 parts.\n\n");
    523516
    524517/*  create a multigeometry to hold all the points  */
     
    563556
    564557                else if (pstype[i] == SHPT_MULTIPATCH) {
    565                         _printf_(true,"Warning -- Shape %d of type \"%s\" will be ignored.\n",
    566                                          i,SHPTypeName( pstype[i] ));
     558                        _printf_("Warning -- Shape " << i << " of type \"" <<SHPTypeName( pstype[i] ) << "\" will be ignored.\n\n");
    567559                        continue;
    568560                }
     
    571563
    572564                else {
    573                         _printf_(true,"Warning -- Shape %d of type \"%s\" will be ignored.\n",
    574                                          i,SHPTypeName( pstype[i] ));
     565                        _printf_("Warning -- Shape " << i << " of type \"" <<SHPTypeName( pstype[i] ) << "\" will be ignored.\n\n");
    575566                }
    576567        }
     
    585576/*  open exp file  */
    586577
    587         _pprintLine_("Writing exp profiles to file.");
     578        _printf0_("Writing exp profiles to file.\n");
    588579        fid=fopen(filexp,"w");
    589580
     
    619610        clock1=clock();
    620611        time1 =time(NULL);
    621         _printf_(true,"Shp2Expx Module -- %f CPU seconds; %f elapsed seconds.\n\n",
    622                          ((double)(clock1-clock0))/CLOCKS_PER_SEC,difftime(time1,time0));
     612        _printf_("Shp2Expx Module -- " <<((double)(clock1-clock0))/CLOCKS_PER_SEC << " CPU seconds; " <<difftime(time1,time0)  << " elapsed seconds.\n\n\n");
    623613
    624614        return(iret);
  • issm/trunk/src/c/modules/Shp2Expx/Shp2Expx.h

    r14283 r15396  
    1818#endif
    1919
    20 #include "../../Container/Container.h"
    21 #include "../../classes/objects/objects.h"
     20#include "../../classes/classes.h"
    2221
    2322/* local prototypes: */
  • issm/trunk/src/c/modules/Shp2Kmlx/Shp2Kmlx.cpp

    r13975 r15396  
    55#include "./Shp2Kmlx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    8 #include "../../io/io.h"
    97#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    11 #include "../modules.h"
     8#include "../../kml/kmlobjects.h"
    129
    1310int Shp2Kmlx(char* filshp,char* filkml,
     
    6865        clock0=clock();
    6966        time0 =time(NULL);
    70         _pprintString_("\nShp2Kmlx Module -- " << ctime(&time0));
     67        _printf0_("\nShp2Kmlx Module -- " << ctime(&time0));
    7168
    7269/*  note that much of the following code is taken from shpdump.c in shapelib.  */
     
    287284
    288285                        if (pnpart[i] > 0)
    289                                 _printf_(true,"Warning -- Shape %d of type \"%s\" should not have %d > 0 parts.\n",
    290                                                  i,SHPTypeName( pstype[i] ),pnpart[i]);
     286                                _printf_("Warning -- Shape "<< i << " of type \"" << SHPTypeName( pstype[i] ) << "\" should not have " << pnpart[i] << " > 0 parts.\n\n");
    291287                        if (pnvert[i] > 1)
    292                                 _printf_(true,"Warning -- Shape %d of type \"%s\" should not have %d > 1 vertices.\n",
    293                                                  i,SHPTypeName( pstype[i] ),pnvert[i]);
     288                                _printf_("Warning -- Shape " << i << " of type \"" << SHPTypeName( pstype[i] ) << "\" should not have " << pnpart[i] << " > 1 vertices.\n\n");
    294289
    295290                        kpoint=new KML_Point();
     
    458453                                else {
    459454                                        if (!kpoly) {
    460                                                 _printf_(true,"Warning -- Shape %d of type \"%s\", part %d, expected to be outer loop (cw).\n",
    461                                                                  i,SHPTypeName( pstype[i] ),j);
     455                                                _printf_("Warning -- Shape " << i << " of type \"" << SHPTypeName( pstype[i] ) << "\", part " << j << ", expected to be outer loop (cw).\n\n");
    462456                                                continue;
    463457                                        }
     
    507501
    508502                        if (pnpart[i] > 0)
    509                                 _printf_(true,"Warning -- Shape %d of type \"%s\" should not have %d > 0 parts.\n",
    510                                                  i,SHPTypeName( pstype[i] ),pnpart[i]);
     503                                _printf_("Warning -- Shape " << i << " of type \"" << SHPTypeName( pstype[i] ) << "\" should not have " << pnpart[i] << " > 0 parts.\n\n");
    511504
    512505/*  create a multigeometry to hold all the points  */
     
    551544
    552545                else if (pstype[i] == SHPT_MULTIPATCH) {
    553                         _printf_(true,"Warning -- Shape %d of type \"%s\" will be ignored.\n",
    554                                          i,SHPTypeName( pstype[i] ));
     546                        _printf_("Warning -- Shape " << i << " of type \"" << SHPTypeName( pstype[i] ) << "\" will be ignored.\n\n");
    555547                        continue;
    556548                }
     
    559551
    560552                else {
    561                         _printf_(true,"Warning -- Shape %d of type \"%s\" will be ignored.\n",
    562                                          i,SHPTypeName( pstype[i] ));
     553                        _printf_("Warning -- Shape " << i << " of type \"" << SHPTypeName( pstype[i] ) << "\" will be ignored.\n\n");
    563554                }
    564555        }
     
    573564/*  write kml file  */
    574565
    575         _pprintLine_("Writing kml document to file.");
     566        _printf0_("Writing kml document to file.\n");
    576567        fid=fopen(filkml,"w");
    577568        fprintf(fid,"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
     
    602593        clock1=clock();
    603594        time1 =time(NULL);
    604         _printf_(true,"Shp2Kmlx Module -- %f CPU seconds; %f elapsed seconds.\n\n",
    605                          ((double)(clock1-clock0))/CLOCKS_PER_SEC,difftime(time1,time0));
     595        _printf_("Shp2Kmlx Module -- " << ((double)(clock1-clock0))/CLOCKS_PER_SEC << " CPU seconds; " << difftime(time1,time0) << " elapsed seconds.\n\n\n");
    606596
    607597        return(iret);
  • issm/trunk/src/c/modules/Shp2Kmlx/Shp2Kmlx.h

    r13395 r15396  
    1818#endif
    1919
    20 #include "../../Container/Container.h"
    21 #include "../../classes/objects/objects.h"
     20#include "../../classes/classes.h"
    2221
    2322/* local prototypes: */
  • issm/trunk/src/c/modules/SmbGradientsx/SmbGradientsx.cpp

    r13975 r15396  
    55#include "./SmbGradientsx.h"
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    8 #include "../../io/io.h"
    97#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    118
    129void SmbGradientsx(Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads,Materials* materials, Parameters* parameters){
  • issm/trunk/src/c/modules/SmbGradientsx/SmbGradientsx.h

    r13395 r15396  
    66#define _SMBGRADIENTSX_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
  • issm/trunk/src/c/modules/Solverx/CMakeLists.txt

    r14310 r15396  
    55# }}}
    66# CORE_SOURCES {{{
    7 set(CORE_SOURCES $ENV{ISSM_DIR}/src/c/modules/Solverx/Solverx.cpp
    8               $ENV{ISSM_DIR}/src/c/modules/Solverx/SolverxSeq.cpp PARENT_SCOPE)
     7set(CORE_SOURCES $ENV{ISSM_DIR}/src/c/modules/Solverx/Solverx.cpp PARENT_SCOPE)
    98# }}}
  • issm/trunk/src/c/modules/Solverx/Solverx.cpp

    r13975 r15396  
    22 * \brief solver
    33 */
    4 
    5 #include "./Solverx.h"
    6 #include "../../shared/shared.h"
    7 #include "../../include/include.h"
    8 #include "../../io/io.h"
    94
    105#ifdef HAVE_CONFIG_H
     
    149#endif
    1510
     11#include "./Solverx.h"
     12#include "../../shared/shared.h"
     13
    1614void    Solverx(Vector<IssmDouble>** puf, Matrix<IssmDouble>* Kff, Vector<IssmDouble>* pf, Vector<IssmDouble>* uf0,Vector<IssmDouble>* df, Parameters* parameters){
     15
     16        /*intermediary: */
     17        Solver<IssmDouble> *solver=NULL;
    1718
    1819        /*output: */
    1920        Vector<IssmDouble> *uf=NULL;
    2021
    21         /*In debugging mode, check that stiffness matrix and load vectors are not NULL (they can be empty)*/
    22         _assert_(Kff);
    23         _assert_(pf);
     22        if(VerboseModule()) _printf0_("   Solving matrix system\n");
    2423
    25         /*Initialize vector: */
    26         uf=new Vector<IssmDouble>();
     24        /*Initialize solver: */
     25        solver=new Solver<IssmDouble>(Kff,pf,uf0,df,parameters);
    2726
    28         /*According to matrix type, use specific solvers: */
    29         switch(Kff->type){
    30                 #ifdef _HAVE_PETSC_
    31                 case PetscMatType:{
    32                         PetscVec* uf0_vector = NULL;
    33                         PetscVec* df_vector  = NULL;
    34                         if(uf0) uf0_vector = uf0->pvector;
    35                         if(df)  df_vector  = df->pvector;
    36                         SolverxPetsc(&uf->pvector,Kff->pmatrix,pf->pvector,uf0_vector,df_vector,parameters);
    37                         break;}
    38                 #endif
    39                 case SeqMatType:{
    40                         SolverxSeq(&uf->svector,Kff->smatrix,pf->svector,parameters);
    41                         break;}
    42                 default:
    43                           _error_("Matrix type: " << Kff->type << " not supported yet!");
    44         }
     27        /*Solve:*/
     28        uf=solver->Solve();
    4529
    46         /*Assign output pointers:*/
     30        /*clean up and assign output pointers:*/
     31        delete solver;
    4732        *puf=uf;
    4833}
  • issm/trunk/src/c/modules/Solverx/Solverx.h

    r13975 r15396  
    1212#endif
    1313
    14 #include "../../classes/objects/objects.h"
     14#include "../../toolkits/toolkits.h"
    1515
    1616/* local prototypes: */
    1717void    Solverx(Vector<IssmDouble>** puf, Matrix<IssmDouble>* Kff, Vector<IssmDouble>* pf, Vector<IssmDouble>* uf0,Vector<IssmDouble>* df, Parameters* parameters);
    1818
    19 #ifdef _HAVE_PETSC_
    20 void    SolverxPetsc(PetscVec** puf, PetscMat* Kff, PetscVec* pf, PetscVec* uf0,PetscVec* df, Parameters* parameters);
    21 void    SolverxPetsc(Vec* puf, Mat Kff, Vec pf, Vec uf0,Vec df, Parameters* parameters);
    22 void  DofTypesToIndexSet(IS* pisv, IS* pisp, Vec df,int typeenum);
    23 #endif
    24 
    25 void SolverxSeq(SeqVec<IssmDouble>** puf,SeqMat<IssmDouble>* Kff, SeqVec<IssmDouble>* pf,Parameters* parameters);
    26 void SolverxSeq(IssmPDouble **pX, IssmPDouble *A, IssmPDouble *B,int n);
    27 void SolverxSeq(IssmPDouble *X, IssmPDouble *A, IssmPDouble *B,int n);
    28 
    29 #if defined(_HAVE_ADOLC_) && !defined(_WRAPPERS_)
    30 void SolverxSeq(IssmDouble *X,IssmDouble *A,IssmDouble *B,int n, Parameters* parameters);
    31 // call back functions:
    32 ADOLC_ext_fct EDF_for_solverx;
    33 ADOLC_ext_fct_fos_forward EDF_fos_forward_for_solverx;
    34 ADOLC_ext_fct_fos_reverse EDF_fos_reverse_for_solverx;
    35 ADOLC_ext_fct_fov_forward EDF_fov_forward_for_solverx;
    36 ADOLC_ext_fct_fov_reverse EDF_fov_reverse_for_solverx;
    37 #endif
    38 
    3919#endif  /* _SOLVERX_H */
  • issm/trunk/src/c/modules/SpcNodesx/SpcNodesx.cpp

    r13975 r15396  
    66
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    98#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    119
    1210void SpcNodesx(Nodes* nodes,Constraints* constraints,Parameters* parameters, int analysis_type){
  • issm/trunk/src/c/modules/SpcNodesx/SpcNodesx.h

    r13395 r15396  
    66#define _SPCNODESX_H
    77
    8 #include "../../classes/objects/objects.h"
    9 #include "../../Container/Container.h"
     8#include "../../classes/classes.h"
    109#include "../../toolkits/toolkits.h"
    1110
  • issm/trunk/src/c/modules/SurfaceAbsVelMisfitx/SurfaceAbsVelMisfitx.cpp

    r13975 r15396  
    66
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    98#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    119
    12 void SurfaceAbsVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,bool process_units,int weight_index){
     10void SurfaceAbsVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,int weight_index){
    1311
    1412        /*Intermediary*/
     
    2321        for (i=0;i<elements->Size();i++){
    2422                element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
    25                 J+=element->SurfaceAbsVelMisfit(process_units,weight_index);
     23                J+=element->SurfaceAbsVelMisfit(weight_index);
    2624        }
    2725
  • issm/trunk/src/c/modules/SurfaceAbsVelMisfitx/SurfaceAbsVelMisfitx.h

    r13395 r15396  
    66#define _SURFACEABSVELMISFITX_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
    12 void SurfaceAbsVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,bool process_units,int weight_index);
     11void SurfaceAbsVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,int weight_index);
    1312
    1413#endif
  • issm/trunk/src/c/modules/SurfaceAreax/SurfaceAreax.cpp

    r13975 r15396  
    66
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    98#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    119#include "../InputUpdateFromConstantx/InputUpdateFromConstantx.h"
    1210
  • issm/trunk/src/c/modules/SurfaceAreax/SurfaceAreax.h

    r13975 r15396  
    66#define _SURFACEAREAX_H
    77
    8 #include "../../classes/objects/objects.h"
    9 #include "../../Container/Container.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
  • issm/trunk/src/c/modules/SurfaceAverageVelMisfitx/SurfaceAverageVelMisfitx.cpp

    r13975 r15396  
    66
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    98#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    119#include "../SurfaceAreax/SurfaceAreax.h"
    1210
    13 void SurfaceAverageVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,bool process_units,int weight_index){
     11void SurfaceAverageVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,int weight_index){
    1412
    1513        /*Intermediary*/
     
    2725        for (i=0;i<elements->Size();i++){
    2826                element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
    29                 J+=element->SurfaceAverageVelMisfit(process_units,weight_index);
     27                J+=element->SurfaceAverageVelMisfit(weight_index);
    3028        }
    3129
  • issm/trunk/src/c/modules/SurfaceAverageVelMisfitx/SurfaceAverageVelMisfitx.h

    r13395 r15396  
    66#define _SURFACEAVERAGEVELMISFITX_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
    12 void SurfaceAverageVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,bool process_units,int weight_index);
     11void SurfaceAverageVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,int weight_index);
    1312
    1413#endif
  • issm/trunk/src/c/modules/SurfaceLogVelMisfitx/SurfaceLogVelMisfitx.cpp

    r13975 r15396  
    66
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    98#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    119
    12 void SurfaceLogVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,bool process_units,int weight_index){
     10void SurfaceLogVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,int weight_index){
    1311
    1412        /*Intermediary*/
     
    2321        for (i=0;i<elements->Size();i++){
    2422                element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
    25                 J+=element->SurfaceLogVelMisfit(process_units,weight_index);
     23                J+=element->SurfaceLogVelMisfit(weight_index);
    2624        }
    2725
  • issm/trunk/src/c/modules/SurfaceLogVelMisfitx/SurfaceLogVelMisfitx.h

    r13395 r15396  
    66#define _SURFACELOGVELMISFITX_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
    12 void SurfaceLogVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,bool process_units,int weight_index);
     11void SurfaceLogVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,int weight_index);
    1312
    1413#endif
  • issm/trunk/src/c/modules/SurfaceLogVxVyMisfitx/SurfaceLogVxVyMisfitx.cpp

    r13975 r15396  
    66
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    98#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    119
    12 void SurfaceLogVxVyMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,bool process_units,int weight_index){
     10void SurfaceLogVxVyMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,int weight_index){
    1311
    1412        /*Intermediary*/
     
    2321        for (i=0;i<elements->Size();i++){
    2422                element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
    25                 J+=element->SurfaceLogVxVyMisfit(process_units,weight_index);
     23                J+=element->SurfaceLogVxVyMisfit(weight_index);
    2624        }
    2725
  • issm/trunk/src/c/modules/SurfaceLogVxVyMisfitx/SurfaceLogVxVyMisfitx.h

    r13395 r15396  
    66#define _SURFACELOGVXVYMISFITX_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
    12 void SurfaceLogVxVyMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,bool process_units,int weight_index);
     11void SurfaceLogVxVyMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,int weight_index);
    1312
    1413#endif
  • issm/trunk/src/c/modules/SurfaceRelVelMisfitx/SurfaceRelVelMisfitx.cpp

    r13975 r15396  
    66
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    98#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    119
    12 void SurfaceRelVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,bool process_units,int weight_index){
     10void SurfaceRelVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,int weight_index){
    1311
    1412        /*Intermediary*/
     
    2321        for (i=0;i<elements->Size();i++){
    2422                element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
    25                 J+=element->SurfaceRelVelMisfit(process_units,weight_index);
     23                J+=element->SurfaceRelVelMisfit(weight_index);
    2624        }
    2725
  • issm/trunk/src/c/modules/SurfaceRelVelMisfitx/SurfaceRelVelMisfitx.h

    r13395 r15396  
    66#define _SURFACERELVELMISFITX_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
    12 void SurfaceRelVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,bool process_units,int weight_index);
     11void SurfaceRelVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,int weight_index);
    1312
    1413#endif
  • issm/trunk/src/c/modules/ThicknessAbsMisfitx/ThicknessAbsMisfitx.cpp

    r13975 r15396  
    66
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    98#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    119
    12 void ThicknessAbsMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,bool process_units, int weight_index){
     10void ThicknessAbsMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters, int weight_index){
    1311
    1412        /*Intermediary*/
     
    2321        for (i=0;i<elements->Size();i++){
    2422                element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
    25                 J+=element->ThicknessAbsMisfit(process_units,weight_index);
     23                J+=element->ThicknessAbsMisfit(weight_index);
    2624        }
    2725
  • issm/trunk/src/c/modules/ThicknessAbsMisfitx/ThicknessAbsMisfitx.h

    r13395 r15396  
    66#define _THICKNESSABSMISFITX_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
    12 void ThicknessAbsMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,bool process_units,int weight_index);
     11void ThicknessAbsMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,int weight_index);
    1312
    1413#endif
  • issm/trunk/src/c/modules/ThicknessAcrossGradientx/ThicknessAcrossGradientx.cpp

    r13975 r15396  
    66
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    98#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    119
    12 void ThicknessAcrossGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,bool process_units, int weight_index){
     10void ThicknessAcrossGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,int weight_index){
    1311
    1412        /*Intermediary*/
     
    2321        for (i=0;i<elements->Size();i++){
    2422                element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
    25                 J+=element->ThicknessAcrossGradient(process_units,weight_index);
     23                J+=element->ThicknessAcrossGradient(weight_index);
    2624        }
    2725
  • issm/trunk/src/c/modules/ThicknessAcrossGradientx/ThicknessAcrossGradientx.h

    r13395 r15396  
    66#define _THICKNESSACROSSGRADIENT_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
    12 void ThicknessAcrossGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,bool process_units,int weight_index);
     11void ThicknessAcrossGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,int weight_index);
    1312
    1413#endif
  • issm/trunk/src/c/modules/ThicknessAlongGradientx/ThicknessAlongGradientx.cpp

    r13975 r15396  
    66
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    98#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    119
    12 void ThicknessAlongGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,bool process_units, int weight_index){
     10void ThicknessAlongGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,int weight_index){
    1311
    1412        /*Intermediary*/
     
    2321        for (i=0;i<elements->Size();i++){
    2422                element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
    25                 J+=element->ThicknessAlongGradient(process_units,weight_index);
     23                J+=element->ThicknessAlongGradient(weight_index);
    2624        }
    2725
  • issm/trunk/src/c/modules/ThicknessAlongGradientx/ThicknessAlongGradientx.h

    r13395 r15396  
    66#define _THICKNESSALONGGRADIENT_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
    12 void ThicknessAlongGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,bool process_units,int weight_index);
     11void ThicknessAlongGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,int weight_index);
    1312
    1413#endif
  • issm/trunk/src/c/modules/TriMeshProcessRiftsx/TriMeshProcessRiftsx.cpp

    r14310 r15396  
    66#include "../../classes/RiftStruct.h"
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    98#include "../../toolkits/toolkits.h"
    109
  • issm/trunk/src/c/modules/TriMeshx/TriMeshx.cpp

    r14310 r15396  
    66#include "./TriMeshx.h"
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    9 #include "../../io/io.h"
    108#include "../../toolkits/toolkits.h"
    11 #include "../../EnumDefinitions/EnumDefinitions.h"
    129/*ANSI_DECLARATORS needed to call triangle library: */
    1310#if defined(_HAVE_TRIANGLE_)
     
    2219/*}}}*/
    2320
    24 void TriMeshx(SeqMat<int>** pindex,SeqVec<IssmPDouble>** px,SeqVec<IssmPDouble>** py,SeqMat<int>** psegments,SeqVec<int>** psegmentmarkerlist,DataSet* domain,DataSet* rifts,double area){
     21void TriMeshx(int** pindex,IssmPDouble** px,IssmPDouble** py,int** psegments,int** psegmentmarkerlist,int* pnels,int* pnods, int* pnsegs,Contours* domain,Contours* rifts,double area){
    2522
    2623#if !defined(_HAVE_TRIANGLE_)
     
    3128
    3229        /*output: */
    33         int         *index             = NULL;
    34         SeqMat<int> *index_matrix      = NULL;
    35         double      *x                 = NULL;
    36         double      *y                 = NULL;
    37         int         *segments          = NULL;
    38         SeqMat<int> *segments_matrix   = NULL;
    39         int         *segmentmarkerlist = NULL;
     30        int    *index             = NULL;
     31        double *x                 = NULL;
     32        double *y                 = NULL;
     33        int    *segments          = NULL;
     34        int    *segmentmarkerlist = NULL;
    4035
    4136        /*intermediary: */
     
    197192
    198193        /*Output : */
    199         index_matrix=new SeqMat<int>(index,out.numberoftriangles,3,1);
    200         *pindex=index_matrix;
    201 
    202         segments_matrix=new SeqMat<int>(segments,out.numberofsegments,3,1);
    203         *psegments=segments_matrix;
    204 
    205         *px=new SeqVec<IssmPDouble>(x,out.numberofpoints);
    206         *py=new SeqVec<IssmPDouble>(y,out.numberofpoints);
    207         *psegmentmarkerlist=new SeqVec<int>(segmentmarkerlist,out.numberofsegments);
     194        *pindex=index;
     195        *px=x;
     196        *py=y;
     197        *psegments=segments;
     198        *psegmentmarkerlist=segmentmarkerlist;
     199        *pnels=out.numberoftriangles;
     200        *pnods=out.numberofpoints;
     201        *pnsegs=out.numberofsegments;
    208202#endif
    209203}
  • issm/trunk/src/c/modules/TriMeshx/TriMeshx.h

    r14310 r15396  
    77
    88#include <string.h>
    9 #include "../../Container/Container.h"
    10 #include "../../classes/objects/objects.h"
     9#include "../../classes/classes.h"
    1110
    1211/* local prototypes: */
    13 void TriMeshx(SeqMat<int>** pindex,SeqVec<IssmPDouble>** px,SeqVec<IssmPDouble>** py,SeqMat<int>** psegments,SeqVec<int>** psegmentmarkerlist,DataSet* domain,DataSet* rifts,double area);
    14 
     12void TriMeshx(int** pindex,IssmPDouble** px,IssmPDouble** py,int** psegments,int** psegmentmarkerlist,int* pnels,int* pnods, int* pnseg,Contours* domain,Contours* rifts,double area);
    1513#endif  /* _TRIMESHX_H */
  • issm/trunk/src/c/modules/TriaSearchx/TriaSearchx.cpp

    r13975 r15396  
    55
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../classes/objects/objects.h"
    10 #include "../modules.h"
     8#include "../../bamg/bamgobjects.h"
    119
    1210using namespace bamg;
  • issm/trunk/src/c/modules/TriaSearchx/TriaSearchx.h

    r13395 r15396  
    66#define _TRIASEARCHX_H
    77
    8 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    99
    1010/* local prototypes: */
  • issm/trunk/src/c/modules/UpdateDynamicConstraintsx/UpdateDynamicConstraintsx.cpp

    r13975 r15396  
    66
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    98#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    119
    1210void UpdateDynamicConstraintsx(Constraints* constraints,Nodes* nodes,Parameters* parameters,Vector<IssmDouble>* yg){
  • issm/trunk/src/c/modules/UpdateDynamicConstraintsx/UpdateDynamicConstraintsx.h

    r13395 r15396  
    66#define _UPDATEDYNAMICCONSTRAINTSXX_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110void UpdateDynamicConstraintsx(Constraints* constraints,Nodes* nodes,Parameters* parameters,Vector<IssmDouble>* yg);
  • issm/trunk/src/c/modules/VecMergex/VecMergex.cpp

    r13975 r15396  
    66
    77#include "../../shared/shared.h"
    8 #include "../../include/include.h"
    98#include "../../toolkits/toolkits.h"
    10 #include "../../EnumDefinitions/EnumDefinitions.h"
    119void VecMergex(Vector<IssmDouble>* ug, Vector<IssmDouble>* uf, Nodes* nodes, Parameters* parameters, int SetEnum){
    1210
  • issm/trunk/src/c/modules/VecMergex/VecMergex.h

    r13395 r15396  
    66#define _VECMERGEX_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
  • issm/trunk/src/c/modules/VerticesDofx/VerticesDofx.cpp

    r13975 r15396  
    55
    66#include "../../shared/shared.h"
    7 #include "../../include/include.h"
    87#include "../../toolkits/toolkits.h"
    9 #include "../../EnumDefinitions/EnumDefinitions.h"
    108
    119void VerticesDofx( Vertices* vertices, Parameters* parameters) {
  • issm/trunk/src/c/modules/VerticesDofx/VerticesDofx.h

    r13975 r15396  
    66#define _VERTICESDOFX_H
    77
    8 #include "../../Container/Container.h"
    9 #include "../../classes/objects/objects.h"
     8#include "../../classes/classes.h"
    109
    1110/* local prototypes: */
  • issm/trunk/src/c/modules/modules.h

    r14310 r15396  
    2525#include "./DragCoefficientAbsGradientx/DragCoefficientAbsGradientx.h"
    2626#include "./ElementConnectivityx/ElementConnectivityx.h"
    27 #include "./EnumToStringx/EnumToStringx.h"
    28 #include "./StringToEnumx/StringToEnumx.h"
     27#include "./EdgeDetectionx/EdgeDetectionx.h"
    2928#include "./GetSolutionFromInputsx/GetSolutionFromInputsx.h"
    3029#include "./GetVectorFromInputsx/GetVectorFromInputsx.h"
    3130#include "./GetVectorFromControlInputsx/GetVectorFromControlInputsx.h"
     31#include "./GiaDeflectionCorex/GiaDeflectionCorex.h"
    3232#include "./SetControlInputsFromVectorx/SetControlInputsFromVectorx.h"
    3333#include "./Gradjx/Gradjx.h"
     
    3535#include "./HoleFillerx/HoleFillerx.h"
    3636#include "./InputControlUpdatex/InputControlUpdatex.h"
    37 #include "./InputConvergencex/InputConvergencex.h"
    3837#include "./InputDuplicatex/InputDuplicatex.h"
    3938#include "./InputScalex/InputScalex.h"
     
    5554#include "./KMLMeshWritex/KMLMeshWritex.h"
    5655#include "./KMLOverlayx/KMLOverlayx.h"
    57 #include "./Xy2llx/Xy2llx.h"
    58 #include "./Ll2xyx/Ll2xyx.h"
    5956#include "./Exp2Kmlx/Exp2Kmlx.h"
    6057#include "./Kml2Expx/Kml2Expx.h"
     
    6966#include "./SurfaceAverageVelMisfitx/SurfaceAverageVelMisfitx.h"
    7067#include "./ModelProcessorx/ModelProcessorx.h"
    71 #include "./ParsePetscOptionsx/ParsePetscOptionsx.h"
     68#include "./ParseToolkitsOptionsx/ParseToolkitsOptionsx.h"
    7269#include "./NodalValuex/NodalValuex.h"
    7370#include "./NodeConnectivityx/NodeConnectivityx.h"
     
    10097#include "./UpdateDynamicConstraintsx/UpdateDynamicConstraintsx.h"
    10198#include "./VerticesDofx/VerticesDofx.h"
     99#include "./VertexCoordinatesx/VertexCoordinatesx.h"
    102100#include "./VecMergex/VecMergex.h"
    103101#endif
  • issm/trunk/src/c/shared/Bamg/BigPrimeNumber.cpp

    r3913 r15396  
    1 #include "./BigPrimeNumber.h"
     1#include "./Abs.h"
     2#include "./extrema.h"
    23
    34namespace bamg {
  • issm/trunk/src/c/shared/Bamg/BigPrimeNumber.h

    r3913 r15396  
    11#ifndef _BIGPRIMENUMBER_H_
    22#define _BIGPRIMENUMBER_H_
    3 
    4 #include "./Abs.h"
    5 #include "./extrema.h"
    63
    74namespace bamg {
  • issm/trunk/src/c/shared/Bamg/HeapSort.h

    r3913 r15396  
    33
    44/*Sort a list of size n*/
    5 template<class T> inline void  HeapSort(T *c,long n){
    6         int l,j,r,i;
     5template<class T> inline void  HeapSort(T *c,long n){ /*{{{*/
     6
     7        /*Intermediaries*/
     8        int i,j,l,r;
    79        T   crit;
    8         c--;                    //the array must starts at 1 and not 0
    9         if(n<=1) return;        //return if size <=1
    10         l=n/2+1;                //initialize l and r
     10
     11        /*return if size <=1*/
     12        if(n<=1) return;
     13
     14        /*Initialize variables*/
     15        l=n/2+1;
    1116        r=n;
     17        c--; //the array must starts at 1 and not 0
     18
     19        /*Sorting algorithm*/
    1220        for(;;){
    1321                if(l<=1){
    14                         crit  =c[r];
    15                         c[r--]=c[1];
    16                         if (r==1){c[1]=crit; return;}
     22                        crit   = c[r];
     23                        c[r--] = c[1];
     24                        if(r==1){
     25                                c[1]=crit;
     26                                return;
     27                        }
    1728                }
    18                 else  crit = c[--l];
     29                else{
     30                        crit = c[--l];
     31                }
    1932                j=l;
    2033                for(;;){
    21                         i=j;
    22                         j=2*j;
    23                         if  (j>r) {c[i]=crit;break;}
     34                        i = j;
     35                        j = 2*j;
     36                        if  (j>r){c[i]=crit;break;}
    2437                        if ((j<r) && (c[j] < c[j+1])) j++;//c[j+1]> c[j] -> take j+1 instead of j (larger value)
    25                         if (crit < c[j]) c[i]=c[j];       //c[j]  > crit -> stock this large value in i(<j)
    26                         else{c[i]=crit;break;}            //c[j]  < crit -> stock crit in i (<j)
     38                        if (crit < c[j]) c[i]=c[j];       //c[j]  > crit -> put this large value in i(<j)
     39                        else{c[i]=crit;break;}            //c[j]  < crit -> put crit in i (<j)
    2740                }
    2841        }
    2942}
     43/*}}}*/
    3044
    3145/*Sort a list of size n and returns ordering*/
    32 template<class T> inline void  HeapSort(int** porder,T* c,int n){
    33         int  l,j,r,i;
     46template<class T> inline void  HeapSort(int** porder,T* c,int n){ /*{{{*/
     47
     48        /*Intermediaries*/
     49        int  i,j,l,r;
    3450        T    crit;
    3551        int  pos;
    36         int* order = new int[n];
     52        int* order = NULL;
     53
     54        /*return if size <=1*/
     55        if(n<=1) return;
     56
     57        /*Initialize variables*/
     58        l=n/2+1;
     59        r=n;
     60        c--; //the array must starts at 1 and not 0
     61        order = new int[n];
    3762        for(i=0;i<n;i++) order[i]=i+1;
    38         c--;                    //the array must starts at 1 and not 0
    39         order--;
    40         if(n<=1) return;        //return if size <=1
    41         l=n/2+1;                //initialize l and r
    42         r=n;
     63
     64        /*Sorting algorithm*/
    4365        for(;;){
    4466                if(l<=1){
     
    6385                }
    6486        }
    65 }
     87}/*}}}*/
    6688
    6789#endif
  • issm/trunk/src/c/shared/Bamg/OppositeAngle.h

    r13395 r15396  
    22#define _OPPOSITEANGLE_H_
    33
    4 #include "../../classes/bamg/include.h"
     4#include "../Numerics/constants.h"
    55
    66/*Return the opposite angle modulo 2 Pi*/
    77namespace bamg {
    8         inline float  OppositeAngle(float  a){return a<0 ? fPi+a:a-fPi;}
    9         inline double OppositeAngle(double a){return a<0 ?  Pi+a:a- Pi;}
     8        inline float  OppositeAngle(float  a){return a<0 ? PI+a:a-PI;}
     9        inline double OppositeAngle(double a){return a<0 ?  PI+a:a- PI;}
    1010}
    1111
  • issm/trunk/src/c/shared/Bamg/shared.h

    r13975 r15396  
    99#include "BigPrimeNumber.h"
    1010#include "BinaryRand.h"
    11 #include "det.h"
    1211#include "Exchange.h"
    1312#include "extrema.h"
  • issm/trunk/src/c/shared/Elements/Arrhenius.cpp

    r12706 r15396  
    33 */
    44
    5 #include "./elements.h"
    65#include <math.h>
     6#include "../Numerics/types.h"
     7#include "../Exceptions/exceptions.h"
    78
    89IssmDouble Arrhenius(IssmDouble temperature,IssmDouble depth,IssmDouble n){
  • issm/trunk/src/c/shared/Elements/ComputeDelta18oTemperaturePrecipitation.cpp

    r13395 r15396  
    55
    66#include "./elements.h"
     7#include "../Numerics/numerics.h"
    78
    89void ComputeDelta18oTemperaturePrecipitation(IssmDouble Delta18oSurfacePresent, IssmDouble Delta18oSurfaceLgm, IssmDouble Delta18oSurfaceTime,
  • issm/trunk/src/c/shared/Elements/Paterson.cpp

    r13975 r15396  
    77#include <math.h>
    88
    9 #include "../../include/include.h"
     9#include "../Numerics/types.h"
    1010
    1111IssmDouble Paterson(IssmDouble temperature){
  • issm/trunk/src/c/shared/Elements/PddSurfaceMassBalance.cpp

    r13975 r15396  
    44
    55#include "./elements.h"
    6 
    7 IssmDouble PddSurfaceMassBlance(IssmDouble* monthlytemperatures, IssmDouble* monthlyprec, IssmDouble* pdds, IssmDouble* pds, IssmDouble signorm, IssmDouble yts, IssmDouble h, IssmDouble s, IssmDouble rho_ice, IssmDouble rho_water){
     6#include "../Numerics/numerics.h"
     7
     8IssmDouble PddSurfaceMassBlance(IssmDouble* monthlytemperatures, IssmDouble* monthlyprec, IssmDouble* pdds, IssmDouble* pds, IssmDouble signorm, IssmDouble yts, IssmDouble h, IssmDouble s, IssmDouble rho_ice, IssmDouble rho_water, IssmDouble desfac, IssmDouble s0p){
    89
    910  // output:
    1011  IssmDouble B;    // surface mass balance, melt+accumulation
    11 
    1212  int    iqj,imonth;
    1313
     
    2020  IssmDouble sconv; //rhow_rain/rhoi / 12 months
    2121
    22   IssmDouble lapser=6.5/1000., sealev=0.;    // lapse rate. degrees per meter. 7.5 lev's 99 paper, 9 Marshall 99 paper
    23   IssmDouble desfac = 0.5;                 // desert elevation factor
    24   IssmDouble s0p=0.;         // should be set to elevation from precip source
     22  IssmDouble lapser=6.5, sealev=0.;    // lapse rate. degrees per meter. 7.5 lev's 99 paper, 9 Marshall 99 paper
     23  // IssmDouble desfac = 0.5;                 // desert elevation factor
     24  // IssmDouble s0p=0.;         // should be set to elevation from precip source
    2525  IssmDouble s0t=0.;         // should be set to elevation from temperature source
    2626  IssmDouble st;             // elevation between altitude of the temp record and current altitude
     
    9696      // gaussian=T_m, so ndd=-(Tsurf-pdd)
    9797      if (iqj>5 &&  iqj<9){ Tsum=Tsum+tstar;}
     98
    9899      if (tstar >= siglim) {pdd = pdd + tstar*deltm;}
    99100      else if (tstar> -siglim){
     
    103104      else{frzndd = frzndd - tstar*deltm; }
    104105  } // end of seasonal loop
    105 
    106106  //******************************************************************
     107
    107108    saccu = qm;
    108109    prect = qmp;     // total precipitation during 1 year taking into account des. ef.
  • issm/trunk/src/c/shared/Elements/PrintArrays.cpp

    r14310 r15396  
    11
    22#include "./elements.h"
    3 #include "../../include/macros.h"
     3#include "../io/Print/Print.h"
    44using namespace std;
    55
    66void printarray(IssmPDouble* array,int lines,int cols){
    7         _printLine_("");
     7        _printf_("\n");
    88        for(int i=0;i<lines;i++){ 
    9                 _printString_("   [ ");
    10                 for(int j=0;j<cols;j++) _printString_( " " << setw(11) << setprecision (5) << array[i*cols+j]);
    11                 _printLine_(" ]");
     9                _printf_("   [ ");
     10                for(int j=0;j<cols;j++) _printf_( " " << setw(11) << setprecision (5) << array[i*cols+j]);
     11                _printf_(" ]\n");
    1212        } 
    13         _printLine_("");
     13        _printf_("\n");
    1414}
    1515void printsparsity(IssmPDouble* array,int lines,int cols){
    1616        int count;
    17         _printLine_("");
     17        _printf_("\n");
    1818        for(int i=0;i<lines;i++){ 
    19                 _printString_("   [ ");
     19                _printf_("   [ ");
    2020                count = 0;
    2121                for(int j=0;j<cols;j++){
    2222                        if(array[i*cols+j]!=0.0){
    23                                 _printString_( " X"); count++;
     23                                _printf_( " X"); count++;
    2424                        }
    2525                        else
    26                          _printString_( " .");
     26                         _printf_( " .");
    2727                }
    28                 _printLine_(" ] "<<i<<" => "<<count);
     28                _printf_(" ] "<<i<<" => "<<count << "\n");
    2929        } 
    30         _printLine_("");
     30        _printf_("\n");
    3131}
    3232void printarray(int* array,int lines,int cols){
    33         _printLine_("");
     33        _printf_("\n");
    3434        for(int i=0;i<lines;i++){ 
    35                 _printString_("   [ ");
    36                 for(int j=0;j<cols;j++) _printString_( " " << setw(11) << setprecision (5) << array[i*cols+j]);
    37                 _printLine_(" ]");
     35                _printf_("   [ ");
     36                for(int j=0;j<cols;j++) _printf_( " " << setw(11) << setprecision (5) << array[i*cols+j]);
     37                _printf_(" ]\n");
    3838        } 
    39         _printLine_("");
     39        _printf_("\n");
    4040}
    4141void printarray(bool* array,int lines,int cols){
    42         _printLine_("");
     42        _printf_("\n");
    4343        for(int i=0;i<lines;i++){ 
    44                 _printString_("   [ ");
    45                 for(int j=0;j<cols;j++) _printString_( " " << array[i*cols+j]?1:0);
    46                 _printLine_(" ]");
     44                _printf_("   [ ");
     45                for(int j=0;j<cols;j++){
     46                        if(array[i*cols+j]) _printf_( " 1");
     47                        else _printf_( " 0");
     48                }
     49                _printf_(" ]\n");
    4750        } 
    48         _printLine_("");
     51        _printf_("\n");
    4952}
    5053void printbinary(int n){
     
    5255        while (i>0) {
    5356                if (n&i)
    54                  _printString_("1");
     57                 _printf_("1");
    5558                else
    56                  _printString_("0");
     59                 _printf_("0");
    5760                i>>=1;
    5861        }
  • issm/trunk/src/c/shared/Elements/elements.h

    r14310 r15396  
    66#define _SHARED_ELEMENTS_H_
    77
    8 #include "../../classes/objects/objects.h"
    9 #include "../../Container/Container.h"
    10 class ElementMatrix;
    11 class ElementVector;
     8#include "../Numerics/types.h"
    129
    1310IssmDouble Paterson(IssmDouble temperature);
    1411IssmDouble Arrhenius(IssmDouble temperature,IssmDouble depth,IssmDouble n);
    1512IssmDouble PddSurfaceMassBlance(IssmDouble* monthlytemperatures,  IssmDouble* monthlyprec, IssmDouble* pdds, IssmDouble* pds,
    16                                 IssmDouble signorm, IssmDouble yts, IssmDouble h, IssmDouble s, IssmDouble rho_ice, IssmDouble rho_water);
     13                                IssmDouble signorm, IssmDouble yts, IssmDouble h, IssmDouble s,
     14                                IssmDouble rho_ice, IssmDouble rho_water, IssmDouble desfac, IssmDouble s0p);
    1715void ComputeDelta18oTemperaturePrecipitation(IssmDouble Delta18oSurfacePresent, IssmDouble Delta18oSurfaceLgm, IssmDouble Delta18oSurfaceTime,
    1816                                     IssmDouble Delta18oPresent, IssmDouble Delta18oLgm, IssmDouble Delta18oTime,
     
    2018                                     IssmDouble* TemperaturesLgm, IssmDouble* TemperaturesPresentday,
    2119                                             IssmDouble* monthlytemperaturesout, IssmDouble* monthlyprecout);
    22 void   GetVerticesCoordinates(IssmDouble* xyz,  Node** nodes, int numvertices);
    23 int    GetNumberOfDofs( Node** nodes,int numnodes,int setenum,int approximation_enum);
    24 int*   GetLocalDofList( Node** nodes,int numnodes,int setenum,int approximation_enum);
    25 int*   GetGlobalDofList(Node** nodes,int numnodes,int setenum,int approximation_enum);
    26 
    27 #ifdef _HAVE_DIAGNOSTIC_
    28 void   CoordinateSystemTransform(IssmDouble** ptransform,Node** nodes,int numnodes,int* cs_array);
    29 void   TransformInvStiffnessMatrixCoord(ElementMatrix* Ke,Node** nodes,int numnodes,int cs_enum);
    30 void   TransformInvStiffnessMatrixCoord(ElementMatrix* Ke,Node** nodes,int numnodes,int* cs_array);
    31 void   TransformStiffnessMatrixCoord(ElementMatrix* Ke,Node** nodes,int numnodes,int cs_enum);
    32 void   TransformStiffnessMatrixCoord(ElementMatrix* Ke,Node** nodes,int numnodes,int* cs_array);
    33 void   TransformLoadVectorCoord(ElementVector* pe,Node** nodes,int numnodes,int cs_enum);
    34 void   TransformLoadVectorCoord(ElementVector* pe,Node** nodes,int numnodes,int* cs_array);
    35 void   TransformSolutionCoord(IssmDouble* solution,Node** nodes,int numnodes,int cs_enum);
    36 void   TransformSolutionCoord(IssmDouble* solution,Node** nodes,int numnodes,int* cs_array);
    37 #endif
    3820
    3921/*Print arrays*/
  • issm/trunk/src/c/shared/Exceptions/Exceptions.cpp

    r13975 r15396  
    99#endif
    1010
    11 #include "../shared.h"
    12 #include "../../include/include.h"
     11#include "./exceptions.h"
     12#include "../io/Print/Print.h"
     13#include "../io/Comm/Comm.h"
    1314
    1415ErrorException::ErrorException(const string &what_arg){/*{{{*/
     
    4142
    4243        if (function_name=="" || file_line==0){ //WINDOWS
    43                 _printString_("Error message: " << what());
     44                _printf_("Error message: " << what());
    4445        }
    4546        else{
    4647                if(num_procs==1){
    47                         _printLine_("\n??? Error in ==> " << file_name.c_str() << ":" << file_line);
    48                         _printLine_(function_name.c_str() << " error message: " << what() << "\n");
     48                        _printf_("\n??? Error in ==> " << file_name.c_str() << ":" << file_line << "\n");
     49                        _printf_(function_name.c_str() << " error message: " << what() << "\n\n");
    4950                }
    5051                else{
    51                         _printLine_("\n[" << my_rank<< "] ??? Error using ==> " << file_name.c_str() << ":" << file_line);
    52                         _printLine_(  "[" << my_rank << "] " << function_name.c_str() << " error message: " << what() << "\n");
     52                        _printf_("\n[" << my_rank<< "] ??? Error using ==> " << file_name.c_str() << ":" << file_line << "\n");
     53                        _printf_(  "[" << my_rank << "] " << function_name.c_str() << " error message: " << what() << "\n\n");
    5354                }
    5455        }
  • issm/trunk/src/c/shared/Exceptions/exceptions.h

    r13975 r15396  
    77 */
    88
    9 #ifndef MY_EXCEPTIONS_H_
    10 #define MY_EXCEPTIONS_H_
     9#ifndef _MY_EXCEPTIONS_H_
     10#define _MY_EXCEPTIONS_H_
    1111
    1212#include <exception>
    1313#include <string>
     14#include <iostream>
     15#include <sstream>
     16#include <iomanip>
     17
    1418using namespace std;
    1519
    16 /*We derive our classes from the c++ exception class: */
    17 class ErrorException: public exception {
     20#ifdef HAVE_CONFIG_H
     21        #include <config.h>
     22#else
     23#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     24#endif
     25
     26/*macros: */
     27/* _assert_ {{{*/
     28/*Assertion macro: do nothing if macro _ISSM_DEBUG_ undefined*/
     29#ifdef _ISSM_DEBUG_
     30#define _assert_(statement)\
     31  if (!(statement)) _error_("Assertion \""<<#statement<<"\" failed, please report bug to "<<PACKAGE_BUGREPORT)
     32#else
     33#define _assert_(ignore)\
     34  ((void) 0)
     35#endif
     36/*}}}*/
     37/* _error_ {{{*/
     38/*new Error exception macro*/
     39#ifdef _INTEL_WIN_
     40#define _error_(StreamArgs)\
     41   do{std::ostringstream aLoNgAnDwEiRdLoCaLnAmeFoRtHiSmAcRoOnLy; \
     42   aLoNgAnDwEiRdLoCaLnAmeFoRtHiSmAcRoOnLy << StreamArgs << std::ends; \
     43   throw ErrorException(aLoNgAnDwEiRdLoCaLnAmeFoRtHiSmAcRoOnLy.str());}while(0)
     44#else
     45#define _error_(StreamArgs)\
     46        do{std::ostringstream aLoNgAnDwEiRdLoCaLnAmeFoRtHiSmAcRoOnLy; \
     47   aLoNgAnDwEiRdLoCaLnAmeFoRtHiSmAcRoOnLy << StreamArgs << std::ends; \
     48   throw ErrorException(__FILE__,__func__,__LINE__,aLoNgAnDwEiRdLoCaLnAmeFoRtHiSmAcRoOnLy.str());}while(0)
     49#endif
     50/*}}}*/
     51/* ExceptionTrapBegin/ExceptionTrapEnd {{{*/
     52
     53/*The following macros hide the error exception handling in a matlab module. Just put
     54 * ExceptionTrapBegin(); and ExceptionTrapEnd(); at the beginning and end of a module, and c++ exceptions
     55 * will be trapped. Really nifty!*/
     56
     57#define ExceptionTrapBegin(); \
     58        try{
     59
     60#define ExceptionTrapEnd(); }\
     61        catch(ErrorException &exception){\
     62                exception.Report();\
     63                return 0;\
     64        }\
     65        catch (exception& e) {\
     66                _printf_("Standard exception: " << e.what() << "\n\n");\
     67                return 0;\
     68        }\
     69        catch(...){\
     70                _printf_("An unexpected error occurred \n\n");\
     71                return 0;\
     72        }
     73/*}}}*/
     74
     75/*ISSM exception class: */
     76class ErrorException: public exception { /*{{{*/
    1877
    1978        string   what_str;
     
    3291
    3392};
     93/*}}}*/
    3494
    3595char* exprintf(const char* format,...);
     96
    3697#endif
  • issm/trunk/src/c/shared/Exceptions/exprintf.cpp

    r13975 r15396  
    88#include <stdarg.h>
    99#include <stdio.h>
    10 #include "../Alloc/xNewDelete.h"
    11 #include "../Alloc/alloc.h"
     10#include "../MemOps/MemOps.h"
    1211
    1312char* exprintf(const char* format,...){
  • issm/trunk/src/c/shared/Exp/exp.h

    r14310 r15396  
    77
    88#include <cstring>
    9 #include "../../classes/objects/Contour.h"
    10 #include "../../shared/Numerics/recast.h"
    11 #include "../../Container/Container.h"
     9#include "../Numerics/recast.h"
     10#include "../Exceptions/exceptions.h"
     11#include "../MemOps/MemOps.h"
    1212
    1313int IsInPolySerial(double* in,double* xc,double* yc,int numvertices,double* x,double* y,int nods, int edgevalue);
    1414int ExpWrite(int nprof,int* profnvertices,double** pprofx,double** pprofy,char* domainname);
    15 int ExpWrite(DataSet* contours,char* domainname);
    1615int pnpoly(int npol, double *xp, double *yp, double x, double y, int edgevalue);
    1716
    18 /*IsInPoly {{{*/
    19 template <class doubletype>
    20 int IsInPoly(SeqVec<doubletype>* in,double* xc,double* yc,int numvertices,double* x,double* y,int i0,int i1, int edgevalue){
     17template <class doubletype> int IsInPoly(doubletype* in,double* xc,double* yc,int numvertices,double* x,double* y,int i0,int i1, int edgevalue){ /*{{{*/
    2118
    2219        int i;
     
    4037
    4138                //Get current value of value[i] -> do not change it if != 0
    42                 in->GetValue(&value,i);
     39                value=in[i];
    4340                if (reCast<bool,doubletype>(value)){
    4441                        /*this vertex already is inside one of the contours, continue*/
     
    5451                        value=pnpoly(numvertices,xc,yc,x0,y0,edgevalue);
    5552                }
    56                 in->SetValue(i,value,INS_VAL);
     53                in[i]=value;
    5754        }
    5855         return 1;
    5956}/*}}}*/
    60 /*DomainOutlineRead{{{*/
    61 template <class doubletype>
    62 int DomainOutlineRead(int* pnprof,int** pprofnvertices,doubletype*** ppprofx,doubletype*** ppprofy,bool** pclosed,char* domainname){
     57template <class doubletype> int ExpRead(int* pnprof,int** pprofnvertices,doubletype*** ppprofx,doubletype*** ppprofy,bool** pclosed,char* domainname){ /*{{{*/
    6358
    6459        /*indexing: */
     
    9186        nprof=1;
    9287        for(;;){
    93                 fscanf(fid,"%255s %255s\n",chardummy,chardummy);
    94                 fscanf(fid,"%255s %255s\n",chardummy,chardummy);
    95                 fscanf(fid,"%255s %255s %255s %255s\n",chardummy,chardummy,chardummy,chardummy);
    96                 fscanf(fid,"%20u %255s\n",&n,chardummy);
    97                 fscanf(fid,"%255s %255s %255s %255s %255s\n",chardummy,chardummy,chardummy,chardummy,chardummy);
    98                 for (i=0;i<n;i++) fscanf(fid,"%20lf %20lf\n",&ddummy,&ddummy);
     88                //## Name:filename
     89                if(fscanf(fid,"%255s %255s\n",chardummy,chardummy)!=2) _error_("Could not read " << domainname);
     90                //## Icon:0
     91                if(fscanf(fid,"%255s %255s\n",chardummy,chardummy)!=2) _error_("Could not read " << domainname);
     92                //# Points Count Value
     93                if(fscanf(fid,"%255s %255s %255s %255s\n",chardummy,chardummy,chardummy,chardummy)!=4) _error_("Could not read " << domainname);
     94                if(fscanf(fid,"%20u %255s\n",&n,chardummy)!=2) _error_("Could not read number of points in "<<domainname);
     95                //# X pos Y pos
     96                if(fscanf(fid,"%255s %255s %255s %255s %255s\n",chardummy,chardummy,chardummy,chardummy,chardummy)!=5) _error_("Could not read " << domainname);
     97                for (i=0;i<n;i++){
     98                        if(fscanf(fid,"%20lf %20lf\n",&ddummy,&ddummy)!=2){
     99                                _error_("Could not read coordinate of vertex "<< i <<" of "<<domainname);
     100                        }
     101                }
    99102                /*check whether we are at the end of the file, otherwise, keep reading next profile:*/
    100                 if (feof(fid)) break;
     103                if(feof(fid)) break;
    101104                nprof++;
    102105        }
     
    119122
    120123                /*Skip header: */
    121                 fscanf(fid,"%255s %255s\n",chardummy,chardummy);
    122                 fscanf(fid,"%255s %255s\n",chardummy,chardummy);
    123                 fscanf(fid,"%255s %255s %255s %255s\n",chardummy,chardummy,chardummy,chardummy);
     124                //## Name:filename
     125                if(fscanf(fid,"%255s %255s\n",chardummy,chardummy)!=2) _error_("Could not read " << domainname);
     126                //## Icon:0
     127                if(fscanf(fid,"%255s %255s\n",chardummy,chardummy)!=2) _error_("Could not read " << domainname);
     128                //# Points Count Value
     129                if(fscanf(fid,"%255s %255s %255s %255s\n",chardummy,chardummy,chardummy,chardummy)!=4) _error_("Could not read " << domainname);
    124130
    125131                /*Get number of profile vertices: */
    126                 fscanf(fid,"%20u %255s\n",&n,chardummy);
     132                if(fscanf(fid,"%20u %255s\n",&n,chardummy)!=2) _error_("Could not read number of points in "<<domainname);
    127133
    128134                /*Skip next line: */
    129                 fscanf(fid,"%255s %255s %255s %255s %255s\n",chardummy,chardummy,chardummy,chardummy,chardummy);
     135                //# X pos Y pos
     136                if(fscanf(fid,"%255s %255s %255s %255s %255s\n",chardummy,chardummy,chardummy,chardummy,chardummy)!=5) _error_("Could not read " << domainname);
    130137
    131138                /*Allocate vertices: */
     
    135142                /*Read vertices: */
    136143                for (i=0;i<n;i++){
    137                         fscanf(fid,"%20lf %20lf\n",&x[i],&y[i]);
     144                        if(fscanf(fid,"%20lf %20lf\n",&x[i],&y[i])!=2){
     145                                _error_("Could not read coordinate of vertex "<<i<<" of "<<domainname);
     146                        }
    138147                }
    139148
     
    161170        if(pclosed) *pclosed=closed;
    162171        else         xDelete<bool>(closed);
    163 } /*}}}*/
    164 /*DataSet* DomainOutlineRead(char* domainname){{{*/
    165 template <class doubletype>
    166 DataSet* DomainOutlineRead(char* domainname){
     172        return 1;
    167173
    168         /*intermediary: */
    169         int                  nprof;
    170         int                 *profnvertices = NULL;
    171         doubletype         **pprofx        = NULL;
    172         doubletype         **pprofy        = NULL;
    173 
    174         /*output: */
    175         DataSet *domain = NULL;
    176 
    177         /*If domainname is an empty string, return empty dataset*/
    178         if (strcmp(domainname,"")==0){
    179                 nprof=0;
    180         }
    181         else{
    182                 DomainOutlineRead(&nprof,&profnvertices,&pprofx, &pprofy, NULL,domainname);
    183         }
    184 
    185         /*now create dataset of contours: */
    186         domain=new DataSet(0);
    187 
    188         for(int i=0;i<nprof;i++){
    189                 domain->AddObject(new Contour<doubletype>(i,profnvertices[i],pprofx[i],pprofy[i],1));
    190         }
    191         return domain;
    192174} /*}}}*/
    193175
  • issm/trunk/src/c/shared/Matrix/MatrixUtils.cpp

    r13395 r15396  
    55/*Headers*/
    66/*{{{*/
    7 #include "./matrix.h"
    8 #include "../Exceptions/exceptions.h"
    9 #include "../Alloc/alloc.h"
    107#include <stdio.h>
    118#include <sys/types.h>
    129#include <math.h>
    1310#include <float.h>    /*  DBL_EPSILON  */
    14 #include "../../include/include.h"
    15 #include "../../io/io.h"
     11
     12#include "./matrix.h"
     13#include "../Exceptions/exceptions.h"
     14#include "../MemOps/MemOps.h"
    1615/*}}}*/
    1716
     
    206205                pindx[ipiv]++;
    207206
    208                 //              _printf_(true,"pivot for i=%d: irow=%d, icol=%d, pindx[%d]=%d\n",
    209                 //                               i,irow,icol,ipiv,pindx[ipiv]);
     207                //              _printf_("pivot for i=" << i << ": irow=" << irow << ", icol=" << icol  << ", pindx[" << ipiv << "]=" << pindx[ipiv] << "\n\n");
    210208
    211209                /*  switch rows to put pivot element on diagonal, noting that the
     
    213211
    214212                if (irow != icol) {
    215                         //                      _printf_(true,"row switch for i=%d: irow=%d, icol=%d\n",
    216                         //                                       i,irow,icol);
     213                        //                      _printf_("row switch for i=" << i << ": irow=" << irow << ", icol=" << icol << "\n\n");
    217214
    218215                        ipt=irow*ndim;
     
    295292                        icol=pivrc2[j];
    296293
    297                         //                      _printf_(true,"column switch back for j=%d: irow=%d, icol=%d\n",
    298                         //                                       j,irow,icol);
     294                        //                      _printf_("column switch back for j=" << j << ": irow=" << irow << ", icol=" << icol << "\n\n");
    299295
    300296                        ipt=0;
  • issm/trunk/src/c/shared/Matrix/matrix.h

    r12706 r15396  
    66#define _MATRIXUTILS_H_
    77
    8 #include "../../include/include.h"
     8#include "../Numerics/types.h"
    99
    1010int  TripleMultiply( IssmDouble* a, int nrowa, int ncola, int itrna, IssmDouble* b, int nrowb, int ncolb, int itrnb, IssmDouble* c, int nrowc, int ncolc, int itrnc, IssmDouble* d, int iaddd);
  • issm/trunk/src/c/shared/Numerics/BrentSearch.cpp

    r13975 r15396  
    99#endif
    1010
    11 #include "./numerics.h"
    12 #include "../../classes/objects/objects.h"
    13 #include "../../include/include.h"
    14 #include "../../io/io.h"
    15 #include "../../shared/shared.h"
    1611#include <float.h>
    1712#include <iomanip>
     13
     14#include "../Exceptions/exceptions.h"
     15#include "../io/io.h"
     16#include "../MemOps/MemOps.h"
     17#include "./Verbosity.h"
     18#include "./OptPars.h"
     19#include "./OptArgs.h"
     20#include "./types.h"
     21#include "./isnan.h"
    1822
    1923void BrentSearch(IssmDouble* psearch_scalar,IssmDouble* pJ,OptPars* optpars,IssmDouble (*f)(IssmDouble,OptArgs*), OptArgs* optargs){
     
    4650        if (xIsNan<IssmDouble>(fxmin)) _error_("Function evaluation returned NaN");
    4751        cout<<setprecision(5);
    48         if(VerboseControl()) _pprintLine_("");
    49         if(VerboseControl()) _pprintLine_("       Iteration         x           f(x)       Tolerance         Procedure");
    50         if(VerboseControl()) _pprintLine_("");
    51         if(VerboseControl()) _pprintLine_("           N/A    "<<setw(12)<<xmin<<"  "<<setw(12)<<fxmin<<"           N/A         boundary");
     52        if(VerboseControl()) _printf0_("\n");
     53        if(VerboseControl()) _printf0_("       Iteration         x           f(x)       Tolerance         Procedure\n");
     54        if(VerboseControl()) _printf0_("\n");
     55        if(VerboseControl()) _printf0_("           N/A    "<<setw(12)<<xmin<<"  "<<setw(12)<<fxmin<<"           N/A         boundary\n");
    5256        fxmax = (*f)(xmax,optargs);
    5357        if (xIsNan<IssmDouble>(fxmax)) _error_("Function evaluation returned NaN");
    54         if(VerboseControl()) _pprintLine_("           N/A    "<<setw(12)<<xmax<<"  "<<setw(12)<<fxmax<<"           N/A         boundary");
     58        if(VerboseControl()) _printf0_("           N/A    "<<setw(12)<<xmax<<"  "<<setw(12)<<fxmax<<"           N/A         boundary\n");
    5559
    5660        /*test if jump option activated and xmin==0*/
     
    8993        /*4: print result*/
    9094        if(VerboseControl())
    91          _pprintLine_("         "<<setw(5)<<iter<<"    "<<setw(12)<<xbest<<"  "<<setw(12)<<fxbest<<"  "<<setw(12)<<pow(pow(xbest-xm,2),0.5)<<"         initial");
     95         _printf0_("         "<<setw(5)<<iter<<"    "<<setw(12)<<xbest<<"  "<<setw(12)<<fxbest<<"  "<<setw(12)<<pow(pow(xbest-xm,2),0.5)<<"         initial\n");
    9296        if (!xIsNan<IssmDouble>(cm_jump) && (xmin==0) && ((fxbest/fxmin)<cm_jump)){
    93                 if(VerboseControl()) _pprintLine_("      optimization terminated: current x satisfies criteria 'cm_jump'=" << cm_jump);
     97                if(VerboseControl()) _printf0_("      optimization terminated: current x satisfies criteria 'cm_jump'=" << cm_jump << "\n");
    9498                loop=false;
    9599        }
     
    185189                tol2=2.0*tol1;
    186190                if(VerboseControl())
    187                  _pprintLine_("         "<<setw(5)<<iter<<"    "<<setw(12)<<x<<"  "<<setw(12)<<fx<<"  "<<setw(12)<<pow(pow(xbest-xm,2),0.5)<<
    188                                          "         "<<(goldenflag?"golden":"parabolic"));
     191                 _printf0_("         "<<setw(5)<<iter<<"    "<<setw(12)<<x<<"  "<<setw(12)<<fx<<"  "<<setw(12)<<pow(pow(xbest-xm,2),0.5)<<
     192                                         "         "<<(goldenflag?"golden":"parabolic")<<"\n");
    189193
    190194                /*Stop the optimization?*/
    191195                if (sqrt(pow(xbest-xm,2)) < (tol2-0.5*(xmax-xmin))){
    192                         if(VerboseControl()) _pprintLine_("      optimization terminated: current x satisfies criteria 'tolx'=" << tolerance);
     196                        if(VerboseControl()) _printf0_("      optimization terminated: current x satisfies criteria 'tolx'=" << tolerance << "\n");
    193197                        loop=false;
    194198                }
    195199                else if (iter>=maxiter){
    196                         if(VerboseControl()) _pprintLine_("      exiting: Maximum number of iterations has been exceeded  ('maxiter'=" << maxiter << ")");
     200                        if(VerboseControl()) _printf0_("      exiting: Maximum number of iterations has been exceeded  ('maxiter'=" << maxiter << ")\n");
    197201                        loop=false;
    198202                }
    199203                else if (!xIsNan<IssmDouble>(cm_jump) && (xmin==0) && ((fxbest/fxmin)<cm_jump)){
    200                         if(VerboseControl()) _pprintLine_("      optimization terminated: current x satisfies criteria 'cm_jump'=" << cm_jump);
     204                        if(VerboseControl()) _printf0_("      optimization terminated: current x satisfies criteria 'cm_jump'=" << cm_jump << "\n");
    201205                        loop=false;
    202206                }
  • issm/trunk/src/c/shared/Numerics/CMakeLists.txt

    r14310 r15396  
    99               $ENV{ISSM_DIR}/src/c/shared/Numerics/extrema.cpp
    1010           $ENV{ISSM_DIR}/src/c/shared/Numerics/GaussPoints.cpp
    11       $ENV{ISSM_DIR}/src/c/shared/Numerics/IsInputConverged.cpp
    1211                 $ENV{ISSM_DIR}/src/c/shared/Numerics/isnan.cpp
    1312   $ENV{ISSM_DIR}/src/c/shared/Numerics/OptionsFromAnalysis.cpp
    14         $ENV{ISSM_DIR}/src/c/shared/Numerics/UnitConversion.cpp
    1513             $ENV{ISSM_DIR}/src/c/shared/Numerics/Verbosity.cpp
    1614$ENV{ISSM_DIR}/src/c/shared/Numerics/XZvectorsToCoordinateSystem.cpp PARENT_SCOPE)
  • issm/trunk/src/c/shared/Numerics/GaussPoints.cpp

    r13395 r15396  
    11/*  Gauss point structures and prototypes  */
    2 
    3 #include "../../include/include.h"
    4 #include "./GaussPoints.h"
    5 #include "../Alloc/alloc.h"
    6 #include "../Exceptions/exceptions.h"
    72#include <math.h>
    83#include <float.h>
     4
     5#include "./GaussPoints.h"
     6#include "../MemOps/MemOps.h"
     7#include "../Exceptions/exceptions.h"
     8#include "../Numerics/constants.h"
    99
    1010/*General Gauss points*/
     
    5050                sizeof(wgt4 )/sizeof(IssmPDouble)};
    5151
    52         //      _pprintLine_("Gauss-Legendre recurrence coefficients ngaus=" << ngaus);
     52        //      _printf0_("Gauss-Legendre recurrence coefficients ngaus=" << ngaus << "\n");
    5353        *pxgaus =xNew<IssmPDouble>(ngaus);
    5454        *pxwgt  =xNew<IssmPDouble>(ngaus);
     
    8888}/*}}}*/
    8989/*FUNCTION GaussLegendreTria{{{*/
    90 void GaussLegendreTria( int* pngaus, IssmPDouble** pl1, IssmPDouble** pl2, IssmPDouble** pl3, IssmPDouble** pwgt, int iord ) {
     90void GaussLegendreTria( int* pngaus, IssmDouble** pl1, IssmDouble** pl2, IssmDouble** pl3, IssmDouble** pwgt, int iord ) {
    9191        /*Gauss quadrature points for the triangle.
    9292
     
    413413                0.116251915907597, 0.025734050548330, 0.025734050548330};
    414414        /*}}}*/
    415         /*  p=13, npoint=37  {{{*/
     415        /*p=13, npoint=37  {{{*/
    416416        static IssmPDouble wgt13[]={
    417417                0.090968907790622, 0.019537784619314, 0.019537784619314,
     
    771771                0.014663182224828};
    772772        /*}}}*/
    773         /*  p=18, npoint=70  {{{*/
     773        /*p=18, npoint=70  {{{*/
    774774
    775775        static IssmPDouble wgt18[]={
     
    11381138                sizeof(wgt20)/sizeof(IssmPDouble)};
    11391139
    1140         //      _pprintLine_("GaussLegendreTria: iord=" << iord);
     1140        //      _printf0_("GaussLegendreTria: iord=" << iord << "\n");
    11411141
    11421142        /*  check to see if Gauss points need to be calculated  */
     
    11491149                *pngaus=np[iord-1];
    11501150
    1151                 *pl1  =xNew<IssmPDouble>(*pngaus);
    1152                 *pl2  =xNew<IssmPDouble>(*pngaus);
    1153                 *pl3  =xNew<IssmPDouble>(*pngaus);
    1154                 *pwgt =xNew<IssmPDouble>(*pngaus);
     1151                *pl1  =xNew<IssmDouble>(*pngaus);
     1152                *pl2  =xNew<IssmDouble>(*pngaus);
     1153                *pl3  =xNew<IssmDouble>(*pngaus);
     1154                *pwgt =xNew<IssmDouble>(*pngaus);
    11551155
    11561156                for (i=0; i<*pngaus; i++) {
     
    11671167                *pngaus=nigaus*nigaus;
    11681168
    1169                 *pl1  =xNew<IssmPDouble>(*pngaus);
    1170                 *pl2  =xNew<IssmPDouble>(*pngaus);
    1171                 *pl3  =xNew<IssmPDouble>(*pngaus);
    1172                 *pwgt =xNew<IssmPDouble>(*pngaus);
     1169                *pl1  =xNew<IssmDouble>(*pngaus);
     1170                *pl2  =xNew<IssmDouble>(*pngaus);
     1171                *pl3  =xNew<IssmDouble>(*pngaus);
     1172                *pwgt =xNew<IssmDouble>(*pngaus);
    11731173
    11741174                /*  get the gauss points in each direction  */
     
    11981198        }
    11991199
    1200         //      _pprintLine_("GaussLegendreTria - ngaus=" << *pngaus);
     1200        //      _printf0_("GaussLegendreTria - ngaus=" << *pngaus << "\n");
    12011201        //      for (i=0; i<*pngaus; i++)
    1202         //              _printf_(true,"i=%d: l1gaus=%f,l2gaus=%f,l3gaus=%f,wgt=%f\n",
    1203         //                               i,(*pl1 )[i],(*pl2 )[i],(*pl3 )[i],(*pwgt)[i]);
     1202        //              _printf0_("i=" << i << ": l1gaus=" << (*pl1 )[i] << ",l2gaus=" << (*pl2 )[i] << ",l3gaus=" << (*pl3 )[i]<< ",wgt=" << (*pwgt)[i]<< "\n\n");
    12041203
    12051204        return;
     
    13971396                sizeof(wgt6 )/sizeof(IssmPDouble)};
    13981397
    1399         //      _pprintLine_("GaussLegendreTetra: iord=" << iord);
     1398        //      _printf0_("GaussLegendreTetra: iord=" << iord << "\n");
    14001399
    14011400        /*  check to see if Gauss points need to be calculated  */
     
    15201519                sizeof(wgt5 )/sizeof(IssmPDouble)};
    15211520
    1522         //      _pprintLine_("Gauss-Lobatto recurrence coefficients ngaus=" << ngaus);
     1521        //      _printf0_("Gauss-Lobatto recurrence coefficients ngaus=" << ngaus << "\n");
    15231522        *pxgaus =xNew<IssmPDouble>(ngaus);
    15241523        *pxwgt  =xNew<IssmPDouble>(ngaus);
  • issm/trunk/src/c/shared/Numerics/GaussPoints.h

    r12706 r15396  
    33 */
    44
    5 #include "../../include/types.h"
     5#include "../../shared/Numerics/types.h"
    66#ifndef _GAUSSPOINTS_H
    77#define _GAUSSPOINTS_H
     
    1010void GaussLegendreLinear(IssmPDouble** pxgaus, IssmPDouble** pxwgt, int ngaus);
    1111#define MAX_TRIA_SYM_ORD    20
    12 void GaussLegendreTria(int* pngaus, IssmPDouble** pl1, IssmPDouble** pl2, IssmPDouble** pl3, IssmPDouble** pwgt, int iord);
     12void GaussLegendreTria(int* pngaus, IssmDouble** pl1, IssmDouble** pl2, IssmDouble** pl3, IssmDouble** pwgt, int iord);
    1313#define MAX_TETRA_SYM_ORD    6
    1414void GaussLegendreTetra(int* pngaus, IssmPDouble** pl1, IssmPDouble** pl2, IssmPDouble** pl3, IssmPDouble** pl4, IssmPDouble** pwgt, int iord);
  • issm/trunk/src/c/shared/Numerics/OptimalSearch.cpp

    r13975 r15396  
    99#endif
    1010
    11 #include "./numerics.h"
    12 #include "../../classes/objects/objects.h"
    13 #include "../../io/io.h"
    14 #include "../../include/include.h"
    15 #include "../../shared/shared.h"
    1611#include <float.h>
     12
     13#include "../Exceptions/exceptions.h"
     14#include "../io/io.h"
     15#include "../MemOps/MemOps.h"
     16#include "./Verbosity.h"
     17#include "./OptPars.h"
     18#include "./OptArgs.h"
     19#include "./types.h"
     20#include "./isnan.h"
    1721
    1822void OptimalSearch(IssmDouble* psearch_scalar,IssmDouble* pJ,OptPars* optpars,IssmDouble (*f)(IssmDouble,OptArgs*), OptArgs* optargs){
     
    4347        if (xIsNan<IssmDouble>(fx1)) _error_("Function evaluation returned NaN");
    4448        cout<<setprecision(5);
    45         if(VerboseControl()) _pprintLine_("");
    46         if(VerboseControl()) _pprintLine_("       Iteration         x           f(x)       Tolerance");
    47         if(VerboseControl()) _pprintLine_("");
    48         if(VerboseControl()) _pprintLine_("           N/A    "<<setw(12)<<x1<<"  "<<setw(12)<<fx1<<"           N/A");
     49        if(VerboseControl()) _printf0_("\n");
     50        if(VerboseControl()) _printf0_("       Iteration         x           f(x)       Tolerance\n");
     51        if(VerboseControl()) _printf0_("\n");
     52        if(VerboseControl()) _printf0_("           N/A    "<<setw(12)<<x1<<"  "<<setw(12)<<fx1<<"           N/A\n");
    4953
    5054        //update tolerances
     
    5963                if (xIsNan<IssmDouble>(fx2)) _error_("Function evaluation returned NaN");
    6064                if(VerboseControl())
    61                  _pprintLine_("         "<<setw(5)<<iter<<"    "<<setw(12)<<x2<<"  "<<setw(12)<<fx2<<"  "<<(fabs(x2-x1)>fabs(fx2-fx1)?fabs(fx2-fx1):fabs(x2-x1)));
     65                 _printf0_("         "<<setw(5)<<iter<<"    "<<setw(12)<<x2<<"  "<<setw(12)<<fx2<<"  "<<(fabs(x2-x1)>fabs(fx2-fx1)?fabs(fx2-fx1):fabs(x2-x1)) << "\n");
    6266
    6367                //Stop the optimization?
    6468                if ((fabs(x2-x1)+seps)<tolerance || (fabs(fx2-fx1)+seps)<tolerance){
    65                         if(VerboseControl()) _pprintLine_("      " << "optimization terminated: the current x satisfies the termination criteria using 'tolx' of "  << tolerance);
     69                        if(VerboseControl()) _printf0_("      " << "optimization terminated: the current x satisfies the termination criteria using 'tolx' of "  << tolerance << "\n");
    6670                        loop=false;
    6771                }
    6872                else if (iter>=maxiter){
    69                         if(VerboseControl()) _pprintLine_("      " << "exiting: Maximum number of iterations has been exceeded  - increase 'maxiter'");
     73                        if(VerboseControl()) _printf0_("      " << "exiting: Maximum number of iterations has been exceeded  - increase 'maxiter'\n");
    7074                        loop=false;
    7175                }
  • issm/trunk/src/c/shared/Numerics/Synchronize.sh

    r13975 r15396  
    2727#endif
    2828#include "./Verbosity.h"
    29 #include "../../include/macros.h"
    3029#include "../Exceptions/exceptions.h"
    3130/*}}}*/
  • issm/trunk/src/c/shared/Numerics/Verbosity.cpp

    r13975 r15396  
    1616#endif
    1717#include "./Verbosity.h"
    18 #include "../../include/macros.h"
    1918#include "../Exceptions/exceptions.h"
    2019/*}}}*/
  • issm/trunk/src/c/shared/Numerics/XZvectorsToCoordinateSystem.cpp

    r13975 r15396  
    1 #include "../Alloc/alloc.h"
    2 #include "../../include/include.h"
     1#include <math.h>
     2
     3#include "../MemOps/MemOps.h"
    34#include "../Exceptions/exceptions.h"
     5#include "../Numerics/types.h"
    46#include "./isnan.h"
    5 #include <math.h>
    67
    78void XZvectorsToCoordinateSystem(IssmDouble* T,IssmDouble* xzvectors){
  • issm/trunk/src/c/shared/Numerics/cross.cpp

    r13975 r15396  
    99#endif
    1010
    11 #include "../../include/include.h"
     11#include "./types.h"
    1212
    1313void cross(IssmDouble* result,IssmDouble* vector1,IssmDouble* vector2){
  • issm/trunk/src/c/shared/Numerics/cubic.cpp

    r13395 r15396  
    11#include <math.h>
     2
    23#include "./numerics.h"
    34
  • issm/trunk/src/c/shared/Numerics/extrema.cpp

    r12706 r15396  
    99#endif
    1010
    11 #include "../../include/include.h"
     11#include "./types.h"
    1212
    1313IssmDouble min(IssmDouble a,IssmDouble b){
     
    2727        else return b;
    2828}
     29
     30#ifdef _HAVE_ADOLC_
     31IssmPDouble  min(IssmPDouble a,IssmPDouble b){
     32        if (a<b)return a;
     33        else return b;
     34}
     35IssmPDouble  max(IssmPDouble a,IssmPDouble b){
     36        if (a>b)return a;
     37        else return b;
     38}
     39#endif
  • issm/trunk/src/c/shared/Numerics/isnan.cpp

    r13975 r15396  
    77#endif
    88
    9 #include "../../include/include.h"
    109#include "isnan.h"
    1110
  • issm/trunk/src/c/shared/Numerics/isnan.h

    r13975 r15396  
    2424
    2525#if defined(_HAVE_ADOLC_) && !defined(_WRAPPERS_)
     26#include "./types.h"
    2627template <> int xIsNan<adouble> (const adouble& X);
    2728#endif
  • issm/trunk/src/c/shared/Numerics/numerics.h

    r13395 r15396  
    66#define  _NUMERICS_H_
    77
     8#ifdef HAVE_CONFIG_H
     9        #include <config.h>
     10#else
     11#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
    814#include "./Verbosity.h"
    915#include "./GaussPoints.h"
    1016#include "./isnan.h"
    1117#include "./recast.h"
    12 
    13 class Input;
    14 class Parameters;
    15 
    16 struct OptArgs;
    17 struct OptPars;
     18#include "./types.h"
     19#include "./constants.h"
     20#include "./OptArgs.h"
     21#include "./OptPars.h"
    1822
    1923IssmDouble  min(IssmDouble a,IssmDouble b);
    2024IssmDouble  max(IssmDouble a,IssmDouble b);
     25
     26#ifdef _HAVE_ADOLC_
     27IssmPDouble  min(IssmPDouble a,IssmPDouble b);
     28IssmPDouble  max(IssmPDouble a,IssmPDouble b);
     29#endif
     30
    2131int         min(int a,int b);
    2232int         max(int a,int b);
     
    2535void        OptimalSearch(IssmDouble *psearch_scalar,IssmDouble*pJ,OptPars*optpars,IssmDouble (*f)(IssmDouble,OptArgs*), OptArgs*optargs);
    2636void        cross(IssmDouble *result,IssmDouble*vector1,IssmDouble*vector2);
    27 void        IsInputConverged(IssmDouble *peps, Input**new_inputs,Input**old_inputs,int num_inputs,int criterion_enum);
    28 void        UnitConversion(IssmDouble *values, int numvalues,int direction_enum, int type_enum);
    29 IssmDouble  UnitConversion(IssmDouble value, int direction_enum, int type_enum);
    30 char       *OptionsFromAnalysis(Parameters *parameters,int analysis_type);
    3137void        XZvectorsToCoordinateSystem(IssmDouble *T,IssmDouble*xzvectors);
    3238int         cubic(IssmDouble a, IssmDouble b, IssmDouble c, IssmDouble d, double X[3], int *num);
    33 #ifdef _HAVE_PETSC_
    34 void   PetscOptionsFromAnalysis(Parameters* parameters,int analysis_type);
    35 #endif
    3639
    3740#endif //ifndef _NUMERICS_H_
  • issm/trunk/src/c/shared/Numerics/recast.h

    r13975 r15396  
    1717#if !defined(_HAVE_ADOLC_) || defined(_WRAPPERS_)
    1818
    19 template<class To, class From>
    20 To reCast(const From& from) {
     19template<class To, class From> To reCast(const From& from) {
    2120    return (To)from;
    2221}
    2322
    2423#else
     24#include "./types.h"
    2525
    26 template<class To, class From>
    27 struct ForPartialSpecialization {
     26template<class To, class From> struct ForPartialSpecialization {
    2827    static  To reCast(const From& from ) { return (To) from;}
    2928};
    3029
    31 template<class To, class From>
    32 To reCast(const From& from) {
     30template<class To, class From> To reCast(const From& from) {
    3331    return ForPartialSpecialization<To,From>::reCast(from);
    3432}
     
    3634 * partial specialization
    3735 */
    38 template<class To>
    39 struct ForPartialSpecialization<To,adouble> {
     36template<class To> struct ForPartialSpecialization<To,adouble> {
    4037    static  To reCast(const adouble& from ) { return (To) (from.getValue());}
    4138};
  • issm/trunk/src/c/shared/Sorting/binary_search.cpp

    r13975 r15396  
    99#endif
    1010
     11#include "../Exceptions/exceptions.h"
    1112#include <stdio.h>
    1213
     
    2122        int *end = NULL;
    2223        int *mid = NULL;
     24
     25        _assert_(sorted_integers);
    2326
    2427        // point to beginning and end of the array
  • issm/trunk/src/c/shared/String/DescriptorIndex.cpp

    r13975 r15396  
    1414#include <string.h>
    1515#include <ctype.h>
    16 #include "../shared.h"
    17 #include "../../EnumDefinitions/EnumDefinitions.h"
     16#include "../Enum/Enum.h"
     17#include "../io/io.h"
     18#include "../Exceptions/exceptions.h"
    1819
    1920int  DescriptorIndex(char* root, int* pindex,char* descriptor){ //We assume root has already been allocated, and we just have to copy into it.
  • issm/trunk/src/c/shared/String/sharedstring.h

    r13975 r15396  
    1212#endif
    1313
     14void ApiPrintf(const char* string);
     15
    1416#endif //ifndef _SHAREDSTRING_H_
  • issm/trunk/src/c/shared/Threads/LaunchThread.cpp

    r14067 r15396  
    2020
    2121#include "./issm_threads.h"
    22 #include "../Alloc/xNewDelete.h"
     22#include "../MemOps/MemOps.h"
    2323#include "../Exceptions/exceptions.h"
    24 #include "../../include/include.h"
    2524
    2625void LaunchThread(void* function(void*), void* gate,int num_threads){
  • issm/trunk/src/c/shared/TriMesh/SplitMeshForRifts.cpp

    r14310 r15396  
    33 */
    44#include "./trimesh.h"
    5 #include "../Alloc/xNewDelete.h"
    6 #include "../Alloc/alloc.h"
     5#include "../MemOps/MemOps.h"
    76
    87int SplitMeshForRifts(int* pnel,int** pindex,int* pnods,double** px,double** py,int* pnsegs,int** psegments,int** psegmentmarkerlist){
  • issm/trunk/src/c/shared/TriMesh/TriMeshUtils.cpp

    r14310 r15396  
    77#include "./trimesh.h"
    88#include "../Exceptions/exceptions.h"
    9 #include "../Alloc/xNewDelete.h"
    10 #include "../Alloc/alloc.h"
    11 #include "../../include/include.h"
     9#include "../MemOps/MemOps.h"
    1210
    1311#define RIFTPENALTYPAIRSWIDTH 8
  • issm/trunk/src/c/shared/shared.h

    r13975 r15396  
    66#define _SHARED_H_
    77
    8 #include "./Alloc/alloc.h"
    9 #include "./Alloc/xNewDelete.h"
     8#include "./MemOps/MemOps.h"
    109#include "./Bamg/shared.h"
    1110#include "./Elements/elements.h"
     11#include "./Enum/Enum.h"
    1212#include "./Exceptions/exceptions.h"
     13#include "./io/io.h"
    1314#include "./Exp/exp.h"
    1415#include "./Matrix/matrix.h"
    15 #include "./MemOps/xMemCpy.h"
    1616#include "./Numerics/numerics.h"
    1717#include "./Sorting/sorting.h"
     
    1919#include "./Threads/issm_threads.h"
    2020#include "./TriMesh/trimesh.h"
     21#include "./LatLong/latlong.h"
    2122
    2223#endif
  • issm/trunk/src/c/toolkits/issm/issmtoolkit.h

    r13395 r15396  
    66#define _ISSM_TOOLKIT_H_
    77
    8 #include "./SeqMat.h"
    9 #include "./SeqVec.h"
     8#ifdef HAVE_CONFIG_H
     9        #include <config.h>
     10#else
     11#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14#include "./IssmAbsMat.h"
     15#include "./IssmAbsVec.h"
     16#include "./IssmDenseMat.h"
     17#include "./IssmMat.h"
     18#include "./IssmSeqVec.h"
     19#include "./IssmVec.h"
     20#include "./IssmSolver.h"
     21
     22#ifdef _HAVE_MPI_
     23#include "./IssmMpiDenseMat.h"
     24#include "./IssmMpiVec.h"
     25#endif
    1026
    1127#endif
  • issm/trunk/src/c/toolkits/mpi/mpiincludes.h

    r13975 r15396  
    66#define _MPI_INCLUDES_H_
    77
     8#ifdef HAVE_CONFIG_H
     9        #include <config.h>
     10#else
     11#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
     12#endif
     13
     14#ifdef _HAVE_MPI_
     15
    816/*MPI includes: */
    917#include <mpi.h>
     
    1119/*Patches: */
    1220#include "./patches/mpipatches.h"
     21#endif
    1322
    1423#endif
  • issm/trunk/src/c/toolkits/mpi/patches/DetermineLocalSize.cpp

    r13975 r15396  
    66#include <math.h>
    77#include "../../../shared/shared.h"
    8 #include "../../../include/types.h"
    98
    109int DetermineLocalSize(int global_size,COMM comm){
     
    2524        MPI_Comm_rank(comm,&my_rank);
    2625        MPI_Comm_size(comm,&num_procs);
     26
     27        /* TODO replace the following with ->
     28
     29        local_size=global_size/num_procs; // integer division
     30        if (global_size%num_procs>my_rank) local_size++; // distribute the remainder
     31        return local_size;
     32
     33        <- to here  */
    2734
    2835        /*We are  not bound by any library, just use what seems most logical*/
  • issm/trunk/src/c/toolkits/mpi/patches/mpipatches.h

    r13975 r15396  
    66#define MPI_PATCHES_H_
    77
    8 #include "../../../include/types.h"
     8#include "../../../shared/Numerics/types.h"
     9#include "../../../shared/io/Comm/Comm.h"
    910
    1011int DetermineLocalSize(int global_size,COMM comm);
     12int* DetermineRowRankFromLocalSize(int global_size,int localsize,COMM comm);
     13void GetOwnershipBoundariesFromRange(int* plower_row,int* pupper_row,int range,COMM comm);
     14int DetermineGlobalSize(int local_size,COMM comm);
    1115
    1216#endif
  • issm/trunk/src/c/toolkits/petsc/objects/PetscMat.cpp

    r13975 r15396  
    9393        MatInfo info;
    9494        MatGetInfo(this->matrix,MAT_GLOBAL_SUM,&info);
    95         _pprintLine_("=========================== Stiffness matrix allocation info ===========================");
    96         _pprintLine_("");
    97         _pprintLine_(" nz_allocated: "<<info.nz_allocated);
    98         _pprintLine_(" nz_used     : "<<info.nz_used);
    99         _pprintLine_(" nz_unneeded : "<<info.nz_unneeded<<" ("<<double(info.nz_unneeded)/double(info.nz_allocated)*100.<<"%)");
    100         _pprintLine_("");
    101         _pprintLine_("========================================================================================");
     95        _printf0_("=========================== Stiffness matrix allocation info ===========================\n");
     96        _printf0_("\n");
     97   _printf0_(" Block size  : "<<info.block_size << "\n");
     98        _printf0_(" nz_allocated: "<<info.nz_allocated << "\n");
     99        _printf0_(" nz_used     : "<<info.nz_used << "\n");
     100        _printf0_(" nz_unneeded : "<<info.nz_unneeded<<" ("<<double(info.nz_unneeded)/double(info.nz_allocated)*100.<<"%)\n");
     101        _printf0_("\n");
     102        _printf0_("========================================================================================\n");
    102103}
    103104/*}}}*/
     
    176177void PetscMat::SetValues(int m,int* idxm,int n,int* idxn,IssmDouble* values,InsMode mode){
    177178
    178         MatSetValues(this->matrix,m,idxm,n,idxn,values,ISSMToPetscInsertMode(mode));
     179        PetscErrorCode ierr;
     180        ierr = MatSetValues(this->matrix,m,idxm,n,idxn,values,ISSMToPetscInsertMode(mode));
     181        if(ierr) _error_("PETSC's MatSetValues reported an error");
    179182
    180183}
  • issm/trunk/src/c/toolkits/petsc/objects/PetscMat.h

    r13975 r15396  
    1717
    1818#include "../petscincludes.h"
    19 #include "../../../include/include.h"
     19#include "../../../shared/Numerics/types.h"
    2020
    2121/*}}}*/
  • issm/trunk/src/c/toolkits/petsc/objects/PetscVec.h

    r13975 r15396  
    1717
    1818#include "../petscincludes.h"
    19 #include "../../../include/include.h"
    2019
    2120/*}}}*/
  • issm/trunk/src/c/toolkits/petsc/objects/petscobjects.h

    r13395 r15396  
    88#include "./PetscMat.h"
    99#include "./PetscVec.h"
     10#include "./PetscSolver.h"
    1011
    1112#endif
  • issm/trunk/src/c/toolkits/petsc/patches/ISSMToPetscMatrixType.cpp

    r13975 r15396  
    1818#include "../../../shared/shared.h"
    1919
    20 const MatType ISSMToPetscMatrixType(MatrixType type){
     20MatType ISSMToPetscMatrixType(MatrixType type){
    2121
    2222        switch(type){
  • issm/trunk/src/c/toolkits/petsc/patches/NewMat.cpp

    r13975 r15396  
    1717
    1818#include "../../../shared/shared.h"
    19 #include "../../../include/include.h"
    2019#include "../../mpi/patches/mpipatches.h"
    2120
     
    9291
    9392        #if _PETSC_MAJOR_ >= 3
    94         #ifdef _HAVE_PETSCDEV_
     93        #if defined(_HAVE_PETSCDEV_) || _PETSC_MINOR_ >=4
    9594        MatType type;
    9695        #else
  • issm/trunk/src/c/toolkits/petsc/patches/PetscOptionsDetermineSolverType.cpp

    r13975 r15396  
    1717
    1818#include "../../../shared/shared.h"
    19 #include "../../../include/include.h"
    2019
    2120void PetscOptionsDetermineSolverType(int* psolver_type){
  • issm/trunk/src/c/toolkits/petsc/patches/PetscOptionsInsertMultipleString.cpp

    r13975 r15396  
    1717
    1818#include "../../../shared/shared.h"
    19 #include "../../../include/include.h"
    2019
    2120void PetscOptionsInsertMultipleString(char* options_string){
  • issm/trunk/src/c/toolkits/petsc/patches/VecMerge.cpp

    r13975 r15396  
    1717
    1818#include "../../../shared/shared.h"
    19 #include "../../../include/include.h"
    2019
    2120void VecMerge(Vec A, Vec B, double* row_partition_vector,int row_partition_size){
  • issm/trunk/src/c/toolkits/petsc/patches/petscpatches.h

    r13975 r15396  
    1313#include "./SolverEnum.h"
    1414#include "../../toolkitsenums.h"
    15 #include "../../../include/types.h"
     15#include "../../../shared/io/Comm/Comm.h"
    1616
    1717class Parameters;
     
    3838InsertMode ISSMToPetscInsertMode(InsMode mode);
    3939NormType ISSMToPetscNormMode(NormMode mode);
    40 const MatType ISSMToPetscMatrixType(MatrixType type);
     40MatType ISSMToPetscMatrixType(MatrixType type);
    4141
    4242void PetscMatrixToDoubleMatrix(double** pmatrix, int* prows, int* pcols,Mat matrix);
  • issm/trunk/src/c/toolkits/plapack/patches/PlapackInvertMatrix.cpp

    r13975 r15396  
    22 * \brief invert petsc matrix using Plapack
    33 */
    4 #include "../../../include/include.h"
    54
    65/* petsc: */
  • issm/trunk/src/c/toolkits/toolkits.h

    r13975 r15396  
    2424#endif
    2525
     26#ifdef _HAVE_GSL_
     27#include "./gsl/gslincludes.h"
     28#endif
     29
     30#ifdef _HAVE_ADOLC_
     31#include "./adolc/adolcincludes.h"
     32#endif
     33
     34#ifdef _HAVE_TRIANGLE_
    2635#include "./triangle/triangleincludes.h"
     36#endif
     37
     38#include "./objects/toolkitobjects.h"
    2739#include "./toolkitsenums.h"
    2840#include "./issm/issmtoolkit.h"
     41#include "./ToolkitOptions.h"
    2942#endif
  • issm/trunk/src/c/toolkits/toolkitsenums.h

    r11995 r15396  
    1313
    1414typedef enum {INS_VAL, ADD_VAL} InsMode;
    15 typedef enum {NORM_INF,NORM_TWO} NormMode;
     15typedef enum {NORM_INF,NORM_TWO,NORM_FROB} NormMode;
    1616typedef enum {DENSE_SEQUENTIAL,SPARSE_SEQUENTIAL} MatrixType;
    1717
  • issm/trunk/src/dox/issm.dox

    r14067 r15396  
    1 
    21/**
    32  \mainpage ISSM C/C++ Source Code Browser
     
    1110 
    1211  These pages were automatically generated by <a href="http://www.doxygen.org/">doxygen</a>,
    13   from comments in the ISSM source code.
     12  from the ISSM source code.
    1413
    1514  Navigate the tabs above and browse through ISSM's
     
    2524  <B> Helpful Links </B>
    2625
    27   - Fill out an ISSM download request <a href="http://issm.jpl.nasa.gov/installation/download/">here</a>.
     26  - Download ISSM <a href="http://issm.jpl.nasa.gov/download/">here</a>.
    2827
    29   - ISSM Installation instructions are found <a href="http://issm.jpl.nasa.gov/installation/installation/">here</a>.
     28  - ISSM Installation instructions for Linux/Mac OSX are found <a href="http://issm.jpl.nasa.gov/download/unix/">here</a>.
     29 
     30  - ISSM Installation instructions for Windows are found <a href="http://issm.jpl.nasa.gov/download/windows/">here</a>.
    3031
    31   - For help using ISSM, see our online <a href="http://issm.jpl.nasa.gov/doc_html/usersmanual.html">User's Manual</a>.
     32  - For help using ISSM, see our online <a href="http://issm.jpl.nasa.gov/documentation/">Documentation</a>.
    3233  Other documentation is also available including simple tutorials
    3334  and FAQ.
     
    4647</th>
    4748<tr>
    48 <th  bgcolor=#FFFFFF style="text-align:left;"> C++ </th><td  bgcolor=#FFFFFF style="text-align:right;">469</td><td  bgcolor=#FFFFFF style="text-align:right;">14087</td><td  bgcolor=#FFFFFF style="text-align:right;">16669</td><td  bgcolor=#FFFFFF style="text-align:right;">56706</td><td  bgcolor=#FFFFFF style="text-align:right;">87462</td>
     49<th  bgcolor=#FFFFFF style="text-align:left;"> C++ </th><td  bgcolor=#FFFFFF style="text-align:right;">469</td><td  bgcolor=#FFFFFF style="text-align:right;">14505</td><td  bgcolor=#FFFFFF style="text-align:right;">16993</td><td  bgcolor=#FFFFFF style="text-align:right;">58467</td><td  bgcolor=#FFFFFF style="text-align:right;">89965</td>
    4950</tr>
    5051<tr>
    51 <th  bgcolor=#C6E2FF style="text-align:left;"> MATLAB </th><td  bgcolor=#C6E2FF style="text-align:right;">945</td><td  bgcolor=#C6E2FF style="text-align:right;">6583</td><td  bgcolor=#C6E2FF style="text-align:right;">13346</td><td  bgcolor=#C6E2FF style="text-align:right;">30647</td><td  bgcolor=#C6E2FF style="text-align:right;">50576</td>
     52<th  bgcolor=#C6E2FF style="text-align:left;"> MATLAB </th><td  bgcolor=#C6E2FF style="text-align:right;">959</td><td  bgcolor=#C6E2FF style="text-align:right;">6773</td><td  bgcolor=#C6E2FF style="text-align:right;">13598</td><td  bgcolor=#C6E2FF style="text-align:right;">31759</td><td  bgcolor=#C6E2FF style="text-align:right;">52130</td>
    5253</tr>
    5354<tr>
    54 <th  bgcolor=#FFFFFF style="text-align:left;"> C/C++  Header </th><td  bgcolor=#FFFFFF style="text-align:right;">362</td><td  bgcolor=#FFFFFF style="text-align:right;">2772</td><td  bgcolor=#FFFFFF style="text-align:right;">2894</td><td  bgcolor=#FFFFFF style="text-align:right;">11914</td><td  bgcolor=#FFFFFF style="text-align:right;">17580</td>
     55<th  bgcolor=#FFFFFF style="text-align:left;"> C/C++  Header </th><td  bgcolor=#FFFFFF style="text-align:right;">365</td><td  bgcolor=#FFFFFF style="text-align:right;">2786</td><td  bgcolor=#FFFFFF style="text-align:right;">2931</td><td  bgcolor=#FFFFFF style="text-align:right;">12036</td><td  bgcolor=#FFFFFF style="text-align:right;">17753</td>
    5556</tr>
    5657<tr>
    57 <th  bgcolor=#C6E2FF style="text-align:left;"> Python </th><td  bgcolor=#C6E2FF style="text-align:right;">109</td><td  bgcolor=#C6E2FF style="text-align:right;">3361</td><td  bgcolor=#C6E2FF style="text-align:right;">4763</td><td  bgcolor=#C6E2FF style="text-align:right;">7050</td><td  bgcolor=#C6E2FF style="text-align:right;">15174</td>
     58<th  bgcolor=#C6E2FF style="text-align:left;"> Python </th><td  bgcolor=#C6E2FF style="text-align:right;">113</td><td  bgcolor=#C6E2FF style="text-align:right;">3445</td><td  bgcolor=#C6E2FF style="text-align:right;">4852</td><td  bgcolor=#C6E2FF style="text-align:right;">7316</td><td  bgcolor=#C6E2FF style="text-align:right;">15613</td>
    5859</tr>
    5960<tr>
    60 <th  bgcolor=#FFFFFF style="text-align:left;"> m4 </th><td  bgcolor=#FFFFFF style="text-align:right;">1</td><td  bgcolor=#FFFFFF style="text-align:right;">187</td><td  bgcolor=#FFFFFF style="text-align:right;">5</td><td  bgcolor=#FFFFFF style="text-align:right;">1247</td><td  bgcolor=#FFFFFF style="text-align:right;">1439</td>
     61<th  bgcolor=#FFFFFF style="text-align:left;"> Java </th><td  bgcolor=#FFFFFF style="text-align:right;">23</td><td  bgcolor=#FFFFFF style="text-align:right;">460</td><td  bgcolor=#FFFFFF style="text-align:right;">416</td><td  bgcolor=#FFFFFF style="text-align:right;">4061</td><td  bgcolor=#FFFFFF style="text-align:right;">4937</td>
    6162</tr>
    6263<tr>
    63 <th  bgcolor=#C6E2FF style="text-align:left;"> Objective  C </th><td  bgcolor=#C6E2FF style="text-align:right;">9</td><td  bgcolor=#C6E2FF style="text-align:right;">96</td><td  bgcolor=#C6E2FF style="text-align:right;">0</td><td  bgcolor=#C6E2FF style="text-align:right;">370</td><td  bgcolor=#C6E2FF style="text-align:right;">466</td>
     64<th  bgcolor=#C6E2FF style="text-align:left;"> m4 </th><td  bgcolor=#C6E2FF style="text-align:right;">2</td><td  bgcolor=#C6E2FF style="text-align:right;">197</td><td  bgcolor=#C6E2FF style="text-align:right;">6</td><td  bgcolor=#C6E2FF style="text-align:right;">1401</td><td  bgcolor=#C6E2FF style="text-align:right;">1604</td>
    6465</tr>
    6566<tr>
    66 <th  bgcolor=#FFFFFF style="text-align:left;"> Bourne  Shell </th><td  bgcolor=#FFFFFF style="text-align:right;">5</td><td  bgcolor=#FFFFFF style="text-align:right;">57</td><td  bgcolor=#FFFFFF style="text-align:right;">79</td><td  bgcolor=#FFFFFF style="text-align:right;">256</td><td  bgcolor=#FFFFFF style="text-align:right;">392</td>
     67<th  bgcolor=#FFFFFF style="text-align:left;"> XML </th><td  bgcolor=#FFFFFF style="text-align:right;">38</td><td  bgcolor=#FFFFFF style="text-align:right;">89</td><td  bgcolor=#FFFFFF style="text-align:right;">10</td><td  bgcolor=#FFFFFF style="text-align:right;">783</td><td  bgcolor=#FFFFFF style="text-align:right;">882</td>
    6768</tr>
    6869<tr>
    69 <th  bgcolor=#C6E2FF style="text-align:left;"> Perl </th><td  bgcolor=#C6E2FF style="text-align:right;">3</td><td  bgcolor=#C6E2FF style="text-align:right;">21</td><td  bgcolor=#C6E2FF style="text-align:right;">23</td><td  bgcolor=#C6E2FF style="text-align:right;">240</td><td  bgcolor=#C6E2FF style="text-align:right;">284</td>
     70<th  bgcolor=#C6E2FF style="text-align:left;"> CMake </th><td  bgcolor=#C6E2FF style="text-align:right;">163</td><td  bgcolor=#C6E2FF style="text-align:right;">0</td><td  bgcolor=#C6E2FF style="text-align:right;">871</td><td  bgcolor=#C6E2FF style="text-align:right;">631</td><td  bgcolor=#C6E2FF style="text-align:right;">1502</td>
    7071</tr>
    7172<tr>
    72 <th  bgcolor=#FFFFFF style="text-align:left;"> IDL </th><td  bgcolor=#FFFFFF style="text-align:right;">1</td><td  bgcolor=#FFFFFF style="text-align:right;">18</td><td  bgcolor=#FFFFFF style="text-align:right;">4</td><td  bgcolor=#FFFFFF style="text-align:right;">124</td><td  bgcolor=#FFFFFF style="text-align:right;">146</td>
     73<th  bgcolor=#FFFFFF style="text-align:left;"> Objective  C </th><td  bgcolor=#FFFFFF style="text-align:right;">9</td><td  bgcolor=#FFFFFF style="text-align:right;">96</td><td  bgcolor=#FFFFFF style="text-align:right;">0</td><td  bgcolor=#FFFFFF style="text-align:right;">370</td><td  bgcolor=#FFFFFF style="text-align:right;">466</td>
    7374</tr>
    7475<tr>
    75 <th  bgcolor=#C6E2FF style="text-align:left;"> C </th><td  bgcolor=#C6E2FF style="text-align:right;">1</td><td  bgcolor=#C6E2FF style="text-align:right;">2</td><td  bgcolor=#C6E2FF style="text-align:right;">3</td><td  bgcolor=#C6E2FF style="text-align:right;">6</td><td  bgcolor=#C6E2FF style="text-align:right;">11</td>
     76<th  bgcolor=#C6E2FF style="text-align:left;"> Bourne  Shell </th><td  bgcolor=#C6E2FF style="text-align:right;">3</td><td  bgcolor=#C6E2FF style="text-align:right;">56</td><td  bgcolor=#C6E2FF style="text-align:right;">73</td><td  bgcolor=#C6E2FF style="text-align:right;">248</td><td  bgcolor=#C6E2FF style="text-align:right;">377</td>
    7677</tr>
    7778<tr>
    78 <th  bgcolor=#FFFFFF style="text-align:left;"> SUM: </th><td  bgcolor=#FFFFFF style="text-align:right;">1905</td><td  bgcolor=#FFFFFF style="text-align:right;">27184</td><td  bgcolor=#FFFFFF style="text-align:right;">37786</td><td  bgcolor=#FFFFFF style="text-align:right;">108560</td><td  bgcolor=#FFFFFF style="text-align:right;">173530</td>
     79<th  bgcolor=#FFFFFF style="text-align:left;"> Perl </th><td  bgcolor=#FFFFFF style="text-align:right;">1</td><td  bgcolor=#FFFFFF style="text-align:right;">6</td><td  bgcolor=#FFFFFF style="text-align:right;">9</td><td  bgcolor=#FFFFFF style="text-align:right;">196</td><td  bgcolor=#FFFFFF style="text-align:right;">211</td>
     80</tr>
     81<tr>
     82<th  bgcolor=#C6E2FF style="text-align:left;"> C </th><td  bgcolor=#C6E2FF style="text-align:right;">2</td><td  bgcolor=#C6E2FF style="text-align:right;">10</td><td  bgcolor=#C6E2FF style="text-align:right;">3</td><td  bgcolor=#C6E2FF style="text-align:right;">81</td><td  bgcolor=#C6E2FF style="text-align:right;">94</td>
     83</tr>
     84<tr>
     85<th  bgcolor=#FFFFFF style="text-align:left;"> SUM: </th><td  bgcolor=#FFFFFF style="text-align:right;">2147</td><td  bgcolor=#FFFFFF style="text-align:right;">28423</td><td  bgcolor=#FFFFFF style="text-align:right;">39762</td><td  bgcolor=#FFFFFF style="text-align:right;">117349</td><td  bgcolor=#FFFFFF style="text-align:right;">185534</td>
    7986</tr>
    8087</table>
    8188
    82         <I> Copyright (C) 2012 </I>
     89        <I> Copyright (C) 2013 </I>
    8390  */
  • issm/trunk/src/m/Makefile.am

    r13975 r15396  
    2222                                 ./geometry/*.m \
    2323                                 ./interp/*.m \
    24                                  ./latlong/*.m \
     24                                 ./coordsystems/*.m \
    2525                                 ./mech/*.m \
    2626                                 ./mesh/*.m \
  • issm/trunk/src/m/boundaryconditions/SetIceSheetBC.m

    r13975 r15396  
    1616md.diagnostic.spcvz(pos)=0;
    1717md.diagnostic.referential=NaN*ones(md.mesh.numberofvertices,6);
     18md.diagnostic.loadingforce=0*ones(md.mesh.numberofvertices,3);
    1819
    1920%Dirichlet Values
  • issm/trunk/src/m/boundaryconditions/SetIceSheetBC.py

    r13975 r15396  
    2222        md.diagnostic.spcvz[pos]=0
    2323        md.diagnostic.referential=float('nan')*numpy.ones((md.mesh.numberofvertices,6))
     24        md.diagnostic.loadingforce=0*numpy.ones((md.mesh.numberofvertices,3))
    2425
    2526        #Dirichlet Values
  • issm/trunk/src/m/boundaryconditions/SetIceShelfBC.m

    r13395 r15396  
    3535md.diagnostic.spcvz(pos)=0;
    3636md.diagnostic.referential=NaN*ones(md.mesh.numberofvertices,6);
     37md.diagnostic.loadingforce=0*ones(md.mesh.numberofvertices,3);
    3738
    3839%Dirichlet Values
  • issm/trunk/src/m/boundaryconditions/SetIceShelfBC.py

    r14310 r15396  
    3939        md.diagnostic.spcvz[pos]=0
    4040        md.diagnostic.referential=float('nan')*numpy.ones((md.mesh.numberofvertices,6))
     41        md.diagnostic.loadingforce=0*numpy.ones((md.mesh.numberofvertices,3))
    4142
    4243        #Dirichlet Values
  • issm/trunk/src/m/boundaryconditions/SetMarineIceSheetBC.m

    r13975 r15396  
    4242md.diagnostic.spcvz(pos)=0;
    4343md.diagnostic.referential=NaN*ones(md.mesh.numberofvertices,6);
     44md.diagnostic.loadingforce=0*ones(md.mesh.numberofvertices,3);
    4445
    4546%Dirichlet Values
  • issm/trunk/src/m/boundaryconditions/SetMarineIceSheetBC.py

    r14310 r15396  
    4747        md.diagnostic.spcvz[pos]=0
    4848        md.diagnostic.referential=float('nan')*numpy.ones((md.mesh.numberofvertices,6))
     49        md.diagnostic.loadingforce=0*numpy.ones((md.mesh.numberofvertices,3))
    4950
    5051        #Dirichlet Values
  • issm/trunk/src/m/classes/autodiff.m

    r14310 r15396  
    4949                        fielddisplay(obj,'driver','ADOLC driver (''fos_forward'' or ''fov_forward'')');
    5050                end % }}}
    51                 function marshall(obj,fid) % {{{
     51                function marshall(obj,md,fid) % {{{
    5252
    5353                        WriteData(fid,'object',obj,'fieldname','isautodiff','format','Boolean');
  • issm/trunk/src/m/classes/autodiff.py

    r13975 r15396  
    1 #module imports
    21import numpy
    32from dependent import *
     
    1615        """
    1716
    18         #properties
    1917        def __init__(self,*args):    # {{{
    2018                self.isautodiff   = False
     
    2826                        raise RuntimeError("constructor not supported")
    2927        # }}}
    30 
    3128        def __repr__(self):    # {{{
    3229                s ="      automatic differentiation parameters:\n"
     
    3936                return s
    4037        # }}}
    41 
    4238        def setdefaultparameters(self):    # {{{
    4339                return self
    4440        # }}}
    45 
    4641        def checkconsistency(self,md,solution,analyses):    # {{{
    4742
     
    6156                return md
    6257        # }}}
    63 
    64         def marshall(self,fid):    # {{{
     58        def marshall(self,md,fid):    # {{{
    6559                WriteData(fid,'object',self,'fieldname','isautodiff','format','Boolean')
    6660                WriteData(fid,'object',self,'fieldname','driver','format','String')
     
    194188                return
    195189        # }}}
    196 
  • issm/trunk/src/m/classes/balancethickness.m

    r13395 r15396  
    2929                        if solution~=BalancethicknessSolutionEnum(), return; end
    3030
    31                         md = checkfield(md,'balancethickness.spcthickness','forcing',1);
     31                        md = checkfield(md,'balancethickness.spcthickness');
    3232                        md = checkfield(md,'balancethickness.thickening_rate','size',[md.mesh.numberofvertices 1],'NaN',1);
    3333                        md = checkfield(md,'balancethickness.stabilization','size',[1 1],'values',[0 1 2 3]);
     
    3636                        disp(sprintf('   balance thickness solution parameters:'));
    3737
    38                         fielddisplay(obj,'spcthickness','thickness constraints (NaN means no constraint)');
    39                         fielddisplay(obj,'thickening_rate','ice thickening rate used in the mass conservation (dh/dt)');
     38                        fielddisplay(obj,'spcthickness','thickness constraints (NaN means no constraint) [m]');
     39                        fielddisplay(obj,'thickening_rate','ice thickening rate used in the mass conservation (dh/dt) [m/yr]');
    4040                        fielddisplay(obj,'stabilization','0: None, 1: SU, 2: MacAyeal''s artificial diffusivity, 3:DG');
    4141
    4242                end % }}}
    43                 function marshall(obj,fid) % {{{
     43                function marshall(obj,md,fid) % {{{
     44
     45                        yts=365.0*24.0*3600.0;
     46
    4447                        WriteData(fid,'object',obj,'fieldname','spcthickness','format','DoubleMat','mattype',1);
    45                         WriteData(fid,'object',obj,'fieldname','thickening_rate','format','DoubleMat','mattype',1);
     48                        WriteData(fid,'object',obj,'fieldname','thickening_rate','format','DoubleMat','mattype',1,'scale',1./yts);
    4649                        WriteData(fid,'object',obj,'fieldname','stabilization','format','Integer');
    4750                end % }}}
  • issm/trunk/src/m/classes/balancethickness.py

    r14310 r15396  
    1 #module imports
    21from fielddisplay import fielddisplay
    32from EnumDefinitions import *
     
    1312        """
    1413
    15         #properties
    16         def __init__(self):
    17                 # {{{ Properties
     14        def __init__(self): # {{{
    1815                self.spcthickness      = float('NaN')
    1916                self.thickening_rate   = float('NaN')
     
    2421
    2522                #}}}
    26         def __repr__(self):
    27                 # {{{ Display
     23        def __repr__(self): # {{{
    2824               
    2925                string='   balance thickness solution parameters:'
    3026               
    31                 string="%s\n%s"%(string,fielddisplay(self,'spcthickness','thickness constraints (NaN means no constraint)'))
    32                 string="%s\n%s"%(string,fielddisplay(self,'thickening_rate','ice thickening rate used in the mass conservation (dh/dt)'))
     27                string="%s\n%s"%(string,fielddisplay(self,'spcthickness','thickness constraints (NaN means no constraint) [m]'))
     28                string="%s\n%s"%(string,fielddisplay(self,'thickening_rate','ice thickening rate used in the mass conservation (dh/dt) [m/yr]'))
    3329                string="%s\n%s"%(string,fielddisplay(self,'stabilization',"0: None, 1: SU, 2: MacAyeal's artificial diffusivity, 3:DG"))
    3430                return string
    3531                #}}}
    36         def setdefaultparameters(self):
    37                 # {{{setdefaultparameters
     32        def setdefaultparameters(self): # {{{
    3833               
    3934                #Type of stabilization used
     
    4237                return self
    4338        #}}}
    44 
    4539        def checkconsistency(self,md,solution,analyses):    # {{{
    4640                #Early return
     
    4842                        return md
    4943
    50                 md = checkfield(md,'balancethickness.spcthickness','forcing',1)
     44                md = checkfield(md,'balancethickness.spcthickness')
    5145                md = checkfield(md,'balancethickness.thickening_rate','size',[md.mesh.numberofvertices],'NaN',1)
    5246                md = checkfield(md,'balancethickness.stabilization','size',[1],'values',[0,1,2,3])
     
    5448                return md
    5549        # }}}
     50        def marshall(self,md,fid):    # {{{
    5651
    57         def marshall(self,fid):    # {{{
     52                yts=365.0*24.0*3600.0
     53
    5854                WriteData(fid,'object',self,'fieldname','spcthickness','format','DoubleMat','mattype',1)
    59                 WriteData(fid,'object',self,'fieldname','thickening_rate','format','DoubleMat','mattype',1)
     55                WriteData(fid,'object',self,'fieldname','thickening_rate','format','DoubleMat','mattype',1,'scale',1./yts)
    6056                WriteData(fid,'object',self,'fieldname','stabilization','format','Integer')
    6157        # }}}
    62 
  • issm/trunk/src/m/classes/bamggeom.py

    r13975 r15396  
    3232                        raise TypeError("bamggeom constructor error message: unknown type of constructor call")
    3333        # }}}
    34 
    3534        def __repr__(self):    # {{{
    3635                s ="class '%s' object '%s' = \n" % (type(self),'self')
     
    4544                return s
    4645        # }}}
    47 
  • issm/trunk/src/m/classes/bamgmesh.py

    r13975 r15396  
    4040                        raise TypeError("bamgmesh constructor error message: unknown type of constructor call")
    4141        # }}}
    42 
    4342        def __repr__(self):    # {{{
    4443                s ="class '%s' object '%s' = \n" % (type(self),'self')
     
    6160                return s
    6261        # }}}
    63 
  • issm/trunk/src/m/classes/basalforcings.m

    r13395 r15396  
    3838                        disp(sprintf('   basal forcings parameters:'));
    3939
    40                         fielddisplay(obj,'melting_rate','basal melting rate (positive if melting)');
    41                         fielddisplay(obj,'melting_rate_correction','additional melting applied when the grounding line retreats');
     40                        fielddisplay(obj,'melting_rate','basal melting rate (positive if melting) [m/yr]');
     41                        fielddisplay(obj,'melting_rate_correction','additional melting applied to compensate for dh/dt [m/yr]');
    4242                        fielddisplay(obj,'geothermalflux','geothermal heat flux [W/m^2]');
    4343
    4444                end % }}}
    45                 function marshall(obj,fid) % {{{
    46                         WriteData(fid,'object',obj,'fieldname','melting_rate','format','DoubleMat','mattype',1);
    47                         WriteData(fid,'object',obj,'fieldname','melting_rate_correction','format','DoubleMat','mattype',1);
    48                         WriteData(fid,'object',obj,'fieldname','geothermalflux','format','DoubleMat','mattype',1);
     45                function marshall(obj,md,fid) % {{{
     46
     47                        yts=365.0*24.0*3600.0;
     48
     49                        WriteData(fid,'object',obj,'fieldname','melting_rate','format','DoubleMat','mattype',1,'scale',1./yts,'forcinglength',md.mesh.numberofvertices+1)
     50                        WriteData(fid,'object',obj,'fieldname','melting_rate_correction','format','DoubleMat','mattype',1,'scale',1./yts);
     51                        WriteData(fid,'object',obj,'fieldname','geothermalflux','format','DoubleMat','mattype',1,'forcinglength',md.mesh.numberofvertices+1);
    4952                end % }}}
    5053        end
  • issm/trunk/src/m/classes/basalforcings.py

    r14310 r15396  
    1 #module imports
    21from fielddisplay import fielddisplay
    32from EnumDefinitions import *
    43from checkfield import *
    54from WriteData import *
     5import numpy
    66
    77class basalforcings(object):
     
    1313        """
    1414
    15         #properties
    16         def __init__(self):
    17                 # {{{ Properties
     15        def __init__(self): # {{{
    1816                self.melting_rate             = float('NaN')
    1917                self.melting_rate_correction  = float('NaN')
     
    2422
    2523                #}}}
    26         def __repr__(self):
    27                 # {{{ Display
     24        def __repr__(self): # {{{
    2825                string="   basal forcings parameters:"
    2926
    30                 string="%s\n%s"%(string,fielddisplay(self,"melting_rate","basal melting rate (positive if melting)"))
    31                 string="%s\n%s"%(string,fielddisplay(self,"melting_rate_correction","additional melting applied when the grounding line retreats"))
     27                string="%s\n%s"%(string,fielddisplay(self,"melting_rate","basal melting rate (positive if melting) [m/yr]"))
     28                string="%s\n%s"%(string,fielddisplay(self,"melting_rate_correction","additional melting applied to compensate for dh/dt [m/yr]"))
    3229                string="%s\n%s"%(string,fielddisplay(self,"geothermalflux","geothermal heat flux [W/m^2]"))
    3330                return string
    3431                #}}}
    35         def setdefaultparameters(self):
    36                 # {{{setdefaultparameters
     32        def setdefaultparameters(self): # {{{
    3733                return self
    3834        #}}}
    39 
    4035        def checkconsistency(self,md,solution,analyses):    # {{{
    4136
     
    5247                return md
    5348        # }}}
     49        def marshall(self,md,fid):    # {{{
    5450
    55         def marshall(self,fid):    # {{{
    56                 WriteData(fid,'object',self,'fieldname','melting_rate','format','DoubleMat','mattype',1)
    57                 WriteData(fid,'object',self,'fieldname','melting_rate_correction','format','DoubleMat','mattype',1)
    58                 WriteData(fid,'object',self,'fieldname','geothermalflux','format','DoubleMat','mattype',1)
     51                yts=365.0*24.0*3600.0
     52
     53                WriteData(fid,'object',self,'fieldname','melting_rate','format','DoubleMat','mattype',1,'scale',1./yts,'forcinglength',md.mesh.numberofvertices+1)
     54                WriteData(fid,'object',self,'fieldname','melting_rate_correction','format','DoubleMat','mattype',1,'scale',1./yts)
     55                WriteData(fid,'object',self,'fieldname','geothermalflux','format','DoubleMat','mattype',1,'forcinglength',md.mesh.numberofvertices+1)
    5956        # }}}
    60 
  • issm/trunk/src/m/classes/clusters/acenet.m

    r13395 r15396  
    1818                 time=10;
    1919                 % codepath='/usr/local/issm-r11321/bin'; % this one is for issm on acenet global
    20                  codepath='PATH'; % this one is for issm on my acenet directory
    21                  executionpath='/home/klemorza/issm/execution';
     20                 codepath='/home/klemorza/issm/trunk-jpl/bin'; % this one is for issm on my acenet directory
     21                 executionpath='/home/klemorza/issm/trunk-jpl/execution';
    2222                 %}}}
    2323         end
     
    6666                         fprintf(fid,'#$ -cwd\n');
    6767          fprintf(fid,'#$ -N issm\n');
    68           fprintf(fid,'#$ -l h_rt=10:0:0\n');
     68          fprintf(fid,'#$ -l h_rt=96:0:0\n');
    6969          fprintf(fid,'#$ -pe ompi* %i\n',cluster.np);
    7070          fprintf(fid,'#$ -j y\n');
  • issm/trunk/src/m/classes/clusters/cloud.m

    r13975 r15396  
    5454                        fprintf(fid,'#!/bin/bash\n');
    5555                        if cluster.interactive
     56                                fprintf(fid,'source %s%s\n',cluster.codepath,'/../etc/environment.sh');
    5657                                fprintf(fid,'mpiexec -np %i -f /home/mpich2.hosts %s/issm.exe %s %s %s ',cluster.np,cluster.codepath,EnumToString(solution),[cluster.executionpath '/' dirname],modelname);
    5758                        else
     59                                fprintf(fid,'source %s%s\n',cluster.codepath,'/../etc/environment.sh');
    5860                                fprintf(fid,'mpiexec -np %i -f /home/mpich2.hosts %s/issm.exe %s %s %s 2> %s.errlog >%s.outlog ',cluster.np,cluster.codepath,EnumToString(solution),[cluster.executionpath '/' dirname],modelname,modelname,modelname);
    5961                        end
     
    6769                                compressstring = [compressstring ' ' filelist{i}];
    6870                        end
    69                         if cluster.interactive,
    70                                 compressstring = [compressstring ' ' modelname '.errlog ' modelname '.outlog '];
    71                         end
    7271                        system(compressstring);
    7372
     73                        if isempty(cluster.login),
     74                                error('cloud BuildQueueScript: login should be supplied!');
     75                        end
    7476                        disp('uploading input file and queueing script');
    7577                        issmstscpout(cluster.name,cluster.executionpath,cluster.login,{[dirname '.tar.gz']});
    7678
    77                         disp('launching solution sequence on remote cluster');
    78                         launchcommand=['cd ' cluster.executionpath ' && rm -rf ./' dirname ' && mkdir ' dirname ...
    79                                 ' && cd ' dirname ' && mv ../' dirname '.tar.gz ./ && tar -zxf ' dirname '.tar.gz  && source  ' modelname '.queue '];
     79                        if cluster.interactive,
     80                                disp('sending files to remote cluster. once done, please log into cluster and launch job');
     81                                launchcommand=['cd ' cluster.executionpath ' && rm -rf ./' dirname ' && mkdir ' dirname ...
     82                                        ' && cd ' dirname ' && mv ../' dirname '.tar.gz ./ && tar -zxf ' dirname '.tar.gz '];
     83                        else
     84                                disp('launching solution sequence on remote cluster');
     85                                launchcommand=['cd ' cluster.executionpath ' && rm -rf ./' dirname ' && mkdir ' dirname ...
     86                                        ' && cd ' dirname ' && mv ../' dirname '.tar.gz ./ && tar -zxf ' dirname '.tar.gz  && source  ' modelname '.queue '];
     87                        end
    8088                        issmstssh(cluster.name,cluster.login,launchcommand);
    8189                end %}}}
  • issm/trunk/src/m/classes/clusters/discover.m

    r13975 r15396  
    6565
    6666                         if ( strcmpi(cluster.queue,'general') & cluster.cpuspernode*cluster.numnodes < 17)
    67                                  md = checkmessage(md,'cpus must be great than 17 for general queue');
     67                                 md = checkmessage(md,'cpus must be greater than 17 for general queue');
    6868                         end
    6969                         %now, check cluster.cpuspernode according to processor type
  • issm/trunk/src/m/classes/clusters/generic.m

    r13975 r15396  
    114114                                fid=fopen([modelname '.bat'],'w');
    115115                                fprintf(fid,'@echo off\n');
    116                                 if cluster.interactive
    117                                         fprintf(fid,'"%s/issm.exe" %s "%s" %s ',cluster.codepath,EnumToString(solution),[cluster.executionpath '/' dirname],modelname);
    118                                 else
    119                                         fprintf(fid,'"%s/issm.exe" %s "%s" %s 2> %s.errlog >%s.outlog',...
    120                                                 cluster.codepath,EnumToString(solution),[cluster.executionpath '/' dirname],modelname,modelname,modelname);
     116
     117                                if cluster.np>1,
     118                                        fprintf(fid,'"C:\\Program Files\\MPICH2\\bin\\mpiexec.exe" -n %i "%s/issm.exe" %s ./ %s ',cluster.np,cluster.codepath,EnumToString(solution),modelname);
     119                                else
     120                                        fprintf(fid,'"%s/issm.exe" %s ./ %s ',cluster.codepath,EnumToString(solution),modelname);
    121121                                end
    122122                                fclose(fid);
     
    178178                function LaunchQueueJob(cluster,modelname,dirname,filelist)% {{{
    179179
    180                         %compress the files into one zip.
    181                         compressstring=['tar -zcf ' dirname '.tar.gz '];
    182                         for i=1:numel(filelist),
    183                                 compressstring = [compressstring ' ' filelist{i}];
    184                         end
    185                         if cluster.interactive,
    186                                 compressstring = [compressstring ' ' modelname '.errlog ' modelname '.outlog '];
    187                         end
    188                         system(compressstring);
    189 
    190                         disp('uploading input file and queueing script');
    191                         issmscpout(cluster.name,cluster.executionpath,cluster.login,cluster.port,{[dirname '.tar.gz']});
    192 
    193                         disp('launching solution sequence on remote cluster');
    194                         launchcommand=['source ' cluster.etcpath '/environment.sh && cd ' cluster.executionpath ' && rm -rf ./' dirname ' && mkdir ' dirname ...
    195                                 ' && cd ' dirname ' && mv ../' dirname '.tar.gz ./ && tar -zxf ' dirname '.tar.gz  && source  ' modelname '.queue '];
    196                         issmssh(cluster.name,cluster.login,cluster.port,launchcommand);
     180                        if ~ispc,
     181                                %compress the files into one zip.
     182                                compressstring=['tar -zcf ' dirname '.tar.gz '];
     183                                for i=1:numel(filelist),
     184                                        compressstring = [compressstring ' ' filelist{i}];
     185                                end
     186                                if cluster.interactive,
     187                                        compressstring = [compressstring ' ' modelname '.errlog ' modelname '.outlog '];
     188                                end
     189                                system(compressstring);
     190
     191                                disp('uploading input file and queueing script');
     192                                issmscpout(cluster.name,cluster.executionpath,cluster.login,cluster.port,{[dirname '.tar.gz']});
     193
     194                                disp('launching solution sequence on remote cluster');
     195                                launchcommand=['source ' cluster.etcpath '/environment.sh && cd ' cluster.executionpath ' && rm -rf ./' dirname ' && mkdir ' dirname ...
     196                                        ' && cd ' dirname ' && mv ../' dirname '.tar.gz ./ && tar -zxf ' dirname '.tar.gz  && source  ' modelname '.queue '];
     197                                issmssh(cluster.name,cluster.login,cluster.port,launchcommand);
     198                        else
     199                                system([modelname '.bat']);
     200                        end
    197201                end %}}}
    198202                function Download(cluster,dirname,filelist)% {{{
  • issm/trunk/src/m/classes/clusters/generic.py

    r13395 r15396  
    181181
    182182                print 'launching solution sequence on remote cluster'
    183                 launchcommand='cd %s && rm -rf ./%s && mkdir %s && cd %s && mv ../%s.tar.gz ./ && tar -zxf %s.tar.gz  && source  %s.queue ' % \
    184                         (self.executionpath,dirname,dirname,dirname,dirname,dirname,modelname)
     183                launchcommand='cd %s && rm -rf ./%s && mkdir %s && cd %s && mv ../%s.tar.gz ./ && tar -zxf %s.tar.gz  && chmod 777 %s.queue && ./%s.queue' % \
     184                        (self.executionpath,dirname,dirname,dirname,dirname,dirname,modelname,modelname)
    185185                issmssh(self.name,self.login,self.port,launchcommand)
    186186        # }}}
  • issm/trunk/src/m/classes/clusters/greenplanet.m

    r14067 r15396  
    1818                 executionpath='';
    1919                 interactive=0;
     20                 time=24*60;
    2021         end
    2122         properties (SetAccess=private)
     
    6162                         if isempty(cluster.executionpath), md = checkmessage(md,'executionpath empty'); end
    6263
     64                 end
     65                 %}}}
     66                 function BuildKrigingQueueScript(cluster,modelname,solution,io_gather,isvalgrind,isgprof) % {{{
     67
     68                         if(isvalgrind), disp('valgrind not supported by cluster, ignoring...'); end
     69                         if(isgprof),    disp('gprof not supported by cluster, ignoring...'); end
     70
     71                         %compute number of processors
     72                         cluster.np=cluster.numnodes*cluster.cpuspernode;
     73
     74                         %write queuing script
     75                         fid=fopen([modelname '.queue'],'w');
     76                         fprintf(fid,'#PBS -S /bin/bash\n');
     77                         fprintf(fid,'#PBS -N %s\n',modelname);
     78                         fprintf(fid,'#PBS -q %s \n',cluster.queue);
     79                         fprintf(fid,'#PBS -l nodes=%i:ppn=%i\n',cluster.numnodes,cluster.cpuspernode);
     80                         fprintf(fid,'#PBS -m bea\n');
     81                         fprintf(fid,'#PBS -M mmorligh@uci.edu\n');
     82                         fprintf(fid,'#PBS -o %s.outlog \n',modelname);
     83                         fprintf(fid,'#PBS -e %s.errlog \n\n',modelname);
     84                         %fprintf(fid,'cd %s/%s\n\n',cluster.executionpath,dirname);
     85                         fprintf(fid,'mpiexec -np %i %s/kriging.exe %s %s\n',cluster.np,cluster.codepath,[cluster.executionpath '/' modelname],modelname);
     86                         if ~io_gather, %concatenate the output files:
     87                                 fprintf(fid,'cat %s.outbin.* > %s.outbin',modelname,modelname);
     88                         end
     89                         fclose(fid);
    6390                 end
    6491                 %}}}
  • issm/trunk/src/m/classes/clusters/pfe.m

    r13395 r15396  
    6060                 function md = checkconsistency(cluster,md,solution,analyses) % {{{
    6161
    62                          available_queues={'long','normal','debug'};
    63                          queue_requirements_time=[5*24*60 8*60 2*60];
    64                          queue_requirements_np=[2048 2048 150];
     62                         available_queues={'long','normal','debug','devel'};
     63                         queue_requirements_time=[5*24*60 8*60 2*60 2*60];
     64                         queue_requirements_np=[2048 2048 150 150];
    6565
    6666                         QueueRequirements(available_queues,queue_requirements_time,queue_requirements_np,cluster.queue,cluster.np,cluster.time)
     
    118118                         fprintf(fid,'#PBS -e %s.errlog \n\n',modelname);
    119119                         fprintf(fid,'. /usr/share/modules/init/bash\n\n');
    120                          fprintf(fid,'module load comp-intel/11.1.046\n');
    121                          fprintf(fid,'module load mpi/mpt.1.25\n');
     120                         fprintf(fid,'module load comp-intel/2013.1.117\n');
     121                         fprintf(fid,'module load mpi-sgi/mpt.2.06rp16\n');
    122122                         fprintf(fid,'module load math/intel_mkl_64_10.0.011\n\n');
    123123                         fprintf(fid,'export PATH="$PATH:."\n\n');
     
    164164                         fprintf(fid,'#PBS -l walltime=%i\n',cluster.time*60); %walltime is in seconds.
    165165                         fprintf(fid,'#PBS -q %s \n',cluster.queue);
    166                          fprintf(fid,'#PBS -W group_list=s1010\n');
     166                         fprintf(fid,'#PBS -W group_list=%s\n',cluster.grouplist);
    167167                         fprintf(fid,'#PBS -m e\n');
    168168                         fprintf(fid,'#PBS -o %s.outlog \n',modelname);
    169169                         fprintf(fid,'#PBS -e %s.errlog \n\n',modelname);
    170170                         fprintf(fid,'. /usr/share/modules/init/bash\n\n');
    171                          fprintf(fid,'module load comp-intel/11.1.046\n');
    172                          fprintf(fid,'module load mpi/mpt.1.25\n');
     171                         fprintf(fid,'module load comp-intel/2013.1.117\n');
     172                         fprintf(fid,'module load mpi-sgi/mpt.2.06rp16\n');
    173173                         fprintf(fid,'module load math/intel_mkl_64_10.0.011\n\n');
    174174                         fprintf(fid,'export PATH="$PATH:."\n');
  • issm/trunk/src/m/classes/constants.m

    r12706 r15396  
    3333                function md = checkconsistency(obj,md,solution,analyses) % {{{
    3434
    35                         md = checkfield(md,'constants.g','>',0,'size',[1 1]);
     35%                       md = checkfield(md,'constants.g','>',0,'size',[1 1]);
    3636                        md = checkfield(md,'constants.yts','>',0,'size',[1 1]);
    3737                        md = checkfield(md,'constants.referencetemperature','size',[1 1]);
     
    4141                        disp(sprintf('   constants parameters:'));
    4242
    43                         fielddisplay(obj,'g','gravitational acceleration');
    44                         fielddisplay(obj,'yts','number of seconds in a year');
    45                         fielddisplay(obj,'referencetemperature','reference temperature used in the enthalpy model');
     43                        fielddisplay(obj,'g','gravitational acceleration [m/s^2]');
     44                        fielddisplay(obj,'yts','number of seconds in a year [s/yr]');
     45                        fielddisplay(obj,'referencetemperature','reference temperature used in the enthalpy model [K]');
    4646
    4747                end % }}}
    48                 function marshall(obj,fid) % {{{
     48                function marshall(obj,md,fid) % {{{
    4949                        WriteData(fid,'object',obj,'fieldname','g','format','Double');
    5050                        WriteData(fid,'object',obj,'fieldname','yts','format','Double');
  • issm/trunk/src/m/classes/constants.py

    r14310 r15396  
    1 #module imports
    21from fielddisplay import fielddisplay
    32from EnumDefinitions import *
     
    1312        """
    1413
    15         #properties
    16         def __init__(self):
    17                 # {{{ Properties
     14        def __init__(self): # {{{
    1815                self.g                    = 0
    1916                self.yts                  = 0
     
    2421
    2522                #}}}
    26         def __repr__(self):
    27                 # {{{ Display
     23        def __repr__(self): # {{{
    2824                string="   constants parameters:"
    2925
    30                 string="%s\n%s"%(string,fielddisplay(self,"g","gravitational acceleration"))
    31                 string="%s\n%s"%(string,fielddisplay(self,"yts","number of seconds in a year"))
    32                 string="%s\n%s"%(string,fielddisplay(self,"referencetemperature","reference temperature used in the enthalpy model"))
     26                string="%s\n%s"%(string,fielddisplay(self,"g","gravitational acceleration [m/s^2]"))
     27                string="%s\n%s"%(string,fielddisplay(self,"yts","number of seconds in a year [s/yr]"))
     28                string="%s\n%s"%(string,fielddisplay(self,"referencetemperature","reference temperature used in the enthalpy model [K]"))
    3329
    3430                return string
    3531                #}}}
    36         def setdefaultparameters(self):
    37                 # {{{setdefaultparameters
     32        def setdefaultparameters(self): # {{{
    3833               
    3934                #acceleration due to gravity (m/s^2)
     
    4843                return self
    4944        #}}}
    50 
    5145        def checkconsistency(self,md,solution,analyses):    # {{{
    5246
     
    5751                return md
    5852        # }}}
    59 
    60         def marshall(self,fid):    # {{{
     53        def marshall(self,md,fid):    # {{{
    6154                WriteData(fid,'object',self,'fieldname','g','format','Double')
    6255                WriteData(fid,'object',self,'fieldname','yts','format','Double')
    6356                WriteData(fid,'object',self,'fieldname','referencetemperature','format','Double')
    6457        # }}}
    65 
  • issm/trunk/src/m/classes/debug.m

    r12706 r15396  
    3030
    3131                end % }}}
    32                 function marshall(obj,fid) % {{{
     32                function marshall(obj,md,fid) % {{{
    3333                        WriteData(fid,'object',obj,'fieldname','profiling','format','Boolean');
    3434                end % }}}
  • issm/trunk/src/m/classes/debug.py

    r14310 r15396  
    1 #module imports
    21from fielddisplay import fielddisplay
    32from WriteData import *
     
    1110        """
    1211
    13         #properties
    14         def __init__(self):
    15                 # {{{ Properties
     12        def __init__(self): # {{{
    1613                self.valgrind  = False
    1714                self.gprof     = False
     
    2219
    2320                #}}}
    24         def __repr__(self):
    25                 # {{{ Display
     21        def __repr__(self): # {{{
    2622                string="   debug parameters:"
    2723
     
    3127                return string
    3228                #}}}
    33                
    34         def setdefaultparameters(self):
    35                 # {{{setdefaultparameters
     29        def setdefaultparameters(self): # {{{
    3630                return self
    3731        #}}}
    38 
    39         def marshall(self,fid):    # {{{
     32        def marshall(self,md,fid):    # {{{
    4033                WriteData(fid,'object',self,'fieldname','profiling','format','Boolean')
    4134        # }}}
    42 
  • issm/trunk/src/m/classes/dependent.py

    r13975 r15396  
    4747                        self.segments=MeshProfileIntersection(mesh.elements,mesh.x,mesh.y,self.exp)
    4848        # }}}
    49 
    5049        def __repr__(self):    # {{{
    5150                s ="   dependent variable:\n"
     
    6261                return s
    6362        # }}}
    64 
    6563        def setdefaultparameters(self):    # {{{
    6664                #do nothing
    6765                return self
    6866        # }}}
    69 
    7067        def checkconsistency(self,md,solution,analyses):    # {{{
    7168                if strcmpi(self.name,'MassFlux'):
     
    8380                return md
    8481        # }}}
    85 
    8682        def typetoscalar(self):    # {{{
    8783                if   strcmpi(self.type,'scalar'):
     
    9288                return scalar
    9389        # }}}
    94 
  • issm/trunk/src/m/classes/diagnostic.m

    r13975 r15396  
    2323                rift_penalty_threshold   = 0;
    2424                referential              = NaN;
     25                loadingforce             = NaN;
    2526                requested_outputs        = NaN;
    2627        end
     
    7677                        md = checkfield(md,'diagnostic.reltol','size',[1 1]);
    7778                        md = checkfield(md,'diagnostic.abstol','size',[1 1]);
    78                         md = checkfield(md,'diagnostic.isnewton','numel',[1],'values',[0 1]);
     79                        md = checkfield(md,'diagnostic.isnewton','numel',[1],'values',[0 1 2]);
    7980                        md = checkfield(md,'diagnostic.stokesreconditioning','size',[1 1],'NaN',1);
    8081                        md = checkfield(md,'diagnostic.viscosity_overshoot','size',[1 1],'NaN',1);
     
    8788                        md = checkfield(md,'diagnostic.maxiter','size',[1 1],'>=',1);
    8889                        md = checkfield(md,'diagnostic.referential','size',[md.mesh.numberofvertices 6]);
     90                        md = checkfield(md,'diagnostic.loadingforce','size',[md.mesh.numberofvertices 3]);
    8991                        if ~isempty(md.diagnostic.requested_outputs),
    9092                                md = checkfield(md,'diagnostic.requested_outputs','size',[NaN 1]);
     
    120122                        disp(sprintf('\n      %s','Convergence criteria:'));
    121123                        fielddisplay(obj,'restol','mechanical equilibrium residual convergence criterion');
    122                         fielddisplay(obj,'reltol','velocity relative convergence criterion, NaN -> not applied');
    123                         fielddisplay(obj,'abstol','velocity absolute convergence criterion, NaN -> not applied');
    124                         fielddisplay(obj,'isnewton','Apply Newton''s method instead of a Picard fixed point method');
     124                        fielddisplay(obj,'reltol','velocity relative convergence criterion, NaN: not applied');
     125                        fielddisplay(obj,'abstol','velocity absolute convergence criterion, NaN: not applied');
     126                        fielddisplay(obj,'isnewton','0: Picard''s fixed point, 1: Newton''s method, 2: hybrid');
    125127                        fielddisplay(obj,'maxiter','maximum number of nonlinear iterations');
    126128                        fielddisplay(obj,'viscosity_overshoot','over-shooting constant new=new+C*(new-old)');
    127129
    128130                        disp(sprintf('\n      %s','boundary conditions:'));
    129                         fielddisplay(obj,'spcvx','x-axis velocity constraint (NaN means no constraint)');
    130                         fielddisplay(obj,'spcvy','y-axis velocity constraint (NaN means no constraint)');
    131                         fielddisplay(obj,'spcvz','z-axis velocity constraint (NaN means no constraint)');
    132                         fielddisplay(obj,'icefront','segments on ice front list (last column 0-> Air, 1-> Water, 2->Ice)');
     131                        fielddisplay(obj,'spcvx','x-axis velocity constraint (NaN means no constraint) [m/yr]');
     132                        fielddisplay(obj,'spcvy','y-axis velocity constraint (NaN means no constraint) [m/yr]');
     133                        fielddisplay(obj,'spcvz','z-axis velocity constraint (NaN means no constraint) [m/yr]');
     134                        fielddisplay(obj,'icefront','segments on ice front list (last column 0: Air, 1: Water, 2: Ice)');
    133135
    134136                        disp(sprintf('\n      %s','Rift options:'));
     
    144146                        fielddisplay(obj,'stokesreconditioning','multiplier for incompressibility equation. Only for Stokes model');
    145147                        fielddisplay(obj,'referential','local referential');
     148                        fielddisplay(obj,'loadingforce','loading force applied on each point [N/m^3]');
    146149                        fielddisplay(obj,'requested_outputs','additional outputs requested');
    147150
    148151                end % }}}
    149                 function marshall(obj,fid) % {{{
    150                         WriteData(fid,'object',obj,'fieldname','spcvx','format','DoubleMat','mattype',1);
    151                         WriteData(fid,'object',obj,'fieldname','spcvy','format','DoubleMat','mattype',1);
    152                         WriteData(fid,'object',obj,'fieldname','spcvz','format','DoubleMat','mattype',1);
     152                function marshall(obj,md,fid) % {{{
     153                        WriteData(fid,'object',obj,'fieldname','spcvx','format','DoubleMat','mattype',1,'forcinglength',md.mesh.numberofvertices+1);
     154                        WriteData(fid,'object',obj,'fieldname','spcvy','format','DoubleMat','mattype',1,'forcinglength',md.mesh.numberofvertices+1);
     155                        WriteData(fid,'object',obj,'fieldname','spcvz','format','DoubleMat','mattype',1,'forcinglength',md.mesh.numberofvertices+1);
    153156                        WriteData(fid,'object',obj,'fieldname','restol','format','Double');
    154157                        WriteData(fid,'object',obj,'fieldname','reltol','format','Double');
    155158                        WriteData(fid,'object',obj,'fieldname','abstol','format','Double');
    156                         WriteData(fid,'object',obj,'fieldname','isnewton','format','Boolean');
     159                        WriteData(fid,'object',obj,'fieldname','isnewton','format','Integer');
    157160                        WriteData(fid,'object',obj,'fieldname','stokesreconditioning','format','Double');
    158161                        WriteData(fid,'object',obj,'fieldname','viscosity_overshoot','format','Double');
     
    164167                        WriteData(fid,'object',obj,'fieldname','rift_penalty_threshold','format','Integer');
    165168                        WriteData(fid,'object',obj,'fieldname','referential','format','DoubleMat','mattype',1);
     169                        WriteData(fid,'data',obj.loadingforce(:,1),'format','DoubleMat','mattype',1,'enum',LoadingforceXEnum);
     170                        WriteData(fid,'data',obj.loadingforce(:,2),'format','DoubleMat','mattype',1,'enum',LoadingforceYEnum);
     171                        WriteData(fid,'data',obj.loadingforce(:,3),'format','DoubleMat','mattype',1,'enum',LoadingforceZEnum);
    166172                        WriteData(fid,'object',obj,'fieldname','requested_outputs','format','DoubleMat','mattype',3);
    167173
  • issm/trunk/src/m/classes/diagnostic.py

    r14310 r15396  
    1 #module imports
    21import numpy
    32import sys
     
    1615        """
    1716
    18         #properties
    19         def __init__(self):
    20                 # {{{ Properties
     17        def __init__(self): # {{{
    2118                self.spcvx                    = float('NaN')
    2219                self.spcvy                    = float('NaN')
     
    3633                self.rift_penalty_threshold   = 0
    3734                self.referential              = float('NaN')
     35                self.loadingforce             = float('NaN')
    3836                self.requested_outputs        = float('NaN')
    3937
     
    4240
    4341                #}}}
    44         def __repr__(self):
    45                 # {{{ Display
     42        def __repr__(self): # {{{
    4643               
    4744                string='   Diagnostic solution parameters:'
    4845                string="%s\n%s"%(string,'      Convergence criteria:')
    49                        
    5046                string="%s\n%s"%(string,fielddisplay(self,'restol','mechanical equilibrium residual convergence criterion'))
    51                 string="%s\n%s"%(string,fielddisplay(self,'reltol','velocity relative convergence criterion, NaN -> not applied'))
    52                 string="%s\n%s"%(string,fielddisplay(self,'abstol','velocity absolute convergence criterion, NaN -> not applied'))
    53                 string="%s\n%s"%(string,fielddisplay(self,'isnewton',"Apply Newton's method instead of a Picard fixed point method"))
     47                string="%s\n%s"%(string,fielddisplay(self,'reltol','velocity relative convergence criterion, NaN: not applied'))
     48                string="%s\n%s"%(string,fielddisplay(self,'abstol','velocity absolute convergence criterion, NaN: not applied'))
     49                string="%s\n%s"%(string,fielddisplay(self,'isnewton',"0: Picard's fixed point, 1: Newton's method, 2: hybrid"))
    5450                string="%s\n%s"%(string,fielddisplay(self,'maxiter','maximum number of nonlinear iterations'))
    5551                string="%s\n%s"%(string,fielddisplay(self,'viscosity_overshoot','over-shooting constant new=new+C*(new-old)'))
    5652
    5753                string="%s\n%s"%(string,'\n      boundary conditions:')
    58 
    59                 string="%s\n%s"%(string,fielddisplay(self,'spcvx','x-axis velocity constraint (NaN means no constraint)'))
    60                 string="%s\n%s"%(string,fielddisplay(self,'spcvy','y-axis velocity constraint (NaN means no constraint)'))
    61                 string="%s\n%s"%(string,fielddisplay(self,'spcvz','z-axis velocity constraint (NaN means no constraint)'))
    62                 string="%s\n%s"%(string,fielddisplay(self,'icefront','segments on ice front list (last column 0-> Air, 1-> Water, 2->Ice'))
     54                string="%s\n%s"%(string,fielddisplay(self,'spcvx','x-axis velocity constraint (NaN means no constraint) [m/yr]'))
     55                string="%s\n%s"%(string,fielddisplay(self,'spcvy','y-axis velocity constraint (NaN means no constraint) [m/yr]'))
     56                string="%s\n%s"%(string,fielddisplay(self,'spcvz','z-axis velocity constraint (NaN means no constraint) [m/yr]'))
     57                string="%s\n%s"%(string,fielddisplay(self,'icefront','segments on ice front list (last column 0: Air, 1: Water, 2: Ice'))
    6358
    6459                string="%s\n%s"%(string,'\n      Rift options:')
     
    7469                string="%s\n%s"%(string,fielddisplay(self,'stokesreconditioning','multiplier for incompressibility equation. Only for Stokes model'))
    7570                string="%s\n%s"%(string,fielddisplay(self,'referential','local referential'))
     71                string="%s\n%s"%(string,fielddisplay(self,'loadingforce','loading force applied on each point [N/m^3]'))
    7672                string="%s\n%s"%(string,fielddisplay(self,'requested_outputs','additional outputs requested'))
    7773
    7874                return string
    7975                #}}}
    80                
    81         def setdefaultparameters(self):
    82                 # {{{setdefaultparameters
     76        def setdefaultparameters(self): # {{{
    8377                #maximum of non-linear iterations.
    8478                self.maxiter=100
     
    110104                return self
    111105        #}}}
    112 
    113106        def checkconsistency(self,md,solution,analyses):    # {{{
    114107
     
    126119                md = checkfield(md,'diagnostic.reltol','size',[1])
    127120                md = checkfield(md,'diagnostic.abstol','size',[1])
    128                 md = checkfield(md,'diagnostic.isnewton','numel',[1],'values',[0,1])
     121                md = checkfield(md,'diagnostic.isnewton','numel',[1],'values',[0,1,2])
    129122                md = checkfield(md,'diagnostic.stokesreconditioning','size',[1],'NaN',1)
    130123                md = checkfield(md,'diagnostic.viscosity_overshoot','size',[1],'NaN',1)
     
    136129                md = checkfield(md,'diagnostic.maxiter','size',[1],'>=',1)
    137130                md = checkfield(md,'diagnostic.referential','size',[md.mesh.numberofvertices,6])
     131                md = checkfield(md,'diagnostic.loadingforce','size',[md.mesh.numberofvertices,3])
    138132                if not md.diagnostic.requested_outputs:
    139133                        md = checkfield(md,'diagnostic.requested_outputs','size',[float('NaN'),1])
     
    166160                return md
    167161        # }}}
    168 
    169         def marshall(self,fid):    # {{{
    170                 WriteData(fid,'object',self,'fieldname','spcvx','format','DoubleMat','mattype',1)
    171                 WriteData(fid,'object',self,'fieldname','spcvy','format','DoubleMat','mattype',1)
    172                 WriteData(fid,'object',self,'fieldname','spcvz','format','DoubleMat','mattype',1)
     162        def marshall(self,md,fid):    # {{{
     163                WriteData(fid,'object',self,'fieldname','spcvx','format','DoubleMat','mattype',1,'forcinglength',md.mesh.numberofvertices+1)
     164                WriteData(fid,'object',self,'fieldname','spcvy','format','DoubleMat','mattype',1,'forcinglength',md.mesh.numberofvertices+1)
     165                WriteData(fid,'object',self,'fieldname','spcvz','format','DoubleMat','mattype',1,'forcinglength',md.mesh.numberofvertices+1)
    173166                WriteData(fid,'object',self,'fieldname','restol','format','Double')
    174167                WriteData(fid,'object',self,'fieldname','reltol','format','Double')
    175168                WriteData(fid,'object',self,'fieldname','abstol','format','Double')
    176                 WriteData(fid,'object',self,'fieldname','isnewton','format','Boolean')
     169                WriteData(fid,'object',self,'fieldname','isnewton','format','Integer')
    177170                WriteData(fid,'object',self,'fieldname','stokesreconditioning','format','Double')
    178171                WriteData(fid,'object',self,'fieldname','viscosity_overshoot','format','Double')
     
    184177                WriteData(fid,'object',self,'fieldname','rift_penalty_threshold','format','Integer')
    185178                WriteData(fid,'object',self,'fieldname','referential','format','DoubleMat','mattype',1)
     179                WriteData(fid,'data',self.loadingforce[:,0],'format','DoubleMat','mattype',1,'enum',LoadingforceXEnum())
     180                WriteData(fid,'data',self.loadingforce[:,1],'format','DoubleMat','mattype',1,'enum',LoadingforceYEnum())
     181                WriteData(fid,'data',self.loadingforce[:,2],'format','DoubleMat','mattype',1,'enum',LoadingforceZEnum())
    186182                WriteData(fid,'object',self,'fieldname','requested_outputs','format','DoubleMat','mattype',3)
    187183
     
    193189                WriteData(fid,'data',data,'enum',DiagnosticIcefrontEnum(),'format','DoubleMat','mattype',3)
    194190        # }}}
    195 
  • issm/trunk/src/m/classes/flaim.py

    r13395 r15396  
    1 #module imports
    21import numpy
    32from collections import OrderedDict
     
    1514        """
    1615
    17         #properties
    18         def __init__(self):
    19                 # {{{ Properties
     16        def __init__(self): # {{{
    2017                self.targets            = ''
    2118                self.tracks             = ''
     
    3229                self.opt_niter          = 30000
    3330                #}}}
    34         def __repr__(self):
    35                 # {{{ Displa
     31        def __repr__(self): # {{{
    3632                string='   FLAIM - Flight Line Adaptation using Ice sheet Modeling:'
    3733
     
    6157                return string
    6258                #}}}
    63 
    6459        def checkconsistency(self,md,solution,analyses):    # {{{
    6560
     
    7671                return md
    7772        # }}}
    78 
  • issm/trunk/src/m/classes/flowequation.m

    r13395 r15396  
    7373
    7474                end % }}}
    75                 function marshall(obj,fid) % {{{
     75                function marshall(obj,md,fid) % {{{
    7676                        WriteData(fid,'object',obj,'fieldname','ismacayealpattyn','format','Boolean');
    7777                        WriteData(fid,'object',obj,'fieldname','ishutter','format','Boolean');
  • issm/trunk/src/m/classes/flowequation.py

    r14310 r15396  
    1 #module imports
    21import numpy
    32import copy
     
    1514        """
    1615
    17         #properties
    18         def __init__(self):
    19                 # {{{ Properties
     16        def __init__(self): # {{{
    2017               
    2118                self.ismacayealpattyn     = 0
     
    3330
    3431                #}}}
    35         def __repr__(self):
    36                 # {{{ Display
     32        def __repr__(self): # {{{
    3733                string='   flow equation parameters:'
    3834
     
    4844                return string
    4945                #}}}
    50                
    51         def setdefaultparameters(self):
    52                 # {{{setdefaultparameters
     46        def setdefaultparameters(self): # {{{
    5347                return self
    5448        #}}}
    55 
    5649        def checkconsistency(self,md,solution,analyses):    # {{{
    5750
     
    8073                return md
    8174        # }}}
    82 
    83         def marshall(self,fid):    # {{{
     75        def marshall(self,md,fid):    # {{{
    8476                WriteData(fid,'object',self,'fieldname','ismacayealpattyn','format','Boolean')
    8577                WriteData(fid,'object',self,'fieldname','ishutter','format','Boolean')
     
    113105                WriteData(fid,'data',data,'enum',FlowequationElementEquationEnum(),'format','DoubleMat','mattype',2)
    114106        # }}}
    115 
  • issm/trunk/src/m/classes/friction.m

    r13395 r15396  
    3737                        fielddisplay(obj,'q','q exponent');
    3838                end % }}}
    39                 function marshall(obj,fid) % {{{
     39                function marshall(obj,md,fid) % {{{
    4040                        WriteData(fid,'object',obj,'fieldname','coefficient','format','DoubleMat','mattype',1);
    4141                        WriteData(fid,'object',obj,'fieldname','p','format','DoubleMat','mattype',2);
  • issm/trunk/src/m/classes/friction.py

    r14310 r15396  
    1 #module imports
    21from fielddisplay import fielddisplay
    32from EnumDefinitions import *
     
    1312        """
    1413
    15         #properties
    16         def __init__(self):
    17                 # {{{ Properties
     14        def __init__(self): # {{{
    1815                self.coefficient = float('NaN')
    1916                self.p           = float('NaN')
     
    2421
    2522                #}}}
    26         def __repr__(self):
    27                 # {{{ Display
     23        def __repr__(self): # {{{
    2824                string="Sigma= drag^2 * Neff ^r * u ^s, with Neff=rho_ice*g*thickness+rho_water*g*bed, r=q/p and s=1/p"
    2925
     
    3329                return string
    3430                #}}}
    35 
    36         def setdefaultparameters(self):
    37                 # {{{setdefaultparameters
     31        def setdefaultparameters(self): # {{{
    3832                return self
    3933        #}}}
    40 
    4134        def checkconsistency(self,md,solution,analyses):    # {{{
    4235
     
    5144                return md
    5245        # }}}
    53 
    54         def marshall(self,fid):    # {{{
     46        def marshall(self,md,fid):    # {{{
    5547                WriteData(fid,'object',self,'fieldname','coefficient','format','DoubleMat','mattype',1)
    5648                WriteData(fid,'object',self,'fieldname','p','format','DoubleMat','mattype',2)
    5749                WriteData(fid,'object',self,'fieldname','q','format','DoubleMat','mattype',2)
    5850        # }}}
    59 
  • issm/trunk/src/m/classes/geometry.m

    r13395 r15396  
    2626                function md = checkconsistency(obj,md,solution,analyses) % {{{
    2727
    28                         md = checkfield(md,'geometry.surface'  ,'NaN',1,'size',[md.mesh.numberofvertices 1]);
    29                         md = checkfield(md,'geometry.bed'      ,'NaN',1,'size',[md.mesh.numberofvertices 1]);
    30                         md = checkfield(md,'geometry.thickness','NaN',1,'size',[md.mesh.numberofvertices 1],'>',0);
    31                         if any((obj.thickness-obj.surface+obj.bed)>10^-9),
    32                                 md = checkmessage(md,['equality thickness=surface-bed violated']);
    33                         end
    34                         if solution==TransientSolutionEnum() & md.transient.isgroundingline,
    35                                 md = checkfield(md,'geometry.bathymetry','NaN',1,'size',[md.mesh.numberofvertices 1]);
     28                        if (solution==TransientSolutionEnum() & md.transient.isgia) | (solution==GiaSolutionEnum()),
     29                                md = checkfield(md,'geometry.thickness','forcing',1,'NaN',1,'>=',0);
     30                        else
     31                                md = checkfield(md,'geometry.surface'  ,'NaN',1,'size',[md.mesh.numberofvertices 1]);
     32                                md = checkfield(md,'geometry.bed'      ,'NaN',1,'size',[md.mesh.numberofvertices 1]);
     33                                md = checkfield(md,'geometry.thickness','NaN',1,'size',[md.mesh.numberofvertices 1],'>',0);
     34                                if any((obj.thickness-obj.surface+obj.bed)>10^-9),
     35                                        md = checkmessage(md,['equality thickness=surface-bed violated']);
     36                                end
     37                                if solution==TransientSolutionEnum() & md.transient.isgroundingline,
     38                                        md = checkfield(md,'geometry.bathymetry','NaN',1,'size',[md.mesh.numberofvertices 1]);
     39                                end
    3640                        end
    3741                end % }}}
     
    3943                        disp(sprintf('   geometry parameters:'));
    4044
    41                         fielddisplay(obj,'surface','surface elevation');
    42                         fielddisplay(obj,'thickness','ice thickness');
    43                         fielddisplay(obj,'bed','bed elevation');
    44                         fielddisplay(obj,'bathymetry','bathymetry elevation');
     45                        fielddisplay(obj,'surface','surface elevation [m]');
     46                        fielddisplay(obj,'thickness','ice thickness [m]');
     47                        fielddisplay(obj,'bed','bed elevation [m]');
     48                        fielddisplay(obj,'bathymetry','bathymetry elevation [m]');
    4549                        fielddisplay(obj,'hydrostatic_ratio','coefficient for ice shelves'' thickness correction: hydrostatic_ratio H_obs+ (1-hydrostatic_ratio) H_hydro');
    4650
    4751                end % }}}
    48                 function marshall(obj,fid) % {{{
     52                function marshall(obj,md,fid) % {{{
    4953                        WriteData(fid,'data',obj.surface,'format','DoubleMat','mattype',1,'enum',SurfaceEnum());
    50                         WriteData(fid,'data',obj.thickness,'format','DoubleMat','mattype',1,'enum',ThicknessEnum());
     54                        WriteData(fid,'data',obj.thickness,'format','DoubleMat','mattype',1,'enum',ThicknessEnum(),'forcinglength',md.mesh.numberofvertices+1);
    5155                        WriteData(fid,'data',obj.bed,'format','DoubleMat','mattype',1,'enum',BedEnum());
    5256                        WriteData(fid,'data',obj.bathymetry,'format','DoubleMat','mattype',1,'enum',BathymetryEnum());
  • issm/trunk/src/m/classes/geometry.py

    r14310 r15396  
    1 #module imports
    21from fielddisplay import fielddisplay
    32from EnumDefinitions import *
     
    1312        """
    1413
    15         #properties
    16         def __init__(self):
    17                 # {{{ Properties
     14        def __init__(self): # {{{
    1815                self.surface           = float('NaN')
    1916                self.thickness         = float('NaN')
     
    2623
    2724                #}}}
    28         def __repr__(self):
    29                 # {{{ Display
     25        def __repr__(self): # {{{
    3026
    3127                string="   geometry parameters:"
    32 
    33                 string="%s\n%s"%(string,fielddisplay(self,'surface','surface elevation'))
    34                 string="%s\n%s"%(string,fielddisplay(self,'thickness','ice thickness'))
    35                 string="%s\n%s"%(string,fielddisplay(self,'bed','bed elevation'))
    36                 string="%s\n%s"%(string,fielddisplay(self,'bathymetry','bathymetry elevation'))
     28                string="%s\n%s"%(string,fielddisplay(self,'surface','surface elevation [m]'))
     29                string="%s\n%s"%(string,fielddisplay(self,'thickness','ice thickness [m]'))
     30                string="%s\n%s"%(string,fielddisplay(self,'bed','bed elevation [m]'))
     31                string="%s\n%s"%(string,fielddisplay(self,'bathymetry','bathymetry elevation [m]'))
    3732                string="%s\n%s"%(string,fielddisplay(self,'hydrostatic_ratio','coefficient for ice shelves'' thickness correction: hydrostatic_ratio H_obs+ (1-hydrostatic_ratio) H_hydro'))
    3833                return string
    3934                #}}}
    40                
    41         def setdefaultparameters(self):
    42                 # {{{setdefaultparameters
     35        def setdefaultparameters(self): # {{{
    4336                return self
    4437        #}}}
    45 
    4638        def checkconsistency(self,md,solution,analyses):    # {{{
    4739
    4840                md = checkfield(md,'geometry.surface'  ,'NaN',1,'size',[md.mesh.numberofvertices])
    4941                md = checkfield(md,'geometry.bed'      ,'NaN',1,'size',[md.mesh.numberofvertices])
    50                 md = checkfield(md,'geometry.thickness','NaN',1,'size',[md.mesh.numberofvertices],'>',0)
     42                md = checkfield(md,'geometry.thickness','NaN',1,'size',[md.mesh.numberofvertices],'>',0,'forcing',1)
    5143                if any((self.thickness-self.surface+self.bed)>10**-9):
    5244                        md.checkmessage("equality thickness=surface-bed violated")
     
    5648                return md
    5749        # }}}
    58 
    59         def marshall(self,fid):    # {{{
     50        def marshall(self,md,fid):    # {{{
    6051                WriteData(fid,'data',self.surface,'format','DoubleMat','mattype',1,'enum',SurfaceEnum())
    61                 WriteData(fid,'data',self.thickness,'format','DoubleMat','mattype',1,'enum',ThicknessEnum())
     52                WriteData(fid,'data',self.thickness,'format','DoubleMat','mattype',1,'enum',ThicknessEnum(),'forcinglength',md.mesh.numberofvertices+1)
    6253                WriteData(fid,'data',self.bed,'format','DoubleMat','mattype',1,'enum',BedEnum())
    6354                WriteData(fid,'data',self.bathymetry,'format','DoubleMat','mattype',1,'enum',BathymetryEnum())
    6455                WriteData(fid,'object',self,'fieldname','hydrostatic_ratio','format','DoubleMat','mattype',1)
    6556        # }}}
    66 
  • issm/trunk/src/m/classes/groundingline.m

    r13975 r15396  
    1 %CONSTANTS class definition
     1%GROUNDINGLINE class definition
    22%
    33%   Usage:
     
    2929                function md = checkconsistency(obj,md,solution,analyses) % {{{
    3030
    31                         md = checkfield(md,'groundingline.migration','values',{'None' 'AgressiveMigration' 'SoftMigration'});
     31                        md = checkfield(md,'groundingline.migration','values',{'None' 'AgressiveMigration' 'SoftMigration' 'SubelementMigration','SubelementMigration2'});
    3232
    3333                        if ~strcmp(obj.migration,'None'),
     
    4747                end % }}}
    4848                function disp(obj) % {{{
    49                         disp(sprintf('   balance thickness solution parameters:'));
    50 
     49                        disp(sprintf('   grounding line migration parameters:'));
    5150                        fielddisplay(obj,'migration','type of grounding line migration: ''SoftMigration'',''AgressiveMigration'' or ''None''');
    52                         fielddisplay(obj,'melting_rate','melting rate applied when previously grounded parts start floating');
     51                        fielddisplay(obj,'melting_rate','melting rate applied when previously grounded parts start floating [m/yr]');
    5352
    5453                end % }}}
    55                 function marshall(obj,fid) % {{{
     54                function marshall(obj,md,fid) % {{{
    5655                        WriteData(fid,'data',StringToEnum(obj.migration),'enum',GroundinglineMigrationEnum(),'format','Integer');
    5756                        WriteData(fid,'object',obj,'fieldname','melting_rate','format','Double');
  • issm/trunk/src/m/classes/groundingline.py

    r14310 r15396  
    1 #module imports
    21import numpy
    32from fielddisplay import fielddisplay
     
    109class groundingline(object):
    1110        """
    12         CONSTANTS class definition
     11        GROUNDINGLINE class definition
    1312
    1413           Usage:
     
    1615        """
    1716
    18         #properties
    19         def __init__(self):
    20                 # {{{ Properties
     17        def __init__(self): # {{{
    2118                self.migration=''
    2219                self.melting_rate=float('NaN')
     
    2623
    2724                #}}}
    28         def __repr__(self):
    29                 # {{{ Display
    30                 string='   grounding line solution parameters:'
     25        def __repr__(self): # {{{
     26                string='   grounding line migration parameters:'
    3127
    3228                string="%s\n%s"%(string,fielddisplay(self,'migration','type of grounding line migration: ''SoftMigration'',''AgressiveMigration'' or ''None'''))
    33                 string="%s\n%s"%(string,fielddisplay(self,'melting_rate','melting rate applied when previously grounded parts start floating'))
     29                string="%s\n%s"%(string,fielddisplay(self,'melting_rate','melting rate applied when previously grounded parts start floating [m/yr]'))
    3430                return string
    3531                #}}}   
    36         def setdefaultparameters(self):
    37                 # {{{setdefaultparameters
     32        def setdefaultparameters(self): # {{{
    3833
    3934                #Type of migration
     
    4540                return self
    4641        #}}}
    47 
    4842        def checkconsistency(self,md,solution,analyses):    # {{{
    4943
    50                 md = checkfield(md,'groundingline.migration','values',['None','AgressiveMigration','SoftMigration'])
     44                md = checkfield(md,'groundingline.migration','values',['None','AgressiveMigration','SoftMigration','SubelementMigration','SubelementMigration2'])
    5145
    5246                if not strcmp(self.migration,'None'):
     
    6256                return md
    6357        # }}}
    64 
    65         def marshall(self,fid):    # {{{
     58        def marshall(self,md,fid):    # {{{
    6659                WriteData(fid,'data',StringToEnum(self.migration)[0],'enum',GroundinglineMigrationEnum(),'format','Integer')
    6760                WriteData(fid,'object',self,'fieldname','melting_rate','format','Double')
    6861        # }}}
    69 
  • issm/trunk/src/m/classes/independent.m

    r13975 r15396  
    6060                        end
    6161                end % }}}
    62                 function scalar=typetoscalar(obj) % {{{
     62                function scalartype=typetoscalar(obj) % {{{
    6363                        if strcmpi(obj.type,'scalar'),
    64                                 scalar=0;
     64                                scalartype=0;
    6565                        elseif strcmpi(obj.type,'vertex'),
    66                                 scalar=1;
     66                                scalartype=1;
     67                        elseif strcmpi(obj.type,'matrix'),
     68                                scalartype=1;
     69                        else error([obj.type ' not supported yet!']);
    6770                        end
    6871                end % }}}
  • issm/trunk/src/m/classes/independent.py

    r13975 r15396  
    3030                self=options.AssignObjectFields(self)
    3131        # }}}
    32 
    3332        def __repr__(self):    # {{{
    3433                s ="   independent variable:\n"
     
    4342                return s
    4443        # }}}
    45 
    4644        def setdefaultparameters(self):    # {{{
    4745                #do nothing
    4846                return self
    4947        # }}}
    50 
    5148        def checkconsistency(self,md,i,solution,analyses,driver):    # {{{
    5249                if not numpy.isnan(self.fos_forward_index):
     
    6562                return md
    6663        # }}}
    67 
    6864        def typetoscalar(self):    # {{{
    6965                if   strcmpi(self.type,'scalar'):
     
    7470                return scalar
    7571        # }}}
    76 
  • issm/trunk/src/m/classes/initialization.m

    r13395 r15396  
    1212                pressure      = NaN;
    1313                temperature   = NaN;
    14                 surfacetemp   = NaN;
    15                 basaltemp     = NaN;
     14                waterfraction = NaN;
     15                sediment_head = NaN;
     16                epl_head      = NaN;
    1617                watercolumn   = NaN;
    17                 waterfraction = NaN;
    1818        end
    1919        methods
     
    4040                                md = checkfield(md,'initialization.vy','NaN',1,'size',[md.mesh.numberofvertices 1]);
    4141                        end
    42                         if ismember(HydrologyAnalysisEnum(),analyses),
    43                                 md = checkfield(md,'initialization.watercolumn','NaN',1,'size',[md.mesh.numberofvertices 1]);
    44                         end
    45                         if ismember(BalancethicknessAnalysisEnum(),analyses),
     42                        if ismember(BalancethicknessAnalysisEnum(),analyses) & solution==BalancethicknessSolutionEnum,
    4643                                md = checkfield(md,'initialization.vx','NaN',1,'size',[md.mesh.numberofvertices 1]);
    4744                                md = checkfield(md,'initialization.vy','NaN',1,'size',[md.mesh.numberofvertices 1]);
     
    6057                                md = checkfield(md,'initialization.waterfraction','>=',0,'size',[md.mesh.numberofvertices 1]);
    6158                        end
     59                        if ismember(HydrologyShreveAnalysisEnum(),analyses),
     60                                if isa(md.hydrology,'hydrologyshreve'),
     61                                        md = checkfield(md,'initialization.watercolumn','NaN',1,'size',[md.mesh.numberofvertices 1]);
     62                                end
     63                        end
     64                        if ismember(HydrologyDCInefficientAnalysisEnum(),analyses),
     65                                if isa(md.hydrology,'hydrologydc'),
     66                                        md = checkfield(md,'initialization.sediment_head','NaN',1,'size',[md.mesh.numberofvertices 1]);
     67                                end
     68                        end
     69                        if ismember(HydrologyDCEfficientAnalysisEnum(),analyses),
     70                                if isa(md.hydrology,'hydrologydc'),
     71                                        if md.hydrology.isefficientlayer==1,
     72                                                md = checkfield(md,'initialization.epl_head','NaN',1,'size',[md.mesh.numberofvertices 1]);
     73                                        end
     74                                end
     75                        end
    6276                end % }}}
    6377                function disp(obj) % {{{
    6478                        disp(sprintf('   initial field values:'));
    6579
    66                         fielddisplay(obj,'vx','x component of velocity');
    67                         fielddisplay(obj,'vy','y component of velocity');
    68                         fielddisplay(obj,'vz','z component of velocity');
    69                         fielddisplay(obj,'vel','velocity norm');
    70                         fielddisplay(obj,'pressure','pressure field');
    71                         fielddisplay(obj,'temperature','temperature in Kelvins');
    72                         fielddisplay(obj,'surfacetemp','surface temperature in Kelvins');
    73                         fielddisplay(obj,'basaltemp','basal temperature in Kelvins');
    74                         fielddisplay(obj,'watercolumn','thickness of subglacial water');
     80                        fielddisplay(obj,'vx','x component of velocity [m/yr]');
     81                        fielddisplay(obj,'vy','y component of velocity [m/yr]');
     82                        fielddisplay(obj,'vz','z component of velocity [m/yr]');
     83                        fielddisplay(obj,'vel','velocity norm [m/yr]');
     84                        fielddisplay(obj,'pressure','pressure field [Pa]');
     85                        fielddisplay(obj,'temperature','temperature [K]');
    7586                        fielddisplay(obj,'waterfraction','fraction of water in the ice');
     87                        fielddisplay(obj,'sediment_head','sediment water head of subglacial system [m]');
     88                        fielddisplay(obj,'epl_head','epl water head of subglacial system [m]');
     89                        fielddisplay(obj,'watercolumn','thickness of subglacial water [m]');
    7690
    7791                end % }}}
    78                 function marshall(obj,fid) % {{{
    79                         WriteData(fid,'data',obj.vx,'format','DoubleMat','mattype',1,'enum',VxEnum);
    80                         WriteData(fid,'data',obj.vy,'format','DoubleMat','mattype',1,'enum',VyEnum);
    81                         WriteData(fid,'data',obj.vz,'format','DoubleMat','mattype',1,'enum',VzEnum);
     92                function marshall(obj,md,fid) % {{{
     93
     94                        yts=365.0*24.0*3600.0;
     95
     96                        WriteData(fid,'data',obj.vx,'format','DoubleMat','mattype',1,'enum',VxEnum,'scale',1./yts);
     97                        WriteData(fid,'data',obj.vy,'format','DoubleMat','mattype',1,'enum',VyEnum,'scale',1./yts);
     98                        WriteData(fid,'data',obj.vz,'format','DoubleMat','mattype',1,'enum',VzEnum,'scale',1./yts);
    8299                        WriteData(fid,'data',obj.pressure,'format','DoubleMat','mattype',1,'enum',PressureEnum);
    83100                        WriteData(fid,'data',obj.temperature,'format','DoubleMat','mattype',1,'enum',TemperatureEnum);
     101                        WriteData(fid,'data',obj.waterfraction,'format','DoubleMat','mattype',1,'enum',WaterfractionEnum);
     102                        WriteData(fid,'data',obj.sediment_head,'format','DoubleMat','mattype',1,'enum',SedimentHeadEnum);
     103                        WriteData(fid,'data',obj.epl_head,'format','DoubleMat','mattype',1,'enum',EplHeadEnum);
    84104                        WriteData(fid,'data',obj.watercolumn,'format','DoubleMat','mattype',1,'enum',WatercolumnEnum);
    85                         WriteData(fid,'data',obj.waterfraction,'format','DoubleMat','mattype',1,'enum',WaterfractionEnum);
    86105                end % }}}
    87106        end
  • issm/trunk/src/m/classes/initialization.py

    r14310 r15396  
    1 #module imports
    21import numpy
    32from fielddisplay import fielddisplay
     
    1413        """
    1514
    16         #properties
    17         def __init__(self):
    18                 # {{{ Properties
     15        def __init__(self): # {{{
    1916               
    2017                self.vx            = float('NaN')
     
    2421                self.pressure      = float('NaN')
    2522                self.temperature   = float('NaN')
    26                 self.surfacetemp   = float('NaN')
    27                 self.basaltemp     = float('NaN')
     23                self.waterfraction = float('NaN')
    2824                self.watercolumn   = float('NaN')
    29                 self.waterfraction = float('NaN')
     25                self.sediment_head = float('NaN')
    3026
    3127                #set defaults
     
    3329
    3430                #}}}
    35         def __repr__(self):
    36                 # {{{ Display
     31        def __repr__(self): # {{{
    3732                string='   initial field values:'
    3833
    39                 string="%s\n%s"%(string,fielddisplay(self,'vx','x component of velocity'))
    40                 string="%s\n%s"%(string,fielddisplay(self,'vy','y component of velocity'))
    41                 string="%s\n%s"%(string,fielddisplay(self,'vz','z component of velocity'))
    42                 string="%s\n%s"%(string,fielddisplay(self,'vel','velocity norm'))
    43                 string="%s\n%s"%(string,fielddisplay(self,'pressure','pressure field'))
    44                 string="%s\n%s"%(string,fielddisplay(self,'temperature','temperature in Kelvins'))
    45                 string="%s\n%s"%(string,fielddisplay(self,'surfacetemp','surface temperature in Kelvins'))
    46                 string="%s\n%s"%(string,fielddisplay(self,'basaltemp','basal temperature in Kelvins'))
    47                 string="%s\n%s"%(string,fielddisplay(self,'watercolumn','thickness of subglacial water'))
     34                string="%s\n%s"%(string,fielddisplay(self,'vx','x component of velocity [m/yr]'))
     35                string="%s\n%s"%(string,fielddisplay(self,'vy','y component of velocity [m/yr]'))
     36                string="%s\n%s"%(string,fielddisplay(self,'vz','z component of velocity [m/yr]'))
     37                string="%s\n%s"%(string,fielddisplay(self,'vel','velocity norm [m/yr]'))
     38                string="%s\n%s"%(string,fielddisplay(self,'pressure','pressure [Pa]'))
     39                string="%s\n%s"%(string,fielddisplay(self,'temperature','temperature [K]'))
    4840                string="%s\n%s"%(string,fielddisplay(self,'waterfraction','fraction of water in the ice'))
     41                string="%s\n%s"%(string,fielddisplay(self,'watercolumn','thickness of subglacial water [m]'))
     42                string="%s\n%s"%(string,fielddisplay(self,'sediment_head','sediment water head of subglacial system [m]'))
    4943
    5044                return string
    5145                #}}}
    52                
    53         def setdefaultparameters(self):
    54                 # {{{setdefaultparameters
     46        def setdefaultparameters(self): # {{{
    5547                return self
    5648        #}}}
    57 
    5849        def checkconsistency(self,md,solution,analyses):    # {{{
    5950                if DiagnosticHorizAnalysisEnum() in analyses:
     
    6455                        md = checkfield(md,'initialization.vx','NaN',1,'size',[md.mesh.numberofvertices])
    6556                        md = checkfield(md,'initialization.vy','NaN',1,'size',[md.mesh.numberofvertices])
    66                 if HydrologyAnalysisEnum() in analyses:
    67                         md = checkfield(md,'initialization.watercolumn','NaN',1,'size',[md.mesh.numberofvertices])
    6857                if BalancethicknessAnalysisEnum() in analyses:
    6958                        md = checkfield(md,'initialization.vx','NaN',1,'size',[md.mesh.numberofvertices])
     
    8069                if (EnthalpyAnalysisEnum() in analyses and md.thermal.isenthalpy) or solution==EnthalpySolutionEnum():
    8170                        md = checkfield(md,'initialization.waterfraction','>=',0,'size',[md.mesh.numberofvertices])
    82 
     71                if HydrologyShreveAnalysisEnum() in analyses:
     72                        md = checkfield(md,'initialization.watercolumn','NaN',1,'size',[md.mesh.numberofvertices])
    8373                return md
    8474        # }}}
     75        def marshall(self,md,fid):    # {{{
    8576
    86         def marshall(self,fid):    # {{{
    87                 WriteData(fid,'data',self.vx,'format','DoubleMat','mattype',1,'enum',VxEnum())
    88                 WriteData(fid,'data',self.vy,'format','DoubleMat','mattype',1,'enum',VyEnum())
    89                 WriteData(fid,'data',self.vz,'format','DoubleMat','mattype',1,'enum',VzEnum())
     77                yts=365.0*24.0*3600.0
     78
     79                WriteData(fid,'data',self.vx,'format','DoubleMat','mattype',1,'enum',VxEnum(),'scale',1./yts)
     80                WriteData(fid,'data',self.vy,'format','DoubleMat','mattype',1,'enum',VyEnum(),'scale',1./yts)
     81                WriteData(fid,'data',self.vz,'format','DoubleMat','mattype',1,'enum',VzEnum(),'scale',1./yts)
    9082                WriteData(fid,'data',self.pressure,'format','DoubleMat','mattype',1,'enum',PressureEnum())
    9183                WriteData(fid,'data',self.temperature,'format','DoubleMat','mattype',1,'enum',TemperatureEnum())
     84                WriteData(fid,'data',self.waterfraction,'format','DoubleMat','mattype',1,'enum',WaterfractionEnum())
    9285                WriteData(fid,'data',self.watercolumn,'format','DoubleMat','mattype',1,'enum',WatercolumnEnum())
    93                 WriteData(fid,'data',self.waterfraction,'format','DoubleMat','mattype',1,'enum',WaterfractionEnum())
     86                WriteData(fid,'data',self.sediment_head,'format','DoubleMat','mattype',1,'enum',SedimentHeadEnum())
    9487        # }}}
    95 
  • issm/trunk/src/m/classes/inversion.m

    r14310 r15396  
    124124                        if solution==BalancethicknessSolutionEnum()
    125125                                md = checkfield(md,'inversion.thickness_obs','size',[md.mesh.numberofvertices 1],'NaN',1);
    126                         elseif solution==WeakBalancethicknessSolutionEnum()
     126                        elseif solution==BalancethicknessSoftSolutionEnum()
    127127                                md = checkfield(md,'inversion.thickness_obs','size',[md.mesh.numberofvertices 1],'NaN',1);
    128128                        else
     
    134134                        disp(sprintf('   inversion parameters:'));
    135135                        fielddisplay(obj,'iscontrol','is inversion activated?');
    136                         fielddisplay(obj,'incomplete_adjoint','do we assume linear viscosity?');
    137                         fielddisplay(obj,'control_parameters','parameter where inverse control is carried out; ex: {''FrictionCoefficient''}, or {''MaterialsRheologyBbar''}');
     136                        fielddisplay(obj,'incomplete_adjoint','1: linear viscosity, 0: non-linear viscosity');
     137                        fielddisplay(obj,'control_parameters','ex: {''FrictionCoefficient''}, or {''MaterialsRheologyBbar''}');
    138138                        fielddisplay(obj,'nsteps','number of optimization searches');
    139139                        fielddisplay(obj,'cost_functions','indicate the type of response for each optimization step');
     
    146146                        fielddisplay(obj,'max_parameters','absolute maximum acceptable value of the inversed parameter on each vertex');
    147147                        fielddisplay(obj,'gradient_only','stop control method solution at gradient');
    148                         fielddisplay(obj,'vx_obs','observed velocity x component [m/a]');
    149                         fielddisplay(obj,'vy_obs','observed velocity y component [m/a]');
    150                         fielddisplay(obj,'vel_obs','observed velocity magnitude [m/a]');
     148                        fielddisplay(obj,'vx_obs','observed velocity x component [m/yr]');
     149                        fielddisplay(obj,'vy_obs','observed velocity y component [m/yr]');
     150                        fielddisplay(obj,'vel_obs','observed velocity magnitude [m/yr]');
    151151                        fielddisplay(obj,'thickness_obs','observed thickness [m]');
    152152                        disp('Available cost functions:');
     
    161161                        disp('   503: ThicknessAbsGradient');
    162162                end % }}}
    163                 function marshall(obj,fid) % {{{
     163                function marshall(obj,md,fid) % {{{
     164
     165                        yts=365.0*24.0*3600.0;
    164166
    165167                        WriteData(fid,'object',obj,'fieldname','iscontrol','format','Boolean');
     
    176178                        WriteData(fid,'object',obj,'fieldname','step_threshold','format','DoubleMat','mattype',3);
    177179                        WriteData(fid,'object',obj,'fieldname','gradient_only','format','Boolean');
    178                         WriteData(fid,'object',obj,'fieldname','vx_obs','format','DoubleMat','mattype',1);
    179                         WriteData(fid,'object',obj,'fieldname','vy_obs','format','DoubleMat','mattype',1);
    180                         WriteData(fid,'object',obj,'fieldname','vz_obs','format','DoubleMat','mattype',1);
     180                        WriteData(fid,'object',obj,'fieldname','vx_obs','format','DoubleMat','mattype',1,'scale',1./yts);
     181                        WriteData(fid,'object',obj,'fieldname','vy_obs','format','DoubleMat','mattype',1,'scale',1./yts);
     182                        WriteData(fid,'object',obj,'fieldname','vz_obs','format','DoubleMat','mattype',1,'scale',1./yts);
    181183                        WriteData(fid,'object',obj,'fieldname','thickness_obs','format','DoubleMat','mattype',1);
    182184
  • issm/trunk/src/m/classes/inversion.py

    r14310 r15396  
    1 #module imports
    21import numpy
    32import copy
     
    1615        """
    1716
    18         #properties
    19         def __init__(self):
    20                 # {{{ Properties
     17        def __init__(self): # {{{
    2118                self.iscontrol                   = 0
    2219                self.tao                         = 0
     
    4340
    4441                #}}}
    45         def __repr__(self):
    46                 # {{{ Display
     42        def __repr__(self): # {{{
    4743                string='   inversion parameters:'
    4844                string="%s\n%s"%(string,fielddisplay(self,'iscontrol','is inversion activated?'))
    49                 string="%s\n%s"%(string,fielddisplay(self,'incomplete_adjoint','do we assume linear viscosity?'))
    50                 string="%s\n%s"%(string,fielddisplay(self,'control_parameters','parameter where inverse control is carried out; ex: {''FrictionCoefficient''}, or {''MaterialsRheologyBbar''}'))
     45                string="%s\n%s"%(string,fielddisplay(self,'incomplete_adjoint','1: linear viscosity, 0: non-linear viscosity'))
     46                string="%s\n%s"%(string,fielddisplay(self,'control_parameters','ex: {''FrictionCoefficient''}, or {''MaterialsRheologyBbar''}'))
    5147                string="%s\n%s"%(string,fielddisplay(self,'nsteps','number of optimization searches'))
    5248                string="%s\n%s"%(string,fielddisplay(self,'cost_functions','indicate the type of response for each optimization step'))
     
    5955                string="%s\n%s"%(string,fielddisplay(self,'max_parameters','absolute maximum acceptable value of the inversed parameter on each vertex'))
    6056                string="%s\n%s"%(string,fielddisplay(self,'gradient_only','stop control method solution at gradient'))
    61                 string="%s\n%s"%(string,fielddisplay(self,'vx_obs','observed velocity x component [m/a]'))
    62                 string="%s\n%s"%(string,fielddisplay(self,'vy_obs','observed velocity y component [m/a]'))
    63                 string="%s\n%s"%(string,fielddisplay(self,'vel_obs','observed velocity magnitude [m/a]'))
     57                string="%s\n%s"%(string,fielddisplay(self,'vx_obs','observed velocity x component [m/yr]'))
     58                string="%s\n%s"%(string,fielddisplay(self,'vy_obs','observed velocity y component [m/yr]'))
     59                string="%s\n%s"%(string,fielddisplay(self,'vel_obs','observed velocity magnitude [m/yr]'))
    6460                string="%s\n%s"%(string,fielddisplay(self,'thickness_obs','observed thickness [m]'))
    6561                string="%s\n%s"%(string,'Available cost functions:')
     
    7571                return string
    7672                #}}}
    77 
    7873        def setdefaultparameters(self): # {{{
    7974               
     
    117112                return self
    118113        #}}}
    119 
    120114        def checkconsistency(self,md,solution,analyses):    # {{{
    121115
     
    149143                return md
    150144        # }}}
     145        def marshall(self,md,fid):    # {{{
    151146
    152         def marshall(self,fid):    # {{{
     147                yts=365.0*24.0*3600.0
    153148
    154149                WriteData(fid,'object',self,'fieldname','iscontrol','format','Boolean')
     
    166161                WriteData(fid,'object',self,'fieldname','step_threshold','format','DoubleMat','mattype',3)
    167162                WriteData(fid,'object',self,'fieldname','gradient_only','format','Boolean')
    168                 WriteData(fid,'object',self,'fieldname','vx_obs','format','DoubleMat','mattype',1)
    169                 WriteData(fid,'object',self,'fieldname','vy_obs','format','DoubleMat','mattype',1)
    170                 WriteData(fid,'object',self,'fieldname','vz_obs','format','DoubleMat','mattype',1)
     163                WriteData(fid,'object',self,'fieldname','vx_obs','format','DoubleMat','mattype',1,'scale',1./yts)
     164                WriteData(fid,'object',self,'fieldname','vy_obs','format','DoubleMat','mattype',1,'scale',1./yts)
     165                WriteData(fid,'object',self,'fieldname','vz_obs','format','DoubleMat','mattype',1,'scale',1./yts)
    171166                WriteData(fid,'object',self,'fieldname','thickness_obs','format','DoubleMat','mattype',1)
    172167
     
    194189                WriteData(fid,'data',num_cost_functions,'enum',InversionNumCostFunctionsEnum(),'format','Integer')
    195190        # }}}
    196 
  • issm/trunk/src/m/classes/mask.m

    r14314 r15396  
    4747                        fielddisplay(obj,'vertexonrock','vertex on rock flags list');
    4848                end % }}}
    49                 function marshall(obj,fid) % {{{
     49                function marshall(obj,md,fid) % {{{
    5050                        WriteData(fid,'object',obj,'fieldname','elementonfloatingice','format','BooleanMat','mattype',2);
    5151                        WriteData(fid,'object',obj,'fieldname','elementongroundedice','format','BooleanMat','mattype',2);
  • issm/trunk/src/m/classes/mask.py

    r14310 r15396  
    1 #module imports
    21from fielddisplay import fielddisplay
    32from EnumDefinitions import *
     
    1312        """
    1413
    15         #properties
    16         def __init__(self):
    17                 # {{{ Properties
     14        def __init__(self): # {{{
    1815                self.elementonfloatingice = float('NaN')
    1916                self.elementongroundedice = float('NaN')
     
    2724
    2825                #}}}
    29         def __repr__(self):
    30                 # {{{ Display
     26        def __repr__(self): # {{{
    3127                string="   masks:"
    3228
     
    3935                return string
    4036                #}}}
    41                
    42         def setdefaultparameters(self):
    43                 # {{{setdefaultparameters
     37        def setdefaultparameters(self): # {{{
    4438                return self
    4539        #}}}
    46 
    4740        def checkconsistency(self,md,solution,analyses):    # {{{
    4841
     
    5649                return md
    5750        # }}}
    58 
    59         def marshall(self,fid):    # {{{
     51        def marshall(self,md,fid):    # {{{
    6052                WriteData(fid,'object',self,'fieldname','elementonfloatingice','format','BooleanMat','mattype',2)
    6153                WriteData(fid,'object',self,'fieldname','elementongroundedice','format','BooleanMat','mattype',2)
     
    6557                WriteData(fid,'object',self,'fieldname','vertexonwater','format','DoubleMat','mattype',1)
    6658        # }}}
    67 
  • issm/trunk/src/m/classes/matdamageice.m

    r13395 r15396  
    2121                rheology_Z   = NaN;
    2222                rheology_law = '';
     23
     24                %gia:
     25                lithosphere_shear_modulus  = 0.;
     26                lithosphere_density        = 0.;
     27                mantle_shear_modulus       = 0.;
     28                mantle_density             = 0.;
     29
    2330        end
    2431        methods
     
    7986                        %available: none, paterson and arrhenius
    8087                        obj.rheology_law='Paterson';
     88
     89                        %GIA:
     90                        obj.lithosphere_shear_modulus  = 6.7*10^10;  % (Pa)
     91                        obj.lithosphere_density        = 3.32;       % (g/cm^-3)
     92                        obj.mantle_shear_modulus       = 1.45*10^11; % (Pa)
     93                        obj.mantle_density             = 3.34;       % (g/cm^-3)
     94
    8195                end % }}}
    8296                function md = checkconsistency(obj,md,solution,analyses) % {{{
     
    89103                        md = checkfield(md,'materials.rheology_Z','>',0,'size',[md.mesh.numberofvertices 1]);
    90104                        md = checkfield(md,'materials.rheology_law','values',{'None' 'Paterson' 'Arrhenius'});
     105
     106                        if ismember(GiaAnalysisEnum(),analyses),
     107                                md = checkfield(md,'materials.lithosphere_shear_modulus','>',0,'numel',1);
     108                                md = checkfield(md,'materials.lithosphere_density','>',0,'numel',1);
     109                                md = checkfield(md,'materials.mantle_shear_modulus','>',0,'numel',1);
     110                                md = checkfield(md,'materials.mantle_density','>',0,'numel',1);
     111                        end
     112
    91113                end % }}}
    92114                function disp(obj) % {{{
     
    108130                        fielddisplay(obj,'rheology_Z','rheology multiplier');
    109131                        fielddisplay(obj,'rheology_law','law for the temperature dependance of the rheology: ''None'', ''Paterson'' or ''Arrhenius''');
     132                        fielddisplay(obj,'lithosphere_shear_modulus','Lithosphere shear modulus [Pa]');
     133                        fielddisplay(obj,'lithosphere_density','Lithosphere density [g/cm^-3]');
     134                        fielddisplay(obj,'mantle_shear_modulus','Mantle shear modulus [Pa]');
     135                        fielddisplay(obj,'mantle_density','Mantle density [g/cm^-3]');
     136
    110137                end % }}}
    111                 function marshall(obj,fid) % {{{
     138                function marshall(obj,md,fid) % {{{
    112139                        WriteData(fid,'enum',MaterialsEnum(),'data',MatdamageiceEnum(),'format','Integer');
    113140                        WriteData(fid,'object',obj,'class','materials','fieldname','rho_ice','format','Double');
     
    126153                        WriteData(fid,'object',obj,'class','materials','fieldname','rheology_Z','format','DoubleMat','mattype',1);
    127154                        WriteData(fid,'data',StringToEnum(obj.rheology_law),'enum',MaterialsRheologyLawEnum(),'format','Integer');
     155
     156                        WriteData(fid,'object',obj,'class','materials','fieldname','lithosphere_shear_modulus','format','Double');
     157                        WriteData(fid,'object',obj,'class','materials','fieldname','lithosphere_density','format','Double','scale',10^3);
     158                        WriteData(fid,'object',obj,'class','materials','fieldname','mantle_shear_modulus','format','Double');
     159                        WriteData(fid,'object',obj,'class','materials','fieldname','mantle_density','format','Double','scale',10^3);
     160
    128161                end % }}}
    129162        end
  • issm/trunk/src/m/classes/matdamageice.py

    r13975 r15396  
    1 #module imports
    21from fielddisplay import fielddisplay
    32from EnumDefinitions import *
     
    3130                self.rheology_law = ''
    3231
     32                #gia:
     33                self.lithosphere_shear_modulus  = 0.
     34                self.lithosphere_density        = 0.
     35                self.mantle_shear_modulus       = 0.
     36                self.mantle_density             = 0.
     37
    3338                if not len(args):
    3439                        self.setdefaultparameters()
     
    3742
    3843        # }}}
     44        def __repr__(self):    # {{{
     45                s ='   Materials:\n'
    3946
     47                s+="%s\n" % fielddisplay(self,"rho_ice","ice density [kg/m^3]")
     48                s+="%s\n" % fielddisplay(self,"rho_water","ocean water density [kg/m^3]")
     49                s+="%s\n" % fielddisplay(self,"rho_freshwater","fresh water density [kg/m^3]")
     50                s+="%s\n" % fielddisplay(self,"mu_water","water viscosity [N s/m^2]")
     51                s+="%s\n" % fielddisplay(self,"heatcapacity","heat capacity [J/kg/K]")
     52                s+="%s\n" % fielddisplay(self,"thermalconductivity","ice thermal conductivity [W/m/K]")
     53                s+="%s\n" % fielddisplay(self,"meltingpoint","melting point of ice at 1atm in K")
     54                s+="%s\n" % fielddisplay(self,"latentheat","latent heat of fusion [J/m^3]")
     55                s+="%s\n" % fielddisplay(self,"beta","rate of change of melting point with pressure [K/Pa]")
     56                s+="%s\n" % fielddisplay(self,"mixed_layer_capacity","mixed layer capacity [W/kg/K]")
     57                s+="%s\n" % fielddisplay(self,"thermal_exchange_velocity","thermal exchange velocity [m/s]")
     58                s+="%s\n" % fielddisplay(self,"rheology_B","flow law parameter [Pa/s^(1/n)]")
     59                s+="%s\n" % fielddisplay(self,"rheology_n","Glen's flow law exponent")
     60                s+="%s\n" % fielddisplay(self,"rheology_Z","rheology multiplier")
     61                s+="%s\n" % fielddisplay(self,"rheology_law","law for the temperature dependance of the rheology: 'None', 'Paterson' or 'Arrhenius'")
     62                s+="%s\n" % fielddisplay(self,"lithosphere_shear_modulus","Lithosphere shear modulus [Pa]")
     63                s+="%s\n" % fielddisplay(self,"lithosphere_density","Lithosphere density [g/cm^-3]")
     64                s+="%s\n" % fielddisplay(self,"mantle_shear_modulus","Mantle shear modulus [Pa]")
     65                s+="%s\n" % fielddisplay(self,"mantle_density","Mantle density [g/cm^-3]")
     66
     67                return s
     68        # }}}
    4069        def setdefaultparameters(self):    # {{{
    4170
     
    76105                #available: none, paterson and arrhenius
    77106                self.rheology_law='Paterson'
     107
     108                # GIA:
     109                self.lithosphere_shear_modulus  = 6.7*10**10;  # (Pa)
     110                self.lithosphere_density        = 3.32;       # (g/cm^-3)
     111                self.mantle_shear_modulus       = 1.45*10**11; # (Pa)
     112                self.mantle_density             = 3.34;       # (g/cm^-3)
    78113        # }}}
    79 
    80114        def checkconsistency(self,md,solution,analyses):    # {{{
    81115                md = checkfield(md,'materials.rho_ice','>',0)
     
    87121                md = checkfield(md,'materials.rheology_Z','>',0,'size',[md.mesh.numberofvertices,1])
    88122                md = checkfield(md,'materials.rheology_law','values',['None','Paterson','Arrhenius'])
     123                md = checkfield(md,'materials.lithosphere_shear_modulus','>',0,'numel',[1]);
     124                md = checkfield(md,'materials.lithosphere_density','>',0,'numel',[1]);
     125                md = checkfield(md,'materials.mantle_shear_modulus','>',0,'numel',[1]);
     126                md = checkfield(md,'materials.mantle_density','>',0,'numel',[1]);
    89127
    90128                return md
    91129        # }}}
    92 
    93         def __repr__(self):    # {{{
    94                 s ='   Materials:\n'
    95 
    96                 s+="%s\n" % fielddisplay(self,"rho_ice","ice density [kg/m^3]")
    97                 s+="%s\n" % fielddisplay(self,"rho_water","ocean water density [kg/m^3]")
    98                 s+="%s\n" % fielddisplay(self,"rho_freshwater","fresh water density [kg/m^3]")
    99                 s+="%s\n" % fielddisplay(self,"mu_water","water viscosity [N s/m^2]")
    100                 s+="%s\n" % fielddisplay(self,"heatcapacity","heat capacity [J/kg/K]")
    101                 s+="%s\n" % fielddisplay(self,"thermalconductivity","ice thermal conductivity [W/m/K]")
    102                 s+="%s\n" % fielddisplay(self,"meltingpoint","melting point of ice at 1atm in K")
    103                 s+="%s\n" % fielddisplay(self,"latentheat","latent heat of fusion [J/m^3]")
    104                 s+="%s\n" % fielddisplay(self,"beta","rate of change of melting point with pressure [K/Pa]")
    105                 s+="%s\n" % fielddisplay(self,"mixed_layer_capacity","mixed layer capacity [W/kg/K]")
    106                 s+="%s\n" % fielddisplay(self,"thermal_exchange_velocity","thermal exchange velocity [m/s]")
    107                 s+="%s\n" % fielddisplay(self,"rheology_B","flow law parameter [Pa/s^(1/n)]")
    108                 s+="%s\n" % fielddisplay(self,"rheology_n","Glen's flow law exponent")
    109                 s+="%s\n" % fielddisplay(self,"rheology_Z","rheology multiplier")
    110                 s+="%s\n" % fielddisplay(self,"rheology_law","law for the temperature dependance of the rheology: 'None', 'Paterson' or 'Arrhenius'")
    111 
    112                 return s
    113         # }}}
    114 
    115         def marshall(self,fid):    # {{{
     130        def marshall(self,md,fid):    # {{{
    116131                WriteData(fid,'enum',MaterialsEnum(),'data',MatdamageiceEnum(),'format','Integer')
    117132                WriteData(fid,'object',self,'class','materials','fieldname','rho_ice','format','Double')
     
    130145                WriteData(fid,'object',self,'class','materials','fieldname','rheology_Z','format','DoubleMat','mattype',1)
    131146                WriteData(fid,'data',StringToEnum(self.rheology_law)[0],'enum',MaterialsRheologyLawEnum(),'format','Integer')
     147
     148                WriteData(fid,'object',self,'class','materials','fieldname','lithosphere_shear_modulus','format','Double');
     149                WriteData(fid,'object',self,'class','materials','fieldname','lithosphere_density','format','Double','scale',10.**3.);
     150                WriteData(fid,'object',self,'class','materials','fieldname','mantle_shear_modulus','format','Double');
     151                WriteData(fid,'object',self,'class','materials','fieldname','mantle_density','format','Double','scale',10.**3.);
    132152        # }}}
    133 
  • issm/trunk/src/m/classes/matice.m

    r14310 r15396  
    2020                rheology_n   = NaN;
    2121                rheology_law = '';
     22
     23                %gia:
     24                lithosphere_shear_modulus  = 0.;
     25                lithosphere_density        = 0.;
     26                mantle_shear_modulus       = 0.;
     27                mantle_density             = 0.;
     28
    2229        end
    2330        methods
     
    7885                        %available: none, paterson and arrhenius
    7986                        obj.rheology_law='Paterson';
     87
     88                        % GIA:
     89                        obj.lithosphere_shear_modulus  = 6.7*10^10;  % (Pa)
     90                        obj.lithosphere_density        = 3.32;       % (g/cm^-3)
     91                        obj.mantle_shear_modulus       = 1.45*10^11; % (Pa)
     92                        obj.mantle_density             = 3.34;       % (g/cm^-3)
     93
    8094                end % }}}
    8195                function md = checkconsistency(obj,md,solution,analyses) % {{{
     
    87101                        md = checkfield(md,'materials.rheology_n','>',0,'size',[md.mesh.numberofelements 1]);
    88102                        md = checkfield(md,'materials.rheology_law','values',{'None' 'Paterson' 'Arrhenius'});
     103
     104                        if ismember(GiaAnalysisEnum(),analyses),
     105                                md = checkfield(md,'materials.lithosphere_shear_modulus','>',0,'numel',1);
     106                                md = checkfield(md,'materials.lithosphere_density','>',0,'numel',1);
     107                                md = checkfield(md,'materials.mantle_shear_modulus','>',0,'numel',1);
     108                                md = checkfield(md,'materials.mantle_density','>',0,'numel',1);
     109                        end
     110
    89111                end % }}}
    90112                function disp(obj) % {{{
     
    105127                        fielddisplay(obj,'rheology_n','Glen''s flow law exponent');
    106128                        fielddisplay(obj,'rheology_law','law for the temperature dependance of the rheology: ''None'', ''Paterson'' or ''Arrhenius''');
     129                        fielddisplay(obj,'lithosphere_shear_modulus','Lithosphere shear modulus [Pa]');
     130                        fielddisplay(obj,'lithosphere_density','Lithosphere density [g/cm^-3]');
     131                        fielddisplay(obj,'mantle_shear_modulus','Mantle shear modulus [Pa]');
     132                        fielddisplay(obj,'mantle_density','Mantle density [g/cm^-3]');
    107133                end % }}}
    108                 function marshall(obj,fid) % {{{
     134                function marshall(obj,md,fid) % {{{
    109135                        WriteData(fid,'enum',MaterialsEnum(),'data',MaticeEnum(),'format','Integer');
    110136                        WriteData(fid,'object',obj,'class','materials','fieldname','rho_ice','format','Double');
     
    122148                        WriteData(fid,'object',obj,'class','materials','fieldname','rheology_n','format','DoubleMat','mattype',2);
    123149                        WriteData(fid,'data',StringToEnum(obj.rheology_law),'enum',MaterialsRheologyLawEnum(),'format','Integer');
     150
     151                        WriteData(fid,'object',obj,'class','materials','fieldname','lithosphere_shear_modulus','format','Double');
     152                        WriteData(fid,'object',obj,'class','materials','fieldname','lithosphere_density','format','Double','scale',10^3);
     153                        WriteData(fid,'object',obj,'class','materials','fieldname','mantle_shear_modulus','format','Double');
     154                        WriteData(fid,'object',obj,'class','materials','fieldname','mantle_density','format','Double','scale',10^3);
    124155                end % }}}
    125156        end
  • issm/trunk/src/m/classes/matice.py

    r14310 r15396  
    1 #module imports
    21from fielddisplay import fielddisplay
    32from EnumDefinitions import *
     
    1413        """
    1514
    16         #properties
    17         def __init__(self):
    18                 # {{{ Properties
    19                 self.rho_ice                    = 0.
    20                 self.rho_water                  = 0.
    21                 self.rho_freshwater             = 0.
    22                 self.mu_water                   = 0.
    23                 self.heatcapacity               = 0.
    24                 self.latentheat                 = 0.
    25                 self.thermalconductivity        = 0.
    26                 self.meltingpoint               = 0.
    27                 self.beta                       = 0.
    28                 self.mixed_layer_capacity       = 0.
    29                 self.thermal_exchange_velocity  = 0.
    30                 self.rheology_B   = float('NaN')
    31                 self.rheology_n   = float('NaN')
    32                 self.rheology_law = ''
     15        def __init__(self): # {{{
     16                self.rho_ice                   = 0.
     17                self.rho_water                 = 0.
     18                self.rho_freshwater            = 0.
     19                self.mu_water                  = 0.
     20                self.heatcapacity              = 0.
     21                self.latentheat                = 0.
     22                self.thermalconductivity       = 0.
     23                self.meltingpoint              = 0.
     24                self.beta                      = 0.
     25                self.mixed_layer_capacity      = 0.
     26                self.thermal_exchange_velocity = 0.
     27                self.rheology_B                = float('NaN')
     28                self.rheology_n                = float('NaN')
     29                self.rheology_law              = ''
     30
     31                #gia:
     32                self.lithosphere_shear_modulus  = 0.
     33                self.lithosphere_density        = 0.
     34                self.mantle_shear_modulus       = 0.
     35                self.mantle_density             = 0.
    3336
    3437                self.setdefaultparameters()
    3538                #}}}
    36         def __repr__(self):
    37                 # {{{ Display
     39        def __repr__(self): # {{{
    3840                string="   Materials:"
    3941
     
    5254                string="%s\n%s"%(string,fielddisplay(self,"rheology_n","Glen's flow law exponent"))
    5355                string="%s\n%s"%(string,fielddisplay(self,"rheology_law","law for the temperature dependance of the rheology: 'None', 'Paterson' or 'Arrhenius'"))
     56                string="%s\n%s"%(string,fielddisplay(self,"lithosphere_shear_modulus","Lithosphere shear modulus [Pa]"))
     57                string="%s\n%s"%(string,fielddisplay(self,"lithosphere_density","Lithosphere density [g/cm^-3]"))
     58                string="%s\n%s"%(string,fielddisplay(self,"mantle_shear_modulus","Mantle shear modulus [Pa]"))
     59                string="%s\n%s"%(string,fielddisplay(self,"mantle_density","Mantle density [g/cm^-3]"))
    5460
    5561                return string
    5662                #}}}
    57         def setdefaultparameters(self):
    58                 # {{{setdefaultparameters
     63        def setdefaultparameters(self): # {{{
    5964                #ice density (kg/m^3)
    6065                self.rho_ice=917.
     
    9398                #available: none, paterson and arrhenius
    9499                self.rheology_law='Paterson'
     100
     101                # GIA:
     102                self.lithosphere_shear_modulus  = 6.7*10**10  # (Pa)
     103                self.lithosphere_density        = 3.32        # (g/cm^-3)
     104                self.mantle_shear_modulus       = 1.45*10**11 # (Pa)
     105                self.mantle_density             = 3.34        # (g/cm^-3)
     106
    95107                return self
    96108                #}}}
    97 
    98109        def checkconsistency(self,md,solution,analyses):    # {{{
    99110                md = checkfield(md,'materials.rho_ice','>',0)
     
    104115                md = checkfield(md,'materials.rheology_n','>',0,'size',[md.mesh.numberofelements])
    105116                md = checkfield(md,'materials.rheology_law','values',['None','Paterson','Arrhenius'])
     117                md = checkfield(md,'materials.lithosphere_shear_modulus','>',0,'numel',[1]);
     118                md = checkfield(md,'materials.lithosphere_density','>',0,'numel',[1]);
     119                md = checkfield(md,'materials.mantle_shear_modulus','>',0,'numel',[1]);
     120                md = checkfield(md,'materials.mantle_density','>',0,'numel',[1]);
    106121                return md
    107122        # }}}
    108 
    109         def marshall(self,fid):    # {{{
     123        def marshall(self,md,fid):    # {{{
    110124                WriteData(fid,'enum',MaterialsEnum(),'data',MaticeEnum(),'format','Integer');
    111125                WriteData(fid,'object',self,'class','materials','fieldname','rho_ice','format','Double')
     
    123137                WriteData(fid,'object',self,'class','materials','fieldname','rheology_n','format','DoubleMat','mattype',2)
    124138                WriteData(fid,'data',StringToEnum(self.rheology_law)[0],'enum',MaterialsRheologyLawEnum(),'format','Integer')
     139
     140                WriteData(fid,'object',self,'class','materials','fieldname','lithosphere_shear_modulus','format','Double');
     141                WriteData(fid,'object',self,'class','materials','fieldname','lithosphere_density','format','Double','scale',10.**3.);
     142                WriteData(fid,'object',self,'class','materials','fieldname','mantle_shear_modulus','format','Double');
     143                WriteData(fid,'object',self,'class','materials','fieldname','mantle_density','format','Double','scale',10.**3.);
    125144        # }}}
    126 
  • issm/trunk/src/m/classes/mesh.m

    r13975 r15396  
    4545                extractedvertices           = NaN
    4646                extractedelements           = NaN
     47        end
     48        methods (Static)
     49                function obj = loadobj(obj) % {{{
     50                        % This function is directly called by matlab when a model object is
     51                        % loaded. Update old properties here
     52
     53                        %2012 June 28th
     54                        if numel(obj.edges)>1 & any(isnan(obj.edges(:)))
     55                                disp('Update model edges from previous version');
     56                                obj.edges(isnan(obj.edges))=-1;
     57                        end
     58
     59                end% }}}
    4760        end
    4861        methods
     
    129142                                fielddisplay(obj,'numberofelements2d','number of elements');
    130143                                fielddisplay(obj,'numberofvertices2d','number of vertices');
    131                                 fielddisplay(obj,'elements2d','index into (x,y,z), coordinates of the vertices');
    132                                 fielddisplay(obj,'x2d','vertices x coordinate');
    133                                 fielddisplay(obj,'y2d','vertices y coordinate');
     144                                fielddisplay(obj,'elements2d','vertex indices of the mesh elements');
     145                                fielddisplay(obj,'x2d','vertices x coordinate [m]');
     146                                fielddisplay(obj,'y2d','vertices y coordinate [m]');
    134147
    135148                                disp(sprintf('\n      Elements and vertices of the extruded 3d mesh:'));
     
    139152                        fielddisplay(obj,'numberofelements','number of elements');
    140153                        fielddisplay(obj,'numberofvertices','number of vertices');
    141                         fielddisplay(obj,'elements','index into (x,y,z), coordinates of the vertices');
    142                         fielddisplay(obj,'x','vertices x coordinate');
    143                         fielddisplay(obj,'y','vertices y coordinate');
    144                         fielddisplay(obj,'z','vertices z coordinate');
     154                        fielddisplay(obj,'elements','vertex indices of the mesh elements');
     155                        fielddisplay(obj,'x','vertices x coordinate [m]');
     156                        fielddisplay(obj,'y','vertices y coordinate [m]');
     157                        fielddisplay(obj,'z','vertices z coordinate [m]');
    145158                        fielddisplay(obj,'edges','edges of the 2d mesh (vertex1 vertex2 element1 element2)');
    146159                        fielddisplay(obj,'numberofedges','number of edges of the 2d mesh');
    147160
    148161                        disp(sprintf('\n      Properties:'));
    149                         fielddisplay(obj,'dimension','mesh dimension (2d or 3d)');
     162                        fielddisplay(obj,'dimension','mesh dimension');
    150163                        fielddisplay(obj,'numberoflayers','number of extrusion layers');
    151164                        fielddisplay(obj,'vertexonbed','lower vertices flags list');
     
    170183
    171184                        disp(sprintf('\n      Projection:'));
    172                         fielddisplay(obj,'lat','vertices latitude');
    173                         fielddisplay(obj,'long','vertices longitude');
     185                        fielddisplay(obj,'lat','vertices latitude [degrees]');
     186                        fielddisplay(obj,'long','vertices longitude [degrees]');
    174187                        fielddisplay(obj,'hemisphere','Indicate hemisphere ''n'' or ''s'' ');
    175188                end % }}}
    176                 function marshall(obj,fid) % {{{
     189                function marshall(obj,md,fid) % {{{
    177190                        WriteData(fid,'object',obj,'fieldname','x','format','DoubleMat','mattype',1);
    178191                        WriteData(fid,'object',obj,'fieldname','y','format','DoubleMat','mattype',1);
  • issm/trunk/src/m/classes/mesh.py

    r14310 r15396  
    1 #module imports
    21import numpy
    32from fielddisplay import fielddisplay
     
    1413        """
    1514
    16         #properties
    17         def __init__(self):
    18                 # {{{ Properties
     15        def __init__(self): # {{{
    1916                self.x                           = float('NaN');
    2017                self.y                           = float('NaN');
     
    6158
    6259                #}}}
    63         def __repr__(self):
    64                 # {{{ Display
     60        def __repr__(self): # {{{
    6561                string="   Mesh:"
    6662
     
    7167                        string="%s\n%s"%(string,fielddisplay(self,"numberofelements2d","number of elements"))
    7268                        string="%s\n%s"%(string,fielddisplay(self,"numberofvertices2d","number of vertices"))
    73                         string="%s\n%s"%(string,fielddisplay(self,"elements2d","index into (x,y,z), coordinates of the vertices"))
    74                         string="%s\n%s"%(string,fielddisplay(self,"x2d","vertices x coordinate"))
    75                         string="%s\n%s"%(string,fielddisplay(self,"y2d","vertices y coordinate"))
     69                        string="%s\n%s"%(string,fielddisplay(self,"elements2d","vertex indices of the mesh elements"))
     70                        string="%s\n%s"%(string,fielddisplay(self,"x2d","vertices x coordinate [m]"))
     71                        string="%s\n%s"%(string,fielddisplay(self,"y2d","vertices y coordinate [m]"))
    7672
    7773                        string="%s\n%s"%(string,"\n\n      Elements and vertices of the extruded 3d mesh:")
     
    8076                string="%s\n%s"%(string,fielddisplay(self,"numberofelements","number of elements"))
    8177                string="%s\n%s"%(string,fielddisplay(self,"numberofvertices","number of vertices"))
    82                 string="%s\n%s"%(string,fielddisplay(self,"elements","index into (x,y,z), coordinates of the vertices"))
    83                 string="%s\n%s"%(string,fielddisplay(self,"x","vertices x coordinate"))
    84                 string="%s\n%s"%(string,fielddisplay(self,"y","vertices y coordinate"))
    85                 string="%s\n%s"%(string,fielddisplay(self,"z","vertices z coordinate"))
     78                string="%s\n%s"%(string,fielddisplay(self,"elements","vertex indices of the mesh elements"))
     79                string="%s\n%s"%(string,fielddisplay(self,"x","vertices x coordinate [m]"))
     80                string="%s\n%s"%(string,fielddisplay(self,"y","vertices y coordinate [m]"))
     81                string="%s\n%s"%(string,fielddisplay(self,"z","vertices z coordinate [m]"))
    8682                string="%s\n%s"%(string,fielddisplay(self,"edges","edges of the 2d mesh (vertex1 vertex2 element1 element2)"))
    8783                string="%s\n%s"%(string,fielddisplay(self,"numberofedges","number of edges of the 2d mesh"))
     
    110106
    111107                string="%s%s"%(string,"\n\n      Projection:")
    112                 string="%s\n%s"%(string,fielddisplay(self,"lat","vertices latitude"))
    113                 string="%s\n%s"%(string,fielddisplay(self,"long","vertices longitude"))
     108                string="%s\n%s"%(string,fielddisplay(self,"lat","vertices latitude [degrees]"))
     109                string="%s\n%s"%(string,fielddisplay(self,"long","vertices longitude [degrees]"))
    114110                string="%s\n%s"%(string,fielddisplay(self,"hemisphere","Indicate hemisphere 'n' or 's'"))
    115111                return string
    116112                #}}}
    117                
    118         def setdefaultparameters(self):
    119                 # {{{setdefaultparameters
     113        def setdefaultparameters(self): # {{{
    120114               
    121115                #the connectivity is the averaged number of nodes linked to a
     
    128122                return self
    129123        #}}}
    130 
    131124        def checkconsistency(self,md,solution,analyses):    # {{{
    132125
     
    177170                return md
    178171        # }}}
    179 
    180         def marshall(self,fid):    # {{{
     172        def marshall(self,md,fid):    # {{{
    181173                WriteData(fid,'object',self,'fieldname','x','format','DoubleMat','mattype',1)
    182174                WriteData(fid,'object',self,'fieldname','y','format','DoubleMat','mattype',1)
     
    201193                WriteData(fid,'object',self,'fieldname','numberofelements2d','format','Integer')
    202194        # }}}
    203 
  • issm/trunk/src/m/classes/miscellaneous.m

    r13395 r15396  
    3535
    3636                end % }}}
    37                 function marshall(obj,fid) % {{{
     37                function marshall(obj,md,fid) % {{{
    3838                        WriteData(fid,'object',obj,'fieldname','name','format','String');
    3939                end % }}}
  • issm/trunk/src/m/classes/miscellaneous.py

    r14310 r15396  
    1 #module imports
    21from collections import OrderedDict
    32from fielddisplay import fielddisplay
     
    1413        """
    1514
    16         #properties
    17         def __init__(self):
    18                 # {{{ Properties
     15        def __init__(self): # {{{
    1916                self.notes = ''
    2017                self.name  = ''
     
    2522
    2623                #}}}
    27         def __repr__(self):
    28                 # {{{ Display
     24        def __repr__(self): # {{{
    2925                string='   miscellaneous parameters:'
    3026
     
    3430                return string
    3531                #}}}
    36                
    37         def setdefaultparameters(self):
    38                 # {{{setdefaultparameters
     32        def setdefaultparameters(self): # {{{
    3933                return self
    4034        #}}}
    41 
    4235        def checkconsistency(self,md,solution,analyses):    # {{{
    4336                md = checkfield(md,'miscellaneous.name','empty',1)
    4437                return md
    4538        # }}}
    46 
    47         def marshall(self,fid):    #  {{{
     39        def marshall(self,md,fid):    #  {{{
    4840                WriteData(fid,'object',self,'fieldname','name','format','String')
    4941        # }}}
    50 
  • issm/trunk/src/m/classes/model/model.m

    r14310 r15396  
    2525                verbose          = 0;
    2626                settings         = 0;
    27                 solver           = 0;
     27                toolkits         = 0;
    2828                cluster          = 0;
    2929
     
    3636                steadystate      = 0;
    3737                transient        = 0;
     38                gia              = 0;
    3839
    3940                autodiff         = 0;
     
    8283                                end
    8384                        end
    84                         %2012 June 28th
    85                         if sum(sum(isnan(md.mesh.edges)))>0
    86                                 disp('Update model edges from previous version');
    87                                 md.mesh.edges(isnan(md.mesh.edges))=-1;
     85                        %2013 April 12
     86                        if numel(md.diagnostic.loadingforce==1)
     87                                md.diagnostic.loadingforce=0*ones(md.mesh.numberofvertices,3);
     88                        end
     89                        %2013 April 17
     90                        if isa(md.hydrology,'hydrology'),
     91                                disp('Recovering old hydrology class');
     92                                md.hydrology=hydrologyshreve(md.materials);
    8893                        end
    8994
     
    152157                        if ~isnan(md.initialization.temperature),md.initialization.temperature=DepthAverage(md,md.initialization.temperature);end;
    153158
     159                        %gia
     160                        if ~isnan(md.gia.mantle_viscosity), md.gia.mantle_viscosity=project2d(md,md.gia.mantle_viscosity,1); end
     161                        if ~isnan(md.gia.lithosphere_thickness), md.gia.lithosphere_thickness=project2d(md,md.gia.lithosphere_thickness,1); end
     162
    154163                        %bedinfo and surface info
    155164                        md.mesh.elementonbed=ones(md.mesh.numberofelements2d,1);
     
    172181                        md.diagnostic.spcvz=project2d(md,md.diagnostic.spcvz,md.mesh.numberoflayers);
    173182                        md.diagnostic.referential=project2d(md,md.diagnostic.referential,md.mesh.numberoflayers);
     183                        md.diagnostic.loadingforce=project2d(md,md.diagnostic.loadingforce,md.mesh.numberoflayers);
    174184                        md.prognostic.spcthickness=project2d(md,md.prognostic.spcthickness,md.mesh.numberoflayers);
    175185                        md.thermal.spctemperature=project2d(md,md.thermal.spctemperature,md.mesh.numberoflayers);
     
    212222                        md.mask.elementonwater=project2d(md,md.mask.elementonwater,1);
    213223                        md.mask.vertexonwater=project2d(md,md.mask.vertexonwater,1);
    214                         md.mask.vertexonrock=project2d(md,md.mask.vertexonrock,1);
     224                        %md.mask.vertexonrock=project2d(md,md.mask.vertexonrock,1);
    215225
    216226                        %lat long
     
    718728                        md.balancethickness.spcthickness=project3d(md,'vector',md.balancethickness.spcthickness,'type','node');
    719729                        md.diagnostic.referential=project3d(md,'vector',md.diagnostic.referential,'type','node');
     730                        md.diagnostic.loadingforce=project3d(md,'vector',md.diagnostic.loadingforce,'type','node');
    720731
    721732                        %in 3d, pressureload: [node1 node2 node3 node4 element]
     
    746757                        md.geometry.surface=project3d(md,'vector',md.geometry.surface,'type','node');
    747758                        md.geometry.thickness=project3d(md,'vector',md.geometry.thickness,'type','node');
     759                        md.gia.mantle_viscosity=project3d(md,'vector',md.gia.mantle_viscosity,'type','node');
     760                        md.gia.lithosphere_thickness=project3d(md,'vector',md.gia.lithosphere_thickness,'type','node');
    748761                        md.geometry.hydrostatic_ratio=project3d(md,'vector',md.geometry.hydrostatic_ratio,'type','node');
    749762                        md.geometry.bed=project3d(md,'vector',md.geometry.bed,'type','node');
     
    810823                        if isfield(structmd,'gridonwater'), md.mask.vertexonwater=structmd.gridonwater; end
    811824                        if isfield(structmd,'gridonboundary'), md.mesh.vertexonboundary=structmd.gridonboundary; end
    812                         if isfield(structmd,'petscoptions') & ~isempty(structmd.petscoptions), md.solver=structmd.petscoptions; end
     825                        if isfield(structmd,'petscoptions') & ~isempty(structmd.petscoptions), md.toolkits=structmd.petscoptions; end
    813826                        if isfield(structmd,'g'), md.constants.g=structmd.g; end
    814827                        if isfield(structmd,'yts'), md.constants.yts=structmd.yts; end
     
    976989                                pos=find(~isnan(structmd.spcvz)); md.diagnostic.spcvz(pos)=structmd.spcvz(pos);     
    977990                        end
    978                         if ~isempty(structmd.pressureload) & ismember(structmd.pressureload(end,end),[118 119 120]),
    979                                 pos=find(structmd.pressureload(:,end)==120); md.diagnostic.icefront(pos,end)=0;
    980                                 pos=find(structmd.pressureload(:,end)==118); md.diagnostic.icefront(pos,end)=1;
    981                                 pos=find(structmd.pressureload(:,end)==119); md.diagnostic.icefront(pos,end)=2;
     991                        if isfield(structmd,'pressureload'),
     992                                if ~isempty(structmd.pressureload) & ismember(structmd.pressureload(end,end),[118 119 120]),
     993                                        pos=find(structmd.pressureload(:,end)==120); md.diagnostic.icefront(pos,end)=0;
     994                                        pos=find(structmd.pressureload(:,end)==118); md.diagnostic.icefront(pos,end)=1;
     995                                        pos=find(structmd.pressureload(:,end)==119); md.diagnostic.icefront(pos,end)=2;
     996                                end
    982997                        end
    983998                        if isfield(structmd,'elements_type') & structmd.elements_type(end,end)>50,
     
    10551070                        end
    10561071
     1072                        if ~isfield(structmd,'loadingforce');
     1073                                md.diagnostic.loadingforce=0*ones(md.mesh.numberofvertices,3);
     1074                        end
    10571075                end% }}}
    10581076                function md = setdefaultparameters(md) % {{{
     
    10731091                        md.flowequation     = flowequation();
    10741092                        md.debug            = debug();
    1075                         md.verbose          = verbose('solution',true,'qmu',true,'control',true);
     1093                        md.verbose          = verbose();
    10761094                        md.settings         = settings();
    1077                         md.solver           = solver();
    1078                         if ismumps(),
    1079                                 md.solver           = addoptions(md.solver,DiagnosticVertAnalysisEnum(),mumpsoptions());
    1080                         else
    1081                                 md.solver           = addoptions(md.solver,DiagnosticVertAnalysisEnum(),iluasmoptions());
    1082                         end
     1095                        md.toolkits         = toolkits();
    10831096                        md.cluster          = generic();
    10841097                        md.balancethickness = balancethickness();
    10851098                        md.diagnostic       = diagnostic();
    1086                         md.hydrology        = hydrology();
     1099                        md.hydrology        = hydrologyshreve();
    10871100                        md.prognostic       = prognostic();
    10881101                        md.thermal          = thermal();
    10891102                        md.steadystate      = steadystate();
    10901103                        md.transient        = transient();
     1104                        md.gia              = gia();
    10911105                        md.autodiff         = autodiff();
    10921106                        md.flaim            = flaim();
     
    11151129                        disp(sprintf('%19s: %-22s -- %s','verbose'         ,['[1x1 ' class(obj.verbose) ']'],'verbosity level in solve'));
    11161130                        disp(sprintf('%19s: %-22s -- %s','settings'        ,['[1x1 ' class(obj.settings) ']'],'settings properties'));
    1117                         disp(sprintf('%19s: %-22s -- %s','solver'          ,['[1x1 ' class(obj.solver) ']'],'PETSc options for each solution'));
     1131                        disp(sprintf('%19s: %-22s -- %s','toolkits'          ,['[1x1 ' class(obj.toolkits) ']'],'PETSc options for each solution'));
    11181132                        disp(sprintf('%19s: %-22s -- %s','cluster'         ,['[1x1 ' class(obj.cluster) ']'],'cluster parameters (number of cpus...)'));
    11191133                        disp(sprintf('%19s: %-22s -- %s','balancethickness',['[1x1 ' class(obj.balancethickness) ']'],'parameters for balancethickness solution'));
     
    11251139                        disp(sprintf('%19s: %-22s -- %s','steadystate'     ,['[1x1 ' class(obj.steadystate) ']'],'parameters for steadystate solution'));
    11261140                        disp(sprintf('%19s: %-22s -- %s','transient'       ,['[1x1 ' class(obj.transient) ']'],'parameters for transient solution'));
     1141                        disp(sprintf('%19s: %-22s -- %s','gia'       ,['[1x1 ' class(obj.gia) ']'],'parameters for gia solution'));
    11271142                        disp(sprintf('%19s: %-22s -- %s','autodiff'        ,['[1x1 ' class(obj.autodiff) ']'],'automatic differentiation parameters'));
    11281143                        disp(sprintf('%19s: %-22s -- %s','flaim'           ,['[1x1 ' class(obj.flaim) ']'],'flaim parameters'));
     
    11341149                end % }}}
    11351150                function memory(obj) % {{{
    1136                        
    1137                 disp(sprintf('\nMemory imprint: '));
    1138 
    1139                 objects=fields(obj);
    1140                 memory=0;
     1151
     1152                disp(sprintf('\nMemory imprint:\n'));
     1153
     1154                fields=properties('model');
     1155                mem=0;
     1156
     1157                for i=1:length(fields),
     1158                        field=obj.(fields{i});
     1159                        s=whos('field');
     1160                        mem=mem+s.bytes/1e6;
     1161                        disp(sprintf('%19s: %6.2f Mb',fields{i},s.bytes/1e6));
     1162                end
     1163                disp(sprintf('%19s--%10s','--------------','--------------'));
     1164                disp(sprintf('%19s: %g Mb','Total',mem));
     1165                end % }}}
     1166                function netcdf(obj,filename) % {{{
     1167                %NETCDF - save model as netcdf
     1168                %
     1169                %   Usage:
     1170                %      netcdf(md,filename)
     1171                %
     1172                %   Example:
     1173                %      netcdf(md,'model.nc');
     1174
     1175                disp('Saving model as NetCDF');
     1176                %1. Create NetCDF file
     1177                ncid=netcdf.create(filename,'CLOBBER');
     1178                netcdf.putAtt(ncid,netcdf.getConstant('NC_GLOBAL'),'Conventions','CF-1.4');
     1179                netcdf.putAtt(ncid,netcdf.getConstant('NC_GLOBAL'),'Title',['ISSM model (' obj.miscellaneous.name ')']);
     1180                netcdf.putAtt(ncid,netcdf.getConstant('NC_GLOBAL'),'Author',getenv('USER'));
     1181                netcdf.putAtt(ncid,netcdf.getConstant('NC_GLOBAL'),'Date',datestr(now));
     1182
     1183                %Preallocate variable id, needed to write variables in netcdf file
     1184                var_id=zeros(1000,1);%preallocate
     1185
     1186                for step=1:2,
     1187                        counter=0;
     1188                        [var_id,counter]=structtonc(ncid,'md',obj,0,var_id,counter,step);
     1189                        if step==1, netcdf.endDef(ncid); end
     1190                end
     1191
     1192                if counter>1000,
     1193                        warning(['preallocation of var_id need to be updated from ' num2str(1000) ' to ' num2str(counter)]);
     1194                end
     1195
     1196                netcdf.close(ncid)
     1197                end % }}}
     1198                function xylim(obj) % {{{
     1199
     1200                        xlim([min(obj.mesh.x) max(obj.mesh.x)]);
     1201                        ylim([min(obj.mesh.y) max(obj.mesh.y)])
     1202                end % }}}
     1203                function md=upload(md) % {{{
     1204                %the goal of this routine is to upload the model onto a server, and to empty it.
     1205                %So first, save the model with a unique name and upload the file to the server:
     1206                random_part=fix(rand(1)*10000);
     1207                id=[md.miscellaneous.name '-' regexprep(datestr(now),'[^\w'']','') '-' num2str(random_part)  '-' getenv('USER') '-' oshostname() '.upload'];
     1208                eval(['save ' id ' md']);
     1209
     1210                %Now, upload the file:
     1211                issmscpout(md.settings.upload_server,md.settings.upload_path,md.settings.upload_login,md.settings.upload_port,{id},1);
     1212
     1213                %Now, empty this model of everything except settings, and record name of file we just uploaded!
     1214                settings_back=md.settings;
     1215                md=model();
     1216                md.settings=settings_back;
     1217                md.settings.upload_filename=id;
     1218
     1219                %get locally rid of file that was uploaded
     1220                eval(['delete ' id]);
     1221
     1222
     1223                end % }}}
     1224                function md=download(md) % {{{
    11411225               
    1142                 for i=1:length(objects),
    1143                         field=objects{i};
    1144                         realobject=obj.(field);
    1145                         s=whos('realobject');
    1146                         memory=memory+s.bytes/1e6;
    1147                         disp(sprintf('%19s: %g Mb',field,s.bytes/1e6));
    1148                 end
    1149                 disp(sprintf('Overall: %g Mb',memory));
     1226                %the goal of this routine is to download the internals of the current model from a server, because
     1227                %this model is empty, except for the settings which tell us where to go and find this model!
     1228               
     1229                %Download the file:
     1230                issmscpin(md.settings.upload_server, md.settings.upload_login, md.settings.upload_port, md.settings.upload_path, {md.settings.upload_filename});
     1231
     1232                name=md.settings.upload_filename;
     1233
     1234                %Now, load this model:
     1235                md=loadmodel(md.settings.upload_filename);
     1236
     1237                %get locally rid of file that was downloaded
     1238                eval(['delete ' name]);
     1239
    11501240                end % }}}
    11511241        end
  • issm/trunk/src/m/classes/model/model.py

    r14310 r15396  
    1818from verbose import verbose
    1919from settings import settings
    20 from solver import solver
     20from toolkits import toolkits
    2121from generic import generic
    2222from balancethickness import balancethickness
    2323from diagnostic import diagnostic
    2424from groundingline import groundingline
    25 from hydrology import hydrology
     25from hydrologyshreve import hydrologyshreve
    2626from prognostic import prognostic
    2727from thermal import thermal
    2828from steadystate import steadystate
    2929from transient import transient
     30from gia import gia
    3031from autodiff import autodiff
    3132from flaim import flaim
     
    5051class model(object):
    5152        #properties
    52         def __init__(self):
    53                 # {{{ Properties
     53        def __init__(self):#{{{
    5454                self.mesh             = mesh()
    5555                self.mask             = mask()
     
    6666
    6767                self.debug            = debug()
    68                 self.verbose          = verbose('solution',True,'qmu',True,'control',True)
     68                self.verbose          = verbose()
    6969                self.settings         = settings()
    70                 self.solver           = solver()
    71                 if ismumps():
    72                         self.solver.addoptions(DiagnosticVertAnalysisEnum(),mumpsoptions())
    73                 else:
    74                         self.solver.addoptions(DiagnosticVertAnalysisEnum(),iluasmoptions())
     70                self.toolkits         = toolkits()
    7571                self.cluster          = generic()
    7672
     
    7874                self.diagnostic       = diagnostic()
    7975                self.groundingline    = groundingline()
    80                 self.hydrology        = hydrology()
     76                self.hydrology        = hydrologyshreve()
    8177                self.prognostic       = prognostic()
    8278                self.thermal          = thermal()
    8379                self.steadystate      = steadystate()
    8480                self.transient        = transient()
     81                self.gia              = gia()
    8582
    8683                self.autodiff         = autodiff()
     
    9491                self.private          = private()
    9592                #}}}
    96 
    9793        def properties(self):    # {{{
    9894                # ordered list of properties since vars(self) is random
     
    112108                        'verbose',\
    113109                        'settings',\
    114                         'solver',\
     110                        'toolkits',\
    115111                        'cluster',\
    116112                        'balancethickness',\
     
    122118                        'steadystate',\
    123119                        'transient',\
     120                                  'gia',\
    124121                        'autodiff',\
    125122                        'flaim',\
     
    131128                        'private']
    132129        # }}}
    133 
    134         def __repr__(obj):
    135                 # {{{ Display
    136 
     130        def __repr__(obj): #{{{
    137131                #print "Here %s the number: %d" % ("is", 37)
    138132                string="%19s: %-22s -- %s" % ("mesh","[%s,%s]" % ("1x1",obj.mesh.__class__.__name__),"mesh properties")
     
    151145                string="%s\n%s" % (string,"%19s: %-22s -- %s" % ("verbose","[%s,%s]" % ("1x1",obj.verbose.__class__.__name__),"verbosity level in solve"))
    152146                string="%s\n%s" % (string,"%19s: %-22s -- %s" % ("settings","[%s,%s]" % ("1x1",obj.settings.__class__.__name__),"settings properties"))
    153                 string="%s\n%s" % (string,"%19s: %-22s -- %s" % ("solver","[%s,%s]" % ("1x1",obj.solver.__class__.__name__),"PETSc options for each solution"))
     147                string="%s\n%s" % (string,"%19s: %-22s -- %s" % ("toolkits","[%s,%s]" % ("1x1",obj.toolkits.__class__.__name__),"PETSc options for each solution"))
    154148                string="%s\n%s" % (string,"%19s: %-22s -- %s" % ("cluster","[%s,%s]" % ("1x1",obj.cluster.__class__.__name__),"cluster parameters (number of cpus...)"))
    155149                string="%s\n%s" % (string,"%19s: %-22s -- %s" % ("balancethickness","[%s,%s]" % ("1x1",obj.balancethickness.__class__.__name__),"parameters for balancethickness solution"))
     
    170164                return string
    171165        # }}}
    172 
    173166        def checkmessage(self,string):    # {{{
    174167                print ("model not consistent: %s" % string)
     
    176169                return self
    177170        # }}}
    178 
    179171        def extract(md,area):    # {{{
    180172                """
     
    450442                return md2
    451443        # }}}
    452 
    453444        def extrude(md,*args):    # {{{
    454445                """
     
    634625                md.balancethickness.spcthickness=project3d(md,'vector',md.balancethickness.spcthickness,'type','node')
    635626                md.diagnostic.referential=project3d(md,'vector',md.diagnostic.referential,'type','node')
     627                md.diagnostic.loadingforce=project3d(md,'vector',md.diagnostic.loadingforce,'type','node')
    636628
    637629                #in 3d, pressureload: [node1 node2 node3 node4 element]
     
    657649                md.geometry.surface=project3d(md,'vector',md.geometry.surface,'type','node')
    658650                md.geometry.thickness=project3d(md,'vector',md.geometry.thickness,'type','node')
     651                md.gia.mantle_viscosity=project3d(md,'vector',md.gia.mantle_viscosity,'type','node')
     652                md.gia.lithosphere_thickness=project3d(md,'vector',md.gia.lithosphere_thickness,'type','node')
    659653                md.geometry.hydrostatic_ratio=project3d(md,'vector',md.geometry.hydrostatic_ratio,'type','node')
    660654                md.geometry.bed=project3d(md,'vector',md.geometry.bed,'type','node')
     
    697691                return md
    698692                # }}}
    699 
  • issm/trunk/src/m/classes/organizer.py

    r13975 r15396  
    6363                        self.trunkprefix=trunkprefix
    6464        #}}}
    65 
    6665        def __repr__(self):    # {{{
    6766                s =""
     
    7574                                s+="%s\n" % "   step #%2i: '%s'",step['id'],step['string']
    7675        #}}}
    77 
    7876        def load(self,string):    # {{{
    7977
     
    9391                return md
    9492        #}}}
    95 
    9693        def loadmodel(self,string):    # {{{
    9794
     
    118115                        raise IOerror("Could not find '%s'" % path)
    119116        #}}}
    120 
    121117        def perform(self,string):    # {{{
    122118
     
    153149                return bool
    154150        #}}}
    155 
    156151        def savemodel(self,md):    # {{{
    157152
     
    174169                savevars(name,'md',md)
    175170        #}}}
    176 
  • issm/trunk/src/m/classes/pairoptions.m

    r14310 r15396  
    3333                        %check length of input
    3434                        if mod((nargin-1),2),
    35                                 error('error: an even number of options is required')
     35                                error('Invalid parameter/value pair arguments')
    3636                        end
    3737                        numoptions = (nargin-1)/2;
  • issm/trunk/src/m/classes/pairoptions.py

    r14310 r15396  
    1111        """
    1212
    13         def __init__(self,*arg):
     13        def __init__(self,*arg): # {{{
    1414                self.functionname = ''
    1515                self.list         = OrderedDict()
     
    2626                        self.buildlist(*arg)
    2727        # }}}
    28 
    29         def buildlist(self,*arg):    # {{{
    30                 """BUILDLIST - build list of objects from input"""
    31 
    32                 #check length of input
    33                 if len(arg) % 2:
    34                         raise TypeError('error: an even number of options is required')
    35                 numoptions = len(arg)/2
    36 
    37                 #go through arg and build list of objects
    38                 for i in xrange(numoptions):
    39                         if isinstance(arg[2*i],(str,unicode)):
    40                                 self.list[arg[2*i]] = arg[2*i+1];
    41                         else:
    42                                 #option is not a string, ignore it
    43                                 print "WARNING: option number %d is not a string and will be ignored." % (i+1)
    44         # }}}
    45 
    46         def addfield(self,field,value):    # {{{
    47                 """ADDFIELD - add a field to an options list"""
    48                 if isinstance(field,(str,unicode)):
    49                         if field in self.list:
    50                                 print "WARNING: field '%s' with value=%s exists and will be overwritten with value=%s." % (field,str(self.list[field]),str(value))
    51                         self.list[field] = value
    52         # }}}
    53 
    54         def addfielddefault(self,field,value):    # {{{
    55                 """ADDFIELDDEFAULT - add a field to an options list if it does not already exist"""
    56                 if isinstance(field,(str,unicode)):
    57                         if field not in self.list:
    58                                 self.list[field] = value
    59         # }}}
    60 
    61         def AssignObjectFields(self,obj2):    # {{{
    62                 """ASSIGNOBJECTFIELDS - assign object fields from options"""
    63                 for item in self.list.iteritems():
    64                         if item[0] in dir(obj2):
    65                                 setattr(obj2,item[0],item[1])
    66                         else:
    67                                 print "WARNING: field '%s' is not a property of '%s'." % (item[0],type(obj2))
    68                 return obj2
    69         # }}}
    70 
    71         def changefieldvalue(self,field,newvalue):    # {{{
    72                 """CHANGEOPTIONVALUE - change the value of an option in an option list"""
    73 
    74                 self.list[field]=newvalue;
    75         # }}}
    76 
    77 #       function obj = deleteduplicates(obj,warn) % {{{
    78 #       %DELETEDUPLICATES - delete duplicates in an option list
    79 #
    80 #               %track the first occurrence of each option
    81 #               [dummy lines]=unique(obj.list(:,1),'first');
    82 #               clear dummy
    83 #
    84 #               %warn user if requested
    85 #               if warn,
    86 #                       numoptions=size(obj.list,1);
    87 #                       for i=1:numoptions,
    88 #                               if ~ismember(i,lines),
    89 #                                       disp(['WARNING: option ' obj.list{i,1} ' appeared more than once. Only its first occurrence will be kept'])
    90 #                               end
    91 #                       end
    92 #               end
    93 #
    94 #               %remove duplicates from the options list
    95 #               obj.list=obj.list(lines,:);
    96 #       end % }}}
    97 
    9828        def __repr__(self):    # {{{
    9929                s="   functionname: '%s'\n" % self.functionname
     
    11141                return s
    11242        # }}}
     43        def buildlist(self,*arg):    # {{{
     44                """BUILDLIST - build list of objects from input"""
    11345
     46                #check length of input
     47                if len(arg) % 2:
     48                        raise TypeError('Invalid parameter/value pair arguments')
     49                numoptions = len(arg)/2
     50
     51                #go through arg and build list of objects
     52                for i in xrange(numoptions):
     53                        if isinstance(arg[2*i],(str,unicode)):
     54                                self.list[arg[2*i]] = arg[2*i+1];
     55                        else:
     56                                #option is not a string, ignore it
     57                                print "WARNING: option number %d is not a string and will be ignored." % (i+1)
     58        # }}}
     59        def addfield(self,field,value):    # {{{
     60                """ADDFIELD - add a field to an options list"""
     61                if isinstance(field,(str,unicode)):
     62                        if field in self.list:
     63                                print "WARNING: field '%s' with value=%s exists and will be overwritten with value=%s." % (field,str(self.list[field]),str(value))
     64                        self.list[field] = value
     65        # }}}
     66        def addfielddefault(self,field,value):    # {{{
     67                """ADDFIELDDEFAULT - add a field to an options list if it does not already exist"""
     68                if isinstance(field,(str,unicode)):
     69                        if field not in self.list:
     70                                self.list[field] = value
     71        # }}}
     72        def AssignObjectFields(self,obj2):    # {{{
     73                """ASSIGNOBJECTFIELDS - assign object fields from options"""
     74                for item in self.list.iteritems():
     75                        if item[0] in dir(obj2):
     76                                setattr(obj2,item[0],item[1])
     77                        else:
     78                                print "WARNING: field '%s' is not a property of '%s'." % (item[0],type(obj2))
     79                return obj2
     80        # }}}
     81        def changefieldvalue(self,field,newvalue):    # {{{
     82                """CHANGEOPTIONVALUE - change the value of an option in an option list"""
     83
     84                self.list[field]=newvalue;
     85        # }}}
    11486        def exist(self,field):    # {{{
    11587                """EXIST - check if the option exist"""
     
    12799                        return False
    128100        # }}}
    129 
    130         #def fieldoccurrences(self,field): #{{{
    131         #       '''
    132         #       FIELDOCCURRENCES - get number of occurrence of a field
    133         #       '''
    134         #
    135         #       #check input
    136         #       if not isinstance(field,(str,unicode)):
    137         #               raise TypeError("fieldoccurrences error message: field should be a string")
    138 
    139         #       #get number of occurrence
    140         #       # ??
    141         #       #return num
    142         #       #% }}}
    143 
    144101        def getfieldvalue(self,field,default=None):    # {{{
    145102                """
     
    174131                return value
    175132        # }}}
    176 
    177133        def removefield(self,field,warn):    # {{{
    178134                """
     
    196152                                print "removefield info: option '%s' has been removed from the list of options." % field
    197153        # }}}
    198 
    199         def marshall(self,fid,firstindex):    # {{{
     154        def marshall(self,md,fid,firstindex):    # {{{
    200155
    201156                for i,item in enumerate(self.list.iteritems()):
     
    214169                                raise TypeError("Cannot marshall option '%s': format not supported yet." % name)
    215170        # }}}
    216 
  • issm/trunk/src/m/classes/planetmesh.m

    r13975 r15396  
    1 %MESH class definition
     1%PLANETMESH class definition
    22%
    33%   Usage:
     
    1717                numberofelements            = 0;
    1818                numberofvertices            = 0;
    19 
    20                 lat                         = NaN
    21                 long                        = NaN
    2219
    2320                vertexconnectivity          = NaN
     
    6461                        md = checkfield(md,'planetmesh.numberofelements','>',0);
    6562                        md = checkfield(md,'planetmesh.numberofvertices','>',0);
    66                         %no checks for numberofedges lat long and hemisphere
    6763                        if (md.planetmesh.dimension==2),
    6864                                md = checkfield(md,'planetmesh.average_vertex_connectivity','>=',9,'message','''planetmesh.average_vertex_connectivity'' should be at least 9 in 2d');
     
    9288                        fielddisplay(obj,'numberofelements','number of elements');
    9389                        fielddisplay(obj,'numberofvertices','number of vertices');
    94                         fielddisplay(obj,'elements','index into (x,y,z), coordinates of the vertices');
    95                         fielddisplay(obj,'x','vertices x coordinate');
    96                         fielddisplay(obj,'y','vertices y coordinate');
    97                         fielddisplay(obj,'z','vertices z coordinate');
    98                         fielddisplay(obj,'r','vertices r coordinate');
    99                         fielddisplay(obj,'theta','vertices theta coordinate');
    100                         fielddisplay(obj,'phi','vertices phi coordinate');
     90                        fielddisplay(obj,'elements','vertex indices of the mesh elements');
     91                        fielddisplay(obj,'x','vertices x coordinate [m]');
     92                        fielddisplay(obj,'y','vertices y coordinate [m]');
     93                        fielddisplay(obj,'z','vertices z coordinate [m]');
     94                        fielddisplay(obj,'r','vertices r coordinate [m]');
     95                        fielddisplay(obj,'theta','vertices theta coordinate [degrees]');
     96                        fielddisplay(obj,'phi','vertices phi coordinate [degrees]');
    10197
    10298                        disp(sprintf('\n      Properties:'));
     
    109105
    110106                end % }}}
    111                 function marshall(obj,fid) % {{{
     107                function marshall(obj,md,fid) % {{{
    112108                        WriteData(fid,'object',obj,'fieldname','x','format','DoubleMat','mattype',1);
    113109                        WriteData(fid,'object',obj,'fieldname','y','format','DoubleMat','mattype',1);
  • issm/trunk/src/m/classes/plotoptions.m

    r14310 r15396  
    4545                         %check length of input
    4646                         if mod((nargin-1),2),
    47                                  error('buildlist error message: an even number of plotoptions is required')
     47                                 error('Invalid parameter/value pair arguments')
    4848                         end
    4949
     
    5252                         numoptions = (nargin-1)/2;
    5353                         rawlist=cell(numoptions,2);
     54                         counter=1;
    5455                         for i=1:numoptions,
    55                                  if ischar(varargin{2*i-1}),
    56                                          rawlist{i,1}=varargin{2*i-1};
    57                                          rawlist{i,2}=varargin{2*i};
     56                                 optionname = varargin{2*i-1};
     57                                 optionval  = varargin{2*i};
     58                                 if ischar(optionname),
     59                                         rawlist{counter,1}=optionname;
     60                                         rawlist{counter,2}=optionval;
     61                                         counter=counter+1;
    5862                                 else
    5963                                         %option is not a string, ignore it
    6064                                         disp(['WARNING: option number ' num2str(i) ' is not a string, it will be ignored']);
    61                                          rawlist(i,:)=[];
     65                                         rawlist(counter,:)=[];
    6266                                         continue
    6367                                 end
    6468                         end
    65 
    66                          %get figure number
    67                          opt.figurenumber=getfieldvalue(rawoptions,'figure',1);
    6869
    6970                         %get number of data to be plotted
     
    162163                                 opt.list{i}=deleteduplicates(opt.list{i},1);
    163164                         end
     165
     166                         %Get figure number (should be in options for subplot 1)
     167                         opt.figurenumber=getfieldvalue(opt.list{1},'figure',1);
     168                         removefield(opt.list{1},'figure',0);
     169
    164170                 end
    165171                 %}}}
  • issm/trunk/src/m/classes/plotoptions.py

    r13975 r15396  
    1010        '''
    1111
    12         def __init__(self,*arg):
     12        def __init__(self,*arg):# {{{
    1313                self.numberofplots = 0
    1414                self.figurenumber  = 1
     
    1616
    1717                self.buildlist(*arg)
    18 
     18                #}}}
    1919        def __repr__(self): #{{{
    2020                s="\n"
     
    3838                #check length of input
    3939                if len(arg) % 2:
    40                         raise TypeError('error: an even number of options is required')
     40                        raise TypeError('Invalid parameter/value pair arguments')
    4141
    4242                #go through args and build list (like pairoptions)
     
    5454                #get figure number
    5555                self.figurenumber=rawoptions.getfieldvalue('figure',1)
     56                rawoptions.removefield('figure',0)
    5657
    5758                #get number of subplots
  • issm/trunk/src/m/classes/private.py

    r13395 r15396  
    1 #module imports
    21from collections import OrderedDict
    32from fielddisplay import fielddisplay
     
    1312        """
    1413
    15         #properties
    16         def __init__(self):
    17                 # {{{ Properties
     14        def __init__(self): # {{{
    1815                self.isconsistent = True
    1916                self.runtimename  = ''
     
    2522
    2623                #}}}
    27         def __repr__(self):
    28                 # {{{ Display
     24        def __repr__(self): # {{{
    2925                string='   private parameters: do not change'
    3026
     
    3531                return string
    3632                #}}}
    37                
    38         def setdefaultparameters(self):
    39                 # {{{setdefaultparameters
     33        def setdefaultparameters(self): # {{{
    4034                return self
    4135        #}}}
    42 
    4336        def checkconsistency(self,md,solution,analyses):    # {{{
    4437                return md
    4538        # }}}
    46 
  • issm/trunk/src/m/classes/prognostic.m

    r13975 r15396  
    5353                function disp(obj) % {{{
    5454                        disp(sprintf('   Prognostic solution parameters:'));
    55                         fielddisplay(obj,'spcthickness','thickness constraints (NaN means no constraint)');
    56                         fielddisplay(obj,'min_thickness','minimum ice thickness allowed');
     55                        fielddisplay(obj,'spcthickness','thickness constraints (NaN means no constraint) [m]');
     56                        fielddisplay(obj,'min_thickness','minimum ice thickness allowed [m]');
    5757                        fielddisplay(obj,'hydrostatic_adjustment','adjustment of ice shelves surface and bed elevations: ''Incremental'' or ''Absolute'' ');
    58                         fielddisplay(obj,'stabilization','0->no, 1->artificial_diffusivity, 2->streamline upwinding, 3->discontinuous Galerkin');
     58                        fielddisplay(obj,'stabilization','0: no, 1: artificial_diffusivity, 2: streamline upwinding, 3: discontinuous Galerkin');
    5959
    6060                        disp(sprintf('\n      %s','Penalty options:'));
     
    6464
    6565                end % }}}
    66                 function marshall(obj,fid) % {{{
    67                         WriteData(fid,'object',obj,'fieldname','spcthickness','format','DoubleMat','mattype',1);
     66                function marshall(obj,md,fid) % {{{
     67                        WriteData(fid,'object',obj,'fieldname','spcthickness','format','DoubleMat','mattype',1,'forcinglength',md.mesh.numberofvertices+1);
    6868                        WriteData(fid,'object',obj,'fieldname','min_thickness','format','Double');
    6969                        WriteData(fid,'data',StringToEnum(obj.hydrostatic_adjustment),'format','Integer','enum',PrognosticHydrostaticAdjustmentEnum());
  • issm/trunk/src/m/classes/prognostic.py

    r14310 r15396  
    1 #module imports
    21from fielddisplay import fielddisplay
    32from EnumDefinitions import *
     
    1413        """
    1514
    16         #properties
    17         def __init__(self):
    18                 # {{{ Properties
     15        def __init__(self): # {{{
    1916                self.spcthickness           = float('NaN')
    2017                self.min_thickness          = 0
     
    2926
    3027                #}}}
    31         def __repr__(self):
    32                 # {{{ Display
     28        def __repr__(self): # {{{
    3329                string='   Prognostic solution parameters:'
    34                 string="%s\n%s"%(string,fielddisplay(self,'spcthickness','thickness constraints (NaN means no constraint)'))
    35                 string="%s\n%s"%(string,fielddisplay(self,'min_thickness','minimum ice thickness allowed'))
     30                string="%s\n%s"%(string,fielddisplay(self,'spcthickness','thickness constraints (NaN means no constraint) [m]'))
     31                string="%s\n%s"%(string,fielddisplay(self,'min_thickness','minimum ice thickness allowed [m]'))
    3632                string="%s\n%s"%(string,fielddisplay(self,'hydrostatic_adjustment','adjustment of ice shelves surface and bed elevations: ''Incremental'' or ''Absolute'' '))
    37                 string="%s\n%s"%(string,fielddisplay(self,'stabilization','0->no, 1->artificial_diffusivity, 2->streamline upwinding, 3->discontinuous Galerkin'))
     33                string="%s\n%s"%(string,fielddisplay(self,'stabilization','0: no, 1: artificial_diffusivity, 2: streamline upwinding, 3: discontinuous Galerkin'))
    3834                string="%s\n%s"%(string,fielddisplay(self,'requested_outputs','additional outputs requested'))
    3935
    4036                return string
    4137                #}}}
    42                
    43         def setdefaultparameters(self):
    44                 # {{{setdefaultparameters
     38        def setdefaultparameters(self): # {{{
    4539               
    4640                #Type of stabilization to use 0:nothing 1:artificial_diffusivity 3:Discontinuous Galerkin
     
    5852                return self
    5953        #}}}
    60 
    6154        def checkconsistency(self,md,solution,analyses):    # {{{
    6255
     
    7467                return md
    7568        # }}}
    76 
    77         def marshall(self,fid):    # {{{
    78                 WriteData(fid,'object',self,'fieldname','spcthickness','format','DoubleMat','mattype',1)
     69        def marshall(self,md,fid):    # {{{
     70                WriteData(fid,'object',self,'fieldname','spcthickness','format','DoubleMat','mattype',1,'forcinglength',md.mesh.numberofvertices+1)
    7971                WriteData(fid,'object',self,'fieldname','min_thickness','format','Double')
    8072                WriteData(fid,'data',StringToEnum(self.hydrostatic_adjustment)[0],'format','Integer','enum',PrognosticHydrostaticAdjustmentEnum())
     
    8476                WriteData(fid,'object',self,'fieldname','requested_outputs','format','DoubleMat','mattype',3);
    8577        # }}}
    86 
  • issm/trunk/src/m/classes/qmu.m

    r13975 r15396  
    140140
    141141                end % }}}
    142                 function marshall(obj,fid) % {{{
     142                function marshall(obj,md,fid) % {{{
    143143                        WriteData(fid,'object',obj,'fieldname','isdakota','format','Boolean');
    144144                        if ~obj.isdakota,
  • issm/trunk/src/m/classes/qmu.py

    r13975 r15396  
    1 #module imports
    21import numpy
    32from collections import OrderedDict
     
    1615        """
    1716
    18         #properties
    19         def __init__(self):
    20                 # {{{ Properties
     17        def __init__(self): # {{{
    2118                self.isdakota                    = 0
    2219                self.variables                   = OrderedDict()
     
    4037
    4138                #}}}
    42 
    43         def setdefaultparameters(self):
    44                 # {{{setdefaultparameters
     39        def setdefaultparameters(self): # {{{
    4540                return self
    4641        #}}}
     
    139134                return s
    140135        # }}}
    141         def marshall(self,fid):    # {{{
     136        def marshall(self,md,fid):    # {{{
    142137                WriteData(fid,'object',self,'fieldname','isdakota','format','Boolean')
    143138                if not self.isdakota:
     
    156151                WriteData(fid,'data',flag,'enum',QmuMassFluxSegmentsPresentEnum(),'format','Boolean');
    157152        # }}}
    158 
  • issm/trunk/src/m/classes/qmu/@dakota_method/dmeth_params_write.m

    r14310 r15396  
    350350                param_write(fid,sbeg,'seed','             = ','\n',dm.params);
    351351                param_write(fid,sbeg,'fixed_seed','','\n',dm.params);
    352                 if (str2num(dakotaversion())>4.2)
     352                dver=textscan(dakotaversion(),'%[0123456789].%[0123456789].%[0123456789]');
     353                if ((str2num(dver{1}{1})==4 && str2num(dver{2}{1})>2) || str2num(dver{1}{1})>4)
    353354                    param_write(fid,sbeg,'rng','                ','\n',dm.params);
    354355                end
  • issm/trunk/src/m/classes/radaroverlay.m

    r11995 r15396  
    2626
    2727                        fielddisplay(obj,'pwr','radar power image (matrix)');
    28                         fielddisplay(obj,'x','corresponding x coordinates');
    29                         fielddisplay(obj,'y','corresponding y coordinates');
     28                        fielddisplay(obj,'x','corresponding x coordinates [m]');
     29                        fielddisplay(obj,'y','corresponding y coordinates [m]');
    3030
    3131                end % }}}
  • issm/trunk/src/m/classes/radaroverlay.py

    r14310 r15396  
    1 #module imports
    21from fielddisplay import fielddisplay
    32
     
    109        """
    1110
    12         #properties
    13         def __init__(self):
    14                 # {{{ Properties
     11        def __init__(self): # {{{
    1512                self.pwr = float('NaN')
    1613                self.x   = float('NaN')
     
    2118
    2219                #}}}
    23         def __repr__(self):
    24                 # {{{ Display
     20        def __repr__(self): # {{{
    2521                string='   radaroverlay parameters:'
    2622                string="%s\n%s"%(string,fielddisplay(self,'pwr','radar power image (matrix)'))
    27                 string="%s\n%s"%(string,fielddisplay(self,'x','corresponding x coordinates'))
    28                 string="%s\n%s"%(string,fielddisplay(self,'y','corresponding y coordinates'))
     23                string="%s\n%s"%(string,fielddisplay(self,'x','corresponding x coordinates [m]'))
     24                string="%s\n%s"%(string,fielddisplay(self,'y','corresponding y coordinates [m]'))
    2925                return string
    3026                #}}}
    31                
    32         def setdefaultparameters(self):
    33                 # {{{setdefaultparameters
     27        def setdefaultparameters(self): # {{{
    3428                return self
    3529        #}}}
    36 
  • issm/trunk/src/m/classes/results.py

    r13975 r15396  
    1717                pass
    1818        # }}}
    19 
    2019        def __repr__(self):    # {{{
    2120                s ="   Model results:\n"
     
    4443                return s
    4544        # }}}
    46 
    4745        def setdefaultparameters(self):    # {{{
    4846                #do nothing
    4947                return self
    5048        # }}}
    51 
    5249        def checkconsistency(self,md,solution,analyses):    # {{{
    5350                return md
    5451        # }}}
    55 
    56         def marshall(self,fid):    # {{{
     52        def marshall(self,md,fid):    # {{{
    5753                pass
    5854        # }}}
    59 
  • issm/trunk/src/m/classes/rifts.m

    r13975 r15396  
    5454
    5555                end % }}}
    56                 function marshall(obj,fid) % {{{
     56                function marshall(obj,md,fid) % {{{
    5757
    5858                        %Process rift info
  • issm/trunk/src/m/classes/rifts.py

    r14310 r15396  
    1 #module imports
    21import numpy
    32from fielddisplay import fielddisplay
     
    1514        """
    1615
    17         #properties
    18         def __init__(self):
    19                 # {{{ Properties
     16        def __init__(self): # {{{
    2017                self.riftstruct     = []
    2118                self.riftproperties = []
     
    2522
    2623                #}}}
    27         def __repr__(self):
    28                 # {{{ Display
     24        def __repr__(self): # {{{
    2925                string='   rifts parameters:'
    3026
     
    3329                return string
    3430                #}}}
    35                
    36         def setdefaultparameters(self):
    37                 # {{{setdefaultparameters
     31        def setdefaultparameters(self): # {{{
    3832                return self
    3933        #}}}
    40 
    4134        def checkconsistency(self,md,solution,analyses):    # {{{
    4235                if (not self.riftstruct) or numpy.any(isnans(self.riftstruct)):
     
    6154                return md
    6255        # }}}
    63 
    64         def marshall(self,fid):    # {{{
     56        def marshall(self,md,fid):    # {{{
    6557
    6658                #Process rift info
     
    9082                WriteData(fid,'data',data,'enum',RiftsRiftstructEnum(),'format','DoubleMat','mattype',3)
    9183        # }}}
    92 
  • issm/trunk/src/m/classes/settings.m

    r14310 r15396  
    1111                output_frequency    = 0;
    1212                waitonlock          = 0;
     13                upload_server       = '';
     14                upload_path         = '';
     15                upload_login        = '';
     16                upload_port         = 0;
     17                upload_filename     = '';
     18
    1319        end
    1420        methods
     
    4046                        %0 to deactivate
    4147                        obj.waitonlock=Inf;
     48               
     49                        %upload options:
     50                        upload_port         = 0;
     51
    4252                end % }}}
    4353                function md = checkconsistency(obj,md,solution,analyses) % {{{
     
    5767                        fielddisplay(obj,'results_as_patches','provide results as patches for each element (0 or 1)');
    5868                        fielddisplay(obj,'output_frequency','frequency at which results are saved in all solutions with multiple time_steps');
    59                         fielddisplay(obj,'waitonlock','maximum number of minutes to wait for batch results, or return 0');
     69                        fielddisplay(obj,'waitonlock','maximum number of minutes to wait for batch results (NaN to deactivate)');
     70                        fielddisplay(obj,'upload_server','server hostname where model should be uploaded');
     71                        fielddisplay(obj,'upload_path','path on server where model should be uploaded');
     72                        fielddisplay(obj,'upload_login','server login');
     73                        fielddisplay(obj,'upload_port','port login (default is 0)');
     74                        fielddisplay(obj,'upload_filename','unique id generated when uploading the file to server');
    6075
    6176                end % }}}
    62                 function marshall(obj,fid) % {{{
     77                function marshall(obj,md,fid) % {{{
    6378                        WriteData(fid,'object',obj,'fieldname','io_gather','format','Boolean');
    6479                        WriteData(fid,'object',obj,'fieldname','lowmem','format','Boolean');
  • issm/trunk/src/m/classes/settings.py

    r14310 r15396  
    1 #module imports
    21from fielddisplay import fielddisplay
    32from EnumDefinitions import *
     
    1312        """
    1413
    15         #properties
    16         def __init__(self):
    17                 # {{{ Properties
     14        def __init__(self): # {{{
    1815                self.io_gather           = 0
    1916                self.lowmem              = 0
     
    2623
    2724                #}}}
    28         def __repr__(self):
    29                 # {{{ Display
     25        def __repr__(self): # {{{
    3026                string="   general settings parameters:"
    3127
     
    3733                return string
    3834                #}}}
    39                
    40         def setdefaultparameters(self):
    41                 # {{{setdefaultparameters
     35        def setdefaultparameters(self): # {{{
    4236               
    4337                #are we short in memory ? (0 faster but requires more memory)
     
    6155                return self
    6256        #}}}
    63 
    6457        def checkconsistency(self,md,solution,analyses):    # {{{
    6558                md = checkfield(md,'settings.io_gather','numel',[1],'values',[0,1])
     
    7164                return md
    7265        # }}}
    73 
    74         def marshall(self,fid):    # {{{
     66        def marshall(self,md,fid):    # {{{
    7567                WriteData(fid,'object',self,'fieldname','io_gather','format','Boolean')
    7668                WriteData(fid,'object',self,'fieldname','lowmem','format','Boolean')
     
    8274                        WriteData(fid,'enum',SettingsWaitonlockEnum(),'data',False,'format','Boolean');
    8375        # }}}
    84 
  • issm/trunk/src/m/classes/steadystate.m

    r13395 r15396  
    4747
    4848                end % }}}
    49                 function marshall(obj,fid) % {{{
     49                function marshall(obj,md,fid) % {{{
    5050                        WriteData(fid,'object',obj,'fieldname','reltol','format','Double');
    5151                        WriteData(fid,'object',obj,'fieldname','maxiter','format','Integer');
  • issm/trunk/src/m/classes/steadystate.py

    r13395 r15396  
    1 #module imports
    21import numpy
    32from fielddisplay import fielddisplay
     
    1413        """
    1514
    16         #properties
    17         def __init__(self):
    18                 # {{{ Properties
     15        def __init__(self): # {{{
    1916                self.reltol            = 0
    2017                self.maxiter           = 0
     
    2522
    2623                #}}}
    27         def __repr__(self):
    28                 # {{{ Display
     24        def __repr__(self): # {{{
    2925                string='   steadystate solution parameters:'
    3026                string="%s\n%s"%(string,fielddisplay(self,'reltol','relative tolerance criterion'))
     
    3329                return string
    3430                #}}}
    35                
    36         def setdefaultparameters(self):
    37                 # {{{setdefaultparameters
     31        def setdefaultparameters(self): # {{{
    3832               
    3933                #maximum of steady state iterations
     
    4539                return self
    4640        #}}}
    47 
    4841        def checkconsistency(self,md,solution,analyses):    # {{{
    4942
     
    6053                return md
    6154        # }}}
    62 
    63         def marshall(self,fid):    # {{{
     55        def marshall(self,md,fid):    # {{{
    6456                WriteData(fid,'object',self,'fieldname','reltol','format','Double')
    6557                WriteData(fid,'object',self,'fieldname','maxiter','format','Integer')
    6658                WriteData(fid,'object',self,'fieldname','requested_outputs','format','DoubleMat','mattype',3)
    6759        # }}}
    68 
  • issm/trunk/src/m/classes/surfaceforcings.m

    r14310 r15396  
    66classdef surfaceforcings
    77        properties (SetAccess=public)
    8                 precipitation = NaN;
    9                 mass_balance  = NaN;
    10                 ispdd = 0;
    11                 issmbgradients = 0;
    12                 isdelta18o = 0;
    13                 href = NaN;
    14                 smbref = NaN;
    15                 b_pos = NaN;
    16                 b_neg = NaN;
    17                 monthlytemperatures = NaN;
    18                 delta18o = NaN;
    19                 delta18o_surface = NaN;
    20                 temperatures_presentday = NaN;
    21                 temperatures_lgm = NaN;
     8                precipitation             = NaN;
     9                mass_balance              = NaN;
     10                ispdd                     = 0;
     11                issmbgradients            = 0;
     12                isdelta18o                = 0;
     13                href                      = NaN;
     14                smbref                    = NaN;
     15                b_pos                     = NaN;
     16                b_neg                     = NaN;
     17                monthlytemperatures       = NaN;
     18                delta18o                  = NaN;
     19                delta18o_surface          = NaN;
     20                temperatures_presentday   = NaN;
     21                temperatures_lgm          = NaN;
    2222                precipitations_presentday = NaN;
     23                desfac                    = 0.5;
     24                s0p                       = 0;
    2325        end
    2426        methods
     
    3739                  obj.issmbgradients=0;
    3840                  obj.isdelta18o=0;
    39 
     41                  obj.desfac=0.5;
     42                  obj.s0p=0;
    4043                end % }}}
    4144                function md = checkconsistency(obj,md,solution,analyses) % {{{
     
    4548                                md = checkfield(md,'surfaceforcings.issmbgradients','numel',[1],'values',[0 1]);
    4649                                if(obj.ispdd)
     50                                  md = checkfield(md,'surfaceforcings.desfac','<=',1,'numel',1);
     51                                  md = checkfield(md,'surfaceforcings.s0p','>=',0,'numel',1);
    4752                                        if(obj.isdelta18o==0)
    4853                                                md = checkfield(md,'surfaceforcings.monthlytemperatures','forcing',1,'NaN',1);
     
    7176                        disp(sprintf('   surface forcings parameters:'));
    7277
     78                        disp(sprintf('\n   General parameters:'));
    7379                        fielddisplay(obj,'mass_balance','surface mass balance [m/yr ice eq]');
     80
     81                        disp(sprintf('\n   PDD and deltaO18 parameters:'));
    7482                        fielddisplay(obj,'ispdd','is pdd activated (0 or 1, default is 0)');
    7583                        fielddisplay(obj,'isdelta18o','is temperature and precipitation delta18o parametrisation activated (0 or 1, default is 0)');
    76                         fielddisplay(obj,'monthlytemperatures','monthly surface temperatures [Kelvin], required if pdd is activated and delta18o not activated');
     84                        fielddisplay(obj,'desfac','desertification elevation factor (between 0 and 1, default is 0.5) [m]');
     85                        fielddisplay(obj,'s0p','should be set to elevation from precip source (between 0 and a few 1000s m, default is 0) [m]');
     86                        fielddisplay(obj,'monthlytemperatures','monthly surface temperatures [K], required if pdd is activated and delta18o not activated');
    7787                        fielddisplay(obj,'precipitation','surface precipitation [m/yr water eq]');
    78                         fielddisplay(obj,'temperatures_presentday','monthly present day surface temperatures [Kelvin], required if pdd is activated and delta18o activated');
    79                         fielddisplay(obj,'temperatures_lgm','monthly LGM surface temperatures [Kelvin], required if pdd is activated and delta18o activated');
     88                        fielddisplay(obj,'temperatures_presentday','monthly present day surface temperatures [K], required if pdd is activated and delta18o activated');
     89                        fielddisplay(obj,'temperatures_lgm','monthly LGM surface temperatures [K], required if pdd is activated and delta18o activated');
    8090                        fielddisplay(obj,'precipitations_presentday','monthly surface precipitation [m/yr water eq], required if pdd is activated and delta18o activated');
    8191                        fielddisplay(obj,'delta18o','delta18o, required if pdd is activated and delta18o activated');
    8292                        fielddisplay(obj,'delta18o_surface','surface elevation of the delta18o site, required if pdd is activated and delta18o activated');
     93
     94                        disp(sprintf('\n   SMB gradients parameters:'));
    8395                        fielddisplay(obj,'issmbgradients','is smb gradients method activated (0 or 1, default is 0)');
    8496                        fielddisplay(obj,'href',' reference elevation from which deviation is used to calculate SMB adjustment in smb gradients method');
     
    88100
    89101                end % }}}
    90                 function marshall(obj,fid) % {{{
    91                         WriteData(fid,'object',obj,'fieldname','precipitation','format','DoubleMat','mattype',1);
    92                         WriteData(fid,'object',obj,'fieldname','mass_balance','format','DoubleMat','mattype',1);
     102                function marshall(obj,md,fid) % {{{
     103
     104                        yts=365.0*24.0*3600.0;
     105
     106                        WriteData(fid,'object',obj,'fieldname','precipitation','format','DoubleMat','mattype',1,'scale',1./yts,'forcinglength',md.mesh.numberofvertices+1);
     107                        WriteData(fid,'object',obj,'fieldname','mass_balance','format','DoubleMat','mattype',1,'scale',1./yts,'forcinglength',md.mesh.numberofvertices+1);
    93108                        WriteData(fid,'object',obj,'fieldname','ispdd','format','Boolean');
    94109                        WriteData(fid,'object',obj,'fieldname','isdelta18o','format','Boolean');
    95110                        if obj.ispdd,
     111                                WriteData(fid,'object',obj,'fieldname','desfac','format','Double');
     112                                WriteData(fid,'object',obj,'fieldname','s0p','format','Double');
    96113                                if obj.isdelta18o
    97114                                        WriteData(fid,'object',obj,'fieldname','temperatures_presentday','format','DoubleMat','mattype',1);
     
    101118                                        WriteData(fid,'object',obj,'fieldname','delta18o','format','DoubleMat','mattype',1);
    102119                                else
    103                                         WriteData(fid,'object',obj,'fieldname','monthlytemperatures','format','DoubleMat','mattype',1);
    104                                         WriteData(fid,'object',obj,'fieldname','precipitation','format','DoubleMat','mattype',1);
     120                                        WriteData(fid,'object',obj,'fieldname','monthlytemperatures','format','DoubleMat','mattype',1,'forcinglength',md.mesh.numberofvertices+1);
    105121                                end
    106122                        end
    107123                        WriteData(fid,'object',obj,'fieldname','issmbgradients','format','Boolean');
    108124                        if obj.issmbgradients,
    109                                 WriteData(fid,'object',obj,'fieldname','href','format','DoubleMat','mattype',1);
    110                                 WriteData(fid,'object',obj,'fieldname','smbref','format','DoubleMat','mattype',1);
    111                                 WriteData(fid,'object',obj,'fieldname','b_pos','format','DoubleMat','mattype',1);
    112                                 WriteData(fid,'object',obj,'fieldname','b_neg','format','DoubleMat','mattype',1);
     125                                WriteData(fid,'object',obj,'fieldname','href','format','DoubleMat','mattype',1,'forcinglength',md.mesh.numberofvertices+1);
     126                                WriteData(fid,'object',obj,'fieldname','smbref','format','DoubleMat','mattype',1,'scale',1./yts,'forcinglength',md.mesh.numberofvertices+1);
     127                                WriteData(fid,'object',obj,'fieldname','b_pos','format','DoubleMat','mattype',1,'scale',1./yts,'forcinglength',md.mesh.numberofvertices+1);
     128                                WriteData(fid,'object',obj,'fieldname','b_neg','format','DoubleMat','mattype',1,'scale',1./yts,'forcinglength',md.mesh.numberofvertices+1);
    113129                        end
    114130
  • issm/trunk/src/m/classes/surfaceforcings.py

    r14310 r15396  
    1 #module imports
    21from fielddisplay import fielddisplay
    32from EnumDefinitions import *
     
    1312        """
    1413
    15         #properties
    16         def __init__(self):
    17                 # {{{ Properties
    18                 self.precipitation = float('NaN')
    19                 self.mass_balance  = float('NaN')
    20                 self.ispdd = 0
    21                 self.issmbgradients = 0
    22                 self.isdelta18o = 0
    23                 self.href = float('NaN')
    24                 self.smbref = float('NaN')
    25                 self.b_pos = float('NaN')
    26                 self.b_neg = float('NaN')
    27                 self.monthlytemperatures = float('NaN')
    28                 self.delta18o = float('NaN')
    29                 self.delta18o_surface = float('NaN')
    30                 self.temperatures_presentday = float('NaN')
    31                 self.temperatures_lgm = float('NaN')
     14        def __init__(self): # {{{
     15                self.precipitation             = float('NaN')
     16                self.mass_balance              = float('NaN')
     17                self.ispdd                     = 0
     18                self.issmbgradients            = 0
     19                self.isdelta18o                = 0
     20                self.href                      = float('NaN')
     21                self.smbref                    = float('NaN')
     22                self.b_pos                     = float('NaN')
     23                self.b_neg                     = float('NaN')
     24                self.monthlytemperatures       = float('NaN')
     25                self.delta18o                  = float('NaN')
     26                self.delta18o_surface          = float('NaN')
     27                self.temperatures_presentday   = float('NaN')
     28                self.temperatures_lgm          = float('NaN')
    3229                self.precipitations_presentday = float('NaN')
     30                self.desfac                    = 0.
     31                self.s0p                       = 0.
    3332
    3433                #set defaults
     
    3635
    3736                #}}}
    38         def __repr__(self):
    39                 # {{{ Display
     37        def __repr__(self): # {{{
    4038                string="   surface forcings parameters:"
    4139
     
    4341                string="%s\n%s"%(string,fielddisplay(self,'mass_balance','surface mass balance [m/yr ice eq]'))
    4442                string="%s\n%s"%(string,fielddisplay(self,'ispdd','is pdd activated (0 or 1, default is 0)'))
     43                string="%s\n%s"%(string,fielddisplay(self,'desfac','desertification elevation factor (between 0 and 1, default is 0.5) [m]'))
    4544                string="%s\n%s"%(string,fielddisplay(self,'isdelta18o','is temperature and precipitation delta18o parametrisation activated (0 or 1, default is 0)'))
    46                 string="%s\n%s"%(string,fielddisplay(self,'monthlytemperatures','monthly surface temperatures [Kelvin], required if pdd is activated and delta18o not activated'))
     45                string="%s\n%s"%(string,fielddisplay(self,'s0p','should be set to elevation from precip source (between 0 and a few 1000s m, default is 0) [m]'))
     46                string="%s\n%s"%(string,fielddisplay(self,'monthlytemperatures','monthly surface temperatures [K], required if pdd is activated and delta18o not activated'))
    4747                string="%s\n%s"%(string,fielddisplay(self,'precipitation','surface precipitation [m/yr water eq]'))
    48                 string="%s\n%s"%(string,fielddisplay(self,'temperatures_presentday','monthly present day surface temperatures [Kelvin], required if pdd is activated and delta18o activated'))
    49                 string="%s\n%s"%(string,fielddisplay(self,'temperatures_lgm','monthly LGM surface temperatures [Kelvin], required if pdd is activated and delta18o activated'))
     48                string="%s\n%s"%(string,fielddisplay(self,'temperatures_presentday','monthly present day surface temperatures [K], required if pdd is activated and delta18o activated'))
     49                string="%s\n%s"%(string,fielddisplay(self,'temperatures_lgm','monthly LGM surface temperatures [K], required if pdd is activated and delta18o activated'))
    5050                string="%s\n%s"%(string,fielddisplay(self,'precipitations_presentday','monthly surface precipitation [m/yr water eq], required if pdd is activated and delta18o activated'))
    5151                string="%s\n%s"%(string,fielddisplay(self,'delta18o','delta18o, required if pdd is activated and delta18o activated'))
     
    5959                return string
    6060                #}}}
    61         def setdefaultparameters(self):
    62                 # {{{setdefaultparameters
     61        def setdefaultparameters(self): # {{{
    6362                 
    6463                #pdd method not used in default mode
     
    6665                self.issmbgradients=0
    6766                self.isdelta18o=0
     67                self.desfac=0.5
     68                self.s0p=0.
    6869
    6970                return self
    7071        #}}}
    71 
    7272        def checkconsistency(self,md,solution,analyses):    # {{{
    7373
     
    7676                        md = checkfield(md,'surfaceforcings.issmbgradients','numel',[1],'values',[0,1])
    7777                        if   self.ispdd:
     78                                md = checkfield(md,'surfaceforcings.desfac','<=',1,'numel',[1]);
     79                                md = checkfield(md,'surfaceforcings.s0p','>=',0,'numel',[1]);
    7880                                if not self.isdelta18o:
    7981                                        md = checkfield(md,'surfaceforcings.monthlytemperatures','forcing',1,'NaN',1)
     
    98100                return md
    99101        # }}}
     102        def marshall(self,md,fid):    # {{{
    100103
    101         def marshall(self,fid):    # {{{
    102                 WriteData(fid,'object',self,'fieldname','precipitation','format','DoubleMat','mattype',1)
    103                 WriteData(fid,'object',self,'fieldname','mass_balance','format','DoubleMat','mattype',1)
     104                yts=365.0*24.0*3600.0
     105
     106                WriteData(fid,'object',self,'fieldname','precipitation','format','DoubleMat','mattype',1,'scale',1./yts,'forcinglength',md.mesh.numberofvertices+1)
     107                WriteData(fid,'object',self,'fieldname','mass_balance','format','DoubleMat','mattype',1,'scale',1./yts,'forcinglength',md.mesh.numberofvertices+1)
    104108                WriteData(fid,'object',self,'fieldname','ispdd','format','Boolean')
    105109                WriteData(fid,'object',self,'fieldname','isdelta18o','format','Boolean')
    106110
    107111                if self.ispdd:
     112                        WriteData(fid,'object',self,'fieldname','desfac','format','Double');
     113                        WriteData(fid,'object',self,'fieldname','s0p','format','Double');
    108114                        if self.isdelta18o:
    109115                                WriteData(fid,'object',self,'fieldname','temperatures_presentday','format','DoubleMat','mattype',1)
     
    113119                                WriteData(fid,'object',self,'fieldname','delta18o','format','DoubleMat','mattype',1)
    114120                        else:
    115                                 WriteData(fid,'object',self,'fieldname','monthlytemperatures','format','DoubleMat','mattype',1)
    116                                 WriteData(fid,'object',self,'fieldname','precipitation','format','DoubleMat','mattype',1)
     121                                WriteData(fid,'object',self,'fieldname','monthlytemperatures','format','DoubleMat','mattype',1,'forcinglength',md.mesh.numberofvertices+1)
    117122
    118123                WriteData(fid,'object',self,'fieldname','issmbgradients','format','Boolean')
    119124
    120125                if self.issmbgradients:
    121                         WriteData(fid,'object',self,'fieldname','href','format','DoubleMat','mattype',1)
    122                         WriteData(fid,'object',self,'fieldname','smbref','format','DoubleMat','mattype',1)
    123                         WriteData(fid,'object',self,'fieldname','b_pos','format','DoubleMat','mattype',1)
    124                         WriteData(fid,'object',self,'fieldname','b_neg','format','DoubleMat','mattype',1)
     126                        WriteData(fid,'object',self,'fieldname','href','format','DoubleMat','mattype',1,'forcinglength',md.mesh.numberofvertices+1)
     127                        WriteData(fid,'object',self,'fieldname','smbref','format','DoubleMat','mattype',1,'scale',1./yts,'forcinglength',md.mesh.numberofvertices+1)
     128                        WriteData(fid,'object',self,'fieldname','b_pos','format','DoubleMat','mattype',1,'scale',1./yts,'forcinglength',md.mesh.numberofvertices+1)
     129                        WriteData(fid,'object',self,'fieldname','b_neg','format','DoubleMat','mattype',1,'scale',1./yts,'forcinglength',md.mesh.numberofvertices+1)
    125130        # }}}
    126 
  • issm/trunk/src/m/classes/taoinversion.m

    r14310 r15396  
    1 %INVERSION class definition
     1%TAOINVERSION class definition
    22%
    33%   Usage:
     
    8383                        if solution==BalancethicknessSolutionEnum()
    8484                                md = checkfield(md,'inversion.thickness_obs','size',[md.mesh.numberofvertices 1],'NaN',1);
    85                         elseif solution==WeakBalancethicknessSolutionEnum()
     85                        elseif solution==BalancethicknessSoftSolutionEnum()
    8686                                md = checkfield(md,'inversion.thickness_obs','size',[md.mesh.numberofvertices 1],'NaN',1);
    8787                        else
     
    9393                        disp(sprintf('   taoinversion parameters:'));
    9494                        fielddisplay(obj,'iscontrol','is inversion activated?');
    95                         fielddisplay(obj,'incomplete_adjoint','do we assume linear viscosity?');
    96                         fielddisplay(obj,'control_parameters','parameter where inverse control is carried out; ex: {''FrictionCoefficient''}, or {''MaterialsRheologyBbar''}');
     95                        fielddisplay(obj,'incomplete_adjoint','1: linear viscosity, 0: non-linear viscosity');
     96                        fielddisplay(obj,'control_parameters','ex: {''FrictionCoefficient''}, or {''MaterialsRheologyBbar''}');
    9797                        fielddisplay(obj,'nsteps','number of optimization searches');
    9898                        fielddisplay(obj,'cost_functions','indicate the type of response for each optimization step');
     
    100100                        fielddisplay(obj,'min_parameters','absolute minimum acceptable value of the inversed parameter on each vertex');
    101101                        fielddisplay(obj,'max_parameters','absolute maximum acceptable value of the inversed parameter on each vertex');
    102                         fielddisplay(obj,'vx_obs','observed velocity x component [m/a]');
    103                         fielddisplay(obj,'vy_obs','observed velocity y component [m/a]');
    104                         fielddisplay(obj,'vel_obs','observed velocity magnitude [m/a]');
     102                        fielddisplay(obj,'vx_obs','observed velocity x component [m/yr]');
     103                        fielddisplay(obj,'vy_obs','observed velocity y component [m/yr]');
     104                        fielddisplay(obj,'vel_obs','observed velocity magnitude [m/yr]');
    105105                        fielddisplay(obj,'thickness_obs','observed thickness [m]');
    106106                        disp('Available cost functions:');
     
    115115                        disp('   503: ThicknessAbsGradient');
    116116                end % }}}
    117                 function marshall(obj,fid) % {{{
     117                function marshall(obj,md,fid) % {{{
    118118
    119119                        WriteData(fid,'object',obj,'class','inversion','fieldname','iscontrol','format','Boolean');
  • issm/trunk/src/m/classes/thermal.m

    r13975 r15396  
    5757                        disp(sprintf('   Thermal solution parameters:'));
    5858
    59                         fielddisplay(obj,'spctemperature','temperature constraints (NaN means no constraint)');
    60                         fielddisplay(obj,'stabilization','0->no, 1->artificial_diffusivity, 2->SUPG');
     59                        fielddisplay(obj,'spctemperature','temperature constraints (NaN means no constraint) [K]');
     60                        fielddisplay(obj,'stabilization','0: no, 1: artificial_diffusivity, 2: SUPG');
    6161                        fielddisplay(obj,'maxiter','maximum number of non linear iterations');
    6262                        fielddisplay(obj,'penalty_lock','stabilize unstable thermal constraints that keep zigzagging after n iteration (default is 0, no stabilization)');
     
    6565
    6666                end % }}}
    67                 function marshall(obj,fid) % {{{
    68                         WriteData(fid,'object',obj,'fieldname','spctemperature','format','DoubleMat','mattype',1);
     67                function marshall(obj,md,fid) % {{{
     68                        WriteData(fid,'object',obj,'fieldname','spctemperature','format','DoubleMat','mattype',1,'forcinglength',md.mesh.numberofvertices+1);
    6969                        WriteData(fid,'object',obj,'fieldname','penalty_threshold','format','Integer');
    7070                        WriteData(fid,'object',obj,'fieldname','stabilization','format','Integer');
  • issm/trunk/src/m/classes/thermal.py

    r14310 r15396  
    1 #module imports
    21import numpy
    32from fielddisplay import fielddisplay
     
    1413        """
    1514
    16         #properties
    17         def __init__(self):
    18                 # {{{ Properties
     15        def __init__(self): # {{{
    1916                self.spctemperature    = float('NaN')
    2017                self.penalty_threshold = 0
     
    2926
    3027                #}}}
    31         def __repr__(self):
    32                 # {{{ Display
     28        def __repr__(self): # {{{
    3329                string='   Thermal solution parameters:'
    34                 string="%s\n%s"%(string,fielddisplay(self,'spctemperature','temperature constraints (NaN means no constraint)'))
    35                 string="%s\n%s"%(string,fielddisplay(self,'stabilization','0->no, 1->artificial_diffusivity, 2->SUPG'))
     30                string="%s\n%s"%(string,fielddisplay(self,'spctemperature','temperature constraints (NaN means no constraint) [K]'))
     31                string="%s\n%s"%(string,fielddisplay(self,'stabilization','0: no, 1: artificial_diffusivity, 2: SUPG'))
    3632                string="%s\n%s"%(string,fielddisplay(self,'maxiter','maximum number of non linear iterations'))
    3733                string="%s\n%s"%(string,fielddisplay(self,'penalty_lock','stabilize unstable thermal constraints that keep zigzagging after n iteration (default is 0, no stabilization)'))
     
    4036                return string
    4137                #}}}
    42                
    43         def setdefaultparameters(self):
    44                 # {{{setdefaultparameters
     38        def setdefaultparameters(self): # {{{
    4539               
    4640                #Number of unstable constraints acceptable
     
    6155                return self
    6256        #}}}
    63 
    6457        def checkconsistency(self,md,solution,analyses):    # {{{
    6558
     
    7871                return md
    7972        # }}}
    80 
    81         def marshall(self,fid):    # {{{
    82                 WriteData(fid,'object',self,'fieldname','spctemperature','format','DoubleMat','mattype',1)
     73        def marshall(self,md,fid):    # {{{
     74                WriteData(fid,'object',self,'fieldname','spctemperature','format','DoubleMat','mattype',1,'forcinglength',md.mesh.numberofvertices+1)
    8375                WriteData(fid,'object',self,'fieldname','penalty_threshold','format','Integer')
    8476                WriteData(fid,'object',self,'fieldname','stabilization','format','Integer')
     
    8880                WriteData(fid,'object',self,'fieldname','isenthalpy','format','Boolean')
    8981        # }}}
    90 
  • issm/trunk/src/m/classes/timestepping.m

    r14310 r15396  
    4747                        disp(sprintf('   timestepping parameters:'));
    4848
    49                         fielddisplay(obj,'start_time','simulation starting time [yrs]');
    50                         fielddisplay(obj,'final_time','final time to stop the simulation [yrs]');
    51                         fielddisplay(obj,'time_step','length of time steps [yrs]');
     49                        fielddisplay(obj,'start_time','simulation starting time [yr]');
     50                        fielddisplay(obj,'final_time','final time to stop the simulation [yr]');
     51                        fielddisplay(obj,'time_step','length of time steps [yr]');
    5252                        fielddisplay(obj,'time_adapt','use cfl condition to define time step ? (0 or 1) ');
    5353                        fielddisplay(obj,'cfl_coefficient','coefficient applied to cfl condition');
    5454
    5555                end % }}}
    56                 function marshall(obj,fid) % {{{
    57                         WriteData(fid,'object',obj,'fieldname','start_time','format','Double');
    58                         WriteData(fid,'object',obj,'fieldname','final_time','format','Double');
    59                         WriteData(fid,'object',obj,'fieldname','time_step','format','Double');
     56                function marshall(obj,md,fid) % {{{
     57
     58                        yts=365.0*24.0*3600.0;
     59
     60                        WriteData(fid,'object',obj,'fieldname','start_time','format','Double','scale',yts);
     61                        WriteData(fid,'object',obj,'fieldname','final_time','format','Double','scale',yts);
     62                        WriteData(fid,'object',obj,'fieldname','time_step','format','Double','scale',yts);
    6063                        WriteData(fid,'object',obj,'fieldname','time_adapt','format','Boolean');
    6164                        WriteData(fid,'object',obj,'fieldname','cfl_coefficient','format','Double');
  • issm/trunk/src/m/classes/timestepping.py

    r14310 r15396  
    1 #module imports
    21from fielddisplay import fielddisplay
    32from EnumDefinitions import *
     
    1312        """
    1413
    15         #properties
    16         def __init__(self):
    17                 # {{{ Properties
     14        def __init__(self): # {{{
    1815                self.start_time      = 0.
    1916                self.final_time      = 0.
     
    2623
    2724                #}}}
    28         def __repr__(self):
    29                 # {{{ Display
     25        def __repr__(self): # {{{
    3026                string="   timestepping parameters:"
    31                 string="%s\n%s"%(string,fielddisplay(self,"start_time","simulation starting time [yrs]"))
    32                 string="%s\n%s"%(string,fielddisplay(self,"final_time","final time to stop the simulation [yrs]"))
    33                 string="%s\n%s"%(string,fielddisplay(self,"time_step","length of time steps [yrs]"))
     27                string="%s\n%s"%(string,fielddisplay(self,"start_time","simulation starting time [yr]"))
     28                string="%s\n%s"%(string,fielddisplay(self,"final_time","final time to stop the simulation [yr]"))
     29                string="%s\n%s"%(string,fielddisplay(self,"time_step","length of time steps [yr]"))
    3430                string="%s\n%s"%(string,fielddisplay(self,"time_adapt","use cfl condition to define time step ? (0 or 1) "))
    3531                string="%s\n%s"%(string,fielddisplay(self,"cfl_coefficient","coefficient applied to cfl condition"))
    3632                return string
    3733                #}}}
    38                
    39         def setdefaultparameters(self):
    40                 # {{{setdefaultparameters
     34        def setdefaultparameters(self): # {{{
    4135               
    4236                #time between 2 time steps
     
    5246                return self
    5347        #}}}
    54 
    5548        def checkconsistency(self,md,solution,analyses):    # {{{
    5649
     
    6558                return md
    6659        # }}}
     60        def marshall(self,md,fid):    # {{{
    6761
    68         def marshall(self,fid):    # {{{
    69                 WriteData(fid,'object',self,'fieldname','start_time','format','Double')
    70                 WriteData(fid,'object',self,'fieldname','final_time','format','Double')
    71                 WriteData(fid,'object',self,'fieldname','time_step','format','Double')
     62                yts=365.0*24.0*3600.0
     63
     64                WriteData(fid,'object',self,'fieldname','start_time','format','Double','scale',yts)
     65                WriteData(fid,'object',self,'fieldname','final_time','format','Double','scale',yts)
     66                WriteData(fid,'object',self,'fieldname','time_step','format','Double','scale',yts)
    7267                WriteData(fid,'object',self,'fieldname','time_adapt','format','Boolean')
    7368                WriteData(fid,'object',self,'fieldname','cfl_coefficient','format','Double')
    7469        # }}}
    75 
  • issm/trunk/src/m/classes/transient.m

    r14067 r15396  
    1010                isthermal         = 0;
    1111                isgroundingline   = 0;
     12                isgia             = 0;
    1213                requested_outputs = NaN;
    1314        end
     
    2829                        obj.isthermal=1;
    2930                        obj.isgroundingline=0;
     31                        obj.isgia=0;
    3032
    3133                end % }}}
     
    3941                        md = checkfield(md,'transient.isthermal','numel',[1],'values',[0 1]);
    4042                        md = checkfield(md,'transient.isgroundingline','numel',[1],'values',[0 1]);
     43                        md = checkfield(md,'transient.isgia','numel',[1],'values',[0 1]);
    4144                        md = checkfield(md,'transient.requested_outputs','size',[NaN 1]);
    4245
     
    4952                        fielddisplay(obj,'isthermal','indicates if a thermal solution is used in the transient');
    5053                        fielddisplay(obj,'isgroundingline','indicates if a groundingline migration is used in the transient');
     54                        fielddisplay(obj,'isgia','indicates if a postglacial rebound model is used in the transient');
    5155                        fielddisplay(obj,'requested_outputs','list of additional outputs requested');
    5256
    5357                end % }}}
    54                 function marshall(obj,fid) % {{{
     58                function marshall(obj,md,fid) % {{{
    5559                        WriteData(fid,'object',obj,'fieldname','isprognostic','format','Boolean');
    5660                        WriteData(fid,'object',obj,'fieldname','isdiagnostic','format','Boolean');
    5761                        WriteData(fid,'object',obj,'fieldname','isthermal','format','Boolean');
    5862                        WriteData(fid,'object',obj,'fieldname','isgroundingline','format','Boolean');
     63                        WriteData(fid,'object',obj,'fieldname','isgia','format','Boolean');
    5964                        WriteData(fid,'object',obj,'fieldname','requested_outputs','format','DoubleMat','mattype',3);
    6065                end % }}}
  • issm/trunk/src/m/classes/transient.py

    r14067 r15396  
    1 #module imports
    21from fielddisplay import fielddisplay
    32from EnumDefinitions import *
     
    1312        """
    1413
    15         #properties
    16         def __init__(self):
    17                 # {{{ Properties
     14        def __init__(self): # {{{
    1815                self.isprognostic      = False
    1916                self.isdiagnostic      = False
    2017                self.isthermal         = False
    2118                self.isgroundingline   = False
     19                self.isgia             = False
    2220                self.requested_outputs = float('NaN')
    2321
     
    2624
    2725                #}}}
    28         def __repr__(self):
    29                 # {{{ Display
     26        def __repr__(self): # {{{
    3027                string='   transient solution parameters:'
    3128                string="%s\n%s"%(string,fielddisplay(self,'isprognostic','indicates if a prognostic solution is used in the transient'))
     
    3330                string="%s\n%s"%(string,fielddisplay(self,'isthermal','indicates if a thermal solution is used in the transient'))
    3431                string="%s\n%s"%(string,fielddisplay(self,'isgroundingline','indicates if a groundingline migration is used in the transient'))
     32                string="%s\n%s"%(string,fielddisplay(self,'isgia','indicates if a postglacial rebound is used in the transient'))
    3533                string="%s\n%s"%(string,fielddisplay(self,'requested_outputs','list of additional outputs requested'))
    3634                return string
    3735                #}}}
    38                
    39         def setdefaultparameters(self):
    40                 # {{{setdefaultparameters
     36        def setdefaultparameters(self): # {{{
    4137               
    4238                #full analysis: Diagnostic, Prognostic and Thermal but no groundingline migration for now
     
    4541                self.isthermal=True
    4642                self.isgroundingline=False
     43                self.isgia=False
    4744
    4845                return self
    4946        #}}}
    50 
    5147        def checkconsistency(self,md,solution,analyses):    # {{{
    5248
     
    5955                md = checkfield(md,'transient.isthermal','numel',[1],'values',[0,1])
    6056                md = checkfield(md,'transient.isgroundingline','numel',[1],'values',[0,1])
     57                md = checkfield(md,'transient.isgia','numel',[1],'values',[0,1])
    6158                md = checkfield(md,'transient.requested_outputs','size',[float('NaN')])
    6259
     
    6461                return md
    6562        # }}}
    66 
    67         def marshall(self,fid):    # {{{
     63        def marshall(self,md,fid):    # {{{
    6864                WriteData(fid,'object',self,'fieldname','isprognostic','format','Boolean')
    6965                WriteData(fid,'object',self,'fieldname','isdiagnostic','format','Boolean')
    7066                WriteData(fid,'object',self,'fieldname','isthermal','format','Boolean')
    7167                WriteData(fid,'object',self,'fieldname','isgroundingline','format','Boolean')
     68                WriteData(fid,'object',self,'fieldname','isgia','format','Boolean')
    7269                WriteData(fid,'object',self,'fieldname','requested_outputs','format','DoubleMat','mattype',3)
    7370        # }}}
  • issm/trunk/src/m/classes/verbose.m

    r13975 r15396  
    4141                        switch(nargin),
    4242                                case 0,
    43                                         %Don't do anything
     43                                        verbose.solution=true;
     44                                        verbose.qmu=true;
     45                                        verbose.control=true;
    4446                                case 1,
    4547                                        binary=varargin{1};
     
    124126                end
    125127                %}}}
    126                 function marshall(obj,fid) % {{{
     128                function marshall(obj,md,fid) % {{{
    127129                        WriteData(fid,'data',VerboseToBinary(obj),'enum',VerboseEnum(),'format','Integer');
    128130                end % }}}
  • issm/trunk/src/m/classes/verbose.py

    r13975 r15396  
    4242                if not len(args):
    4343                        #Don't do anything
     44                        self.solution=True;
     45                        self.qmu=True;
     46                        self.control=True;
    4447                        pass
    4548
     
    6972                                        raise TypeError("verbose supported field values are logicals only (True or False)")
    7073        # }}}
    71 
    7274        def __repr__(self):    # {{{
    7375                       
     
    8688                return s
    8789        # }}}
    88 
    8990        def VerboseToBinary(self):    # {{{
    9091
     
    111112                return binary
    112113        # }}}
    113 
    114114        def BinaryToVerbose(self,binary):    # {{{
    115115
     
    125125                #ENDBIN2VERB
    126126        # }}}
    127 
    128127        def checkconsistency(self,md,solution,analyses):    # {{{
    129128                return md
    130129        # }}}
    131 
    132         def marshall(self,fid):    # {{{
     130        def marshall(self,md,fid):    # {{{
    133131                WriteData(fid,'data',self.VerboseToBinary(),'enum',VerboseEnum(),'format','Integer')
    134132        # }}}
    135 
  • issm/trunk/src/m/consistency/ismodelselfconsistent.m

    r14310 r15396  
    6969                analyses=[BalancethicknessAnalysisEnum()];
    7070
    71         case WeakBalancethicknessSolutionEnum(),
     71        case BalancethicknessSoftSolutionEnum(),
    7272                numanalyses=1;
    7373                analyses=[BalancethicknessAnalysisEnum()];
     
    8181                analyses=[BedSlopeAnalysisEnum()];
    8282
     83        case GiaSolutionEnum(),
     84                numanalyses=1;
     85                analyses=[GiaAnalysisEnum()];
     86
    8387        case TransientSolutionEnum(),
    8488                numanalyses=9;
     
    9195        case HydrologySolutionEnum(),
    9296                numanalyses=3;
    93                 analyses=[BedSlopeAnalysisEnum();SurfaceSlopeAnalysisEnum();HydrologyAnalysisEnum()];
     97                analyses=[BedSlopeAnalysisEnum();SurfaceSlopeAnalysisEnum();HydrologyShreveAnalysisEnum();HydrologyDCInefficientAnalysisEnum();HydrologyDCEfficientAnalysisEnum()];
    9498
    9599        otherwise
  • issm/trunk/src/m/consistency/ismodelselfconsistent.py

    r13395 r15396  
    4242                analyses=[BedSlopeAnalysisEnum()]
    4343
     44        elif solutiontype == GiaSolutionEnum():
     45                numanalyses=1
     46                analyses=[GiaAnalysisEnum()]
     47
    4448        elif solutiontype == TransientSolutionEnum():
    4549                numanalyses=9
     
    5256        elif solutiontype == HydrologySolutionEnum():
    5357                numanalyses=3
    54                 analyses=[BedSlopeAnalysisEnum(),SurfaceSlopeAnalysisEnum(),HydrologyAnalysisEnum()]
     58                analyses=[BedSlopeAnalysisEnum(),SurfaceSlopeAnalysisEnum(),HydrologyShreveAnalysisEnum(),HydrologyDCInefficientAnalysisEnum(),HydrologyDCEfficientAnalysisEnum()]
    5559
    5660        else:
  • issm/trunk/src/m/contrib/gslib/pkriging.m

    r13975 r15396  
    66
    77options=pairoptions(varargin{:});
    8 cluster=getfieldvalue(options,'cluster',generic('np',10));
     8cluster=getfieldvalue(options,'cluster',generic('np',1));
    99options=removefield(options,'cluster',0);
    1010name   = ['krig' num2str(feature('GetPid'))];
     
    3535%Launch job on remote cluster
    3636BuildKrigingQueueScript(cluster,name,'',1,0,0); %gather, valgrind, gprof
    37 tic
    3837LaunchQueueJob(cluster,name,name,{[name '.bin'] [name '.queue']});
    39 toc
    40 choice=input('Is the job successfully completed? (y/n)','s');
     38
     39%Call waitonlock
     40md=model; md.cluster=cluster; md.settings.waitonlock=Inf;
     41waitonlock(md)
     42
     43%Download
    4144Download(cluster,name,{[name '.outbin']});
    4245structure=parseresultsfromdisk([name '.outbin'],0);
     
    5053
    5154%Process results
    52 B=structure.AutodiffForward;
     55B=structure.(EnumToString(0));
    5356B=reshape(B,size(x_interp,2),size(x_interp,1))';
    54 E=structure.AutodiffIsautodiff;
     57E=structure.(EnumToString(1));
    5558E=reshape(E,size(x_interp,2),size(x_interp,1))';
  • issm/trunk/src/m/enum/AbsoluteEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AdjointBalancethicknessAnalysisEnum.m

    r8287 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AdjointEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AdjointHorizAnalysisEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AdjointSolutionEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AdjointpEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AdjointxEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AdjointyEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AdjointzEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AdolcParamEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AgressiveMigrationEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AirEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AnalysisCounterEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AnalysisTypeEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AndroidFrictionCoefficientEnum.m

    r14310 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ApproximationEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ArrheniusEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AutodiffDependentObjectIndicesEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AutodiffDependentObjectNamesEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AutodiffDependentObjectTypesEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AutodiffDependentObjectsEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AutodiffDriverEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AutodiffFosForwardIndexEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AutodiffFosReverseIndexEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AutodiffFovForwardIndicesEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AutodiffIndependentObjectNamesEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AutodiffIndependentObjectTypesEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AutodiffIndependentObjectsEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AutodiffIsautodiffEnum.m

    r9902 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AutodiffJacobianEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AutodiffKeepEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AutodiffMassFluxSegmentsPresentEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AutodiffNumDependentObjectsEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AutodiffNumDependentsEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AutodiffNumIndependentObjectsEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AutodiffNumIndependentsEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/AutodiffXpEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BalancethicknessAnalysisEnum.m

    r8287 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BalancethicknessMisfitEnum.m

    r14310 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BalancethicknessSolutionEnum.m

    r8287 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BalancethicknessSpcthicknessEnum.m

    r9651 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BalancethicknessStabilizationEnum.m

    r9651 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BalancethicknessThickeningRateEnum.m

    r9651 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BasalFrictionEnum.m

    r9110 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BasalforcingsGeothermalfluxEnum.m

    r9612 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BasalforcingsMeltingRateCorrectionEnum.m

    r9612 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BasalforcingsMeltingRateEnum.m

    r9612 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BathymetryEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BedEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BedSlopeAnalysisEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BedSlopeSolutionEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BedSlopeXAnalysisEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BedSlopeXEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BedSlopeYAnalysisEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BedSlopeYEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BilinearInterpEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BoolElementResultEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BoolExternalResultEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BoolInputEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BoolParamEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/BoundaryEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ClosedEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ColinearEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ConfigurationTypeEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ConstantEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ConstantsGEnum.m

    r9598 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ConstantsReferencetemperatureEnum.m

    r9598 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ConstantsYtsEnum.m

    r9598 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ConstraintsEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ContourEnum.m

    r11995 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ControlInputEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ControlSteadyEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ConvergedEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DataSetParamEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DatasetInputEnum.m

    r8592 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DebugProfilingEnum.m

    r12706 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DependentObjectEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticAbstolEnum.m

    r9679 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticHorizAnalysisEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticHutterAnalysisEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticIcefrontEnum.m

    r9679 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticIsnewtonEnum.m

    r11527 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticMaxiterEnum.m

    r9679 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticNumRequestedOutputsEnum.m

    r9679 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticPenaltyFactorEnum.m

    r9679 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticReferentialEnum.m

    r9679 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticReltolEnum.m

    r9679 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticRequestedOutputsEnum.m

    r9679 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticRestolEnum.m

    r9679 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticRiftPenaltyLockEnum.m

    r9679 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticRiftPenaltyThresholdEnum.m

    r9679 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticShelfDampeningEnum.m

    r9679 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticSolutionEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticSpcvxEnum.m

    r9679 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticSpcvyEnum.m

    r9679 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticSpcvzEnum.m

    r9679 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticStokesreconditioningEnum.m

    r9679 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticVertAnalysisEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticVertexPairingEnum.m

    r9679 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DiagnosticViscosityOvershootEnum.m

    r9679 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DofIndexingEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DoubleElementResultEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DoubleExternalResultEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DoubleInputEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DoubleMatArrayParamEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DoubleMatExternalResultEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DoubleMatParamEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DoubleParamEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DoubleVecParamEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/DragCoefficientAbsGradientEnum.m

    r8609 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ElementEnum.m

    r9547 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ElementResultEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/EnthalpyAnalysisEnum.m

    r8484 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/EnthalpyEnum.m

    r8484 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/EnthalpyPicardEnum.m

    r8495 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/EnthalpySolutionEnum.m

    r8484 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/EnumDefinitions.py

    r14310 r15396  
    44
    55   WARNING: DO NOT MODIFY THIS FILE
    6             this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    7             Please read src/c/EnumDefinitions/README for more information
     6            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7            Please read src/c/shared/Enum/README for more information
    88
    99"""
     
    1313        AUTODIFFISAUTODIFFENUM - Enum of AutodiffIsautodiff
    1414
     15        WARNING: DO NOT MODIFY THIS FILE
     16                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     17                                Please read src/c/shared/Enum/README for more information
     18
    1519           Usage:
    1620              macro=AutodiffIsautodiffEnum()
     
    2327        AUTODIFFNUMDEPENDENTSENUM - Enum of AutodiffNumDependents
    2428
     29        WARNING: DO NOT MODIFY THIS FILE
     30                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     31                                Please read src/c/shared/Enum/README for more information
     32
    2533           Usage:
    2634              macro=AutodiffNumDependentsEnum()
     
    3341        AUTODIFFNUMDEPENDENTOBJECTSENUM - Enum of AutodiffNumDependentObjects
    3442
     43        WARNING: DO NOT MODIFY THIS FILE
     44                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     45                                Please read src/c/shared/Enum/README for more information
     46
    3547           Usage:
    3648              macro=AutodiffNumDependentObjectsEnum()
     
    4355        AUTODIFFDEPENDENTOBJECTNAMESENUM - Enum of AutodiffDependentObjectNames
    4456
     57        WARNING: DO NOT MODIFY THIS FILE
     58                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     59                                Please read src/c/shared/Enum/README for more information
     60
    4561           Usage:
    4662              macro=AutodiffDependentObjectNamesEnum()
     
    5369        AUTODIFFDEPENDENTOBJECTTYPESENUM - Enum of AutodiffDependentObjectTypes
    5470
     71        WARNING: DO NOT MODIFY THIS FILE
     72                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     73                                Please read src/c/shared/Enum/README for more information
     74
    5575           Usage:
    5676              macro=AutodiffDependentObjectTypesEnum()
     
    6383        AUTODIFFDEPENDENTOBJECTINDICESENUM - Enum of AutodiffDependentObjectIndices
    6484
     85        WARNING: DO NOT MODIFY THIS FILE
     86                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     87                                Please read src/c/shared/Enum/README for more information
     88
    6589           Usage:
    6690              macro=AutodiffDependentObjectIndicesEnum()
     
    7397        AUTODIFFDEPENDENTOBJECTSENUM - Enum of AutodiffDependentObjects
    7498
     99        WARNING: DO NOT MODIFY THIS FILE
     100                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     101                                Please read src/c/shared/Enum/README for more information
     102
    75103           Usage:
    76104              macro=AutodiffDependentObjectsEnum()
     
    83111        AUTODIFFNUMINDEPENDENTSENUM - Enum of AutodiffNumIndependents
    84112
     113        WARNING: DO NOT MODIFY THIS FILE
     114                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     115                                Please read src/c/shared/Enum/README for more information
     116
    85117           Usage:
    86118              macro=AutodiffNumIndependentsEnum()
     
    93125        AUTODIFFNUMINDEPENDENTOBJECTSENUM - Enum of AutodiffNumIndependentObjects
    94126
     127        WARNING: DO NOT MODIFY THIS FILE
     128                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     129                                Please read src/c/shared/Enum/README for more information
     130
    95131           Usage:
    96132              macro=AutodiffNumIndependentObjectsEnum()
     
    103139        AUTODIFFINDEPENDENTOBJECTNAMESENUM - Enum of AutodiffIndependentObjectNames
    104140
     141        WARNING: DO NOT MODIFY THIS FILE
     142                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     143                                Please read src/c/shared/Enum/README for more information
     144
    105145           Usage:
    106146              macro=AutodiffIndependentObjectNamesEnum()
     
    113153        AUTODIFFINDEPENDENTOBJECTTYPESENUM - Enum of AutodiffIndependentObjectTypes
    114154
     155        WARNING: DO NOT MODIFY THIS FILE
     156                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     157                                Please read src/c/shared/Enum/README for more information
     158
    115159           Usage:
    116160              macro=AutodiffIndependentObjectTypesEnum()
     
    123167        AUTODIFFINDEPENDENTOBJECTSENUM - Enum of AutodiffIndependentObjects
    124168
     169        WARNING: DO NOT MODIFY THIS FILE
     170                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     171                                Please read src/c/shared/Enum/README for more information
     172
    125173           Usage:
    126174              macro=AutodiffIndependentObjectsEnum()
     
    133181        AUTODIFFJACOBIANENUM - Enum of AutodiffJacobian
    134182
     183        WARNING: DO NOT MODIFY THIS FILE
     184                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     185                                Please read src/c/shared/Enum/README for more information
     186
    135187           Usage:
    136188              macro=AutodiffJacobianEnum()
     
    143195        AUTODIFFXPENUM - Enum of AutodiffXp
    144196
     197        WARNING: DO NOT MODIFY THIS FILE
     198                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     199                                Please read src/c/shared/Enum/README for more information
     200
    145201           Usage:
    146202              macro=AutodiffXpEnum()
     
    153209        AUTODIFFDRIVERENUM - Enum of AutodiffDriver
    154210
     211        WARNING: DO NOT MODIFY THIS FILE
     212                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     213                                Please read src/c/shared/Enum/README for more information
     214
    155215           Usage:
    156216              macro=AutodiffDriverEnum()
     
    163223        AUTODIFFFOSFORWARDINDEXENUM - Enum of AutodiffFosForwardIndex
    164224
     225        WARNING: DO NOT MODIFY THIS FILE
     226                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     227                                Please read src/c/shared/Enum/README for more information
     228
    165229           Usage:
    166230              macro=AutodiffFosForwardIndexEnum()
     
    173237        AUTODIFFFOVFORWARDINDICESENUM - Enum of AutodiffFovForwardIndices
    174238
     239        WARNING: DO NOT MODIFY THIS FILE
     240                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     241                                Please read src/c/shared/Enum/README for more information
     242
    175243           Usage:
    176244              macro=AutodiffFovForwardIndicesEnum()
     
    183251        AUTODIFFFOSREVERSEINDEXENUM - Enum of AutodiffFosReverseIndex
    184252
     253        WARNING: DO NOT MODIFY THIS FILE
     254                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     255                                Please read src/c/shared/Enum/README for more information
     256
    185257           Usage:
    186258              macro=AutodiffFosReverseIndexEnum()
     
    193265        AUTODIFFMASSFLUXSEGMENTSPRESENTENUM - Enum of AutodiffMassFluxSegmentsPresent
    194266
     267        WARNING: DO NOT MODIFY THIS FILE
     268                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     269                                Please read src/c/shared/Enum/README for more information
     270
    195271           Usage:
    196272              macro=AutodiffMassFluxSegmentsPresentEnum()
     
    203279        AUTODIFFKEEPENUM - Enum of AutodiffKeep
    204280
     281        WARNING: DO NOT MODIFY THIS FILE
     282                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     283                                Please read src/c/shared/Enum/README for more information
     284
    205285           Usage:
    206286              macro=AutodiffKeepEnum()
     
    213293        BALANCETHICKNESSSPCTHICKNESSENUM - Enum of BalancethicknessSpcthickness
    214294
     295        WARNING: DO NOT MODIFY THIS FILE
     296                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     297                                Please read src/c/shared/Enum/README for more information
     298
    215299           Usage:
    216300              macro=BalancethicknessSpcthicknessEnum()
     
    223307        BALANCETHICKNESSSTABILIZATIONENUM - Enum of BalancethicknessStabilization
    224308
     309        WARNING: DO NOT MODIFY THIS FILE
     310                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     311                                Please read src/c/shared/Enum/README for more information
     312
    225313           Usage:
    226314              macro=BalancethicknessStabilizationEnum()
     
    233321        BALANCETHICKNESSTHICKENINGRATEENUM - Enum of BalancethicknessThickeningRate
    234322
     323        WARNING: DO NOT MODIFY THIS FILE
     324                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     325                                Please read src/c/shared/Enum/README for more information
     326
    235327           Usage:
    236328              macro=BalancethicknessThickeningRateEnum()
     
    243335        BASALFORCINGSGEOTHERMALFLUXENUM - Enum of BasalforcingsGeothermalflux
    244336
     337        WARNING: DO NOT MODIFY THIS FILE
     338                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     339                                Please read src/c/shared/Enum/README for more information
     340
    245341           Usage:
    246342              macro=BasalforcingsGeothermalfluxEnum()
     
    253349        BASALFORCINGSMELTINGRATECORRECTIONENUM - Enum of BasalforcingsMeltingRateCorrection
    254350
     351        WARNING: DO NOT MODIFY THIS FILE
     352                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     353                                Please read src/c/shared/Enum/README for more information
     354
    255355           Usage:
    256356              macro=BasalforcingsMeltingRateCorrectionEnum()
     
    263363        BASALFORCINGSMELTINGRATEENUM - Enum of BasalforcingsMeltingRate
    264364
     365        WARNING: DO NOT MODIFY THIS FILE
     366                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     367                                Please read src/c/shared/Enum/README for more information
     368
    265369           Usage:
    266370              macro=BasalforcingsMeltingRateEnum()
     
    273377        BATHYMETRYENUM - Enum of Bathymetry
    274378
     379        WARNING: DO NOT MODIFY THIS FILE
     380                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     381                                Please read src/c/shared/Enum/README for more information
     382
    275383           Usage:
    276384              macro=BathymetryEnum()
     
    283391        BEDENUM - Enum of Bed
    284392
     393        WARNING: DO NOT MODIFY THIS FILE
     394                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     395                                Please read src/c/shared/Enum/README for more information
     396
    285397           Usage:
    286398              macro=BedEnum()
     
    293405        CONSTANTSGENUM - Enum of ConstantsG
    294406
     407        WARNING: DO NOT MODIFY THIS FILE
     408                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     409                                Please read src/c/shared/Enum/README for more information
     410
    295411           Usage:
    296412              macro=ConstantsGEnum()
     
    303419        CONSTANTSREFERENCETEMPERATUREENUM - Enum of ConstantsReferencetemperature
    304420
     421        WARNING: DO NOT MODIFY THIS FILE
     422                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     423                                Please read src/c/shared/Enum/README for more information
     424
    305425           Usage:
    306426              macro=ConstantsReferencetemperatureEnum()
     
    313433        CONSTANTSYTSENUM - Enum of ConstantsYts
    314434
     435        WARNING: DO NOT MODIFY THIS FILE
     436                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     437                                Please read src/c/shared/Enum/README for more information
     438
    315439           Usage:
    316440              macro=ConstantsYtsEnum()
     
    323447        DEPENDENTOBJECTENUM - Enum of DependentObject
    324448
     449        WARNING: DO NOT MODIFY THIS FILE
     450                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     451                                Please read src/c/shared/Enum/README for more information
     452
    325453           Usage:
    326454              macro=DependentObjectEnum()
     
    333461        DIAGNOSTICABSTOLENUM - Enum of DiagnosticAbstol
    334462
     463        WARNING: DO NOT MODIFY THIS FILE
     464                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     465                                Please read src/c/shared/Enum/README for more information
     466
    335467           Usage:
    336468              macro=DiagnosticAbstolEnum()
     
    343475        DIAGNOSTICICEFRONTENUM - Enum of DiagnosticIcefront
    344476
     477        WARNING: DO NOT MODIFY THIS FILE
     478                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     479                                Please read src/c/shared/Enum/README for more information
     480
    345481           Usage:
    346482              macro=DiagnosticIcefrontEnum()
     
    353489        DIAGNOSTICISNEWTONENUM - Enum of DiagnosticIsnewton
    354490
     491        WARNING: DO NOT MODIFY THIS FILE
     492                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     493                                Please read src/c/shared/Enum/README for more information
     494
    355495           Usage:
    356496              macro=DiagnosticIsnewtonEnum()
     
    363503        DIAGNOSTICMAXITERENUM - Enum of DiagnosticMaxiter
    364504
     505        WARNING: DO NOT MODIFY THIS FILE
     506                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     507                                Please read src/c/shared/Enum/README for more information
     508
    365509           Usage:
    366510              macro=DiagnosticMaxiterEnum()
     
    373517        DIAGNOSTICNUMREQUESTEDOUTPUTSENUM - Enum of DiagnosticNumRequestedOutputs
    374518
     519        WARNING: DO NOT MODIFY THIS FILE
     520                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     521                                Please read src/c/shared/Enum/README for more information
     522
    375523           Usage:
    376524              macro=DiagnosticNumRequestedOutputsEnum()
     
    383531        DIAGNOSTICPENALTYFACTORENUM - Enum of DiagnosticPenaltyFactor
    384532
     533        WARNING: DO NOT MODIFY THIS FILE
     534                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     535                                Please read src/c/shared/Enum/README for more information
     536
    385537           Usage:
    386538              macro=DiagnosticPenaltyFactorEnum()
     
    393545        DIAGNOSTICREFERENTIALENUM - Enum of DiagnosticReferential
    394546
     547        WARNING: DO NOT MODIFY THIS FILE
     548                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     549                                Please read src/c/shared/Enum/README for more information
     550
    395551           Usage:
    396552              macro=DiagnosticReferentialEnum()
     
    403559        DIAGNOSTICRELTOLENUM - Enum of DiagnosticReltol
    404560
     561        WARNING: DO NOT MODIFY THIS FILE
     562                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     563                                Please read src/c/shared/Enum/README for more information
     564
    405565           Usage:
    406566              macro=DiagnosticReltolEnum()
     
    413573        DIAGNOSTICREQUESTEDOUTPUTSENUM - Enum of DiagnosticRequestedOutputs
    414574
     575        WARNING: DO NOT MODIFY THIS FILE
     576                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     577                                Please read src/c/shared/Enum/README for more information
     578
    415579           Usage:
    416580              macro=DiagnosticRequestedOutputsEnum()
     
    423587        DIAGNOSTICRESTOLENUM - Enum of DiagnosticRestol
    424588
     589        WARNING: DO NOT MODIFY THIS FILE
     590                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     591                                Please read src/c/shared/Enum/README for more information
     592
    425593           Usage:
    426594              macro=DiagnosticRestolEnum()
     
    433601        DIAGNOSTICRIFTPENALTYLOCKENUM - Enum of DiagnosticRiftPenaltyLock
    434602
     603        WARNING: DO NOT MODIFY THIS FILE
     604                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     605                                Please read src/c/shared/Enum/README for more information
     606
    435607           Usage:
    436608              macro=DiagnosticRiftPenaltyLockEnum()
     
    443615        DIAGNOSTICRIFTPENALTYTHRESHOLDENUM - Enum of DiagnosticRiftPenaltyThreshold
    444616
     617        WARNING: DO NOT MODIFY THIS FILE
     618                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     619                                Please read src/c/shared/Enum/README for more information
     620
    445621           Usage:
    446622              macro=DiagnosticRiftPenaltyThresholdEnum()
     
    453629        DIAGNOSTICSHELFDAMPENINGENUM - Enum of DiagnosticShelfDampening
    454630
     631        WARNING: DO NOT MODIFY THIS FILE
     632                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     633                                Please read src/c/shared/Enum/README for more information
     634
    455635           Usage:
    456636              macro=DiagnosticShelfDampeningEnum()
     
    463643        DIAGNOSTICSPCVXENUM - Enum of DiagnosticSpcvx
    464644
     645        WARNING: DO NOT MODIFY THIS FILE
     646                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     647                                Please read src/c/shared/Enum/README for more information
     648
    465649           Usage:
    466650              macro=DiagnosticSpcvxEnum()
     
    473657        DIAGNOSTICSPCVYENUM - Enum of DiagnosticSpcvy
    474658
     659        WARNING: DO NOT MODIFY THIS FILE
     660                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     661                                Please read src/c/shared/Enum/README for more information
     662
    475663           Usage:
    476664              macro=DiagnosticSpcvyEnum()
     
    483671        DIAGNOSTICSPCVZENUM - Enum of DiagnosticSpcvz
    484672
     673        WARNING: DO NOT MODIFY THIS FILE
     674                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     675                                Please read src/c/shared/Enum/README for more information
     676
    485677           Usage:
    486678              macro=DiagnosticSpcvzEnum()
     
    493685        DIAGNOSTICSTOKESRECONDITIONINGENUM - Enum of DiagnosticStokesreconditioning
    494686
     687        WARNING: DO NOT MODIFY THIS FILE
     688                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     689                                Please read src/c/shared/Enum/README for more information
     690
    495691           Usage:
    496692              macro=DiagnosticStokesreconditioningEnum()
     
    503699        DIAGNOSTICVERTEXPAIRINGENUM - Enum of DiagnosticVertexPairing
    504700
     701        WARNING: DO NOT MODIFY THIS FILE
     702                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     703                                Please read src/c/shared/Enum/README for more information
     704
    505705           Usage:
    506706              macro=DiagnosticVertexPairingEnum()
     
    513713        DIAGNOSTICVISCOSITYOVERSHOOTENUM - Enum of DiagnosticViscosityOvershoot
    514714
     715        WARNING: DO NOT MODIFY THIS FILE
     716                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     717                                Please read src/c/shared/Enum/README for more information
     718
    515719           Usage:
    516720              macro=DiagnosticViscosityOvershootEnum()
     
    519723        return StringToEnum('DiagnosticViscosityOvershoot')[0]
    520724
     725def LoadingforceXEnum():
     726        """
     727        LOADINGFORCEXENUM - Enum of LoadingforceX
     728
     729        WARNING: DO NOT MODIFY THIS FILE
     730                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     731                                Please read src/c/shared/Enum/README for more information
     732
     733           Usage:
     734              macro=LoadingforceXEnum()
     735        """
     736
     737        return StringToEnum('LoadingforceX')[0]
     738
     739def LoadingforceYEnum():
     740        """
     741        LOADINGFORCEYENUM - Enum of LoadingforceY
     742
     743        WARNING: DO NOT MODIFY THIS FILE
     744                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     745                                Please read src/c/shared/Enum/README for more information
     746
     747           Usage:
     748              macro=LoadingforceYEnum()
     749        """
     750
     751        return StringToEnum('LoadingforceY')[0]
     752
     753def LoadingforceZEnum():
     754        """
     755        LOADINGFORCEZENUM - Enum of LoadingforceZ
     756
     757        WARNING: DO NOT MODIFY THIS FILE
     758                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     759                                Please read src/c/shared/Enum/README for more information
     760
     761           Usage:
     762              macro=LoadingforceZEnum()
     763        """
     764
     765        return StringToEnum('LoadingforceZ')[0]
     766
    521767def FlowequationBordermacayealEnum():
    522768        """
    523769        FLOWEQUATIONBORDERMACAYEALENUM - Enum of FlowequationBordermacayeal
    524770
     771        WARNING: DO NOT MODIFY THIS FILE
     772                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     773                                Please read src/c/shared/Enum/README for more information
     774
    525775           Usage:
    526776              macro=FlowequationBordermacayealEnum()
     
    533783        FLOWEQUATIONBORDERPATTYNENUM - Enum of FlowequationBorderpattyn
    534784
     785        WARNING: DO NOT MODIFY THIS FILE
     786                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     787                                Please read src/c/shared/Enum/README for more information
     788
    535789           Usage:
    536790              macro=FlowequationBorderpattynEnum()
     
    543797        FLOWEQUATIONBORDERSTOKESENUM - Enum of FlowequationBorderstokes
    544798
     799        WARNING: DO NOT MODIFY THIS FILE
     800                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     801                                Please read src/c/shared/Enum/README for more information
     802
    545803           Usage:
    546804              macro=FlowequationBorderstokesEnum()
     
    553811        FLOWEQUATIONELEMENTEQUATIONENUM - Enum of FlowequationElementEquation
    554812
     813        WARNING: DO NOT MODIFY THIS FILE
     814                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     815                                Please read src/c/shared/Enum/README for more information
     816
    555817           Usage:
    556818              macro=FlowequationElementEquationEnum()
     
    563825        FLOWEQUATIONISHUTTERENUM - Enum of FlowequationIshutter
    564826
     827        WARNING: DO NOT MODIFY THIS FILE
     828                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     829                                Please read src/c/shared/Enum/README for more information
     830
    565831           Usage:
    566832              macro=FlowequationIshutterEnum()
     
    573839        FLOWEQUATIONISL1L2ENUM - Enum of FlowequationIsl1l2
    574840
     841        WARNING: DO NOT MODIFY THIS FILE
     842                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     843                                Please read src/c/shared/Enum/README for more information
     844
    575845           Usage:
    576846              macro=FlowequationIsl1l2Enum()
     
    583853        FLOWEQUATIONISMACAYEALPATTYNENUM - Enum of FlowequationIsmacayealpattyn
    584854
     855        WARNING: DO NOT MODIFY THIS FILE
     856                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     857                                Please read src/c/shared/Enum/README for more information
     858
    585859           Usage:
    586860              macro=FlowequationIsmacayealpattynEnum()
     
    593867        FLOWEQUATIONISSTOKESENUM - Enum of FlowequationIsstokes
    594868
     869        WARNING: DO NOT MODIFY THIS FILE
     870                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     871                                Please read src/c/shared/Enum/README for more information
     872
    595873           Usage:
    596874              macro=FlowequationIsstokesEnum()
     
    603881        FLOWEQUATIONVERTEXEQUATIONENUM - Enum of FlowequationVertexEquation
    604882
     883        WARNING: DO NOT MODIFY THIS FILE
     884                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     885                                Please read src/c/shared/Enum/README for more information
     886
    605887           Usage:
    606888              macro=FlowequationVertexEquationEnum()
     
    613895        FRICTIONCOEFFICIENTENUM - Enum of FrictionCoefficient
    614896
     897        WARNING: DO NOT MODIFY THIS FILE
     898                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     899                                Please read src/c/shared/Enum/README for more information
     900
    615901           Usage:
    616902              macro=FrictionCoefficientEnum()
     
    623909        FRICTIONPENUM - Enum of FrictionP
    624910
     911        WARNING: DO NOT MODIFY THIS FILE
     912                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     913                                Please read src/c/shared/Enum/README for more information
     914
    625915           Usage:
    626916              macro=FrictionPEnum()
     
    633923        FRICTIONQENUM - Enum of FrictionQ
    634924
     925        WARNING: DO NOT MODIFY THIS FILE
     926                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     927                                Please read src/c/shared/Enum/README for more information
     928
    635929           Usage:
    636930              macro=FrictionQEnum()
     
    643937        GEOMETRYHYDROSTATICRATIOENUM - Enum of GeometryHydrostaticRatio
    644938
     939        WARNING: DO NOT MODIFY THIS FILE
     940                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     941                                Please read src/c/shared/Enum/README for more information
     942
    645943           Usage:
    646944              macro=GeometryHydrostaticRatioEnum()
     
    649947        return StringToEnum('GeometryHydrostaticRatio')[0]
    650948
    651 def HydrologyCREnum():
    652         """
    653         HYDROLOGYCRENUM - Enum of HydrologyCR
    654 
    655            Usage:
    656               macro=HydrologyCREnum()
    657         """
    658 
    659         return StringToEnum('HydrologyCR')[0]
    660 
    661 def HydrologyKnEnum():
    662         """
    663         HYDROLOGYKNENUM - Enum of HydrologyKn
    664 
    665            Usage:
    666               macro=HydrologyKnEnum()
    667         """
    668 
    669         return StringToEnum('HydrologyKn')[0]
    670 
    671 def HydrologyNEnum():
    672         """
    673         HYDROLOGYNENUM - Enum of HydrologyN
    674 
    675            Usage:
    676               macro=HydrologyNEnum()
    677         """
    678 
    679         return StringToEnum('HydrologyN')[0]
    680 
    681 def HydrologyPEnum():
    682         """
    683         HYDROLOGYPENUM - Enum of HydrologyP
    684 
    685            Usage:
    686               macro=HydrologyPEnum()
    687         """
    688 
    689         return StringToEnum('HydrologyP')[0]
    690 
    691 def HydrologyQEnum():
    692         """
    693         HYDROLOGYQENUM - Enum of HydrologyQ
    694 
    695            Usage:
    696               macro=HydrologyQEnum()
    697         """
    698 
    699         return StringToEnum('HydrologyQ')[0]
    700 
    701 def HydrologySpcwatercolumnEnum():
    702         """
    703         HYDROLOGYSPCWATERCOLUMNENUM - Enum of HydrologySpcwatercolumn
    704 
    705            Usage:
    706               macro=HydrologySpcwatercolumnEnum()
    707         """
    708 
    709         return StringToEnum('HydrologySpcwatercolumn')[0]
    710 
    711 def HydrologyStabilizationEnum():
    712         """
    713         HYDROLOGYSTABILIZATIONENUM - Enum of HydrologyStabilization
    714 
    715            Usage:
    716               macro=HydrologyStabilizationEnum()
    717         """
    718 
    719         return StringToEnum('HydrologyStabilization')[0]
     949def HydrologyModelEnum():
     950        """
     951        HYDROLOGYMODELENUM - Enum of HydrologyModel
     952
     953        WARNING: DO NOT MODIFY THIS FILE
     954                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     955                                Please read src/c/shared/Enum/README for more information
     956
     957           Usage:
     958              macro=HydrologyModelEnum()
     959        """
     960
     961        return StringToEnum('HydrologyModel')[0]
     962
     963def HydrologyshreveEnum():
     964        """
     965        HYDROLOGYSHREVEENUM - Enum of Hydrologyshreve
     966
     967        WARNING: DO NOT MODIFY THIS FILE
     968                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     969                                Please read src/c/shared/Enum/README for more information
     970
     971           Usage:
     972              macro=HydrologyshreveEnum()
     973        """
     974
     975        return StringToEnum('Hydrologyshreve')[0]
     976
     977def HydrologyshreveCREnum():
     978        """
     979        HYDROLOGYSHREVECRENUM - Enum of HydrologyshreveCR
     980
     981        WARNING: DO NOT MODIFY THIS FILE
     982                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     983                                Please read src/c/shared/Enum/README for more information
     984
     985           Usage:
     986              macro=HydrologyshreveCREnum()
     987        """
     988
     989        return StringToEnum('HydrologyshreveCR')[0]
     990
     991def HydrologyshreveKnEnum():
     992        """
     993        HYDROLOGYSHREVEKNENUM - Enum of HydrologyshreveKn
     994
     995        WARNING: DO NOT MODIFY THIS FILE
     996                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     997                                Please read src/c/shared/Enum/README for more information
     998
     999           Usage:
     1000              macro=HydrologyshreveKnEnum()
     1001        """
     1002
     1003        return StringToEnum('HydrologyshreveKn')[0]
     1004
     1005def HydrologyshreveNEnum():
     1006        """
     1007        HYDROLOGYSHREVENENUM - Enum of HydrologyshreveN
     1008
     1009        WARNING: DO NOT MODIFY THIS FILE
     1010                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1011                                Please read src/c/shared/Enum/README for more information
     1012
     1013           Usage:
     1014              macro=HydrologyshreveNEnum()
     1015        """
     1016
     1017        return StringToEnum('HydrologyshreveN')[0]
     1018
     1019def HydrologyshrevePEnum():
     1020        """
     1021        HYDROLOGYSHREVEPENUM - Enum of HydrologyshreveP
     1022
     1023        WARNING: DO NOT MODIFY THIS FILE
     1024                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1025                                Please read src/c/shared/Enum/README for more information
     1026
     1027           Usage:
     1028              macro=HydrologyshrevePEnum()
     1029        """
     1030
     1031        return StringToEnum('HydrologyshreveP')[0]
     1032
     1033def HydrologyshreveQEnum():
     1034        """
     1035        HYDROLOGYSHREVEQENUM - Enum of HydrologyshreveQ
     1036
     1037        WARNING: DO NOT MODIFY THIS FILE
     1038                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1039                                Please read src/c/shared/Enum/README for more information
     1040
     1041           Usage:
     1042              macro=HydrologyshreveQEnum()
     1043        """
     1044
     1045        return StringToEnum('HydrologyshreveQ')[0]
     1046
     1047def HydrologyshreveSpcwatercolumnEnum():
     1048        """
     1049        HYDROLOGYSHREVESPCWATERCOLUMNENUM - Enum of HydrologyshreveSpcwatercolumn
     1050
     1051        WARNING: DO NOT MODIFY THIS FILE
     1052                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1053                                Please read src/c/shared/Enum/README for more information
     1054
     1055           Usage:
     1056              macro=HydrologyshreveSpcwatercolumnEnum()
     1057        """
     1058
     1059        return StringToEnum('HydrologyshreveSpcwatercolumn')[0]
     1060
     1061def HydrologyshreveStabilizationEnum():
     1062        """
     1063        HYDROLOGYSHREVESTABILIZATIONENUM - Enum of HydrologyshreveStabilization
     1064
     1065        WARNING: DO NOT MODIFY THIS FILE
     1066                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1067                                Please read src/c/shared/Enum/README for more information
     1068
     1069           Usage:
     1070              macro=HydrologyshreveStabilizationEnum()
     1071        """
     1072
     1073        return StringToEnum('HydrologyshreveStabilization')[0]
     1074
     1075def HydrologydcEnum():
     1076        """
     1077        HYDROLOGYDCENUM - Enum of Hydrologydc
     1078
     1079        WARNING: DO NOT MODIFY THIS FILE
     1080                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1081                                Please read src/c/shared/Enum/README for more information
     1082
     1083           Usage:
     1084              macro=HydrologydcEnum()
     1085        """
     1086
     1087        return StringToEnum('Hydrologydc')[0]
     1088
     1089def SedimentHeadEnum():
     1090        """
     1091        SEDIMENTHEADENUM - Enum of SedimentHead
     1092
     1093        WARNING: DO NOT MODIFY THIS FILE
     1094                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1095                                Please read src/c/shared/Enum/README for more information
     1096
     1097           Usage:
     1098              macro=SedimentHeadEnum()
     1099        """
     1100
     1101        return StringToEnum('SedimentHead')[0]
     1102
     1103def SedimentHeadOldEnum():
     1104        """
     1105        SEDIMENTHEADOLDENUM - Enum of SedimentHeadOld
     1106
     1107        WARNING: DO NOT MODIFY THIS FILE
     1108                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1109                                Please read src/c/shared/Enum/README for more information
     1110
     1111           Usage:
     1112              macro=SedimentHeadOldEnum()
     1113        """
     1114
     1115        return StringToEnum('SedimentHeadOld')[0]
     1116
     1117def SedimentHeadResidualEnum():
     1118        """
     1119        SEDIMENTHEADRESIDUALENUM - Enum of SedimentHeadResidual
     1120
     1121        WARNING: DO NOT MODIFY THIS FILE
     1122                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1123                                Please read src/c/shared/Enum/README for more information
     1124
     1125           Usage:
     1126              macro=SedimentHeadResidualEnum()
     1127        """
     1128
     1129        return StringToEnum('SedimentHeadResidual')[0]
     1130
     1131def EplHeadEnum():
     1132        """
     1133        EPLHEADENUM - Enum of EplHead
     1134
     1135        WARNING: DO NOT MODIFY THIS FILE
     1136                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1137                                Please read src/c/shared/Enum/README for more information
     1138
     1139           Usage:
     1140              macro=EplHeadEnum()
     1141        """
     1142
     1143        return StringToEnum('EplHead')[0]
     1144
     1145def EplHeadOldEnum():
     1146        """
     1147        EPLHEADOLDENUM - Enum of EplHeadOld
     1148
     1149        WARNING: DO NOT MODIFY THIS FILE
     1150                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1151                                Please read src/c/shared/Enum/README for more information
     1152
     1153           Usage:
     1154              macro=EplHeadOldEnum()
     1155        """
     1156
     1157        return StringToEnum('EplHeadOld')[0]
     1158
     1159def HydrologydcRelTolEnum():
     1160        """
     1161        HYDROLOGYDCRELTOLENUM - Enum of HydrologydcRelTol
     1162
     1163        WARNING: DO NOT MODIFY THIS FILE
     1164                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1165                                Please read src/c/shared/Enum/README for more information
     1166
     1167           Usage:
     1168              macro=HydrologydcRelTolEnum()
     1169        """
     1170
     1171        return StringToEnum('HydrologydcRelTol')[0]
     1172
     1173def HydrologydcSpcsedimentHeadEnum():
     1174        """
     1175        HYDROLOGYDCSPCSEDIMENTHEADENUM - Enum of HydrologydcSpcsedimentHead
     1176
     1177        WARNING: DO NOT MODIFY THIS FILE
     1178                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1179                                Please read src/c/shared/Enum/README for more information
     1180
     1181           Usage:
     1182              macro=HydrologydcSpcsedimentHeadEnum()
     1183        """
     1184
     1185        return StringToEnum('HydrologydcSpcsedimentHead')[0]
     1186
     1187def HydrologydcSedimentCompressibilityEnum():
     1188        """
     1189        HYDROLOGYDCSEDIMENTCOMPRESSIBILITYENUM - Enum of HydrologydcSedimentCompressibility
     1190
     1191        WARNING: DO NOT MODIFY THIS FILE
     1192                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1193                                Please read src/c/shared/Enum/README for more information
     1194
     1195           Usage:
     1196              macro=HydrologydcSedimentCompressibilityEnum()
     1197        """
     1198
     1199        return StringToEnum('HydrologydcSedimentCompressibility')[0]
     1200
     1201def HydrologydcSedimentPorosityEnum():
     1202        """
     1203        HYDROLOGYDCSEDIMENTPOROSITYENUM - Enum of HydrologydcSedimentPorosity
     1204
     1205        WARNING: DO NOT MODIFY THIS FILE
     1206                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1207                                Please read src/c/shared/Enum/README for more information
     1208
     1209           Usage:
     1210              macro=HydrologydcSedimentPorosityEnum()
     1211        """
     1212
     1213        return StringToEnum('HydrologydcSedimentPorosity')[0]
     1214
     1215def HydrologydcSedimentThicknessEnum():
     1216        """
     1217        HYDROLOGYDCSEDIMENTTHICKNESSENUM - Enum of HydrologydcSedimentThickness
     1218
     1219        WARNING: DO NOT MODIFY THIS FILE
     1220                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1221                                Please read src/c/shared/Enum/README for more information
     1222
     1223           Usage:
     1224              macro=HydrologydcSedimentThicknessEnum()
     1225        """
     1226
     1227        return StringToEnum('HydrologydcSedimentThickness')[0]
     1228
     1229def HydrologydcSedimentTransmitivityEnum():
     1230        """
     1231        HYDROLOGYDCSEDIMENTTRANSMITIVITYENUM - Enum of HydrologydcSedimentTransmitivity
     1232
     1233        WARNING: DO NOT MODIFY THIS FILE
     1234                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1235                                Please read src/c/shared/Enum/README for more information
     1236
     1237           Usage:
     1238              macro=HydrologydcSedimentTransmitivityEnum()
     1239        """
     1240
     1241        return StringToEnum('HydrologydcSedimentTransmitivity')[0]
     1242
     1243def HydrologydcWaterCompressibilityEnum():
     1244        """
     1245        HYDROLOGYDCWATERCOMPRESSIBILITYENUM - Enum of HydrologydcWaterCompressibility
     1246
     1247        WARNING: DO NOT MODIFY THIS FILE
     1248                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1249                                Please read src/c/shared/Enum/README for more information
     1250
     1251           Usage:
     1252              macro=HydrologydcWaterCompressibilityEnum()
     1253        """
     1254
     1255        return StringToEnum('HydrologydcWaterCompressibility')[0]
     1256
     1257def HydrologydcSpceplHeadEnum():
     1258        """
     1259        HYDROLOGYDCSPCEPLHEADENUM - Enum of HydrologydcSpceplHead
     1260
     1261        WARNING: DO NOT MODIFY THIS FILE
     1262                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1263                                Please read src/c/shared/Enum/README for more information
     1264
     1265           Usage:
     1266              macro=HydrologydcSpceplHeadEnum()
     1267        """
     1268
     1269        return StringToEnum('HydrologydcSpceplHead')[0]
     1270
     1271def HydrologydcMaskEplactiveEnum():
     1272        """
     1273        HYDROLOGYDCMASKEPLACTIVEENUM - Enum of HydrologydcMaskEplactive
     1274
     1275        WARNING: DO NOT MODIFY THIS FILE
     1276                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1277                                Please read src/c/shared/Enum/README for more information
     1278
     1279           Usage:
     1280              macro=HydrologydcMaskEplactiveEnum()
     1281        """
     1282
     1283        return StringToEnum('HydrologydcMaskEplactive')[0]
     1284
     1285def HydrologydcEplCompressibilityEnum():
     1286        """
     1287        HYDROLOGYDCEPLCOMPRESSIBILITYENUM - Enum of HydrologydcEplCompressibility
     1288
     1289        WARNING: DO NOT MODIFY THIS FILE
     1290                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1291                                Please read src/c/shared/Enum/README for more information
     1292
     1293           Usage:
     1294              macro=HydrologydcEplCompressibilityEnum()
     1295        """
     1296
     1297        return StringToEnum('HydrologydcEplCompressibility')[0]
     1298
     1299def HydrologydcEplPorosityEnum():
     1300        """
     1301        HYDROLOGYDCEPLPOROSITYENUM - Enum of HydrologydcEplPorosity
     1302
     1303        WARNING: DO NOT MODIFY THIS FILE
     1304                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1305                                Please read src/c/shared/Enum/README for more information
     1306
     1307           Usage:
     1308              macro=HydrologydcEplPorosityEnum()
     1309        """
     1310
     1311        return StringToEnum('HydrologydcEplPorosity')[0]
     1312
     1313def HydrologydcEplThicknessEnum():
     1314        """
     1315        HYDROLOGYDCEPLTHICKNESSENUM - Enum of HydrologydcEplThickness
     1316
     1317        WARNING: DO NOT MODIFY THIS FILE
     1318                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1319                                Please read src/c/shared/Enum/README for more information
     1320
     1321           Usage:
     1322              macro=HydrologydcEplThicknessEnum()
     1323        """
     1324
     1325        return StringToEnum('HydrologydcEplThickness')[0]
     1326
     1327def HydrologydcEplTransmitivityEnum():
     1328        """
     1329        HYDROLOGYDCEPLTRANSMITIVITYENUM - Enum of HydrologydcEplTransmitivity
     1330
     1331        WARNING: DO NOT MODIFY THIS FILE
     1332                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1333                                Please read src/c/shared/Enum/README for more information
     1334
     1335           Usage:
     1336              macro=HydrologydcEplTransmitivityEnum()
     1337        """
     1338
     1339        return StringToEnum('HydrologydcEplTransmitivity')[0]
     1340
     1341def HydrologydcIsefficientlayerEnum():
     1342        """
     1343        HYDROLOGYDCISEFFICIENTLAYERENUM - Enum of HydrologydcIsefficientlayer
     1344
     1345        WARNING: DO NOT MODIFY THIS FILE
     1346                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1347                                Please read src/c/shared/Enum/README for more information
     1348
     1349           Usage:
     1350              macro=HydrologydcIsefficientlayerEnum()
     1351        """
     1352
     1353        return StringToEnum('HydrologydcIsefficientlayer')[0]
     1354
     1355def HydrologydcSedimentlimitFlagEnum():
     1356        """
     1357        HYDROLOGYDCSEDIMENTLIMITFLAGENUM - Enum of HydrologydcSedimentlimitFlag
     1358
     1359        WARNING: DO NOT MODIFY THIS FILE
     1360                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1361                                Please read src/c/shared/Enum/README for more information
     1362
     1363           Usage:
     1364              macro=HydrologydcSedimentlimitFlagEnum()
     1365        """
     1366
     1367        return StringToEnum('HydrologydcSedimentlimitFlag')[0]
     1368
     1369def HydrologydcSedimentlimitEnum():
     1370        """
     1371        HYDROLOGYDCSEDIMENTLIMITENUM - Enum of HydrologydcSedimentlimit
     1372
     1373        WARNING: DO NOT MODIFY THIS FILE
     1374                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1375                                Please read src/c/shared/Enum/README for more information
     1376
     1377           Usage:
     1378              macro=HydrologydcSedimentlimitEnum()
     1379        """
     1380
     1381        return StringToEnum('HydrologydcSedimentlimit')[0]
     1382
     1383def HydrologydcTransferFlagEnum():
     1384        """
     1385        HYDROLOGYDCTRANSFERFLAGENUM - Enum of HydrologydcTransferFlag
     1386
     1387        WARNING: DO NOT MODIFY THIS FILE
     1388                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1389                                Please read src/c/shared/Enum/README for more information
     1390
     1391           Usage:
     1392              macro=HydrologydcTransferFlagEnum()
     1393        """
     1394
     1395        return StringToEnum('HydrologydcTransferFlag')[0]
     1396
     1397def HydrologydcLeakageFactorEnum():
     1398        """
     1399        HYDROLOGYDCLEAKAGEFACTORENUM - Enum of HydrologydcLeakageFactor
     1400
     1401        WARNING: DO NOT MODIFY THIS FILE
     1402                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1403                                Please read src/c/shared/Enum/README for more information
     1404
     1405           Usage:
     1406              macro=HydrologydcLeakageFactorEnum()
     1407        """
     1408
     1409        return StringToEnum('HydrologydcLeakageFactor')[0]
     1410
     1411def HydrologydcPenaltyFactorEnum():
     1412        """
     1413        HYDROLOGYDCPENALTYFACTORENUM - Enum of HydrologydcPenaltyFactor
     1414
     1415        WARNING: DO NOT MODIFY THIS FILE
     1416                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1417                                Please read src/c/shared/Enum/README for more information
     1418
     1419           Usage:
     1420              macro=HydrologydcPenaltyFactorEnum()
     1421        """
     1422
     1423        return StringToEnum('HydrologydcPenaltyFactor')[0]
     1424
     1425def HydrologyLayerEnum():
     1426        """
     1427        HYDROLOGYLAYERENUM - Enum of HydrologyLayer
     1428
     1429        WARNING: DO NOT MODIFY THIS FILE
     1430                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1431                                Please read src/c/shared/Enum/README for more information
     1432
     1433           Usage:
     1434              macro=HydrologyLayerEnum()
     1435        """
     1436
     1437        return StringToEnum('HydrologyLayer')[0]
     1438
     1439def HydrologySedimentEnum():
     1440        """
     1441        HYDROLOGYSEDIMENTENUM - Enum of HydrologySediment
     1442
     1443        WARNING: DO NOT MODIFY THIS FILE
     1444                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1445                                Please read src/c/shared/Enum/README for more information
     1446
     1447           Usage:
     1448              macro=HydrologySedimentEnum()
     1449        """
     1450
     1451        return StringToEnum('HydrologySediment')[0]
     1452
     1453def HydrologyEfficientEnum():
     1454        """
     1455        HYDROLOGYEFFICIENTENUM - Enum of HydrologyEfficient
     1456
     1457        WARNING: DO NOT MODIFY THIS FILE
     1458                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1459                                Please read src/c/shared/Enum/README for more information
     1460
     1461           Usage:
     1462              macro=HydrologyEfficientEnum()
     1463        """
     1464
     1465        return StringToEnum('HydrologyEfficient')[0]
     1466
     1467def HydrologySedimentKmaxEnum():
     1468        """
     1469        HYDROLOGYSEDIMENTKMAXENUM - Enum of HydrologySedimentKmax
     1470
     1471        WARNING: DO NOT MODIFY THIS FILE
     1472                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1473                                Please read src/c/shared/Enum/README for more information
     1474
     1475           Usage:
     1476              macro=HydrologySedimentKmaxEnum()
     1477        """
     1478
     1479        return StringToEnum('HydrologySedimentKmax')[0]
     1480
     1481def BasisIntegralEnum():
     1482        """
     1483        BASISINTEGRALENUM - Enum of BasisIntegral
     1484
     1485        WARNING: DO NOT MODIFY THIS FILE
     1486                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1487                                Please read src/c/shared/Enum/README for more information
     1488
     1489           Usage:
     1490              macro=BasisIntegralEnum()
     1491        """
     1492
     1493        return StringToEnum('BasisIntegral')[0]
     1494
     1495def WaterTransferEnum():
     1496        """
     1497        WATERTRANSFERENUM - Enum of WaterTransfer
     1498
     1499        WARNING: DO NOT MODIFY THIS FILE
     1500                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1501                                Please read src/c/shared/Enum/README for more information
     1502
     1503           Usage:
     1504              macro=WaterTransferEnum()
     1505        """
     1506
     1507        return StringToEnum('WaterTransfer')[0]
    7201508
    7211509def IndependentObjectEnum():
     
    7231511        INDEPENDENTOBJECTENUM - Enum of IndependentObject
    7241512
     1513        WARNING: DO NOT MODIFY THIS FILE
     1514                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1515                                Please read src/c/shared/Enum/README for more information
     1516
    7251517           Usage:
    7261518              macro=IndependentObjectEnum()
     
    7331525        INVERSIONCONTROLPARAMETERSENUM - Enum of InversionControlParameters
    7341526
     1527        WARNING: DO NOT MODIFY THIS FILE
     1528                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1529                                Please read src/c/shared/Enum/README for more information
     1530
    7351531           Usage:
    7361532              macro=InversionControlParametersEnum()
     
    7391535        return StringToEnum('InversionControlParameters')[0]
    7401536
    741 def InversionCostFunctionEnum():
    742         """
    743         INVERSIONCOSTFUNCTIONENUM - Enum of InversionCostFunction
    744 
    745            Usage:
    746               macro=InversionCostFunctionEnum()
    747         """
    748 
    749         return StringToEnum('InversionCostFunction')[0]
    750 
    7511537def InversionCostFunctionThresholdEnum():
    7521538        """
    7531539        INVERSIONCOSTFUNCTIONTHRESHOLDENUM - Enum of InversionCostFunctionThreshold
    7541540
     1541        WARNING: DO NOT MODIFY THIS FILE
     1542                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1543                                Please read src/c/shared/Enum/README for more information
     1544
    7551545           Usage:
    7561546              macro=InversionCostFunctionThresholdEnum()
     
    7631553        INVERSIONCOSTFUNCTIONSCOEFFICIENTSENUM - Enum of InversionCostFunctionsCoefficients
    7641554
     1555        WARNING: DO NOT MODIFY THIS FILE
     1556                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1557                                Please read src/c/shared/Enum/README for more information
     1558
    7651559           Usage:
    7661560              macro=InversionCostFunctionsCoefficientsEnum()
     
    7731567        INVERSIONCOSTFUNCTIONSENUM - Enum of InversionCostFunctions
    7741568
     1569        WARNING: DO NOT MODIFY THIS FILE
     1570                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1571                                Please read src/c/shared/Enum/README for more information
     1572
    7751573           Usage:
    7761574              macro=InversionCostFunctionsEnum()
     
    7831581        INVERSIONGRADIENTONLYENUM - Enum of InversionGradientOnly
    7841582
     1583        WARNING: DO NOT MODIFY THIS FILE
     1584                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1585                                Please read src/c/shared/Enum/README for more information
     1586
    7851587           Usage:
    7861588              macro=InversionGradientOnlyEnum()
     
    7931595        INVERSIONGRADIENTSCALINGENUM - Enum of InversionGradientScaling
    7941596
     1597        WARNING: DO NOT MODIFY THIS FILE
     1598                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1599                                Please read src/c/shared/Enum/README for more information
     1600
    7951601           Usage:
    7961602              macro=InversionGradientScalingEnum()
     
    8031609        INVERSIONISCONTROLENUM - Enum of InversionIscontrol
    8041610
     1611        WARNING: DO NOT MODIFY THIS FILE
     1612                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1613                                Please read src/c/shared/Enum/README for more information
     1614
    8051615           Usage:
    8061616              macro=InversionIscontrolEnum()
     
    8131623        INVERSIONTAOENUM - Enum of InversionTao
    8141624
     1625        WARNING: DO NOT MODIFY THIS FILE
     1626                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1627                                Please read src/c/shared/Enum/README for more information
     1628
    8151629           Usage:
    8161630              macro=InversionTaoEnum()
     
    8231637        INVERSIONINCOMPLETEADJOINTENUM - Enum of InversionIncompleteAdjoint
    8241638
     1639        WARNING: DO NOT MODIFY THIS FILE
     1640                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1641                                Please read src/c/shared/Enum/README for more information
     1642
    8251643           Usage:
    8261644              macro=InversionIncompleteAdjointEnum()
     
    8331651        INVERSIONMAXPARAMETERSENUM - Enum of InversionMaxParameters
    8341652
     1653        WARNING: DO NOT MODIFY THIS FILE
     1654                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1655                                Please read src/c/shared/Enum/README for more information
     1656
    8351657           Usage:
    8361658              macro=InversionMaxParametersEnum()
     
    8431665        INVERSIONMAXITERPERSTEPENUM - Enum of InversionMaxiterPerStep
    8441666
     1667        WARNING: DO NOT MODIFY THIS FILE
     1668                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1669                                Please read src/c/shared/Enum/README for more information
     1670
    8451671           Usage:
    8461672              macro=InversionMaxiterPerStepEnum()
     
    8531679        INVERSIONMINPARAMETERSENUM - Enum of InversionMinParameters
    8541680
     1681        WARNING: DO NOT MODIFY THIS FILE
     1682                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1683                                Please read src/c/shared/Enum/README for more information
     1684
    8551685           Usage:
    8561686              macro=InversionMinParametersEnum()
     
    8631693        INVERSIONNSTEPSENUM - Enum of InversionNsteps
    8641694
     1695        WARNING: DO NOT MODIFY THIS FILE
     1696                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1697                                Please read src/c/shared/Enum/README for more information
     1698
    8651699           Usage:
    8661700              macro=InversionNstepsEnum()
     
    8731707        INVERSIONNUMCONTROLPARAMETERSENUM - Enum of InversionNumControlParameters
    8741708
     1709        WARNING: DO NOT MODIFY THIS FILE
     1710                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1711                                Please read src/c/shared/Enum/README for more information
     1712
    8751713           Usage:
    8761714              macro=InversionNumControlParametersEnum()
     
    8831721        INVERSIONNUMCOSTFUNCTIONSENUM - Enum of InversionNumCostFunctions
    8841722
     1723        WARNING: DO NOT MODIFY THIS FILE
     1724                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1725                                Please read src/c/shared/Enum/README for more information
     1726
    8851727           Usage:
    8861728              macro=InversionNumCostFunctionsEnum()
     
    8931735        INVERSIONSTEPTHRESHOLDENUM - Enum of InversionStepThreshold
    8941736
     1737        WARNING: DO NOT MODIFY THIS FILE
     1738                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1739                                Please read src/c/shared/Enum/README for more information
     1740
    8951741           Usage:
    8961742              macro=InversionStepThresholdEnum()
     
    9031749        INVERSIONTHICKNESSOBSENUM - Enum of InversionThicknessObs
    9041750
     1751        WARNING: DO NOT MODIFY THIS FILE
     1752                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1753                                Please read src/c/shared/Enum/README for more information
     1754
    9051755           Usage:
    9061756              macro=InversionThicknessObsEnum()
     
    9131763        INVERSIONVELOBSENUM - Enum of InversionVelObs
    9141764
     1765        WARNING: DO NOT MODIFY THIS FILE
     1766                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1767                                Please read src/c/shared/Enum/README for more information
     1768
    9151769           Usage:
    9161770              macro=InversionVelObsEnum()
     
    9231777        INVERSIONVXOBSENUM - Enum of InversionVxObs
    9241778
     1779        WARNING: DO NOT MODIFY THIS FILE
     1780                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1781                                Please read src/c/shared/Enum/README for more information
     1782
    9251783           Usage:
    9261784              macro=InversionVxObsEnum()
     
    9331791        INVERSIONVYOBSENUM - Enum of InversionVyObs
    9341792
     1793        WARNING: DO NOT MODIFY THIS FILE
     1794                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1795                                Please read src/c/shared/Enum/README for more information
     1796
    9351797           Usage:
    9361798              macro=InversionVyObsEnum()
     
    9431805        INVERSIONVZOBSENUM - Enum of InversionVzObs
    9441806
     1807        WARNING: DO NOT MODIFY THIS FILE
     1808                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1809                                Please read src/c/shared/Enum/README for more information
     1810
    9451811           Usage:
    9461812              macro=InversionVzObsEnum()
     
    9531819        MASKELEMENTONFLOATINGICEENUM - Enum of MaskElementonfloatingice
    9541820
     1821        WARNING: DO NOT MODIFY THIS FILE
     1822                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1823                                Please read src/c/shared/Enum/README for more information
     1824
    9551825           Usage:
    9561826              macro=MaskElementonfloatingiceEnum()
     
    9631833        MASKELEMENTONGROUNDEDICEENUM - Enum of MaskElementongroundedice
    9641834
     1835        WARNING: DO NOT MODIFY THIS FILE
     1836                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1837                                Please read src/c/shared/Enum/README for more information
     1838
    9651839           Usage:
    9661840              macro=MaskElementongroundediceEnum()
     
    9731847        MASKELEMENTONWATERENUM - Enum of MaskElementonwater
    9741848
     1849        WARNING: DO NOT MODIFY THIS FILE
     1850                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1851                                Please read src/c/shared/Enum/README for more information
     1852
    9751853           Usage:
    9761854              macro=MaskElementonwaterEnum()
     
    9831861        MASKVERTEXONFLOATINGICEENUM - Enum of MaskVertexonfloatingice
    9841862
     1863        WARNING: DO NOT MODIFY THIS FILE
     1864                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1865                                Please read src/c/shared/Enum/README for more information
     1866
    9851867           Usage:
    9861868              macro=MaskVertexonfloatingiceEnum()
     
    9931875        MASKVERTEXONGROUNDEDICEENUM - Enum of MaskVertexongroundedice
    9941876
     1877        WARNING: DO NOT MODIFY THIS FILE
     1878                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1879                                Please read src/c/shared/Enum/README for more information
     1880
    9951881           Usage:
    9961882              macro=MaskVertexongroundediceEnum()
     
    10031889        MASKVERTEXONWATERENUM - Enum of MaskVertexonwater
    10041890
     1891        WARNING: DO NOT MODIFY THIS FILE
     1892                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1893                                Please read src/c/shared/Enum/README for more information
     1894
    10051895           Usage:
    10061896              macro=MaskVertexonwaterEnum()
     
    10131903        MATERIALSBETAENUM - Enum of MaterialsBeta
    10141904
     1905        WARNING: DO NOT MODIFY THIS FILE
     1906                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1907                                Please read src/c/shared/Enum/README for more information
     1908
    10151909           Usage:
    10161910              macro=MaterialsBetaEnum()
     
    10231917        MATERIALSHEATCAPACITYENUM - Enum of MaterialsHeatcapacity
    10241918
     1919        WARNING: DO NOT MODIFY THIS FILE
     1920                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1921                                Please read src/c/shared/Enum/README for more information
     1922
    10251923           Usage:
    10261924              macro=MaterialsHeatcapacityEnum()
     
    10331931        MATERIALSLATENTHEATENUM - Enum of MaterialsLatentheat
    10341932
     1933        WARNING: DO NOT MODIFY THIS FILE
     1934                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1935                                Please read src/c/shared/Enum/README for more information
     1936
    10351937           Usage:
    10361938              macro=MaterialsLatentheatEnum()
     
    10431945        MATERIALSMELTINGPOINTENUM - Enum of MaterialsMeltingpoint
    10441946
     1947        WARNING: DO NOT MODIFY THIS FILE
     1948                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1949                                Please read src/c/shared/Enum/README for more information
     1950
    10451951           Usage:
    10461952              macro=MaterialsMeltingpointEnum()
     
    10531959        MATERIALSMIXEDLAYERCAPACITYENUM - Enum of MaterialsMixedLayerCapacity
    10541960
     1961        WARNING: DO NOT MODIFY THIS FILE
     1962                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1963                                Please read src/c/shared/Enum/README for more information
     1964
    10551965           Usage:
    10561966              macro=MaterialsMixedLayerCapacityEnum()
     
    10631973        MATERIALSRHEOLOGYBENUM - Enum of MaterialsRheologyB
    10641974
     1975        WARNING: DO NOT MODIFY THIS FILE
     1976                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1977                                Please read src/c/shared/Enum/README for more information
     1978
    10651979           Usage:
    10661980              macro=MaterialsRheologyBEnum()
     
    10731987        MATERIALSRHEOLOGYBBARENUM - Enum of MaterialsRheologyBbar
    10741988
     1989        WARNING: DO NOT MODIFY THIS FILE
     1990                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     1991                                Please read src/c/shared/Enum/README for more information
     1992
    10751993           Usage:
    10761994              macro=MaterialsRheologyBbarEnum()
     
    10832001        MATERIALSRHEOLOGYLAWENUM - Enum of MaterialsRheologyLaw
    10842002
     2003        WARNING: DO NOT MODIFY THIS FILE
     2004                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2005                                Please read src/c/shared/Enum/README for more information
     2006
    10852007           Usage:
    10862008              macro=MaterialsRheologyLawEnum()
     
    10932015        MATERIALSRHEOLOGYNENUM - Enum of MaterialsRheologyN
    10942016
     2017        WARNING: DO NOT MODIFY THIS FILE
     2018                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2019                                Please read src/c/shared/Enum/README for more information
     2020
    10952021           Usage:
    10962022              macro=MaterialsRheologyNEnum()
     
    11032029        MATERIALSRHEOLOGYZENUM - Enum of MaterialsRheologyZ
    11042030
     2031        WARNING: DO NOT MODIFY THIS FILE
     2032                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2033                                Please read src/c/shared/Enum/README for more information
     2034
    11052035           Usage:
    11062036              macro=MaterialsRheologyZEnum()
     
    11132043        MATERIALSRHEOLOGYZBARENUM - Enum of MaterialsRheologyZbar
    11142044
     2045        WARNING: DO NOT MODIFY THIS FILE
     2046                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2047                                Please read src/c/shared/Enum/README for more information
     2048
    11152049           Usage:
    11162050              macro=MaterialsRheologyZbarEnum()
     
    11232057        MATERIALSRHOICEENUM - Enum of MaterialsRhoIce
    11242058
     2059        WARNING: DO NOT MODIFY THIS FILE
     2060                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2061                                Please read src/c/shared/Enum/README for more information
     2062
    11252063           Usage:
    11262064              macro=MaterialsRhoIceEnum()
     
    11332071        MATERIALSRHOWATERENUM - Enum of MaterialsRhoWater
    11342072
     2073        WARNING: DO NOT MODIFY THIS FILE
     2074                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2075                                Please read src/c/shared/Enum/README for more information
     2076
    11352077           Usage:
    11362078              macro=MaterialsRhoWaterEnum()
     
    11432085        MATERIALSRHOFRESHWATERENUM - Enum of MaterialsRhoFreshwater
    11442086
     2087        WARNING: DO NOT MODIFY THIS FILE
     2088                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2089                                Please read src/c/shared/Enum/README for more information
     2090
    11452091           Usage:
    11462092              macro=MaterialsRhoFreshwaterEnum()
     
    11532099        MATERIALSMUWATERENUM - Enum of MaterialsMuWater
    11542100
     2101        WARNING: DO NOT MODIFY THIS FILE
     2102                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2103                                Please read src/c/shared/Enum/README for more information
     2104
    11552105           Usage:
    11562106              macro=MaterialsMuWaterEnum()
     
    11632113        MATERIALSTHERMALEXCHANGEVELOCITYENUM - Enum of MaterialsThermalExchangeVelocity
    11642114
     2115        WARNING: DO NOT MODIFY THIS FILE
     2116                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2117                                Please read src/c/shared/Enum/README for more information
     2118
    11652119           Usage:
    11662120              macro=MaterialsThermalExchangeVelocityEnum()
     
    11732127        MATERIALSTHERMALCONDUCTIVITYENUM - Enum of MaterialsThermalconductivity
    11742128
     2129        WARNING: DO NOT MODIFY THIS FILE
     2130                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2131                                Please read src/c/shared/Enum/README for more information
     2132
    11752133           Usage:
    11762134              macro=MaterialsThermalconductivityEnum()
     
    11792137        return StringToEnum('MaterialsThermalconductivity')[0]
    11802138
     2139def MaterialsLithosphereShearModulusEnum():
     2140        """
     2141        MATERIALSLITHOSPHERESHEARMODULUSENUM - Enum of MaterialsLithosphereShearModulus
     2142
     2143        WARNING: DO NOT MODIFY THIS FILE
     2144                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2145                                Please read src/c/shared/Enum/README for more information
     2146
     2147           Usage:
     2148              macro=MaterialsLithosphereShearModulusEnum()
     2149        """
     2150
     2151        return StringToEnum('MaterialsLithosphereShearModulus')[0]
     2152
     2153def MaterialsLithosphereDensityEnum():
     2154        """
     2155        MATERIALSLITHOSPHEREDENSITYENUM - Enum of MaterialsLithosphereDensity
     2156
     2157        WARNING: DO NOT MODIFY THIS FILE
     2158                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2159                                Please read src/c/shared/Enum/README for more information
     2160
     2161           Usage:
     2162              macro=MaterialsLithosphereDensityEnum()
     2163        """
     2164
     2165        return StringToEnum('MaterialsLithosphereDensity')[0]
     2166
     2167def MaterialsMantleShearModulusEnum():
     2168        """
     2169        MATERIALSMANTLESHEARMODULUSENUM - Enum of MaterialsMantleShearModulus
     2170
     2171        WARNING: DO NOT MODIFY THIS FILE
     2172                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2173                                Please read src/c/shared/Enum/README for more information
     2174
     2175           Usage:
     2176              macro=MaterialsMantleShearModulusEnum()
     2177        """
     2178
     2179        return StringToEnum('MaterialsMantleShearModulus')[0]
     2180
     2181def MaterialsMantleDensityEnum():
     2182        """
     2183        MATERIALSMANTLEDENSITYENUM - Enum of MaterialsMantleDensity
     2184
     2185        WARNING: DO NOT MODIFY THIS FILE
     2186                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2187                                Please read src/c/shared/Enum/README for more information
     2188
     2189           Usage:
     2190              macro=MaterialsMantleDensityEnum()
     2191        """
     2192
     2193        return StringToEnum('MaterialsMantleDensity')[0]
     2194
    11812195def MeshAverageVertexConnectivityEnum():
    11822196        """
    11832197        MESHAVERAGEVERTEXCONNECTIVITYENUM - Enum of MeshAverageVertexConnectivity
    11842198
     2199        WARNING: DO NOT MODIFY THIS FILE
     2200                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2201                                Please read src/c/shared/Enum/README for more information
     2202
    11852203           Usage:
    11862204              macro=MeshAverageVertexConnectivityEnum()
     
    11932211        MESHDIMENSIONENUM - Enum of MeshDimension
    11942212
     2213        WARNING: DO NOT MODIFY THIS FILE
     2214                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2215                                Please read src/c/shared/Enum/README for more information
     2216
    11952217           Usage:
    11962218              macro=MeshDimensionEnum()
     
    12032225        MESHEDGESENUM - Enum of MeshEdges
    12042226
     2227        WARNING: DO NOT MODIFY THIS FILE
     2228                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2229                                Please read src/c/shared/Enum/README for more information
     2230
    12052231           Usage:
    12062232              macro=MeshEdgesEnum()
     
    12132239        MESHELEMENTCONNECTIVITYENUM - Enum of MeshElementconnectivity
    12142240
     2241        WARNING: DO NOT MODIFY THIS FILE
     2242                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2243                                Please read src/c/shared/Enum/README for more information
     2244
    12152245           Usage:
    12162246              macro=MeshElementconnectivityEnum()
     
    12232253        MESHELEMENTONBEDENUM - Enum of MeshElementonbed
    12242254
     2255        WARNING: DO NOT MODIFY THIS FILE
     2256                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2257                                Please read src/c/shared/Enum/README for more information
     2258
    12252259           Usage:
    12262260              macro=MeshElementonbedEnum()
     
    12332267        MESHELEMENTONSURFACEENUM - Enum of MeshElementonsurface
    12342268
     2269        WARNING: DO NOT MODIFY THIS FILE
     2270                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2271                                Please read src/c/shared/Enum/README for more information
     2272
    12352273           Usage:
    12362274              macro=MeshElementonsurfaceEnum()
     
    12432281        MESHELEMENTS2DENUM - Enum of MeshElements2d
    12442282
     2283        WARNING: DO NOT MODIFY THIS FILE
     2284                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2285                                Please read src/c/shared/Enum/README for more information
     2286
    12452287           Usage:
    12462288              macro=MeshElements2dEnum()
     
    12532295        MESHELEMENTSENUM - Enum of MeshElements
    12542296
     2297        WARNING: DO NOT MODIFY THIS FILE
     2298                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2299                                Please read src/c/shared/Enum/README for more information
     2300
    12552301           Usage:
    12562302              macro=MeshElementsEnum()
     
    12632309        MESHLOWERELEMENTSENUM - Enum of MeshLowerelements
    12642310
     2311        WARNING: DO NOT MODIFY THIS FILE
     2312                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2313                                Please read src/c/shared/Enum/README for more information
     2314
    12652315           Usage:
    12662316              macro=MeshLowerelementsEnum()
     
    12732323        MESHNUMBEROFEDGESENUM - Enum of MeshNumberofedges
    12742324
     2325        WARNING: DO NOT MODIFY THIS FILE
     2326                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2327                                Please read src/c/shared/Enum/README for more information
     2328
    12752329           Usage:
    12762330              macro=MeshNumberofedgesEnum()
     
    12832337        MESHNUMBEROFELEMENTS2DENUM - Enum of MeshNumberofelements2d
    12842338
     2339        WARNING: DO NOT MODIFY THIS FILE
     2340                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2341                                Please read src/c/shared/Enum/README for more information
     2342
    12852343           Usage:
    12862344              macro=MeshNumberofelements2dEnum()
     
    12932351        MESHNUMBEROFELEMENTSENUM - Enum of MeshNumberofelements
    12942352
     2353        WARNING: DO NOT MODIFY THIS FILE
     2354                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2355                                Please read src/c/shared/Enum/README for more information
     2356
    12952357           Usage:
    12962358              macro=MeshNumberofelementsEnum()
     
    13032365        MESHNUMBEROFLAYERSENUM - Enum of MeshNumberoflayers
    13042366
     2367        WARNING: DO NOT MODIFY THIS FILE
     2368                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2369                                Please read src/c/shared/Enum/README for more information
     2370
    13052371           Usage:
    13062372              macro=MeshNumberoflayersEnum()
     
    13132379        MESHNUMBEROFVERTICES2DENUM - Enum of MeshNumberofvertices2d
    13142380
     2381        WARNING: DO NOT MODIFY THIS FILE
     2382                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2383                                Please read src/c/shared/Enum/README for more information
     2384
    13152385           Usage:
    13162386              macro=MeshNumberofvertices2dEnum()
     
    13232393        MESHNUMBEROFVERTICESENUM - Enum of MeshNumberofvertices
    13242394
     2395        WARNING: DO NOT MODIFY THIS FILE
     2396                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2397                                Please read src/c/shared/Enum/README for more information
     2398
    13252399           Usage:
    13262400              macro=MeshNumberofverticesEnum()
     
    13332407        MESHUPPERELEMENTSENUM - Enum of MeshUpperelements
    13342408
     2409        WARNING: DO NOT MODIFY THIS FILE
     2410                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2411                                Please read src/c/shared/Enum/README for more information
     2412
    13352413           Usage:
    13362414              macro=MeshUpperelementsEnum()
     
    13432421        MESHVERTEXONBEDENUM - Enum of MeshVertexonbed
    13442422
     2423        WARNING: DO NOT MODIFY THIS FILE
     2424                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2425                                Please read src/c/shared/Enum/README for more information
     2426
    13452427           Usage:
    13462428              macro=MeshVertexonbedEnum()
     
    13532435        MESHVERTEXONSURFACEENUM - Enum of MeshVertexonsurface
    13542436
     2437        WARNING: DO NOT MODIFY THIS FILE
     2438                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2439                                Please read src/c/shared/Enum/README for more information
     2440
    13552441           Usage:
    13562442              macro=MeshVertexonsurfaceEnum()
     
    13632449        MESHXENUM - Enum of MeshX
    13642450
     2451        WARNING: DO NOT MODIFY THIS FILE
     2452                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2453                                Please read src/c/shared/Enum/README for more information
     2454
    13652455           Usage:
    13662456              macro=MeshXEnum()
     
    13732463        MESHYENUM - Enum of MeshY
    13742464
     2465        WARNING: DO NOT MODIFY THIS FILE
     2466                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2467                                Please read src/c/shared/Enum/README for more information
     2468
    13752469           Usage:
    13762470              macro=MeshYEnum()
     
    13832477        MESHZENUM - Enum of MeshZ
    13842478
     2479        WARNING: DO NOT MODIFY THIS FILE
     2480                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2481                                Please read src/c/shared/Enum/README for more information
     2482
    13852483           Usage:
    13862484              macro=MeshZEnum()
     
    13932491        MISCELLANEOUSNAMEENUM - Enum of MiscellaneousName
    13942492
     2493        WARNING: DO NOT MODIFY THIS FILE
     2494                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2495                                Please read src/c/shared/Enum/README for more information
     2496
    13952497           Usage:
    13962498              macro=MiscellaneousNameEnum()
     
    14032505        PROGNOSTICHYDROSTATICADJUSTMENTENUM - Enum of PrognosticHydrostaticAdjustment
    14042506
     2507        WARNING: DO NOT MODIFY THIS FILE
     2508                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2509                                Please read src/c/shared/Enum/README for more information
     2510
    14052511           Usage:
    14062512              macro=PrognosticHydrostaticAdjustmentEnum()
     
    14132519        PROGNOSTICMINTHICKNESSENUM - Enum of PrognosticMinThickness
    14142520
     2521        WARNING: DO NOT MODIFY THIS FILE
     2522                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2523                                Please read src/c/shared/Enum/README for more information
     2524
    14152525           Usage:
    14162526              macro=PrognosticMinThicknessEnum()
     
    14232533        PROGNOSTICPENALTYFACTORENUM - Enum of PrognosticPenaltyFactor
    14242534
     2535        WARNING: DO NOT MODIFY THIS FILE
     2536                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2537                                Please read src/c/shared/Enum/README for more information
     2538
    14252539           Usage:
    14262540              macro=PrognosticPenaltyFactorEnum()
     
    14332547        PROGNOSTICSPCTHICKNESSENUM - Enum of PrognosticSpcthickness
    14342548
     2549        WARNING: DO NOT MODIFY THIS FILE
     2550                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2551                                Please read src/c/shared/Enum/README for more information
     2552
    14352553           Usage:
    14362554              macro=PrognosticSpcthicknessEnum()
     
    14432561        PROGNOSTICSTABILIZATIONENUM - Enum of PrognosticStabilization
    14442562
     2563        WARNING: DO NOT MODIFY THIS FILE
     2564                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2565                                Please read src/c/shared/Enum/README for more information
     2566
    14452567           Usage:
    14462568              macro=PrognosticStabilizationEnum()
     
    14532575        PROGNOSTICVERTEXPAIRINGENUM - Enum of PrognosticVertexPairing
    14542576
     2577        WARNING: DO NOT MODIFY THIS FILE
     2578                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2579                                Please read src/c/shared/Enum/README for more information
     2580
    14552581           Usage:
    14562582              macro=PrognosticVertexPairingEnum()
     
    14632589        PROGNOSTICNUMREQUESTEDOUTPUTSENUM - Enum of PrognosticNumRequestedOutputs
    14642590
     2591        WARNING: DO NOT MODIFY THIS FILE
     2592                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2593                                Please read src/c/shared/Enum/README for more information
     2594
    14652595           Usage:
    14662596              macro=PrognosticNumRequestedOutputsEnum()
     
    14732603        PROGNOSTICREQUESTEDOUTPUTSENUM - Enum of PrognosticRequestedOutputs
    14742604
     2605        WARNING: DO NOT MODIFY THIS FILE
     2606                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2607                                Please read src/c/shared/Enum/README for more information
     2608
    14752609           Usage:
    14762610              macro=PrognosticRequestedOutputsEnum()
     
    14832617        QMUISDAKOTAENUM - Enum of QmuIsdakota
    14842618
     2619        WARNING: DO NOT MODIFY THIS FILE
     2620                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2621                                Please read src/c/shared/Enum/README for more information
     2622
    14852623           Usage:
    14862624              macro=QmuIsdakotaEnum()
     
    14932631        MASSFLUXSEGMENTSENUM - Enum of MassFluxSegments
    14942632
     2633        WARNING: DO NOT MODIFY THIS FILE
     2634                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2635                                Please read src/c/shared/Enum/README for more information
     2636
    14952637           Usage:
    14962638              macro=MassFluxSegmentsEnum()
     
    15032645        MASSFLUXSEGMENTSPRESENTENUM - Enum of MassFluxSegmentsPresent
    15042646
     2647        WARNING: DO NOT MODIFY THIS FILE
     2648                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2649                                Please read src/c/shared/Enum/README for more information
     2650
    15052651           Usage:
    15062652              macro=MassFluxSegmentsPresentEnum()
     
    15132659        QMUMASSFLUXSEGMENTSPRESENTENUM - Enum of QmuMassFluxSegmentsPresent
    15142660
     2661        WARNING: DO NOT MODIFY THIS FILE
     2662                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2663                                Please read src/c/shared/Enum/README for more information
     2664
    15152665           Usage:
    15162666              macro=QmuMassFluxSegmentsPresentEnum()
     
    15232673        QMUNUMBEROFPARTITIONSENUM - Enum of QmuNumberofpartitions
    15242674
     2675        WARNING: DO NOT MODIFY THIS FILE
     2676                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2677                                Please read src/c/shared/Enum/README for more information
     2678
    15252679           Usage:
    15262680              macro=QmuNumberofpartitionsEnum()
     
    15332687        QMUNUMBEROFRESPONSESENUM - Enum of QmuNumberofresponses
    15342688
     2689        WARNING: DO NOT MODIFY THIS FILE
     2690                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2691                                Please read src/c/shared/Enum/README for more information
     2692
    15352693           Usage:
    15362694              macro=QmuNumberofresponsesEnum()
     
    15432701        QMUPARTITIONENUM - Enum of QmuPartition
    15442702
     2703        WARNING: DO NOT MODIFY THIS FILE
     2704                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2705                                Please read src/c/shared/Enum/README for more information
     2706
    15452707           Usage:
    15462708              macro=QmuPartitionEnum()
     
    15532715        QMURESPONSEDESCRIPTORSENUM - Enum of QmuResponsedescriptors
    15542716
     2717        WARNING: DO NOT MODIFY THIS FILE
     2718                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2719                                Please read src/c/shared/Enum/README for more information
     2720
    15552721           Usage:
    15562722              macro=QmuResponsedescriptorsEnum()
     
    15632729        QMUVARIABLEDESCRIPTORSENUM - Enum of QmuVariabledescriptors
    15642730
     2731        WARNING: DO NOT MODIFY THIS FILE
     2732                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2733                                Please read src/c/shared/Enum/README for more information
     2734
    15652735           Usage:
    15662736              macro=QmuVariabledescriptorsEnum()
     
    15692739        return StringToEnum('QmuVariabledescriptors')[0]
    15702740
     2741def QmuMaterialsRheologyBEnum():
     2742        """
     2743        QMUMATERIALSRHEOLOGYBENUM - Enum of QmuMaterialsRheologyB
     2744
     2745        WARNING: DO NOT MODIFY THIS FILE
     2746                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2747                                Please read src/c/shared/Enum/README for more information
     2748
     2749           Usage:
     2750              macro=QmuMaterialsRheologyBEnum()
     2751        """
     2752
     2753        return StringToEnum('QmuMaterialsRheologyB')[0]
     2754
    15712755def RiftsNumriftsEnum():
    15722756        """
    15732757        RIFTSNUMRIFTSENUM - Enum of RiftsNumrifts
    15742758
     2759        WARNING: DO NOT MODIFY THIS FILE
     2760                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2761                                Please read src/c/shared/Enum/README for more information
     2762
    15752763           Usage:
    15762764              macro=RiftsNumriftsEnum()
     
    15832771        RIFTSRIFTSTRUCTENUM - Enum of RiftsRiftstruct
    15842772
     2773        WARNING: DO NOT MODIFY THIS FILE
     2774                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2775                                Please read src/c/shared/Enum/README for more information
     2776
    15852777           Usage:
    15862778              macro=RiftsRiftstructEnum()
     
    15932785        SETTINGSIOGATHERENUM - Enum of SettingsIoGather
    15942786
     2787        WARNING: DO NOT MODIFY THIS FILE
     2788                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2789                                Please read src/c/shared/Enum/README for more information
     2790
    15952791           Usage:
    15962792              macro=SettingsIoGatherEnum()
     
    16032799        SETTINGSLOWMEMENUM - Enum of SettingsLowmem
    16042800
     2801        WARNING: DO NOT MODIFY THIS FILE
     2802                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2803                                Please read src/c/shared/Enum/README for more information
     2804
    16052805           Usage:
    16062806              macro=SettingsLowmemEnum()
     
    16132813        SETTINGSOUTPUTFREQUENCYENUM - Enum of SettingsOutputFrequency
    16142814
     2815        WARNING: DO NOT MODIFY THIS FILE
     2816                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2817                                Please read src/c/shared/Enum/README for more information
     2818
    16152819           Usage:
    16162820              macro=SettingsOutputFrequencyEnum()
     
    16232827        SETTINGSRESULTSASPATCHESENUM - Enum of SettingsResultsAsPatches
    16242828
     2829        WARNING: DO NOT MODIFY THIS FILE
     2830                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2831                                Please read src/c/shared/Enum/README for more information
     2832
    16252833           Usage:
    16262834              macro=SettingsResultsAsPatchesEnum()
     
    16332841        SETTINGSWAITONLOCKENUM - Enum of SettingsWaitonlock
    16342842
     2843        WARNING: DO NOT MODIFY THIS FILE
     2844                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2845                                Please read src/c/shared/Enum/README for more information
     2846
    16352847           Usage:
    16362848              macro=SettingsWaitonlockEnum()
     
    16432855        SURFACEFORCINGSDELTA18OENUM - Enum of SurfaceforcingsDelta18o
    16442856
     2857        WARNING: DO NOT MODIFY THIS FILE
     2858                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2859                                Please read src/c/shared/Enum/README for more information
     2860
    16452861           Usage:
    16462862              macro=SurfaceforcingsDelta18oEnum()
     
    16532869        SURFACEFORCINGSDELTA18OSURFACEENUM - Enum of SurfaceforcingsDelta18oSurface
    16542870
     2871        WARNING: DO NOT MODIFY THIS FILE
     2872                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2873                                Please read src/c/shared/Enum/README for more information
     2874
    16552875           Usage:
    16562876              macro=SurfaceforcingsDelta18oSurfaceEnum()
     
    16632883        SURFACEFORCINGSISDELTA18OENUM - Enum of SurfaceforcingsIsdelta18o
    16642884
     2885        WARNING: DO NOT MODIFY THIS FILE
     2886                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2887                                Please read src/c/shared/Enum/README for more information
     2888
    16652889           Usage:
    16662890              macro=SurfaceforcingsIsdelta18oEnum()
     
    16732897        SURFACEFORCINGSPRECIPITATIONSPRESENTDAYENUM - Enum of SurfaceforcingsPrecipitationsPresentday
    16742898
     2899        WARNING: DO NOT MODIFY THIS FILE
     2900                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2901                                Please read src/c/shared/Enum/README for more information
     2902
    16752903           Usage:
    16762904              macro=SurfaceforcingsPrecipitationsPresentdayEnum()
     
    16832911        SURFACEFORCINGSTEMPERATURESPRESENTDAYENUM - Enum of SurfaceforcingsTemperaturesPresentday
    16842912
     2913        WARNING: DO NOT MODIFY THIS FILE
     2914                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2915                                Please read src/c/shared/Enum/README for more information
     2916
    16852917           Usage:
    16862918              macro=SurfaceforcingsTemperaturesPresentdayEnum()
     
    16932925        SURFACEFORCINGSTEMPERATURESLGMENUM - Enum of SurfaceforcingsTemperaturesLgm
    16942926
     2927        WARNING: DO NOT MODIFY THIS FILE
     2928                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2929                                Please read src/c/shared/Enum/README for more information
     2930
    16952931           Usage:
    16962932              macro=SurfaceforcingsTemperaturesLgmEnum()
     
    17032939        DEBUGPROFILINGENUM - Enum of DebugProfiling
    17042940
     2941        WARNING: DO NOT MODIFY THIS FILE
     2942                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2943                                Please read src/c/shared/Enum/README for more information
     2944
    17052945           Usage:
    17062946              macro=DebugProfilingEnum()
     
    17132953        PROFILINGCURRENTMEMENUM - Enum of ProfilingCurrentMem
    17142954
     2955        WARNING: DO NOT MODIFY THIS FILE
     2956                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2957                                Please read src/c/shared/Enum/README for more information
     2958
    17152959           Usage:
    17162960              macro=ProfilingCurrentMemEnum()
     
    17232967        PROFILINGCURRENTFLOPSENUM - Enum of ProfilingCurrentFlops
    17242968
     2969        WARNING: DO NOT MODIFY THIS FILE
     2970                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2971                                Please read src/c/shared/Enum/README for more information
     2972
    17252973           Usage:
    17262974              macro=ProfilingCurrentFlopsEnum()
     
    17332981        PROFILINGSOLUTIONTIMEENUM - Enum of ProfilingSolutionTime
    17342982
     2983        WARNING: DO NOT MODIFY THIS FILE
     2984                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2985                                Please read src/c/shared/Enum/README for more information
     2986
    17352987           Usage:
    17362988              macro=ProfilingSolutionTimeEnum()
     
    17432995        MAXITERATIONCONVERGENCEFLAGENUM - Enum of MaxIterationConvergenceFlag
    17442996
     2997        WARNING: DO NOT MODIFY THIS FILE
     2998                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     2999                                Please read src/c/shared/Enum/README for more information
     3000
    17453001           Usage:
    17463002              macro=MaxIterationConvergenceFlagEnum()
     
    17533009        STEADYSTATEMAXITERENUM - Enum of SteadystateMaxiter
    17543010
     3011        WARNING: DO NOT MODIFY THIS FILE
     3012                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3013                                Please read src/c/shared/Enum/README for more information
     3014
    17553015           Usage:
    17563016              macro=SteadystateMaxiterEnum()
     
    17633023        STEADYSTATENUMREQUESTEDOUTPUTSENUM - Enum of SteadystateNumRequestedOutputs
    17643024
     3025        WARNING: DO NOT MODIFY THIS FILE
     3026                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3027                                Please read src/c/shared/Enum/README for more information
     3028
    17653029           Usage:
    17663030              macro=SteadystateNumRequestedOutputsEnum()
     
    17733037        STEADYSTATERELTOLENUM - Enum of SteadystateReltol
    17743038
     3039        WARNING: DO NOT MODIFY THIS FILE
     3040                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3041                                Please read src/c/shared/Enum/README for more information
     3042
    17753043           Usage:
    17763044              macro=SteadystateReltolEnum()
     
    17833051        STEADYSTATEREQUESTEDOUTPUTSENUM - Enum of SteadystateRequestedOutputs
    17843052
     3053        WARNING: DO NOT MODIFY THIS FILE
     3054                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3055                                Please read src/c/shared/Enum/README for more information
     3056
    17853057           Usage:
    17863058              macro=SteadystateRequestedOutputsEnum()
     
    17933065        SURFACEENUM - Enum of Surface
    17943066
     3067        WARNING: DO NOT MODIFY THIS FILE
     3068                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3069                                Please read src/c/shared/Enum/README for more information
     3070
    17953071           Usage:
    17963072              macro=SurfaceEnum()
     
    18033079        SURFACEFORCINGSPRECIPITATIONENUM - Enum of SurfaceforcingsPrecipitation
    18043080
     3081        WARNING: DO NOT MODIFY THIS FILE
     3082                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3083                                Please read src/c/shared/Enum/README for more information
     3084
    18053085           Usage:
    18063086              macro=SurfaceforcingsPrecipitationEnum()
     
    18133093        SURFACEFORCINGSMASSBALANCEENUM - Enum of SurfaceforcingsMassBalance
    18143094
     3095        WARNING: DO NOT MODIFY THIS FILE
     3096                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3097                                Please read src/c/shared/Enum/README for more information
     3098
    18153099           Usage:
    18163100              macro=SurfaceforcingsMassBalanceEnum()
     
    18233107        SURFACEFORCINGSISPDDENUM - Enum of SurfaceforcingsIspdd
    18243108
     3109        WARNING: DO NOT MODIFY THIS FILE
     3110                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3111                                Please read src/c/shared/Enum/README for more information
     3112
    18253113           Usage:
    18263114              macro=SurfaceforcingsIspddEnum()
     
    18293117        return StringToEnum('SurfaceforcingsIspdd')[0]
    18303118
     3119def SurfaceforcingsDesfacEnum():
     3120        """
     3121        SURFACEFORCINGSDESFACENUM - Enum of SurfaceforcingsDesfac
     3122
     3123        WARNING: DO NOT MODIFY THIS FILE
     3124                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3125                                Please read src/c/shared/Enum/README for more information
     3126
     3127           Usage:
     3128              macro=SurfaceforcingsDesfacEnum()
     3129        """
     3130
     3131        return StringToEnum('SurfaceforcingsDesfac')[0]
     3132
     3133def SurfaceforcingsS0pEnum():
     3134        """
     3135        SURFACEFORCINGSS0PENUM - Enum of SurfaceforcingsS0p
     3136
     3137        WARNING: DO NOT MODIFY THIS FILE
     3138                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3139                                Please read src/c/shared/Enum/README for more information
     3140
     3141           Usage:
     3142              macro=SurfaceforcingsS0pEnum()
     3143        """
     3144
     3145        return StringToEnum('SurfaceforcingsS0p')[0]
     3146
    18313147def SurfaceforcingsIssmbgradientsEnum():
    18323148        """
    18333149        SURFACEFORCINGSISSMBGRADIENTSENUM - Enum of SurfaceforcingsIssmbgradients
    18343150
     3151        WARNING: DO NOT MODIFY THIS FILE
     3152                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3153                                Please read src/c/shared/Enum/README for more information
     3154
    18353155           Usage:
    18363156              macro=SurfaceforcingsIssmbgradientsEnum()
     
    18433163        SURFACEFORCINGSMONTHLYTEMPERATURESENUM - Enum of SurfaceforcingsMonthlytemperatures
    18443164
     3165        WARNING: DO NOT MODIFY THIS FILE
     3166                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3167                                Please read src/c/shared/Enum/README for more information
     3168
    18453169           Usage:
    18463170              macro=SurfaceforcingsMonthlytemperaturesEnum()
     
    18533177        SURFACEFORCINGSHREFENUM - Enum of SurfaceforcingsHref
    18543178
     3179        WARNING: DO NOT MODIFY THIS FILE
     3180                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3181                                Please read src/c/shared/Enum/README for more information
     3182
    18553183           Usage:
    18563184              macro=SurfaceforcingsHrefEnum()
     
    18633191        SURFACEFORCINGSSMBREFENUM - Enum of SurfaceforcingsSmbref
    18643192
     3193        WARNING: DO NOT MODIFY THIS FILE
     3194                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3195                                Please read src/c/shared/Enum/README for more information
     3196
    18653197           Usage:
    18663198              macro=SurfaceforcingsSmbrefEnum()
     
    18733205        SURFACEFORCINGSBPOSENUM - Enum of SurfaceforcingsBPos
    18743206
     3207        WARNING: DO NOT MODIFY THIS FILE
     3208                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3209                                Please read src/c/shared/Enum/README for more information
     3210
    18753211           Usage:
    18763212              macro=SurfaceforcingsBPosEnum()
     
    18833219        SURFACEFORCINGSBNEGENUM - Enum of SurfaceforcingsBNeg
    18843220
     3221        WARNING: DO NOT MODIFY THIS FILE
     3222                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3223                                Please read src/c/shared/Enum/README for more information
     3224
    18853225           Usage:
    18863226              macro=SurfaceforcingsBNegEnum()
     
    18933233        THERMALMAXITERENUM - Enum of ThermalMaxiter
    18943234
     3235        WARNING: DO NOT MODIFY THIS FILE
     3236                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3237                                Please read src/c/shared/Enum/README for more information
     3238
    18953239           Usage:
    18963240              macro=ThermalMaxiterEnum()
     
    19033247        THERMALPENALTYFACTORENUM - Enum of ThermalPenaltyFactor
    19043248
     3249        WARNING: DO NOT MODIFY THIS FILE
     3250                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3251                                Please read src/c/shared/Enum/README for more information
     3252
    19053253           Usage:
    19063254              macro=ThermalPenaltyFactorEnum()
     
    19133261        THERMALPENALTYLOCKENUM - Enum of ThermalPenaltyLock
    19143262
     3263        WARNING: DO NOT MODIFY THIS FILE
     3264                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3265                                Please read src/c/shared/Enum/README for more information
     3266
    19153267           Usage:
    19163268              macro=ThermalPenaltyLockEnum()
     
    19233275        THERMALPENALTYTHRESHOLDENUM - Enum of ThermalPenaltyThreshold
    19243276
     3277        WARNING: DO NOT MODIFY THIS FILE
     3278                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3279                                Please read src/c/shared/Enum/README for more information
     3280
    19253281           Usage:
    19263282              macro=ThermalPenaltyThresholdEnum()
     
    19333289        THERMALSPCTEMPERATUREENUM - Enum of ThermalSpctemperature
    19343290
     3291        WARNING: DO NOT MODIFY THIS FILE
     3292                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3293                                Please read src/c/shared/Enum/README for more information
     3294
    19353295           Usage:
    19363296              macro=ThermalSpctemperatureEnum()
     
    19433303        THERMALSTABILIZATIONENUM - Enum of ThermalStabilization
    19443304
     3305        WARNING: DO NOT MODIFY THIS FILE
     3306                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3307                                Please read src/c/shared/Enum/README for more information
     3308
    19453309           Usage:
    19463310              macro=ThermalStabilizationEnum()
     
    19533317        THERMALISENTHALPYENUM - Enum of ThermalIsenthalpy
    19543318
     3319        WARNING: DO NOT MODIFY THIS FILE
     3320                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3321                                Please read src/c/shared/Enum/README for more information
     3322
    19553323           Usage:
    19563324              macro=ThermalIsenthalpyEnum()
     
    19593327        return StringToEnum('ThermalIsenthalpy')[0]
    19603328
     3329def GiaMantleViscosityEnum():
     3330        """
     3331        GIAMANTLEVISCOSITYENUM - Enum of GiaMantleViscosity
     3332
     3333        WARNING: DO NOT MODIFY THIS FILE
     3334                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3335                                Please read src/c/shared/Enum/README for more information
     3336
     3337           Usage:
     3338              macro=GiaMantleViscosityEnum()
     3339        """
     3340
     3341        return StringToEnum('GiaMantleViscosity')[0]
     3342
     3343def GiaLithosphereThicknessEnum():
     3344        """
     3345        GIALITHOSPHERETHICKNESSENUM - Enum of GiaLithosphereThickness
     3346
     3347        WARNING: DO NOT MODIFY THIS FILE
     3348                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3349                                Please read src/c/shared/Enum/README for more information
     3350
     3351           Usage:
     3352              macro=GiaLithosphereThicknessEnum()
     3353        """
     3354
     3355        return StringToEnum('GiaLithosphereThickness')[0]
     3356
    19613357def ThicknessEnum():
    19623358        """
    19633359        THICKNESSENUM - Enum of Thickness
    19643360
     3361        WARNING: DO NOT MODIFY THIS FILE
     3362                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3363                                Please read src/c/shared/Enum/README for more information
     3364
    19653365           Usage:
    19663366              macro=ThicknessEnum()
     
    19733373        TIMESTEPPINGSTARTTIMEENUM - Enum of TimesteppingStartTime
    19743374
     3375        WARNING: DO NOT MODIFY THIS FILE
     3376                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3377                                Please read src/c/shared/Enum/README for more information
     3378
    19753379           Usage:
    19763380              macro=TimesteppingStartTimeEnum()
     
    19833387        TIMESTEPPINGFINALTIMEENUM - Enum of TimesteppingFinalTime
    19843388
     3389        WARNING: DO NOT MODIFY THIS FILE
     3390                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3391                                Please read src/c/shared/Enum/README for more information
     3392
    19853393           Usage:
    19863394              macro=TimesteppingFinalTimeEnum()
     
    19933401        TIMESTEPPINGCFLCOEFFICIENTENUM - Enum of TimesteppingCflCoefficient
    19943402
     3403        WARNING: DO NOT MODIFY THIS FILE
     3404                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3405                                Please read src/c/shared/Enum/README for more information
     3406
    19953407           Usage:
    19963408              macro=TimesteppingCflCoefficientEnum()
     
    20033415        TIMESTEPPINGTIMEADAPTENUM - Enum of TimesteppingTimeAdapt
    20043416
     3417        WARNING: DO NOT MODIFY THIS FILE
     3418                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3419                                Please read src/c/shared/Enum/README for more information
     3420
    20053421           Usage:
    20063422              macro=TimesteppingTimeAdaptEnum()
     
    20133429        TIMESTEPPINGTIMESTEPENUM - Enum of TimesteppingTimeStep
    20143430
     3431        WARNING: DO NOT MODIFY THIS FILE
     3432                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3433                                Please read src/c/shared/Enum/README for more information
     3434
    20153435           Usage:
    20163436              macro=TimesteppingTimeStepEnum()
     
    20233443        TRANSIENTISDIAGNOSTICENUM - Enum of TransientIsdiagnostic
    20243444
     3445        WARNING: DO NOT MODIFY THIS FILE
     3446                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3447                                Please read src/c/shared/Enum/README for more information
     3448
    20253449           Usage:
    20263450              macro=TransientIsdiagnosticEnum()
     
    20333457        TRANSIENTISGROUNDINGLINEENUM - Enum of TransientIsgroundingline
    20343458
     3459        WARNING: DO NOT MODIFY THIS FILE
     3460                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3461                                Please read src/c/shared/Enum/README for more information
     3462
    20353463           Usage:
    20363464              macro=TransientIsgroundinglineEnum()
     
    20433471        TRANSIENTISPROGNOSTICENUM - Enum of TransientIsprognostic
    20443472
     3473        WARNING: DO NOT MODIFY THIS FILE
     3474                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3475                                Please read src/c/shared/Enum/README for more information
     3476
    20453477           Usage:
    20463478              macro=TransientIsprognosticEnum()
     
    20533485        TRANSIENTISTHERMALENUM - Enum of TransientIsthermal
    20543486
     3487        WARNING: DO NOT MODIFY THIS FILE
     3488                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3489                                Please read src/c/shared/Enum/README for more information
     3490
    20553491           Usage:
    20563492              macro=TransientIsthermalEnum()
     
    20593495        return StringToEnum('TransientIsthermal')[0]
    20603496
     3497def TransientIsgiaEnum():
     3498        """
     3499        TRANSIENTISGIAENUM - Enum of TransientIsgia
     3500
     3501        WARNING: DO NOT MODIFY THIS FILE
     3502                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3503                                Please read src/c/shared/Enum/README for more information
     3504
     3505           Usage:
     3506              macro=TransientIsgiaEnum()
     3507        """
     3508
     3509        return StringToEnum('TransientIsgia')[0]
     3510
    20613511def TransientNumRequestedOutputsEnum():
    20623512        """
    20633513        TRANSIENTNUMREQUESTEDOUTPUTSENUM - Enum of TransientNumRequestedOutputs
    20643514
     3515        WARNING: DO NOT MODIFY THIS FILE
     3516                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3517                                Please read src/c/shared/Enum/README for more information
     3518
    20653519           Usage:
    20663520              macro=TransientNumRequestedOutputsEnum()
     
    20733527        TRANSIENTREQUESTEDOUTPUTSENUM - Enum of TransientRequestedOutputs
    20743528
     3529        WARNING: DO NOT MODIFY THIS FILE
     3530                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3531                                Please read src/c/shared/Enum/README for more information
     3532
    20753533           Usage:
    20763534              macro=TransientRequestedOutputsEnum()
     
    20833541        SOLUTIONTYPEENUM - Enum of SolutionType
    20843542
     3543        WARNING: DO NOT MODIFY THIS FILE
     3544                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3545                                Please read src/c/shared/Enum/README for more information
     3546
    20853547           Usage:
    20863548              macro=SolutionTypeEnum()
     
    20933555        ANALYSISTYPEENUM - Enum of AnalysisType
    20943556
     3557        WARNING: DO NOT MODIFY THIS FILE
     3558                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3559                                Please read src/c/shared/Enum/README for more information
     3560
    20953561           Usage:
    20963562              macro=AnalysisTypeEnum()
     
    21033569        CONFIGURATIONTYPEENUM - Enum of ConfigurationType
    21043570
     3571        WARNING: DO NOT MODIFY THIS FILE
     3572                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3573                                Please read src/c/shared/Enum/README for more information
     3574
    21053575           Usage:
    21063576              macro=ConfigurationTypeEnum()
     
    21133583        ADJOINTBALANCETHICKNESSANALYSISENUM - Enum of AdjointBalancethicknessAnalysis
    21143584
     3585        WARNING: DO NOT MODIFY THIS FILE
     3586                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3587                                Please read src/c/shared/Enum/README for more information
     3588
    21153589           Usage:
    21163590              macro=AdjointBalancethicknessAnalysisEnum()
     
    21233597        ADJOINTHORIZANALYSISENUM - Enum of AdjointHorizAnalysis
    21243598
     3599        WARNING: DO NOT MODIFY THIS FILE
     3600                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3601                                Please read src/c/shared/Enum/README for more information
     3602
    21253603           Usage:
    21263604              macro=AdjointHorizAnalysisEnum()
     
    21333611        ADJOINTSOLUTIONENUM - Enum of AdjointSolution
    21343612
     3613        WARNING: DO NOT MODIFY THIS FILE
     3614                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3615                                Please read src/c/shared/Enum/README for more information
     3616
    21353617           Usage:
    21363618              macro=AdjointSolutionEnum()
     
    21433625        ANALYSISCOUNTERENUM - Enum of AnalysisCounter
    21443626
     3627        WARNING: DO NOT MODIFY THIS FILE
     3628                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3629                                Please read src/c/shared/Enum/README for more information
     3630
    21453631           Usage:
    21463632              macro=AnalysisCounterEnum()
     
    21493635        return StringToEnum('AnalysisCounter')[0]
    21503636
     3637def NoneAnalysisEnum():
     3638        """
     3639        NONEANALYSISENUM - Enum of NoneAnalysis
     3640
     3641        WARNING: DO NOT MODIFY THIS FILE
     3642                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3643                                Please read src/c/shared/Enum/README for more information
     3644
     3645           Usage:
     3646              macro=NoneAnalysisEnum()
     3647        """
     3648
     3649        return StringToEnum('NoneAnalysis')[0]
     3650
     3651def DefaultAnalysisEnum():
     3652        """
     3653        DEFAULTANALYSISENUM - Enum of DefaultAnalysis
     3654
     3655        WARNING: DO NOT MODIFY THIS FILE
     3656                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3657                                Please read src/c/shared/Enum/README for more information
     3658
     3659           Usage:
     3660              macro=DefaultAnalysisEnum()
     3661        """
     3662
     3663        return StringToEnum('DefaultAnalysis')[0]
     3664
    21513665def BalancethicknessAnalysisEnum():
    21523666        """
    21533667        BALANCETHICKNESSANALYSISENUM - Enum of BalancethicknessAnalysis
    21543668
     3669        WARNING: DO NOT MODIFY THIS FILE
     3670                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3671                                Please read src/c/shared/Enum/README for more information
     3672
    21553673           Usage:
    21563674              macro=BalancethicknessAnalysisEnum()
     
    21633681        BALANCETHICKNESSSOLUTIONENUM - Enum of BalancethicknessSolution
    21643682
     3683        WARNING: DO NOT MODIFY THIS FILE
     3684                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3685                                Please read src/c/shared/Enum/README for more information
     3686
    21653687           Usage:
    21663688              macro=BalancethicknessSolutionEnum()
     
    21693691        return StringToEnum('BalancethicknessSolution')[0]
    21703692
    2171 def WeakBalancethicknessAnalysisEnum():
    2172         """
    2173         WEAKBALANCETHICKNESSANALYSISENUM - Enum of WeakBalancethicknessAnalysis
    2174 
    2175            Usage:
    2176               macro=WeakBalancethicknessAnalysisEnum()
    2177         """
    2178 
    2179         return StringToEnum('WeakBalancethicknessAnalysis')[0]
    2180 
    2181 def WeakBalancethicknessSolutionEnum():
    2182         """
    2183         WEAKBALANCETHICKNESSSOLUTIONENUM - Enum of WeakBalancethicknessSolution
    2184 
    2185            Usage:
    2186               macro=WeakBalancethicknessSolutionEnum()
    2187         """
    2188 
    2189         return StringToEnum('WeakBalancethicknessSolution')[0]
     3693def BalancethicknessSoftAnalysisEnum():
     3694        """
     3695        BALANCETHICKNESSSOFTANALYSISENUM - Enum of BalancethicknessSoftAnalysis
     3696
     3697        WARNING: DO NOT MODIFY THIS FILE
     3698                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3699                                Please read src/c/shared/Enum/README for more information
     3700
     3701           Usage:
     3702              macro=BalancethicknessSoftAnalysisEnum()
     3703        """
     3704
     3705        return StringToEnum('BalancethicknessSoftAnalysis')[0]
     3706
     3707def BalancethicknessSoftSolutionEnum():
     3708        """
     3709        BALANCETHICKNESSSOFTSOLUTIONENUM - Enum of BalancethicknessSoftSolution
     3710
     3711        WARNING: DO NOT MODIFY THIS FILE
     3712                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3713                                Please read src/c/shared/Enum/README for more information
     3714
     3715           Usage:
     3716              macro=BalancethicknessSoftSolutionEnum()
     3717        """
     3718
     3719        return StringToEnum('BalancethicknessSoftSolution')[0]
    21903720
    21913721def BedSlopeAnalysisEnum():
     
    21933723        BEDSLOPEANALYSISENUM - Enum of BedSlopeAnalysis
    21943724
     3725        WARNING: DO NOT MODIFY THIS FILE
     3726                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3727                                Please read src/c/shared/Enum/README for more information
     3728
    21953729           Usage:
    21963730              macro=BedSlopeAnalysisEnum()
     
    22033737        BEDSLOPESOLUTIONENUM - Enum of BedSlopeSolution
    22043738
     3739        WARNING: DO NOT MODIFY THIS FILE
     3740                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3741                                Please read src/c/shared/Enum/README for more information
     3742
    22053743           Usage:
    22063744              macro=BedSlopeSolutionEnum()
     
    22133751        BEDSLOPEXANALYSISENUM - Enum of BedSlopeXAnalysis
    22143752
     3753        WARNING: DO NOT MODIFY THIS FILE
     3754                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3755                                Please read src/c/shared/Enum/README for more information
     3756
    22153757           Usage:
    22163758              macro=BedSlopeXAnalysisEnum()
     
    22233765        BEDSLOPEYANALYSISENUM - Enum of BedSlopeYAnalysis
    22243766
     3767        WARNING: DO NOT MODIFY THIS FILE
     3768                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3769                                Please read src/c/shared/Enum/README for more information
     3770
    22253771           Usage:
    22263772              macro=BedSlopeYAnalysisEnum()
     
    22333779        DIAGNOSTICHORIZANALYSISENUM - Enum of DiagnosticHorizAnalysis
    22343780
     3781        WARNING: DO NOT MODIFY THIS FILE
     3782                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3783                                Please read src/c/shared/Enum/README for more information
     3784
    22353785           Usage:
    22363786              macro=DiagnosticHorizAnalysisEnum()
     
    22433793        DIAGNOSTICHUTTERANALYSISENUM - Enum of DiagnosticHutterAnalysis
    22443794
     3795        WARNING: DO NOT MODIFY THIS FILE
     3796                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3797                                Please read src/c/shared/Enum/README for more information
     3798
    22453799           Usage:
    22463800              macro=DiagnosticHutterAnalysisEnum()
     
    22533807        DIAGNOSTICSOLUTIONENUM - Enum of DiagnosticSolution
    22543808
     3809        WARNING: DO NOT MODIFY THIS FILE
     3810                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3811                                Please read src/c/shared/Enum/README for more information
     3812
    22553813           Usage:
    22563814              macro=DiagnosticSolutionEnum()
     
    22633821        DIAGNOSTICVERTANALYSISENUM - Enum of DiagnosticVertAnalysis
    22643822
     3823        WARNING: DO NOT MODIFY THIS FILE
     3824                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3825                                Please read src/c/shared/Enum/README for more information
     3826
    22653827           Usage:
    22663828              macro=DiagnosticVertAnalysisEnum()
     
    22733835        ENTHALPYANALYSISENUM - Enum of EnthalpyAnalysis
    22743836
     3837        WARNING: DO NOT MODIFY THIS FILE
     3838                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3839                                Please read src/c/shared/Enum/README for more information
     3840
    22753841           Usage:
    22763842              macro=EnthalpyAnalysisEnum()
     
    22833849        ENTHALPYSOLUTIONENUM - Enum of EnthalpySolution
    22843850
     3851        WARNING: DO NOT MODIFY THIS FILE
     3852                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3853                                Please read src/c/shared/Enum/README for more information
     3854
    22853855           Usage:
    22863856              macro=EnthalpySolutionEnum()
     
    22933863        FLAIMANALYSISENUM - Enum of FlaimAnalysis
    22943864
     3865        WARNING: DO NOT MODIFY THIS FILE
     3866                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3867                                Please read src/c/shared/Enum/README for more information
     3868
    22953869           Usage:
    22963870              macro=FlaimAnalysisEnum()
     
    23033877        FLAIMSOLUTIONENUM - Enum of FlaimSolution
    23043878
     3879        WARNING: DO NOT MODIFY THIS FILE
     3880                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3881                                Please read src/c/shared/Enum/README for more information
     3882
    23053883           Usage:
    23063884              macro=FlaimSolutionEnum()
     
    23093887        return StringToEnum('FlaimSolution')[0]
    23103888
    2311 def HydrologyAnalysisEnum():
    2312         """
    2313         HYDROLOGYANALYSISENUM - Enum of HydrologyAnalysis
    2314 
    2315            Usage:
    2316               macro=HydrologyAnalysisEnum()
    2317         """
    2318 
    2319         return StringToEnum('HydrologyAnalysis')[0]
     3889def HydrologyShreveAnalysisEnum():
     3890        """
     3891        HYDROLOGYSHREVEANALYSISENUM - Enum of HydrologyShreveAnalysis
     3892
     3893        WARNING: DO NOT MODIFY THIS FILE
     3894                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3895                                Please read src/c/shared/Enum/README for more information
     3896
     3897           Usage:
     3898              macro=HydrologyShreveAnalysisEnum()
     3899        """
     3900
     3901        return StringToEnum('HydrologyShreveAnalysis')[0]
     3902
     3903def HydrologyDCInefficientAnalysisEnum():
     3904        """
     3905        HYDROLOGYDCINEFFICIENTANALYSISENUM - Enum of HydrologyDCInefficientAnalysis
     3906
     3907        WARNING: DO NOT MODIFY THIS FILE
     3908                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3909                                Please read src/c/shared/Enum/README for more information
     3910
     3911           Usage:
     3912              macro=HydrologyDCInefficientAnalysisEnum()
     3913        """
     3914
     3915        return StringToEnum('HydrologyDCInefficientAnalysis')[0]
     3916
     3917def HydrologyDCEfficientAnalysisEnum():
     3918        """
     3919        HYDROLOGYDCEFFICIENTANALYSISENUM - Enum of HydrologyDCEfficientAnalysis
     3920
     3921        WARNING: DO NOT MODIFY THIS FILE
     3922                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3923                                Please read src/c/shared/Enum/README for more information
     3924
     3925           Usage:
     3926              macro=HydrologyDCEfficientAnalysisEnum()
     3927        """
     3928
     3929        return StringToEnum('HydrologyDCEfficientAnalysis')[0]
    23203930
    23213931def HydrologySolutionEnum():
     
    23233933        HYDROLOGYSOLUTIONENUM - Enum of HydrologySolution
    23243934
     3935        WARNING: DO NOT MODIFY THIS FILE
     3936                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3937                                Please read src/c/shared/Enum/README for more information
     3938
    23253939           Usage:
    23263940              macro=HydrologySolutionEnum()
     
    23333947        MELTINGANALYSISENUM - Enum of MeltingAnalysis
    23343948
     3949        WARNING: DO NOT MODIFY THIS FILE
     3950                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3951                                Please read src/c/shared/Enum/README for more information
     3952
    23353953           Usage:
    23363954              macro=MeltingAnalysisEnum()
     
    23393957        return StringToEnum('MeltingAnalysis')[0]
    23403958
    2341 def NoneAnalysisEnum():
    2342         """
    2343         NONEANALYSISENUM - Enum of NoneAnalysis
    2344 
    2345            Usage:
    2346               macro=NoneAnalysisEnum()
    2347         """
    2348 
    2349         return StringToEnum('NoneAnalysis')[0]
    2350 
    23513959def PrognosticAnalysisEnum():
    23523960        """
    23533961        PROGNOSTICANALYSISENUM - Enum of PrognosticAnalysis
    23543962
     3963        WARNING: DO NOT MODIFY THIS FILE
     3964                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3965                                Please read src/c/shared/Enum/README for more information
     3966
    23553967           Usage:
    23563968              macro=PrognosticAnalysisEnum()
     
    23633975        PROGNOSTICSOLUTIONENUM - Enum of PrognosticSolution
    23643976
     3977        WARNING: DO NOT MODIFY THIS FILE
     3978                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3979                                Please read src/c/shared/Enum/README for more information
     3980
    23653981           Usage:
    23663982              macro=PrognosticSolutionEnum()
     
    23733989        STEADYSTATESOLUTIONENUM - Enum of SteadystateSolution
    23743990
     3991        WARNING: DO NOT MODIFY THIS FILE
     3992                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     3993                                Please read src/c/shared/Enum/README for more information
     3994
    23753995           Usage:
    23763996              macro=SteadystateSolutionEnum()
     
    23834003        SURFACESLOPEANALYSISENUM - Enum of SurfaceSlopeAnalysis
    23844004
     4005        WARNING: DO NOT MODIFY THIS FILE
     4006                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4007                                Please read src/c/shared/Enum/README for more information
     4008
    23854009           Usage:
    23864010              macro=SurfaceSlopeAnalysisEnum()
     
    23934017        SURFACESLOPESOLUTIONENUM - Enum of SurfaceSlopeSolution
    23944018
     4019        WARNING: DO NOT MODIFY THIS FILE
     4020                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4021                                Please read src/c/shared/Enum/README for more information
     4022
    23954023           Usage:
    23964024              macro=SurfaceSlopeSolutionEnum()
     
    24034031        SURFACESLOPEXANALYSISENUM - Enum of SurfaceSlopeXAnalysis
    24044032
     4033        WARNING: DO NOT MODIFY THIS FILE
     4034                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4035                                Please read src/c/shared/Enum/README for more information
     4036
    24054037           Usage:
    24064038              macro=SurfaceSlopeXAnalysisEnum()
     
    24134045        SURFACESLOPEYANALYSISENUM - Enum of SurfaceSlopeYAnalysis
    24144046
     4047        WARNING: DO NOT MODIFY THIS FILE
     4048                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4049                                Please read src/c/shared/Enum/README for more information
     4050
    24154051           Usage:
    24164052              macro=SurfaceSlopeYAnalysisEnum()
     
    24234059        THERMALANALYSISENUM - Enum of ThermalAnalysis
    24244060
     4061        WARNING: DO NOT MODIFY THIS FILE
     4062                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4063                                Please read src/c/shared/Enum/README for more information
     4064
    24254065           Usage:
    24264066              macro=ThermalAnalysisEnum()
     
    24334073        THERMALSOLUTIONENUM - Enum of ThermalSolution
    24344074
     4075        WARNING: DO NOT MODIFY THIS FILE
     4076                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4077                                Please read src/c/shared/Enum/README for more information
     4078
    24354079           Usage:
    24364080              macro=ThermalSolutionEnum()
     
    24434087        TRANSIENTSOLUTIONENUM - Enum of TransientSolution
    24444088
     4089        WARNING: DO NOT MODIFY THIS FILE
     4090                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4091                                Please read src/c/shared/Enum/README for more information
     4092
    24454093           Usage:
    24464094              macro=TransientSolutionEnum()
     
    24494097        return StringToEnum('TransientSolution')[0]
    24504098
     4099def GiaSolutionEnum():
     4100        """
     4101        GIASOLUTIONENUM - Enum of GiaSolution
     4102
     4103        WARNING: DO NOT MODIFY THIS FILE
     4104                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4105                                Please read src/c/shared/Enum/README for more information
     4106
     4107           Usage:
     4108              macro=GiaSolutionEnum()
     4109        """
     4110
     4111        return StringToEnum('GiaSolution')[0]
     4112
     4113def GiaAnalysisEnum():
     4114        """
     4115        GIAANALYSISENUM - Enum of GiaAnalysis
     4116
     4117        WARNING: DO NOT MODIFY THIS FILE
     4118                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4119                                Please read src/c/shared/Enum/README for more information
     4120
     4121           Usage:
     4122              macro=GiaAnalysisEnum()
     4123        """
     4124
     4125        return StringToEnum('GiaAnalysis')[0]
     4126
    24514127def ApproximationEnum():
    24524128        """
    24534129        APPROXIMATIONENUM - Enum of Approximation
    24544130
     4131        WARNING: DO NOT MODIFY THIS FILE
     4132                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4133                                Please read src/c/shared/Enum/README for more information
     4134
    24554135           Usage:
    24564136              macro=ApproximationEnum()
     
    24634143        NONEAPPROXIMATIONENUM - Enum of NoneApproximation
    24644144
     4145        WARNING: DO NOT MODIFY THIS FILE
     4146                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4147                                Please read src/c/shared/Enum/README for more information
     4148
    24654149           Usage:
    24664150              macro=NoneApproximationEnum()
     
    24734157        HUTTERAPPROXIMATIONENUM - Enum of HutterApproximation
    24744158
     4159        WARNING: DO NOT MODIFY THIS FILE
     4160                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4161                                Please read src/c/shared/Enum/README for more information
     4162
    24754163           Usage:
    24764164              macro=HutterApproximationEnum()
     
    24834171        MACAYEALAPPROXIMATIONENUM - Enum of MacAyealApproximation
    24844172
     4173        WARNING: DO NOT MODIFY THIS FILE
     4174                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4175                                Please read src/c/shared/Enum/README for more information
     4176
    24854177           Usage:
    24864178              macro=MacAyealApproximationEnum()
     
    24934185        MACAYEALPATTYNAPPROXIMATIONENUM - Enum of MacAyealPattynApproximation
    24944186
     4187        WARNING: DO NOT MODIFY THIS FILE
     4188                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4189                                Please read src/c/shared/Enum/README for more information
     4190
    24954191           Usage:
    24964192              macro=MacAyealPattynApproximationEnum()
     
    25034199        MACAYEALSTOKESAPPROXIMATIONENUM - Enum of MacAyealStokesApproximation
    25044200
     4201        WARNING: DO NOT MODIFY THIS FILE
     4202                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4203                                Please read src/c/shared/Enum/README for more information
     4204
    25054205           Usage:
    25064206              macro=MacAyealStokesApproximationEnum()
     
    25134213        L1L2APPROXIMATIONENUM - Enum of L1L2Approximation
    25144214
     4215        WARNING: DO NOT MODIFY THIS FILE
     4216                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4217                                Please read src/c/shared/Enum/README for more information
     4218
    25154219           Usage:
    25164220              macro=L1L2ApproximationEnum()
     
    25234227        PATTYNAPPROXIMATIONENUM - Enum of PattynApproximation
    25244228
     4229        WARNING: DO NOT MODIFY THIS FILE
     4230                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4231                                Please read src/c/shared/Enum/README for more information
     4232
    25254233           Usage:
    25264234              macro=PattynApproximationEnum()
     
    25334241        PATTYNSTOKESAPPROXIMATIONENUM - Enum of PattynStokesApproximation
    25344242
     4243        WARNING: DO NOT MODIFY THIS FILE
     4244                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4245                                Please read src/c/shared/Enum/README for more information
     4246
    25354247           Usage:
    25364248              macro=PattynStokesApproximationEnum()
     
    25434255        STOKESAPPROXIMATIONENUM - Enum of StokesApproximation
    25444256
     4257        WARNING: DO NOT MODIFY THIS FILE
     4258                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4259                                Please read src/c/shared/Enum/README for more information
     4260
    25454261           Usage:
    25464262              macro=StokesApproximationEnum()
     
    25534269        CONSTRAINTSENUM - Enum of Constraints
    25544270
     4271        WARNING: DO NOT MODIFY THIS FILE
     4272                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4273                                Please read src/c/shared/Enum/README for more information
     4274
    25554275           Usage:
    25564276              macro=ConstraintsEnum()
     
    25634283        LOADSENUM - Enum of Loads
    25644284
     4285        WARNING: DO NOT MODIFY THIS FILE
     4286                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4287                                Please read src/c/shared/Enum/README for more information
     4288
    25654289           Usage:
    25664290              macro=LoadsEnum()
     
    25734297        MATERIALSENUM - Enum of Materials
    25744298
     4299        WARNING: DO NOT MODIFY THIS FILE
     4300                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4301                                Please read src/c/shared/Enum/README for more information
     4302
    25754303           Usage:
    25764304              macro=MaterialsEnum()
     
    25834311        NODESENUM - Enum of Nodes
    25844312
     4313        WARNING: DO NOT MODIFY THIS FILE
     4314                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4315                                Please read src/c/shared/Enum/README for more information
     4316
    25854317           Usage:
    25864318              macro=NodesEnum()
     
    25894321        return StringToEnum('Nodes')[0]
    25904322
     4323def ContoursEnum():
     4324        """
     4325        CONTOURSENUM - Enum of Contours
     4326
     4327        WARNING: DO NOT MODIFY THIS FILE
     4328                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4329                                Please read src/c/shared/Enum/README for more information
     4330
     4331           Usage:
     4332              macro=ContoursEnum()
     4333        """
     4334
     4335        return StringToEnum('Contours')[0]
     4336
    25914337def ParametersEnum():
    25924338        """
    25934339        PARAMETERSENUM - Enum of Parameters
    25944340
     4341        WARNING: DO NOT MODIFY THIS FILE
     4342                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4343                                Please read src/c/shared/Enum/README for more information
     4344
    25954345           Usage:
    25964346              macro=ParametersEnum()
     
    26034353        VERTICESENUM - Enum of Vertices
    26044354
     4355        WARNING: DO NOT MODIFY THIS FILE
     4356                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4357                                Please read src/c/shared/Enum/README for more information
     4358
    26054359           Usage:
    26064360              macro=VerticesEnum()
     
    26134367        RESULTSENUM - Enum of Results
    26144368
     4369        WARNING: DO NOT MODIFY THIS FILE
     4370                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4371                                Please read src/c/shared/Enum/README for more information
     4372
    26154373           Usage:
    26164374              macro=ResultsEnum()
     
    26234381        GENERICPARAMENUM - Enum of GenericParam
    26244382
     4383        WARNING: DO NOT MODIFY THIS FILE
     4384                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4385                                Please read src/c/shared/Enum/README for more information
     4386
    26254387           Usage:
    26264388              macro=GenericParamEnum()
     
    26334395        ADOLCPARAMENUM - Enum of AdolcParam
    26344396
     4397        WARNING: DO NOT MODIFY THIS FILE
     4398                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4399                                Please read src/c/shared/Enum/README for more information
     4400
    26354401           Usage:
    26364402              macro=AdolcParamEnum()
     
    26434409        BOOLINPUTENUM - Enum of BoolInput
    26444410
     4411        WARNING: DO NOT MODIFY THIS FILE
     4412                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4413                                Please read src/c/shared/Enum/README for more information
     4414
    26454415           Usage:
    26464416              macro=BoolInputEnum()
     
    26534423        BOOLPARAMENUM - Enum of BoolParam
    26544424
     4425        WARNING: DO NOT MODIFY THIS FILE
     4426                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4427                                Please read src/c/shared/Enum/README for more information
     4428
    26554429           Usage:
    26564430              macro=BoolParamEnum()
     
    26634437        CONTOURENUM - Enum of Contour
    26644438
     4439        WARNING: DO NOT MODIFY THIS FILE
     4440                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4441                                Please read src/c/shared/Enum/README for more information
     4442
    26654443           Usage:
    26664444              macro=ContourEnum()
     
    26734451        CONTROLINPUTENUM - Enum of ControlInput
    26744452
     4453        WARNING: DO NOT MODIFY THIS FILE
     4454                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4455                                Please read src/c/shared/Enum/README for more information
     4456
    26754457           Usage:
    26764458              macro=ControlInputEnum()
     
    26834465        DATASETINPUTENUM - Enum of DatasetInput
    26844466
     4467        WARNING: DO NOT MODIFY THIS FILE
     4468                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4469                                Please read src/c/shared/Enum/README for more information
     4470
    26854471           Usage:
    26864472              macro=DatasetInputEnum()
     
    26934479        DOFINDEXINGENUM - Enum of DofIndexing
    26944480
     4481        WARNING: DO NOT MODIFY THIS FILE
     4482                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4483                                Please read src/c/shared/Enum/README for more information
     4484
    26954485           Usage:
    26964486              macro=DofIndexingEnum()
     
    27034493        DOUBLEINPUTENUM - Enum of DoubleInput
    27044494
     4495        WARNING: DO NOT MODIFY THIS FILE
     4496                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4497                                Please read src/c/shared/Enum/README for more information
     4498
    27054499           Usage:
    27064500              macro=DoubleInputEnum()
     
    27134507        DATASETPARAMENUM - Enum of DataSetParam
    27144508
     4509        WARNING: DO NOT MODIFY THIS FILE
     4510                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4511                                Please read src/c/shared/Enum/README for more information
     4512
    27154513           Usage:
    27164514              macro=DataSetParamEnum()
     
    27234521        DOUBLEMATARRAYPARAMENUM - Enum of DoubleMatArrayParam
    27244522
     4523        WARNING: DO NOT MODIFY THIS FILE
     4524                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4525                                Please read src/c/shared/Enum/README for more information
     4526
    27254527           Usage:
    27264528              macro=DoubleMatArrayParamEnum()
     
    27334535        DOUBLEMATPARAMENUM - Enum of DoubleMatParam
    27344536
     4537        WARNING: DO NOT MODIFY THIS FILE
     4538                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4539                                Please read src/c/shared/Enum/README for more information
     4540
    27354541           Usage:
    27364542              macro=DoubleMatParamEnum()
     
    27434549        DOUBLEPARAMENUM - Enum of DoubleParam
    27444550
     4551        WARNING: DO NOT MODIFY THIS FILE
     4552                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4553                                Please read src/c/shared/Enum/README for more information
     4554
    27454555           Usage:
    27464556              macro=DoubleParamEnum()
     
    27534563        DOUBLEVECPARAMENUM - Enum of DoubleVecParam
    27544564
     4565        WARNING: DO NOT MODIFY THIS FILE
     4566                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4567                                Please read src/c/shared/Enum/README for more information
     4568
    27554569           Usage:
    27564570              macro=DoubleVecParamEnum()
     
    27634577        ELEMENTENUM - Enum of Element
    27644578
     4579        WARNING: DO NOT MODIFY THIS FILE
     4580                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4581                                Please read src/c/shared/Enum/README for more information
     4582
    27654583           Usage:
    27664584              macro=ElementEnum()
     
    27734591        ELEMENTRESULTENUM - Enum of ElementResult
    27744592
     4593        WARNING: DO NOT MODIFY THIS FILE
     4594                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4595                                Please read src/c/shared/Enum/README for more information
     4596
    27754597           Usage:
    27764598              macro=ElementResultEnum()
     
    27834605        EXTERNALRESULTENUM - Enum of ExternalResult
    27844606
     4607        WARNING: DO NOT MODIFY THIS FILE
     4608                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4609                                Please read src/c/shared/Enum/README for more information
     4610
    27854611           Usage:
    27864612              macro=ExternalResultEnum()
     
    27934619        FILEPARAMENUM - Enum of FileParam
    27944620
     4621        WARNING: DO NOT MODIFY THIS FILE
     4622                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4623                                Please read src/c/shared/Enum/README for more information
     4624
    27954625           Usage:
    27964626              macro=FileParamEnum()
     
    28034633        HOOKENUM - Enum of Hook
    28044634
     4635        WARNING: DO NOT MODIFY THIS FILE
     4636                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4637                                Please read src/c/shared/Enum/README for more information
     4638
    28054639           Usage:
    28064640              macro=HookEnum()
     
    28134647        ICEFRONTENUM - Enum of Icefront
    28144648
     4649        WARNING: DO NOT MODIFY THIS FILE
     4650                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4651                                Please read src/c/shared/Enum/README for more information
     4652
    28154653           Usage:
    28164654              macro=IcefrontEnum()
     
    28234661        INPUTENUM - Enum of Input
    28244662
     4663        WARNING: DO NOT MODIFY THIS FILE
     4664                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4665                                Please read src/c/shared/Enum/README for more information
     4666
    28254667           Usage:
    28264668              macro=InputEnum()
     
    28334675        INTINPUTENUM - Enum of IntInput
    28344676
     4677        WARNING: DO NOT MODIFY THIS FILE
     4678                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4679                                Please read src/c/shared/Enum/README for more information
     4680
    28354681           Usage:
    28364682              macro=IntInputEnum()
     
    28434689        INTPARAMENUM - Enum of IntParam
    28444690
     4691        WARNING: DO NOT MODIFY THIS FILE
     4692                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4693                                Please read src/c/shared/Enum/README for more information
     4694
    28454695           Usage:
    28464696              macro=IntParamEnum()
     
    28534703        INTVECPARAMENUM - Enum of IntVecParam
    28544704
     4705        WARNING: DO NOT MODIFY THIS FILE
     4706                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4707                                Please read src/c/shared/Enum/README for more information
     4708
    28554709           Usage:
    28564710              macro=IntVecParamEnum()
     
    28634717        TRANSIENTPARAMENUM - Enum of TransientParam
    28644718
     4719        WARNING: DO NOT MODIFY THIS FILE
     4720                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4721                                Please read src/c/shared/Enum/README for more information
     4722
    28654723           Usage:
    28664724              macro=TransientParamEnum()
     
    28694727        return StringToEnum('TransientParam')[0]
    28704728
     4729def IceFrontTypeEnum():
     4730        """
     4731        ICEFRONTTYPEENUM - Enum of IceFrontType
     4732
     4733        WARNING: DO NOT MODIFY THIS FILE
     4734                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4735                                Please read src/c/shared/Enum/README for more information
     4736
     4737           Usage:
     4738              macro=IceFrontTypeEnum()
     4739        """
     4740
     4741        return StringToEnum('IceFrontType')[0]
     4742
    28714743def MacAyeal2dIceFrontEnum():
    28724744        """
    28734745        MACAYEAL2DICEFRONTENUM - Enum of MacAyeal2dIceFront
    28744746
     4747        WARNING: DO NOT MODIFY THIS FILE
     4748                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4749                                Please read src/c/shared/Enum/README for more information
     4750
    28754751           Usage:
    28764752              macro=MacAyeal2dIceFrontEnum()
     
    28834759        MACAYEAL3DICEFRONTENUM - Enum of MacAyeal3dIceFront
    28844760
     4761        WARNING: DO NOT MODIFY THIS FILE
     4762                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4763                                Please read src/c/shared/Enum/README for more information
     4764
    28854765           Usage:
    28864766              macro=MacAyeal3dIceFrontEnum()
     
    28934773        MATICEENUM - Enum of Matice
    28944774
     4775        WARNING: DO NOT MODIFY THIS FILE
     4776                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4777                                Please read src/c/shared/Enum/README for more information
     4778
    28954779           Usage:
    28964780              macro=MaticeEnum()
     
    29034787        MATDAMAGEICEENUM - Enum of Matdamageice
    29044788
     4789        WARNING: DO NOT MODIFY THIS FILE
     4790                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4791                                Please read src/c/shared/Enum/README for more information
     4792
    29054793           Usage:
    29064794              macro=MatdamageiceEnum()
     
    29134801        MATPARENUM - Enum of Matpar
    29144802
     4803        WARNING: DO NOT MODIFY THIS FILE
     4804                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4805                                Please read src/c/shared/Enum/README for more information
     4806
    29154807           Usage:
    29164808              macro=MatparEnum()
     
    29234815        NODEENUM - Enum of Node
    29244816
     4817        WARNING: DO NOT MODIFY THIS FILE
     4818                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4819                                Please read src/c/shared/Enum/README for more information
     4820
    29254821           Usage:
    29264822              macro=NodeEnum()
     
    29334829        NUMERICALFLUXENUM - Enum of Numericalflux
    29344830
     4831        WARNING: DO NOT MODIFY THIS FILE
     4832                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4833                                Please read src/c/shared/Enum/README for more information
     4834
    29354835           Usage:
    29364836              macro=NumericalfluxEnum()
     
    29394839        return StringToEnum('Numericalflux')[0]
    29404840
     4841def NumericalfluxTypeEnum():
     4842        """
     4843        NUMERICALFLUXTYPEENUM - Enum of NumericalfluxType
     4844
     4845        WARNING: DO NOT MODIFY THIS FILE
     4846                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4847                                Please read src/c/shared/Enum/README for more information
     4848
     4849           Usage:
     4850              macro=NumericalfluxTypeEnum()
     4851        """
     4852
     4853        return StringToEnum('NumericalfluxType')[0]
     4854
    29414855def ParamEnum():
    29424856        """
    29434857        PARAMENUM - Enum of Param
    29444858
     4859        WARNING: DO NOT MODIFY THIS FILE
     4860                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4861                                Please read src/c/shared/Enum/README for more information
     4862
    29454863           Usage:
    29464864              macro=ParamEnum()
     
    29534871        L1L2ICEFRONTENUM - Enum of L1L2IceFront
    29544872
     4873        WARNING: DO NOT MODIFY THIS FILE
     4874                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4875                                Please read src/c/shared/Enum/README for more information
     4876
    29554877           Usage:
    29564878              macro=L1L2IceFrontEnum()
     
    29634885        PATTYNICEFRONTENUM - Enum of PattynIceFront
    29644886
     4887        WARNING: DO NOT MODIFY THIS FILE
     4888                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4889                                Please read src/c/shared/Enum/README for more information
     4890
    29654891           Usage:
    29664892              macro=PattynIceFrontEnum()
     
    29734899        PENGRIDENUM - Enum of Pengrid
    29744900
     4901        WARNING: DO NOT MODIFY THIS FILE
     4902                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4903                                Please read src/c/shared/Enum/README for more information
     4904
    29754905           Usage:
    29764906              macro=PengridEnum()
     
    29834913        PENPAIRENUM - Enum of Penpair
    29844914
     4915        WARNING: DO NOT MODIFY THIS FILE
     4916                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4917                                Please read src/c/shared/Enum/README for more information
     4918
    29854919           Usage:
    29864920              macro=PenpairEnum()
     
    29934927        PENTAENUM - Enum of Penta
    29944928
     4929        WARNING: DO NOT MODIFY THIS FILE
     4930                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4931                                Please read src/c/shared/Enum/README for more information
     4932
    29954933           Usage:
    29964934              macro=PentaEnum()
     
    30034941        PENTAP1INPUTENUM - Enum of PentaP1Input
    30044942
     4943        WARNING: DO NOT MODIFY THIS FILE
     4944                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4945                                Please read src/c/shared/Enum/README for more information
     4946
    30054947           Usage:
    30064948              macro=PentaP1InputEnum()
     
    30134955        PROFILERENUM - Enum of Profiler
    30144956
     4957        WARNING: DO NOT MODIFY THIS FILE
     4958                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4959                                Please read src/c/shared/Enum/README for more information
     4960
    30154961           Usage:
    30164962              macro=ProfilerEnum()
     
    30234969        MATRIXPARAMENUM - Enum of MatrixParam
    30244970
     4971        WARNING: DO NOT MODIFY THIS FILE
     4972                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4973                                Please read src/c/shared/Enum/README for more information
     4974
    30254975           Usage:
    30264976              macro=MatrixParamEnum()
     
    30294979        return StringToEnum('MatrixParam')[0]
    30304980
     4981def NodeSIdEnum():
     4982        """
     4983        NODESIDENUM - Enum of NodeSId
     4984
     4985        WARNING: DO NOT MODIFY THIS FILE
     4986                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     4987                                Please read src/c/shared/Enum/README for more information
     4988
     4989           Usage:
     4990              macro=NodeSIdEnum()
     4991        """
     4992
     4993        return StringToEnum('NodeSId')[0]
     4994
    30314995def VectorParamEnum():
    30324996        """
    30334997        VECTORPARAMENUM - Enum of VectorParam
    30344998
     4999        WARNING: DO NOT MODIFY THIS FILE
     5000                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5001                                Please read src/c/shared/Enum/README for more information
     5002
    30355003           Usage:
    30365004              macro=VectorParamEnum()
     
    30435011        RIFTFRONTENUM - Enum of Riftfront
    30445012
     5013        WARNING: DO NOT MODIFY THIS FILE
     5014                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5015                                Please read src/c/shared/Enum/README for more information
     5016
    30455017           Usage:
    30465018              macro=RiftfrontEnum()
     
    30495021        return StringToEnum('Riftfront')[0]
    30505022
     5023def RiftfrontTypeEnum():
     5024        """
     5025        RIFTFRONTTYPEENUM - Enum of RiftfrontType
     5026
     5027        WARNING: DO NOT MODIFY THIS FILE
     5028                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5029                                Please read src/c/shared/Enum/README for more information
     5030
     5031           Usage:
     5032              macro=RiftfrontTypeEnum()
     5033        """
     5034
     5035        return StringToEnum('RiftfrontType')[0]
     5036
    30515037def SegmentEnum():
    30525038        """
    30535039        SEGMENTENUM - Enum of Segment
    30545040
     5041        WARNING: DO NOT MODIFY THIS FILE
     5042                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5043                                Please read src/c/shared/Enum/README for more information
     5044
    30555045           Usage:
    30565046              macro=SegmentEnum()
     
    30635053        SEGMENTRIFTFRONTENUM - Enum of SegmentRiftfront
    30645054
     5055        WARNING: DO NOT MODIFY THIS FILE
     5056                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5057                                Please read src/c/shared/Enum/README for more information
     5058
    30655059           Usage:
    30665060              macro=SegmentRiftfrontEnum()
     
    30735067        SPCDYNAMICENUM - Enum of SpcDynamic
    30745068
     5069        WARNING: DO NOT MODIFY THIS FILE
     5070                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5071                                Please read src/c/shared/Enum/README for more information
     5072
    30755073           Usage:
    30765074              macro=SpcDynamicEnum()
     
    30835081        SPCSTATICENUM - Enum of SpcStatic
    30845082
     5083        WARNING: DO NOT MODIFY THIS FILE
     5084                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5085                                Please read src/c/shared/Enum/README for more information
     5086
    30855087           Usage:
    30865088              macro=SpcStaticEnum()
     
    30935095        SPCTRANSIENTENUM - Enum of SpcTransient
    30945096
     5097        WARNING: DO NOT MODIFY THIS FILE
     5098                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5099                                Please read src/c/shared/Enum/README for more information
     5100
    30955101           Usage:
    30965102              macro=SpcTransientEnum()
     
    31035109        STOKESICEFRONTENUM - Enum of StokesIceFront
    31045110
     5111        WARNING: DO NOT MODIFY THIS FILE
     5112                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5113                                Please read src/c/shared/Enum/README for more information
     5114
    31055115           Usage:
    31065116              macro=StokesIceFrontEnum()
     
    31135123        STRINGARRAYPARAMENUM - Enum of StringArrayParam
    31145124
     5125        WARNING: DO NOT MODIFY THIS FILE
     5126                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5127                                Please read src/c/shared/Enum/README for more information
     5128
    31155129           Usage:
    31165130              macro=StringArrayParamEnum()
     
    31235137        STRINGPARAMENUM - Enum of StringParam
    31245138
     5139        WARNING: DO NOT MODIFY THIS FILE
     5140                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5141                                Please read src/c/shared/Enum/README for more information
     5142
    31255143           Usage:
    31265144              macro=StringParamEnum()
     
    31335151        TRIAENUM - Enum of Tria
    31345152
     5153        WARNING: DO NOT MODIFY THIS FILE
     5154                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5155                                Please read src/c/shared/Enum/README for more information
     5156
    31355157           Usage:
    31365158              macro=TriaEnum()
     
    31395161        return StringToEnum('Tria')[0]
    31405162
    3141 def TriaP1InputEnum():
    3142         """
    3143         TRIAP1INPUTENUM - Enum of TriaP1Input
    3144 
    3145            Usage:
    3146               macro=TriaP1InputEnum()
    3147         """
    3148 
    3149         return StringToEnum('TriaP1Input')[0]
     5163def TriaInputEnum():
     5164        """
     5165        TRIAINPUTENUM - Enum of TriaInput
     5166
     5167        WARNING: DO NOT MODIFY THIS FILE
     5168                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5169                                Please read src/c/shared/Enum/README for more information
     5170
     5171           Usage:
     5172              macro=TriaInputEnum()
     5173        """
     5174
     5175        return StringToEnum('TriaInput')[0]
    31505176
    31515177def VertexEnum():
     
    31535179        VERTEXENUM - Enum of Vertex
    31545180
     5181        WARNING: DO NOT MODIFY THIS FILE
     5182                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5183                                Please read src/c/shared/Enum/README for more information
     5184
    31555185           Usage:
    31565186              macro=VertexEnum()
     
    31595189        return StringToEnum('Vertex')[0]
    31605190
     5191def VertexPIdEnum():
     5192        """
     5193        VERTEXPIDENUM - Enum of VertexPId
     5194
     5195        WARNING: DO NOT MODIFY THIS FILE
     5196                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5197                                Please read src/c/shared/Enum/README for more information
     5198
     5199           Usage:
     5200              macro=VertexPIdEnum()
     5201        """
     5202
     5203        return StringToEnum('VertexPId')[0]
     5204
     5205def VertexSIdEnum():
     5206        """
     5207        VERTEXSIDENUM - Enum of VertexSId
     5208
     5209        WARNING: DO NOT MODIFY THIS FILE
     5210                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5211                                Please read src/c/shared/Enum/README for more information
     5212
     5213           Usage:
     5214              macro=VertexSIdEnum()
     5215        """
     5216
     5217        return StringToEnum('VertexSId')[0]
     5218
    31615219def AirEnum():
    31625220        """
    31635221        AIRENUM - Enum of Air
    31645222
     5223        WARNING: DO NOT MODIFY THIS FILE
     5224                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5225                                Please read src/c/shared/Enum/README for more information
     5226
    31655227           Usage:
    31665228              macro=AirEnum()
     
    31735235        ICEENUM - Enum of Ice
    31745236
     5237        WARNING: DO NOT MODIFY THIS FILE
     5238                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5239                                Please read src/c/shared/Enum/README for more information
     5240
    31755241           Usage:
    31765242              macro=IceEnum()
     
    31835249        MELANGEENUM - Enum of Melange
    31845250
     5251        WARNING: DO NOT MODIFY THIS FILE
     5252                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5253                                Please read src/c/shared/Enum/README for more information
     5254
    31855255           Usage:
    31865256              macro=MelangeEnum()
     
    31935263        WATERENUM - Enum of Water
    31945264
     5265        WARNING: DO NOT MODIFY THIS FILE
     5266                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5267                                Please read src/c/shared/Enum/README for more information
     5268
    31955269           Usage:
    31965270              macro=WaterEnum()
     
    32035277        CLOSEDENUM - Enum of Closed
    32045278
     5279        WARNING: DO NOT MODIFY THIS FILE
     5280                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5281                                Please read src/c/shared/Enum/README for more information
     5282
    32055283           Usage:
    32065284              macro=ClosedEnum()
     
    32135291        FREEENUM - Enum of Free
    32145292
     5293        WARNING: DO NOT MODIFY THIS FILE
     5294                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5295                                Please read src/c/shared/Enum/README for more information
     5296
    32155297           Usage:
    32165298              macro=FreeEnum()
     
    32235305        OPENENUM - Enum of Open
    32245306
     5307        WARNING: DO NOT MODIFY THIS FILE
     5308                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5309                                Please read src/c/shared/Enum/README for more information
     5310
    32255311           Usage:
    32265312              macro=OpenEnum()
     
    32335319        ADJOINTPENUM - Enum of Adjointp
    32345320
     5321        WARNING: DO NOT MODIFY THIS FILE
     5322                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5323                                Please read src/c/shared/Enum/README for more information
     5324
    32355325           Usage:
    32365326              macro=AdjointpEnum()
     
    32435333        ADJOINTXENUM - Enum of Adjointx
    32445334
     5335        WARNING: DO NOT MODIFY THIS FILE
     5336                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5337                                Please read src/c/shared/Enum/README for more information
     5338
    32455339           Usage:
    32465340              macro=AdjointxEnum()
     
    32535347        ADJOINTYENUM - Enum of Adjointy
    32545348
     5349        WARNING: DO NOT MODIFY THIS FILE
     5350                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5351                                Please read src/c/shared/Enum/README for more information
     5352
    32555353           Usage:
    32565354              macro=AdjointyEnum()
     
    32635361        ADJOINTZENUM - Enum of Adjointz
    32645362
     5363        WARNING: DO NOT MODIFY THIS FILE
     5364                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5365                                Please read src/c/shared/Enum/README for more information
     5366
    32655367           Usage:
    32665368              macro=AdjointzEnum()
     
    32735375        BALANCETHICKNESSMISFITENUM - Enum of BalancethicknessMisfit
    32745376
     5377        WARNING: DO NOT MODIFY THIS FILE
     5378                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5379                                Please read src/c/shared/Enum/README for more information
     5380
    32755381           Usage:
    32765382              macro=BalancethicknessMisfitEnum()
     
    32835389        BEDSLOPEXENUM - Enum of BedSlopeX
    32845390
     5391        WARNING: DO NOT MODIFY THIS FILE
     5392                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5393                                Please read src/c/shared/Enum/README for more information
     5394
    32855395           Usage:
    32865396              macro=BedSlopeXEnum()
     
    32935403        BEDSLOPEYENUM - Enum of BedSlopeY
    32945404
     5405        WARNING: DO NOT MODIFY THIS FILE
     5406                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5407                                Please read src/c/shared/Enum/README for more information
     5408
    32955409           Usage:
    32965410              macro=BedSlopeYEnum()
     
    33035417        BOUNDARYENUM - Enum of Boundary
    33045418
     5419        WARNING: DO NOT MODIFY THIS FILE
     5420                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5421                                Please read src/c/shared/Enum/README for more information
     5422
    33055423           Usage:
    33065424              macro=BoundaryEnum()
     
    33135431        CONSTANTENUM - Enum of Constant
    33145432
     5433        WARNING: DO NOT MODIFY THIS FILE
     5434                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5435                                Please read src/c/shared/Enum/README for more information
     5436
    33155437           Usage:
    33165438              macro=ConstantEnum()
     
    33235445        CONVERGEDENUM - Enum of Converged
    33245446
     5447        WARNING: DO NOT MODIFY THIS FILE
     5448                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5449                                Please read src/c/shared/Enum/README for more information
     5450
    33255451           Usage:
    33265452              macro=ConvergedEnum()
     
    33295455        return StringToEnum('Converged')[0]
    33305456
    3331 def ExtToIuEnum():
    3332         """
    3333         EXTTOIUENUM - Enum of ExtToIu
    3334 
    3335            Usage:
    3336               macro=ExtToIuEnum()
    3337         """
    3338 
    3339         return StringToEnum('ExtToIu')[0]
    3340 
    33415457def FillEnum():
    33425458        """
    33435459        FILLENUM - Enum of Fill
    33445460
     5461        WARNING: DO NOT MODIFY THIS FILE
     5462                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5463                                Please read src/c/shared/Enum/README for more information
     5464
    33455465           Usage:
    33465466              macro=FillEnum()
     
    33535473        FRACTIONINCREMENTENUM - Enum of FractionIncrement
    33545474
     5475        WARNING: DO NOT MODIFY THIS FILE
     5476                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5477                                Please read src/c/shared/Enum/README for more information
     5478
    33555479           Usage:
    33565480              macro=FractionIncrementEnum()
     
    33635487        FRICTIONENUM - Enum of Friction
    33645488
     5489        WARNING: DO NOT MODIFY THIS FILE
     5490                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5491                                Please read src/c/shared/Enum/README for more information
     5492
    33655493           Usage:
    33665494              macro=FrictionEnum()
     
    33735501        GROUNDINGLINEMELTINGRATEENUM - Enum of GroundinglineMeltingRate
    33745502
     5503        WARNING: DO NOT MODIFY THIS FILE
     5504                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5505                                Please read src/c/shared/Enum/README for more information
     5506
    33755507           Usage:
    33765508              macro=GroundinglineMeltingRateEnum()
     
    33835515        INTERNALENUM - Enum of Internal
    33845516
     5517        WARNING: DO NOT MODIFY THIS FILE
     5518                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5519                                Please read src/c/shared/Enum/README for more information
     5520
    33855521           Usage:
    33865522              macro=InternalEnum()
     
    33895525        return StringToEnum('Internal')[0]
    33905526
    3391 def IuToExtEnum():
    3392         """
    3393         IUTOEXTENUM - Enum of IuToExt
    3394 
    3395            Usage:
    3396               macro=IuToExtEnum()
    3397         """
    3398 
    3399         return StringToEnum('IuToExt')[0]
    3400 
    34015527def MassFluxEnum():
    34025528        """
    34035529        MASSFLUXENUM - Enum of MassFlux
    34045530
     5531        WARNING: DO NOT MODIFY THIS FILE
     5532                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5533                                Please read src/c/shared/Enum/README for more information
     5534
    34055535           Usage:
    34065536              macro=MassFluxEnum()
     
    34135543        MAXPENETRATIONENUM - Enum of MaxPenetration
    34145544
     5545        WARNING: DO NOT MODIFY THIS FILE
     5546                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5547                                Please read src/c/shared/Enum/README for more information
     5548
    34155549           Usage:
    34165550              macro=MaxPenetrationEnum()
     
    34235557        MELTINGOFFSETENUM - Enum of MeltingOffset
    34245558
     5559        WARNING: DO NOT MODIFY THIS FILE
     5560                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5561                                Please read src/c/shared/Enum/README for more information
     5562
    34255563           Usage:
    34265564              macro=MeltingOffsetEnum()
     
    34335571        MISFITENUM - Enum of Misfit
    34345572
     5573        WARNING: DO NOT MODIFY THIS FILE
     5574                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5575                                Please read src/c/shared/Enum/README for more information
     5576
    34355577           Usage:
    34365578              macro=MisfitEnum()
     
    34435585        NUMBERNODETOELEMENTCONNECTIVITYENUM - Enum of NumberNodeToElementConnectivity
    34445586
     5587        WARNING: DO NOT MODIFY THIS FILE
     5588                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5589                                Please read src/c/shared/Enum/README for more information
     5590
    34455591           Usage:
    34465592              macro=NumberNodeToElementConnectivityEnum()
     
    34535599        PRESSUREENUM - Enum of Pressure
    34545600
     5601        WARNING: DO NOT MODIFY THIS FILE
     5602                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5603                                Please read src/c/shared/Enum/README for more information
     5604
    34555605           Usage:
    34565606              macro=PressureEnum()
     
    34635613        PRESSUREPICARDENUM - Enum of PressurePicard
    34645614
     5615        WARNING: DO NOT MODIFY THIS FILE
     5616                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5617                                Please read src/c/shared/Enum/README for more information
     5618
    34655619           Usage:
    34665620              macro=PressurePicardEnum()
     
    34735627        QMUPRESSUREENUM - Enum of QmuPressure
    34745628
     5629        WARNING: DO NOT MODIFY THIS FILE
     5630                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5631                                Please read src/c/shared/Enum/README for more information
     5632
    34755633           Usage:
    34765634              macro=QmuPressureEnum()
     
    34835641        QMUVXENUM - Enum of QmuVx
    34845642
     5643        WARNING: DO NOT MODIFY THIS FILE
     5644                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5645                                Please read src/c/shared/Enum/README for more information
     5646
    34855647           Usage:
    34865648              macro=QmuVxEnum()
     
    34935655        QMUVYENUM - Enum of QmuVy
    34945656
     5657        WARNING: DO NOT MODIFY THIS FILE
     5658                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5659                                Please read src/c/shared/Enum/README for more information
     5660
    34955661           Usage:
    34965662              macro=QmuVyEnum()
     
    35035669        QMUVZENUM - Enum of QmuVz
    35045670
     5671        WARNING: DO NOT MODIFY THIS FILE
     5672                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5673                                Please read src/c/shared/Enum/README for more information
     5674
    35055675           Usage:
    35065676              macro=QmuVzEnum()
     
    35135683        QMUTHICKNESSENUM - Enum of QmuThickness
    35145684
     5685        WARNING: DO NOT MODIFY THIS FILE
     5686                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5687                                Please read src/c/shared/Enum/README for more information
     5688
    35155689           Usage:
    35165690              macro=QmuThicknessEnum()
     
    35235697        QMUBEDENUM - Enum of QmuBed
    35245698
     5699        WARNING: DO NOT MODIFY THIS FILE
     5700                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5701                                Please read src/c/shared/Enum/README for more information
     5702
    35255703           Usage:
    35265704              macro=QmuBedEnum()
     
    35335711        QMUSURFACEENUM - Enum of QmuSurface
    35345712
     5713        WARNING: DO NOT MODIFY THIS FILE
     5714                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5715                                Please read src/c/shared/Enum/README for more information
     5716
    35355717           Usage:
    35365718              macro=QmuSurfaceEnum()
     
    35435725        QMUMELTINGENUM - Enum of QmuMelting
    35445726
     5727        WARNING: DO NOT MODIFY THIS FILE
     5728                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5729                                Please read src/c/shared/Enum/README for more information
     5730
    35455731           Usage:
    35465732              macro=QmuMeltingEnum()
     
    35495735        return StringToEnum('QmuMelting')[0]
    35505736
     5737def QmuVxMeshEnum():
     5738        """
     5739        QMUVXMESHENUM - Enum of QmuVxMesh
     5740
     5741        WARNING: DO NOT MODIFY THIS FILE
     5742                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5743                                Please read src/c/shared/Enum/README for more information
     5744
     5745           Usage:
     5746              macro=QmuVxMeshEnum()
     5747        """
     5748
     5749        return StringToEnum('QmuVxMesh')[0]
     5750
     5751def QmuVyMeshEnum():
     5752        """
     5753        QMUVYMESHENUM - Enum of QmuVyMesh
     5754
     5755        WARNING: DO NOT MODIFY THIS FILE
     5756                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5757                                Please read src/c/shared/Enum/README for more information
     5758
     5759           Usage:
     5760              macro=QmuVyMeshEnum()
     5761        """
     5762
     5763        return StringToEnum('QmuVyMesh')[0]
     5764
     5765def QmuVzMeshEnum():
     5766        """
     5767        QMUVZMESHENUM - Enum of QmuVzMesh
     5768
     5769        WARNING: DO NOT MODIFY THIS FILE
     5770                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5771                                Please read src/c/shared/Enum/README for more information
     5772
     5773           Usage:
     5774              macro=QmuVzMeshEnum()
     5775        """
     5776
     5777        return StringToEnum('QmuVzMesh')[0]
     5778
    35515779def AndroidFrictionCoefficientEnum():
    35525780        """
    35535781        ANDROIDFRICTIONCOEFFICIENTENUM - Enum of AndroidFrictionCoefficient
    35545782
     5783        WARNING: DO NOT MODIFY THIS FILE
     5784                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5785                                Please read src/c/shared/Enum/README for more information
     5786
    35555787           Usage:
    35565788              macro=AndroidFrictionCoefficientEnum()
     
    35635795        RESETPENALTIESENUM - Enum of ResetPenalties
    35645796
     5797        WARNING: DO NOT MODIFY THIS FILE
     5798                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5799                                Please read src/c/shared/Enum/README for more information
     5800
    35655801           Usage:
    35665802              macro=ResetPenaltiesEnum()
     
    35735809        SEGMENTONICESHELFENUM - Enum of SegmentOnIceShelf
    35745810
     5811        WARNING: DO NOT MODIFY THIS FILE
     5812                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5813                                Please read src/c/shared/Enum/README for more information
     5814
    35755815           Usage:
    35765816              macro=SegmentOnIceShelfEnum()
     
    35835823        SURFACEABSVELMISFITENUM - Enum of SurfaceAbsVelMisfit
    35845824
     5825        WARNING: DO NOT MODIFY THIS FILE
     5826                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5827                                Please read src/c/shared/Enum/README for more information
     5828
    35855829           Usage:
    35865830              macro=SurfaceAbsVelMisfitEnum()
     
    35935837        SURFACEAREAENUM - Enum of SurfaceArea
    35945838
     5839        WARNING: DO NOT MODIFY THIS FILE
     5840                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5841                                Please read src/c/shared/Enum/README for more information
     5842
    35955843           Usage:
    35965844              macro=SurfaceAreaEnum()
     
    36035851        SURFACEAVERAGEVELMISFITENUM - Enum of SurfaceAverageVelMisfit
    36045852
     5853        WARNING: DO NOT MODIFY THIS FILE
     5854                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5855                                Please read src/c/shared/Enum/README for more information
     5856
    36055857           Usage:
    36065858              macro=SurfaceAverageVelMisfitEnum()
     
    36135865        SURFACELOGVELMISFITENUM - Enum of SurfaceLogVelMisfit
    36145866
     5867        WARNING: DO NOT MODIFY THIS FILE
     5868                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5869                                Please read src/c/shared/Enum/README for more information
     5870
    36155871           Usage:
    36165872              macro=SurfaceLogVelMisfitEnum()
     
    36235879        SURFACELOGVXVYMISFITENUM - Enum of SurfaceLogVxVyMisfit
    36245880
     5881        WARNING: DO NOT MODIFY THIS FILE
     5882                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5883                                Please read src/c/shared/Enum/README for more information
     5884
    36255885           Usage:
    36265886              macro=SurfaceLogVxVyMisfitEnum()
     
    36335893        SURFACERELVELMISFITENUM - Enum of SurfaceRelVelMisfit
    36345894
     5895        WARNING: DO NOT MODIFY THIS FILE
     5896                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5897                                Please read src/c/shared/Enum/README for more information
     5898
    36355899           Usage:
    36365900              macro=SurfaceRelVelMisfitEnum()
     
    36435907        SURFACESLOPEXENUM - Enum of SurfaceSlopeX
    36445908
     5909        WARNING: DO NOT MODIFY THIS FILE
     5910                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5911                                Please read src/c/shared/Enum/README for more information
     5912
    36455913           Usage:
    36465914              macro=SurfaceSlopeXEnum()
     
    36535921        SURFACESLOPEYENUM - Enum of SurfaceSlopeY
    36545922
     5923        WARNING: DO NOT MODIFY THIS FILE
     5924                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5925                                Please read src/c/shared/Enum/README for more information
     5926
    36555927           Usage:
    36565928              macro=SurfaceSlopeYEnum()
     
    36635935        TEMPERATUREENUM - Enum of Temperature
    36645936
     5937        WARNING: DO NOT MODIFY THIS FILE
     5938                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5939                                Please read src/c/shared/Enum/README for more information
     5940
    36655941           Usage:
    36665942              macro=TemperatureEnum()
     
    36735949        TEMPERATUREOLDENUM - Enum of TemperatureOld
    36745950
     5951        WARNING: DO NOT MODIFY THIS FILE
     5952                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5953                                Please read src/c/shared/Enum/README for more information
     5954
    36755955           Usage:
    36765956              macro=TemperatureOldEnum()
     
    36835963        TEMPERATUREPICARDENUM - Enum of TemperaturePicard
    36845964
     5965        WARNING: DO NOT MODIFY THIS FILE
     5966                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5967                                Please read src/c/shared/Enum/README for more information
     5968
    36855969           Usage:
    36865970              macro=TemperaturePicardEnum()
     
    36895973        return StringToEnum('TemperaturePicard')[0]
    36905974
    3691 def TemperatureSurfaceEnum():
    3692         """
    3693         TEMPERATURESURFACEENUM - Enum of TemperatureSurface
    3694 
    3695            Usage:
    3696               macro=TemperatureSurfaceEnum()
    3697         """
    3698 
    3699         return StringToEnum('TemperatureSurface')[0]
    3700 
    3701 def TemperatureBasalEnum():
    3702         """
    3703         TEMPERATUREBASALENUM - Enum of TemperatureBasal
    3704 
    3705            Usage:
    3706               macro=TemperatureBasalEnum()
    3707         """
    3708 
    3709         return StringToEnum('TemperatureBasal')[0]
    3710 
    37115975def ThicknessAbsMisfitEnum():
    37125976        """
    37135977        THICKNESSABSMISFITENUM - Enum of ThicknessAbsMisfit
    37145978
     5979        WARNING: DO NOT MODIFY THIS FILE
     5980                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5981                                Please read src/c/shared/Enum/README for more information
     5982
    37155983           Usage:
    37165984              macro=ThicknessAbsMisfitEnum()
     
    37195987        return StringToEnum('ThicknessAbsMisfit')[0]
    37205988
    3721 def TypeEnum():
    3722         """
    3723         TYPEENUM - Enum of Type
    3724 
    3725            Usage:
    3726               macro=TypeEnum()
    3727         """
    3728 
    3729         return StringToEnum('Type')[0]
    3730 
    37315989def VelEnum():
    37325990        """
    37335991        VELENUM - Enum of Vel
    37345992
     5993        WARNING: DO NOT MODIFY THIS FILE
     5994                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     5995                                Please read src/c/shared/Enum/README for more information
     5996
    37355997           Usage:
    37365998              macro=VelEnum()
     
    37436005        VELOCITYENUM - Enum of Velocity
    37446006
     6007        WARNING: DO NOT MODIFY THIS FILE
     6008                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6009                                Please read src/c/shared/Enum/README for more information
     6010
    37456011           Usage:
    37466012              macro=VelocityEnum()
     
    37536019        VXAVERAGEENUM - Enum of VxAverage
    37546020
     6021        WARNING: DO NOT MODIFY THIS FILE
     6022                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6023                                Please read src/c/shared/Enum/README for more information
     6024
    37556025           Usage:
    37566026              macro=VxAverageEnum()
     
    37636033        VXENUM - Enum of Vx
    37646034
     6035        WARNING: DO NOT MODIFY THIS FILE
     6036                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6037                                Please read src/c/shared/Enum/README for more information
     6038
    37656039           Usage:
    37666040              macro=VxEnum()
     
    37736047        VXPICARDENUM - Enum of VxPicard
    37746048
     6049        WARNING: DO NOT MODIFY THIS FILE
     6050                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6051                                Please read src/c/shared/Enum/README for more information
     6052
    37756053           Usage:
    37766054              macro=VxPicardEnum()
     
    37836061        VYAVERAGEENUM - Enum of VyAverage
    37846062
     6063        WARNING: DO NOT MODIFY THIS FILE
     6064                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6065                                Please read src/c/shared/Enum/README for more information
     6066
    37856067           Usage:
    37866068              macro=VyAverageEnum()
     
    37936075        VYENUM - Enum of Vy
    37946076
     6077        WARNING: DO NOT MODIFY THIS FILE
     6078                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6079                                Please read src/c/shared/Enum/README for more information
     6080
    37956081           Usage:
    37966082              macro=VyEnum()
     
    38036089        VYPICARDENUM - Enum of VyPicard
    38046090
     6091        WARNING: DO NOT MODIFY THIS FILE
     6092                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6093                                Please read src/c/shared/Enum/README for more information
     6094
    38056095           Usage:
    38066096              macro=VyPicardEnum()
     
    38136103        VZENUM - Enum of Vz
    38146104
     6105        WARNING: DO NOT MODIFY THIS FILE
     6106                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6107                                Please read src/c/shared/Enum/README for more information
     6108
    38156109           Usage:
    38166110              macro=VzEnum()
     
    38236117        VZMACAYEALENUM - Enum of VzMacAyeal
    38246118
     6119        WARNING: DO NOT MODIFY THIS FILE
     6120                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6121                                Please read src/c/shared/Enum/README for more information
     6122
    38256123           Usage:
    38266124              macro=VzMacAyealEnum()
     
    38336131        VZPATTYNENUM - Enum of VzPattyn
    38346132
     6133        WARNING: DO NOT MODIFY THIS FILE
     6134                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6135                                Please read src/c/shared/Enum/README for more information
     6136
    38356137           Usage:
    38366138              macro=VzPattynEnum()
     
    38436145        VZPICARDENUM - Enum of VzPicard
    38446146
     6147        WARNING: DO NOT MODIFY THIS FILE
     6148                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6149                                Please read src/c/shared/Enum/README for more information
     6150
    38456151           Usage:
    38466152              macro=VzPicardEnum()
     
    38536159        VZSTOKESENUM - Enum of VzStokes
    38546160
     6161        WARNING: DO NOT MODIFY THIS FILE
     6162                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6163                                Please read src/c/shared/Enum/README for more information
     6164
    38556165           Usage:
    38566166              macro=VzStokesEnum()
     
    38636173        VXMESHENUM - Enum of VxMesh
    38646174
     6175        WARNING: DO NOT MODIFY THIS FILE
     6176                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6177                                Please read src/c/shared/Enum/README for more information
     6178
    38656179           Usage:
    38666180              macro=VxMeshEnum()
     
    38736187        VYMESHENUM - Enum of VyMesh
    38746188
     6189        WARNING: DO NOT MODIFY THIS FILE
     6190                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6191                                Please read src/c/shared/Enum/README for more information
     6192
    38756193           Usage:
    38766194              macro=VyMeshEnum()
     
    38836201        VZMESHENUM - Enum of VzMesh
    38846202
     6203        WARNING: DO NOT MODIFY THIS FILE
     6204                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6205                                Please read src/c/shared/Enum/README for more information
     6206
    38856207           Usage:
    38866208              macro=VzMeshEnum()
     
    38936215        ENTHALPYENUM - Enum of Enthalpy
    38946216
     6217        WARNING: DO NOT MODIFY THIS FILE
     6218                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6219                                Please read src/c/shared/Enum/README for more information
     6220
    38956221           Usage:
    38966222              macro=EnthalpyEnum()
     
    39036229        ENTHALPYPICARDENUM - Enum of EnthalpyPicard
    39046230
     6231        WARNING: DO NOT MODIFY THIS FILE
     6232                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6233                                Please read src/c/shared/Enum/README for more information
     6234
    39056235           Usage:
    39066236              macro=EnthalpyPicardEnum()
     
    39136243        THICKNESSABSGRADIENTENUM - Enum of ThicknessAbsGradient
    39146244
     6245        WARNING: DO NOT MODIFY THIS FILE
     6246                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6247                                Please read src/c/shared/Enum/README for more information
     6248
    39156249           Usage:
    39166250              macro=ThicknessAbsGradientEnum()
     
    39236257        THICKNESSALONGGRADIENTENUM - Enum of ThicknessAlongGradient
    39246258
     6259        WARNING: DO NOT MODIFY THIS FILE
     6260                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6261                                Please read src/c/shared/Enum/README for more information
     6262
    39256263           Usage:
    39266264              macro=ThicknessAlongGradientEnum()
     
    39336271        THICKNESSACROSSGRADIENTENUM - Enum of ThicknessAcrossGradient
    39346272
     6273        WARNING: DO NOT MODIFY THIS FILE
     6274                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6275                                Please read src/c/shared/Enum/README for more information
     6276
    39356277           Usage:
    39366278              macro=ThicknessAcrossGradientEnum()
     
    39436285        STEPRESPONSESENUM - Enum of StepResponses
    39446286
     6287        WARNING: DO NOT MODIFY THIS FILE
     6288                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6289                                Please read src/c/shared/Enum/README for more information
     6290
    39456291           Usage:
    39466292              macro=StepResponsesEnum()
     
    39536299        INTMATPARAMENUM - Enum of IntMatParam
    39546300
     6301        WARNING: DO NOT MODIFY THIS FILE
     6302                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6303                                Please read src/c/shared/Enum/README for more information
     6304
    39556305           Usage:
    39566306              macro=IntMatParamEnum()
     
    39636313        RHEOLOGYBBARABSGRADIENTENUM - Enum of RheologyBbarAbsGradient
    39646314
     6315        WARNING: DO NOT MODIFY THIS FILE
     6316                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6317                                Please read src/c/shared/Enum/README for more information
     6318
    39656319           Usage:
    39666320              macro=RheologyBbarAbsGradientEnum()
     
    39736327        DRAGCOEFFICIENTABSGRADIENTENUM - Enum of DragCoefficientAbsGradient
    39746328
     6329        WARNING: DO NOT MODIFY THIS FILE
     6330                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6331                                Please read src/c/shared/Enum/README for more information
     6332
    39756333           Usage:
    39766334              macro=DragCoefficientAbsGradientEnum()
     
    39836341        TRANSIENTINPUTENUM - Enum of TransientInput
    39846342
     6343        WARNING: DO NOT MODIFY THIS FILE
     6344                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6345                                Please read src/c/shared/Enum/README for more information
     6346
    39856347           Usage:
    39866348              macro=TransientInputEnum()
     
    39936355        WATERFRACTIONENUM - Enum of Waterfraction
    39946356
     6357        WARNING: DO NOT MODIFY THIS FILE
     6358                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6359                                Please read src/c/shared/Enum/README for more information
     6360
    39956361           Usage:
    39966362              macro=WaterfractionEnum()
     
    40036369        WATERCOLUMNENUM - Enum of Watercolumn
    40046370
     6371        WARNING: DO NOT MODIFY THIS FILE
     6372                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6373                                Please read src/c/shared/Enum/README for more information
     6374
    40056375           Usage:
    40066376              macro=WatercolumnEnum()
     
    40136383        BASALFRICTIONENUM - Enum of BasalFriction
    40146384
     6385        WARNING: DO NOT MODIFY THIS FILE
     6386                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6387                                Please read src/c/shared/Enum/README for more information
     6388
    40156389           Usage:
    40166390              macro=BasalFrictionEnum()
     
    40236397        VISCOUSHEATINGENUM - Enum of ViscousHeating
    40246398
     6399        WARNING: DO NOT MODIFY THIS FILE
     6400                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6401                                Please read src/c/shared/Enum/README for more information
     6402
    40256403           Usage:
    40266404              macro=ViscousHeatingEnum()
     
    40336411        QMUTEMPERATUREENUM - Enum of QmuTemperature
    40346412
     6413        WARNING: DO NOT MODIFY THIS FILE
     6414                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6415                                Please read src/c/shared/Enum/README for more information
     6416
    40356417           Usage:
    40366418              macro=QmuTemperatureEnum()
     
    40436425        HYDROLOGYWATERVXENUM - Enum of HydrologyWaterVx
    40446426
     6427        WARNING: DO NOT MODIFY THIS FILE
     6428                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6429                                Please read src/c/shared/Enum/README for more information
     6430
    40456431           Usage:
    40466432              macro=HydrologyWaterVxEnum()
     
    40536439        HYDROLOGYWATERVYENUM - Enum of HydrologyWaterVy
    40546440
     6441        WARNING: DO NOT MODIFY THIS FILE
     6442                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6443                                Please read src/c/shared/Enum/README for more information
     6444
    40556445           Usage:
    40566446              macro=HydrologyWaterVyEnum()
     
    40636453        STRESSTENSORENUM - Enum of StressTensor
    40646454
     6455        WARNING: DO NOT MODIFY THIS FILE
     6456                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6457                                Please read src/c/shared/Enum/README for more information
     6458
    40656459           Usage:
    40666460              macro=StressTensorEnum()
     
    40736467        STRESSTENSORXXENUM - Enum of StressTensorxx
    40746468
     6469        WARNING: DO NOT MODIFY THIS FILE
     6470                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6471                                Please read src/c/shared/Enum/README for more information
     6472
    40756473           Usage:
    40766474              macro=StressTensorxxEnum()
     
    40836481        STRESSTENSORXYENUM - Enum of StressTensorxy
    40846482
     6483        WARNING: DO NOT MODIFY THIS FILE
     6484                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6485                                Please read src/c/shared/Enum/README for more information
     6486
    40856487           Usage:
    40866488              macro=StressTensorxyEnum()
     
    40936495        STRESSTENSORXZENUM - Enum of StressTensorxz
    40946496
     6497        WARNING: DO NOT MODIFY THIS FILE
     6498                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6499                                Please read src/c/shared/Enum/README for more information
     6500
    40956501           Usage:
    40966502              macro=StressTensorxzEnum()
     
    41036509        STRESSTENSORYYENUM - Enum of StressTensoryy
    41046510
     6511        WARNING: DO NOT MODIFY THIS FILE
     6512                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6513                                Please read src/c/shared/Enum/README for more information
     6514
    41056515           Usage:
    41066516              macro=StressTensoryyEnum()
     
    41136523        STRESSTENSORYZENUM - Enum of StressTensoryz
    41146524
     6525        WARNING: DO NOT MODIFY THIS FILE
     6526                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6527                                Please read src/c/shared/Enum/README for more information
     6528
    41156529           Usage:
    41166530              macro=StressTensoryzEnum()
     
    41236537        STRESSTENSORZZENUM - Enum of StressTensorzz
    41246538
     6539        WARNING: DO NOT MODIFY THIS FILE
     6540                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6541                                Please read src/c/shared/Enum/README for more information
     6542
    41256543           Usage:
    41266544              macro=StressTensorzzEnum()
     
    41296547        return StringToEnum('StressTensorzz')[0]
    41306548
     6549def GiaCrossSectionShapeEnum():
     6550        """
     6551        GIACROSSSECTIONSHAPEENUM - Enum of GiaCrossSectionShape
     6552
     6553        WARNING: DO NOT MODIFY THIS FILE
     6554                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6555                                Please read src/c/shared/Enum/README for more information
     6556
     6557           Usage:
     6558              macro=GiaCrossSectionShapeEnum()
     6559        """
     6560
     6561        return StringToEnum('GiaCrossSectionShape')[0]
     6562
     6563def GiadWdtEnum():
     6564        """
     6565        GIADWDTENUM - Enum of GiadWdt
     6566
     6567        WARNING: DO NOT MODIFY THIS FILE
     6568                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6569                                Please read src/c/shared/Enum/README for more information
     6570
     6571           Usage:
     6572              macro=GiadWdtEnum()
     6573        """
     6574
     6575        return StringToEnum('GiadWdt')[0]
     6576
     6577def GiaWEnum():
     6578        """
     6579        GIAWENUM - Enum of GiaW
     6580
     6581        WARNING: DO NOT MODIFY THIS FILE
     6582                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6583                                Please read src/c/shared/Enum/README for more information
     6584
     6585           Usage:
     6586              macro=GiaWEnum()
     6587        """
     6588
     6589        return StringToEnum('GiaW')[0]
     6590
    41316591def P0Enum():
    41326592        """
    41336593        P0ENUM - Enum of P0
    41346594
     6595        WARNING: DO NOT MODIFY THIS FILE
     6596                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6597                                Please read src/c/shared/Enum/README for more information
     6598
    41356599           Usage:
    41366600              macro=P0Enum()
     
    41436607        P1ENUM - Enum of P1
    41446608
     6609        WARNING: DO NOT MODIFY THIS FILE
     6610                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6611                                Please read src/c/shared/Enum/README for more information
     6612
    41456613           Usage:
    41466614              macro=P1Enum()
     
    41536621        P1DGENUM - Enum of P1DG
    41546622
     6623        WARNING: DO NOT MODIFY THIS FILE
     6624                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6625                                Please read src/c/shared/Enum/README for more information
     6626
    41556627           Usage:
    41566628              macro=P1DGEnum()
     
    41596631        return StringToEnum('P1DG')[0]
    41606632
     6633def MINIEnum():
     6634        """
     6635        MINIENUM - Enum of MINI
     6636
     6637        WARNING: DO NOT MODIFY THIS FILE
     6638                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6639                                Please read src/c/shared/Enum/README for more information
     6640
     6641           Usage:
     6642              macro=MINIEnum()
     6643        """
     6644
     6645        return StringToEnum('MINI')[0]
     6646
     6647def P2Enum():
     6648        """
     6649        P2ENUM - Enum of P2
     6650
     6651        WARNING: DO NOT MODIFY THIS FILE
     6652                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6653                                Please read src/c/shared/Enum/README for more information
     6654
     6655           Usage:
     6656              macro=P2Enum()
     6657        """
     6658
     6659        return StringToEnum('P2')[0]
     6660
    41616661def SaveResultsEnum():
    41626662        """
    41636663        SAVERESULTSENUM - Enum of SaveResults
    41646664
     6665        WARNING: DO NOT MODIFY THIS FILE
     6666                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6667                                Please read src/c/shared/Enum/README for more information
     6668
    41656669           Usage:
    41666670              macro=SaveResultsEnum()
     
    41736677        BOOLELEMENTRESULTENUM - Enum of BoolElementResult
    41746678
     6679        WARNING: DO NOT MODIFY THIS FILE
     6680                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6681                                Please read src/c/shared/Enum/README for more information
     6682
    41756683           Usage:
    41766684              macro=BoolElementResultEnum()
     
    41836691        BOOLEXTERNALRESULTENUM - Enum of BoolExternalResult
    41846692
     6693        WARNING: DO NOT MODIFY THIS FILE
     6694                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6695                                Please read src/c/shared/Enum/README for more information
     6696
    41856697           Usage:
    41866698              macro=BoolExternalResultEnum()
     
    41936705        DOUBLEELEMENTRESULTENUM - Enum of DoubleElementResult
    41946706
     6707        WARNING: DO NOT MODIFY THIS FILE
     6708                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6709                                Please read src/c/shared/Enum/README for more information
     6710
    41956711           Usage:
    41966712              macro=DoubleElementResultEnum()
     
    42036719        DOUBLEEXTERNALRESULTENUM - Enum of DoubleExternalResult
    42046720
     6721        WARNING: DO NOT MODIFY THIS FILE
     6722                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6723                                Please read src/c/shared/Enum/README for more information
     6724
    42056725           Usage:
    42066726              macro=DoubleExternalResultEnum()
     
    42136733        DOUBLEMATEXTERNALRESULTENUM - Enum of DoubleMatExternalResult
    42146734
     6735        WARNING: DO NOT MODIFY THIS FILE
     6736                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6737                                Please read src/c/shared/Enum/README for more information
     6738
    42156739           Usage:
    42166740              macro=DoubleMatExternalResultEnum()
     
    42196743        return StringToEnum('DoubleMatExternalResult')[0]
    42206744
    4221 def DoubleVecExternalResultEnum():
    4222         """
    4223         DOUBLEVECEXTERNALRESULTENUM - Enum of DoubleVecExternalResult
    4224 
    4225            Usage:
    4226               macro=DoubleVecExternalResultEnum()
    4227         """
    4228 
    4229         return StringToEnum('DoubleVecExternalResult')[0]
    4230 
    42316745def IntExternalResultEnum():
    42326746        """
    42336747        INTEXTERNALRESULTENUM - Enum of IntExternalResult
    42346748
     6749        WARNING: DO NOT MODIFY THIS FILE
     6750                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6751                                Please read src/c/shared/Enum/README for more information
     6752
    42356753           Usage:
    42366754              macro=IntExternalResultEnum()
     
    42436761        JENUM - Enum of J
    42446762
     6763        WARNING: DO NOT MODIFY THIS FILE
     6764                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6765                                Please read src/c/shared/Enum/README for more information
     6766
    42456767           Usage:
    42466768              macro=JEnum()
     
    42536775        PATCHENUM - Enum of Patch
    42546776
     6777        WARNING: DO NOT MODIFY THIS FILE
     6778                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6779                                Please read src/c/shared/Enum/README for more information
     6780
    42556781           Usage:
    42566782              macro=PatchEnum()
     
    42636789        PATCHNODESENUM - Enum of PatchNodes
    42646790
     6791        WARNING: DO NOT MODIFY THIS FILE
     6792                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6793                                Please read src/c/shared/Enum/README for more information
     6794
    42656795           Usage:
    42666796              macro=PatchNodesEnum()
     
    42736803        PATCHVERTICESENUM - Enum of PatchVertices
    42746804
     6805        WARNING: DO NOT MODIFY THIS FILE
     6806                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6807                                Please read src/c/shared/Enum/README for more information
     6808
    42756809           Usage:
    42766810              macro=PatchVerticesEnum()
     
    42836817        PENTAP1ELEMENTRESULTENUM - Enum of PentaP1ElementResult
    42846818
     6819        WARNING: DO NOT MODIFY THIS FILE
     6820                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6821                                Please read src/c/shared/Enum/README for more information
     6822
    42856823           Usage:
    42866824              macro=PentaP1ElementResultEnum()
     
    42896827        return StringToEnum('PentaP1ElementResult')[0]
    42906828
    4291 def PetscVecExternalResultEnum():
    4292         """
    4293         PETSCVECEXTERNALRESULTENUM - Enum of PetscVecExternalResult
    4294 
    4295            Usage:
    4296               macro=PetscVecExternalResultEnum()
    4297         """
    4298 
    4299         return StringToEnum('PetscVecExternalResult')[0]
    4300 
    43016829def StringExternalResultEnum():
    43026830        """
    43036831        STRINGEXTERNALRESULTENUM - Enum of StringExternalResult
    43046832
     6833        WARNING: DO NOT MODIFY THIS FILE
     6834                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6835                                Please read src/c/shared/Enum/README for more information
     6836
    43056837           Usage:
    43066838              macro=StringExternalResultEnum()
     
    43136845        STEPENUM - Enum of Step
    43146846
     6847        WARNING: DO NOT MODIFY THIS FILE
     6848                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6849                                Please read src/c/shared/Enum/README for more information
     6850
    43156851           Usage:
    43166852              macro=StepEnum()
     
    43236859        TIMEENUM - Enum of Time
    43246860
     6861        WARNING: DO NOT MODIFY THIS FILE
     6862                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6863                                Please read src/c/shared/Enum/README for more information
     6864
    43256865           Usage:
    43266866              macro=TimeEnum()
     
    43336873        TRIAP1ELEMENTRESULTENUM - Enum of TriaP1ElementResult
    43346874
     6875        WARNING: DO NOT MODIFY THIS FILE
     6876                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6877                                Please read src/c/shared/Enum/README for more information
     6878
    43356879           Usage:
    43366880              macro=TriaP1ElementResultEnum()
     
    43436887        WATERCOLUMNOLDENUM - Enum of WaterColumnOld
    43446888
     6889        WARNING: DO NOT MODIFY THIS FILE
     6890                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6891                                Please read src/c/shared/Enum/README for more information
     6892
    43456893           Usage:
    43466894              macro=WaterColumnOldEnum()
     
    43536901        MINVELENUM - Enum of MinVel
    43546902
     6903        WARNING: DO NOT MODIFY THIS FILE
     6904                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6905                                Please read src/c/shared/Enum/README for more information
     6906
    43556907           Usage:
    43566908              macro=MinVelEnum()
     
    43636915        MAXVELENUM - Enum of MaxVel
    43646916
     6917        WARNING: DO NOT MODIFY THIS FILE
     6918                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6919                                Please read src/c/shared/Enum/README for more information
     6920
    43656921           Usage:
    43666922              macro=MaxVelEnum()
     
    43736929        MINVXENUM - Enum of MinVx
    43746930
     6931        WARNING: DO NOT MODIFY THIS FILE
     6932                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6933                                Please read src/c/shared/Enum/README for more information
     6934
    43756935           Usage:
    43766936              macro=MinVxEnum()
     
    43836943        MAXVXENUM - Enum of MaxVx
    43846944
     6945        WARNING: DO NOT MODIFY THIS FILE
     6946                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6947                                Please read src/c/shared/Enum/README for more information
     6948
    43856949           Usage:
    43866950              macro=MaxVxEnum()
     
    43936957        MAXABSVXENUM - Enum of MaxAbsVx
    43946958
     6959        WARNING: DO NOT MODIFY THIS FILE
     6960                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6961                                Please read src/c/shared/Enum/README for more information
     6962
    43956963           Usage:
    43966964              macro=MaxAbsVxEnum()
     
    44036971        MINVYENUM - Enum of MinVy
    44046972
     6973        WARNING: DO NOT MODIFY THIS FILE
     6974                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6975                                Please read src/c/shared/Enum/README for more information
     6976
    44056977           Usage:
    44066978              macro=MinVyEnum()
     
    44136985        MAXVYENUM - Enum of MaxVy
    44146986
     6987        WARNING: DO NOT MODIFY THIS FILE
     6988                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6989                                Please read src/c/shared/Enum/README for more information
     6990
    44156991           Usage:
    44166992              macro=MaxVyEnum()
     
    44236999        MAXABSVYENUM - Enum of MaxAbsVy
    44247000
     7001        WARNING: DO NOT MODIFY THIS FILE
     7002                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7003                                Please read src/c/shared/Enum/README for more information
     7004
    44257005           Usage:
    44267006              macro=MaxAbsVyEnum()
     
    44337013        MINVZENUM - Enum of MinVz
    44347014
     7015        WARNING: DO NOT MODIFY THIS FILE
     7016                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7017                                Please read src/c/shared/Enum/README for more information
     7018
    44357019           Usage:
    44367020              macro=MinVzEnum()
     
    44437027        MAXVZENUM - Enum of MaxVz
    44447028
     7029        WARNING: DO NOT MODIFY THIS FILE
     7030                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7031                                Please read src/c/shared/Enum/README for more information
     7032
    44457033           Usage:
    44467034              macro=MaxVzEnum()
     
    44537041        MAXABSVZENUM - Enum of MaxAbsVz
    44547042
     7043        WARNING: DO NOT MODIFY THIS FILE
     7044                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7045                                Please read src/c/shared/Enum/README for more information
     7046
    44557047           Usage:
    44567048              macro=MaxAbsVzEnum()
     
    44637055        ICEVOLUMEENUM - Enum of IceVolume
    44647056
     7057        WARNING: DO NOT MODIFY THIS FILE
     7058                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7059                                Please read src/c/shared/Enum/README for more information
     7060
    44657061           Usage:
    44667062              macro=IceVolumeEnum()
     
    44737069        TOTALSMBENUM - Enum of TotalSmb
    44747070
     7071        WARNING: DO NOT MODIFY THIS FILE
     7072                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7073                                Please read src/c/shared/Enum/README for more information
     7074
    44757075           Usage:
    44767076              macro=TotalSmbEnum()
     
    44797079        return StringToEnum('TotalSmb')[0]
    44807080
    4481 def RelativeEnum():
    4482         """
    4483         RELATIVEENUM - Enum of Relative
    4484 
    4485            Usage:
    4486               macro=RelativeEnum()
    4487         """
    4488 
    4489         return StringToEnum('Relative')[0]
    4490 
    44917081def AbsoluteEnum():
    44927082        """
    44937083        ABSOLUTEENUM - Enum of Absolute
    44947084
     7085        WARNING: DO NOT MODIFY THIS FILE
     7086                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7087                                Please read src/c/shared/Enum/README for more information
     7088
    44957089           Usage:
    44967090              macro=AbsoluteEnum()
     
    45037097        INCREMENTALENUM - Enum of Incremental
    45047098
     7099        WARNING: DO NOT MODIFY THIS FILE
     7100                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7101                                Please read src/c/shared/Enum/README for more information
     7102
    45057103           Usage:
    45067104              macro=IncrementalEnum()
     
    45137111        AGRESSIVEMIGRATIONENUM - Enum of AgressiveMigration
    45147112
     7113        WARNING: DO NOT MODIFY THIS FILE
     7114                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7115                                Please read src/c/shared/Enum/README for more information
     7116
    45157117           Usage:
    45167118              macro=AgressiveMigrationEnum()
     
    45237125        NONEENUM - Enum of None
    45247126
     7127        WARNING: DO NOT MODIFY THIS FILE
     7128                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7129                                Please read src/c/shared/Enum/README for more information
     7130
    45257131           Usage:
    45267132              macro=NoneEnum()
     
    45337139        SOFTMIGRATIONENUM - Enum of SoftMigration
    45347140
     7141        WARNING: DO NOT MODIFY THIS FILE
     7142                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7143                                Please read src/c/shared/Enum/README for more information
     7144
    45357145           Usage:
    45367146              macro=SoftMigrationEnum()
     
    45397149        return StringToEnum('SoftMigration')[0]
    45407150
     7151def SubelementMigrationEnum():
     7152        """
     7153        SUBELEMENTMIGRATIONENUM - Enum of SubelementMigration
     7154
     7155        WARNING: DO NOT MODIFY THIS FILE
     7156                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7157                                Please read src/c/shared/Enum/README for more information
     7158
     7159           Usage:
     7160              macro=SubelementMigrationEnum()
     7161        """
     7162
     7163        return StringToEnum('SubelementMigration')[0]
     7164
     7165def SubelementMigration2Enum():
     7166        """
     7167        SUBELEMENTMIGRATION2ENUM - Enum of SubelementMigration2
     7168
     7169        WARNING: DO NOT MODIFY THIS FILE
     7170                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7171                                Please read src/c/shared/Enum/README for more information
     7172
     7173           Usage:
     7174              macro=SubelementMigration2Enum()
     7175        """
     7176
     7177        return StringToEnum('SubelementMigration2')[0]
     7178
     7179def GLlevelsetEnum():
     7180        """
     7181        GLLEVELSETENUM - Enum of GLlevelset
     7182
     7183        WARNING: DO NOT MODIFY THIS FILE
     7184                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7185                                Please read src/c/shared/Enum/README for more information
     7186
     7187           Usage:
     7188              macro=GLlevelsetEnum()
     7189        """
     7190
     7191        return StringToEnum('GLlevelset')[0]
     7192
    45417193def StokesSolverEnum():
    45427194        """
    45437195        STOKESSOLVERENUM - Enum of StokesSolver
    45447196
     7197        WARNING: DO NOT MODIFY THIS FILE
     7198                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7199                                Please read src/c/shared/Enum/README for more information
     7200
    45457201           Usage:
    45467202              macro=StokesSolverEnum()
     
    45537209        ADJOINTENUM - Enum of Adjoint
    45547210
     7211        WARNING: DO NOT MODIFY THIS FILE
     7212                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7213                                Please read src/c/shared/Enum/README for more information
     7214
    45557215           Usage:
    45567216              macro=AdjointEnum()
     
    45637223        COLINEARENUM - Enum of Colinear
    45647224
     7225        WARNING: DO NOT MODIFY THIS FILE
     7226                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7227                                Please read src/c/shared/Enum/README for more information
     7228
    45657229           Usage:
    45667230              macro=ColinearEnum()
     
    45737237        CONTROLSTEADYENUM - Enum of ControlSteady
    45747238
     7239        WARNING: DO NOT MODIFY THIS FILE
     7240                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7241                                Please read src/c/shared/Enum/README for more information
     7242
    45757243           Usage:
    45767244              macro=ControlSteadyEnum()
     
    45837251        FSETENUM - Enum of Fset
    45847252
     7253        WARNING: DO NOT MODIFY THIS FILE
     7254                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7255                                Please read src/c/shared/Enum/README for more information
     7256
    45857257           Usage:
    45867258              macro=FsetEnum()
     
    45937265        GRADIENT1ENUM - Enum of Gradient1
    45947266
     7267        WARNING: DO NOT MODIFY THIS FILE
     7268                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7269                                Please read src/c/shared/Enum/README for more information
     7270
    45957271           Usage:
    45967272              macro=Gradient1Enum()
     
    46037279        GRADIENT2ENUM - Enum of Gradient2
    46047280
     7281        WARNING: DO NOT MODIFY THIS FILE
     7282                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7283                                Please read src/c/shared/Enum/README for more information
     7284
    46057285           Usage:
    46067286              macro=Gradient2Enum()
     
    46137293        GRADIENT3ENUM - Enum of Gradient3
    46147294
     7295        WARNING: DO NOT MODIFY THIS FILE
     7296                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7297                                Please read src/c/shared/Enum/README for more information
     7298
    46157299           Usage:
    46167300              macro=Gradient3Enum()
     
    46237307        GRADIENTENUM - Enum of Gradient
    46247308
     7309        WARNING: DO NOT MODIFY THIS FILE
     7310                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7311                                Please read src/c/shared/Enum/README for more information
     7312
    46257313           Usage:
    46267314              macro=GradientEnum()
     
    46337321        GROUNDINGLINEMIGRATIONENUM - Enum of GroundinglineMigration
    46347322
     7323        WARNING: DO NOT MODIFY THIS FILE
     7324                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7325                                Please read src/c/shared/Enum/README for more information
     7326
    46357327           Usage:
    46367328              macro=GroundinglineMigrationEnum()
     
    46437335        GSETENUM - Enum of Gset
    46447336
     7337        WARNING: DO NOT MODIFY THIS FILE
     7338                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7339                                Please read src/c/shared/Enum/README for more information
     7340
    46457341           Usage:
    46467342              macro=GsetEnum()
     
    46537349        INDEXENUM - Enum of Index
    46547350
     7351        WARNING: DO NOT MODIFY THIS FILE
     7352                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7353                                Please read src/c/shared/Enum/README for more information
     7354
    46557355           Usage:
    46567356              macro=IndexEnum()
     
    46637363        INDEXEDENUM - Enum of Indexed
    46647364
     7365        WARNING: DO NOT MODIFY THIS FILE
     7366                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7367                                Please read src/c/shared/Enum/README for more information
     7368
    46657369           Usage:
    46667370              macro=IndexedEnum()
     
    46737377        INTERSECTENUM - Enum of Intersect
    46747378
     7379        WARNING: DO NOT MODIFY THIS FILE
     7380                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7381                                Please read src/c/shared/Enum/README for more information
     7382
    46757383           Usage:
    46767384              macro=IntersectEnum()
     
    46837391        NODALENUM - Enum of Nodal
    46847392
     7393        WARNING: DO NOT MODIFY THIS FILE
     7394                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7395                                Please read src/c/shared/Enum/README for more information
     7396
    46857397           Usage:
    46867398              macro=NodalEnum()
     
    46937405        OLDGRADIENTENUM - Enum of OldGradient
    46947406
     7407        WARNING: DO NOT MODIFY THIS FILE
     7408                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7409                                Please read src/c/shared/Enum/README for more information
     7410
    46957411           Usage:
    46967412              macro=OldGradientEnum()
     
    47037419        OUTPUTFILEPOINTERENUM - Enum of OutputFilePointer
    47047420
     7421        WARNING: DO NOT MODIFY THIS FILE
     7422                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7423                                Please read src/c/shared/Enum/README for more information
     7424
    47057425           Usage:
    47067426              macro=OutputFilePointerEnum()
     
    47137433        OUTPUTFILENAMEENUM - Enum of OutputFileName
    47147434
     7435        WARNING: DO NOT MODIFY THIS FILE
     7436                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7437                                Please read src/c/shared/Enum/README for more information
     7438
    47157439           Usage:
    47167440              macro=OutputFileNameEnum()
     
    47237447        LOCKFILENAMEENUM - Enum of LockFileName
    47247448
     7449        WARNING: DO NOT MODIFY THIS FILE
     7450                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7451                                Please read src/c/shared/Enum/README for more information
     7452
    47257453           Usage:
    47267454              macro=LockFileNameEnum()
     
    47297457        return StringToEnum('LockFileName')[0]
    47307458
    4731 def PetscOptionsAnalysesEnum():
    4732         """
    4733         PETSCOPTIONSANALYSESENUM - Enum of PetscOptionsAnalyses
    4734 
    4735            Usage:
    4736               macro=PetscOptionsAnalysesEnum()
    4737         """
    4738 
    4739         return StringToEnum('PetscOptionsAnalyses')[0]
    4740 
    4741 def PetscOptionsStringsEnum():
    4742         """
    4743         PETSCOPTIONSSTRINGSENUM - Enum of PetscOptionsStrings
    4744 
    4745            Usage:
    4746               macro=PetscOptionsStringsEnum()
    4747         """
    4748 
    4749         return StringToEnum('PetscOptionsStrings')[0]
     7459def ToolkitsOptionsAnalysesEnum():
     7460        """
     7461        TOOLKITSOPTIONSANALYSESENUM - Enum of ToolkitsOptionsAnalyses
     7462
     7463        WARNING: DO NOT MODIFY THIS FILE
     7464                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7465                                Please read src/c/shared/Enum/README for more information
     7466
     7467           Usage:
     7468              macro=ToolkitsOptionsAnalysesEnum()
     7469        """
     7470
     7471        return StringToEnum('ToolkitsOptionsAnalyses')[0]
     7472
     7473def ToolkitsOptionsStringsEnum():
     7474        """
     7475        TOOLKITSOPTIONSSTRINGSENUM - Enum of ToolkitsOptionsStrings
     7476
     7477        WARNING: DO NOT MODIFY THIS FILE
     7478                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7479                                Please read src/c/shared/Enum/README for more information
     7480
     7481           Usage:
     7482              macro=ToolkitsOptionsStringsEnum()
     7483        """
     7484
     7485        return StringToEnum('ToolkitsOptionsStrings')[0]
    47507486
    47517487def QmuErrNameEnum():
     
    47537489        QMUERRNAMEENUM - Enum of QmuErrName
    47547490
     7491        WARNING: DO NOT MODIFY THIS FILE
     7492                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7493                                Please read src/c/shared/Enum/README for more information
     7494
    47557495           Usage:
    47567496              macro=QmuErrNameEnum()
     
    47637503        QMUINNAMEENUM - Enum of QmuInName
    47647504
     7505        WARNING: DO NOT MODIFY THIS FILE
     7506                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7507                                Please read src/c/shared/Enum/README for more information
     7508
    47657509           Usage:
    47667510              macro=QmuInNameEnum()
     
    47737517        QMUOUTNAMEENUM - Enum of QmuOutName
    47747518
     7519        WARNING: DO NOT MODIFY THIS FILE
     7520                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7521                                Please read src/c/shared/Enum/README for more information
     7522
    47757523           Usage:
    47767524              macro=QmuOutNameEnum()
     
    47837531        REGULARENUM - Enum of Regular
    47847532
     7533        WARNING: DO NOT MODIFY THIS FILE
     7534                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7535                                Please read src/c/shared/Enum/README for more information
     7536
    47857537           Usage:
    47867538              macro=RegularEnum()
     
    47937545        SCALEDENUM - Enum of Scaled
    47947546
     7547        WARNING: DO NOT MODIFY THIS FILE
     7548                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7549                                Please read src/c/shared/Enum/README for more information
     7550
    47957551           Usage:
    47967552              macro=ScaledEnum()
     
    48037559        SEPARATEENUM - Enum of Separate
    48047560
     7561        WARNING: DO NOT MODIFY THIS FILE
     7562                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7563                                Please read src/c/shared/Enum/README for more information
     7564
    48057565           Usage:
    48067566              macro=SeparateEnum()
     
    48137573        SSETENUM - Enum of Sset
    48147574
     7575        WARNING: DO NOT MODIFY THIS FILE
     7576                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7577                                Please read src/c/shared/Enum/README for more information
     7578
    48157579           Usage:
    48167580              macro=SsetEnum()
     
    48237587        VERBOSEENUM - Enum of Verbose
    48247588
     7589        WARNING: DO NOT MODIFY THIS FILE
     7590                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7591                                Please read src/c/shared/Enum/README for more information
     7592
    48257593           Usage:
    48267594              macro=VerboseEnum()
     
    48337601        TRIANGLEINTERPENUM - Enum of TriangleInterp
    48347602
     7603        WARNING: DO NOT MODIFY THIS FILE
     7604                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7605                                Please read src/c/shared/Enum/README for more information
     7606
    48357607           Usage:
    48367608              macro=TriangleInterpEnum()
     
    48437615        BILINEARINTERPENUM - Enum of BilinearInterp
    48447616
     7617        WARNING: DO NOT MODIFY THIS FILE
     7618                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7619                                Please read src/c/shared/Enum/README for more information
     7620
    48457621           Usage:
    48467622              macro=BilinearInterpEnum()
     
    48537629        NEARESTINTERPENUM - Enum of NearestInterp
    48547630
     7631        WARNING: DO NOT MODIFY THIS FILE
     7632                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7633                                Please read src/c/shared/Enum/README for more information
     7634
    48557635           Usage:
    48567636              macro=NearestInterpEnum()
     
    48637643        XYENUM - Enum of XY
    48647644
     7645        WARNING: DO NOT MODIFY THIS FILE
     7646                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7647                                Please read src/c/shared/Enum/README for more information
     7648
    48657649           Usage:
    48667650              macro=XYEnum()
     
    48737657        XYZPENUM - Enum of XYZP
    48747658
     7659        WARNING: DO NOT MODIFY THIS FILE
     7660                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7661                                Please read src/c/shared/Enum/README for more information
     7662
    48757663           Usage:
    48767664              macro=XYZPEnum()
     
    48797667        return StringToEnum('XYZP')[0]
    48807668
     7669def DenseEnum():
     7670        """
     7671        DENSEENUM - Enum of Dense
     7672
     7673        WARNING: DO NOT MODIFY THIS FILE
     7674                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7675                                Please read src/c/shared/Enum/README for more information
     7676
     7677           Usage:
     7678              macro=DenseEnum()
     7679        """
     7680
     7681        return StringToEnum('Dense')[0]
     7682
     7683def MpiDenseEnum():
     7684        """
     7685        MPIDENSEENUM - Enum of MpiDense
     7686
     7687        WARNING: DO NOT MODIFY THIS FILE
     7688                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7689                                Please read src/c/shared/Enum/README for more information
     7690
     7691           Usage:
     7692              macro=MpiDenseEnum()
     7693        """
     7694
     7695        return StringToEnum('MpiDense')[0]
     7696
     7697def SeqEnum():
     7698        """
     7699        SEQENUM - Enum of Seq
     7700
     7701        WARNING: DO NOT MODIFY THIS FILE
     7702                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7703                                Please read src/c/shared/Enum/README for more information
     7704
     7705           Usage:
     7706              macro=SeqEnum()
     7707        """
     7708
     7709        return StringToEnum('Seq')[0]
     7710
     7711def MpiEnum():
     7712        """
     7713        MPIENUM - Enum of Mpi
     7714
     7715        WARNING: DO NOT MODIFY THIS FILE
     7716                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7717                                Please read src/c/shared/Enum/README for more information
     7718
     7719           Usage:
     7720              macro=MpiEnum()
     7721        """
     7722
     7723        return StringToEnum('Mpi')[0]
     7724
    48817725def OptionEnum():
    48827726        """
    48837727        OPTIONENUM - Enum of Option
    48847728
     7729        WARNING: DO NOT MODIFY THIS FILE
     7730                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7731                                Please read src/c/shared/Enum/README for more information
     7732
    48857733           Usage:
    48867734              macro=OptionEnum()
     
    48937741        GENERICOPTIONENUM - Enum of GenericOption
    48947742
     7743        WARNING: DO NOT MODIFY THIS FILE
     7744                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7745                                Please read src/c/shared/Enum/README for more information
     7746
    48957747           Usage:
    48967748              macro=GenericOptionEnum()
     
    49037755        OPTIONCELLENUM - Enum of OptionCell
    49047756
     7757        WARNING: DO NOT MODIFY THIS FILE
     7758                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7759                                Please read src/c/shared/Enum/README for more information
     7760
    49057761           Usage:
    49067762              macro=OptionCellEnum()
     
    49137769        OPTIONCHARENUM - Enum of OptionChar
    49147770
     7771        WARNING: DO NOT MODIFY THIS FILE
     7772                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7773                                Please read src/c/shared/Enum/README for more information
     7774
    49157775           Usage:
    49167776              macro=OptionCharEnum()
     
    49237783        OPTIONSTRUCTENUM - Enum of OptionStruct
    49247784
     7785        WARNING: DO NOT MODIFY THIS FILE
     7786                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7787                                Please read src/c/shared/Enum/README for more information
     7788
    49257789           Usage:
    49267790              macro=OptionStructEnum()
     
    49337797        OPTIONDOUBLEENUM - Enum of OptionDouble
    49347798
     7799        WARNING: DO NOT MODIFY THIS FILE
     7800                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7801                                Please read src/c/shared/Enum/README for more information
     7802
    49357803           Usage:
    49367804              macro=OptionDoubleEnum()
     
    49437811        OPTIONLOGICALENUM - Enum of OptionLogical
    49447812
     7813        WARNING: DO NOT MODIFY THIS FILE
     7814                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7815                                Please read src/c/shared/Enum/README for more information
     7816
    49457817           Usage:
    49467818              macro=OptionLogicalEnum()
     
    49537825        PATERSONENUM - Enum of Paterson
    49547826
     7827        WARNING: DO NOT MODIFY THIS FILE
     7828                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7829                                Please read src/c/shared/Enum/README for more information
     7830
    49557831           Usage:
    49567832              macro=PatersonEnum()
     
    49637839        ARRHENIUSENUM - Enum of Arrhenius
    49647840
     7841        WARNING: DO NOT MODIFY THIS FILE
     7842                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7843                                Please read src/c/shared/Enum/README for more information
     7844
    49657845           Usage:
    49667846              macro=ArrheniusEnum()
     
    49737853        MAXIMUMNUMBEROFENUMS - Enum of MaximumNumberOfEnums
    49747854
     7855        WARNING: DO NOT MODIFY THIS FILE
     7856                                this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     7857                                Please read src/c/shared/Enum/README for more information
     7858
    49757859           Usage:
    49767860              macro=MaximumNumberOfEnums()
    49777861        """
    49787862
    4979         return 496
    4980 
     7863        return 560
     7864
  • issm/trunk/src/m/enum/ExternalResultEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/FileParamEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/FillEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/FlaimAnalysisEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/FlaimSolutionEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/FlowequationBordermacayealEnum.m

    r9661 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/FlowequationBorderpattynEnum.m

    r9661 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/FlowequationBorderstokesEnum.m

    r9661 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/FlowequationElementEquationEnum.m

    r9661 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/FlowequationIshutterEnum.m

    r9661 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/FlowequationIsl1l2Enum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/FlowequationIsmacayealpattynEnum.m

    r9661 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/FlowequationIsstokesEnum.m

    r9661 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/FlowequationVertexEquationEnum.m

    r9661 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/FractionIncrementEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/FreeEnum.m

    r9547 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/FrictionCoefficientEnum.m

    r9610 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/FrictionEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/FrictionPEnum.m

    r9610 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/FrictionQEnum.m

    r9610 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/FsetEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/GenericOptionEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/GenericParamEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/GeometryHydrostaticRatioEnum.m

    r9691 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/Gradient1Enum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/Gradient2Enum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/Gradient3Enum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/GradientEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/GroundinglineMeltingRateEnum.m

    r9401 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/GroundinglineMigrationEnum.m

    r9346 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/GsetEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/HookEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/HutterApproximationEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/HydrologySolutionEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/HydrologyWaterVxEnum.m

    r9271 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/HydrologyWaterVyEnum.m

    r9271 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/IceEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/IceVolumeEnum.m

    r10141 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/IcefrontEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/IncrementalEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/IndependentObjectEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/IndexEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/IndexedEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InputEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/IntExternalResultEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/IntInputEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/IntMatParamEnum.m

    r8602 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/IntParamEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/IntVecParamEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InternalEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/IntersectEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InversionControlParametersEnum.m

    r9681 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InversionCostFunctionThresholdEnum.m

    r9681 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InversionCostFunctionsCoefficientsEnum.m

    r9681 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InversionCostFunctionsEnum.m

    r9681 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InversionGradientOnlyEnum.m

    r9681 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InversionGradientScalingEnum.m

    r9681 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InversionIncompleteAdjointEnum.m

    r11527 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InversionIscontrolEnum.m

    r9681 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InversionMaxParametersEnum.m

    r9681 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InversionMaxiterPerStepEnum.m

    r9681 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InversionMinParametersEnum.m

    r9681 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InversionNstepsEnum.m

    r9681 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InversionNumControlParametersEnum.m

    r9681 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InversionNumCostFunctionsEnum.m

    r9681 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InversionStepThresholdEnum.m

    r9681 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InversionTaoEnum.m

    r11527 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InversionThicknessObsEnum.m

    r9681 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InversionVelObsEnum.m

    r9681 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InversionVxObsEnum.m

    r9681 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InversionVyObsEnum.m

    r9681 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/InversionVzObsEnum.m

    r9681 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/JEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/L1L2ApproximationEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/L1L2IceFrontEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/LoadsEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/LockFileNameEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MacAyeal2dIceFrontEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MacAyeal3dIceFrontEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MacAyealApproximationEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MacAyealPattynApproximationEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MacAyealStokesApproximationEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaskElementonfloatingiceEnum.m

    r9643 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaskElementongroundediceEnum.m

    r9643 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaskElementonwaterEnum.m

    r9643 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaskVertexonfloatingiceEnum.m

    r9643 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaskVertexongroundediceEnum.m

    r9643 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaskVertexonwaterEnum.m

    r9643 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MassFluxEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MassFluxSegmentsEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MassFluxSegmentsPresentEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MatdamageiceEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaterialsBetaEnum.m

    r9638 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaterialsEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaterialsHeatcapacityEnum.m

    r9636 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaterialsLatentheatEnum.m

    r9636 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaterialsMeltingpointEnum.m

    r9636 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaterialsMixedLayerCapacityEnum.m

    r9636 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaterialsMuWaterEnum.m

    r10565 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaterialsRheologyBEnum.m

    r9636 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaterialsRheologyBbarEnum.m

    r9636 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaterialsRheologyLawEnum.m

    r9636 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaterialsRheologyNEnum.m

    r9636 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaterialsRheologyZEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaterialsRheologyZbarEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaterialsRhoFreshwaterEnum.m

    r12301 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaterialsRhoIceEnum.m

    r9636 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaterialsRhoWaterEnum.m

    r9636 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaterialsThermalExchangeVelocityEnum.m

    r9636 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaterialsThermalconductivityEnum.m

    r9636 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaticeEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MatparEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MatrixParamEnum.m

    r11995 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaxAbsVxEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaxAbsVyEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaxAbsVzEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaxIterationConvergenceFlagEnum.m

    r12329 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaxPenetrationEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaxVelEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaxVxEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaxVyEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaxVzEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MaximumNumberOfEnums.m

    r14310 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
    99%      macro=MaximumNumberOfEnums()
    1010
    11 macro=496;
     11macro=560;
  • issm/trunk/src/m/enum/MelangeEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeltingAnalysisEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeltingOffsetEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeshAverageVertexConnectivityEnum.m

    r9705 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeshDimensionEnum.m

    r9719 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeshEdgesEnum.m

    r9733 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeshElementconnectivityEnum.m

    r9728 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeshElementonbedEnum.m

    r9729 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeshElementonsurfaceEnum.m

    r9729 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeshElements2dEnum.m

    r9733 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeshElementsEnum.m

    r9733 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeshLowerelementsEnum.m

    r9728 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeshNumberofedgesEnum.m

    r9725 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeshNumberofelements2dEnum.m

    r9725 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeshNumberofelementsEnum.m

    r9725 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeshNumberoflayersEnum.m

    r9725 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeshNumberofvertices2dEnum.m

    r9725 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeshNumberofverticesEnum.m

    r9725 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeshUpperelementsEnum.m

    r9728 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeshVertexonbedEnum.m

    r9729 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeshVertexonsurfaceEnum.m

    r9729 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeshXEnum.m

    r9734 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeshYEnum.m

    r9734 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MeshZEnum.m

    r9734 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MinVelEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MinVxEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MinVyEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MinVzEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MiscellaneousNameEnum.m

    r9625 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/MisfitEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/NearestInterpEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/NodalEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/NodeEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/NodesEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/NoneAnalysisEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/NoneApproximationEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/NoneEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/NumberNodeToElementConnectivityEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/NumericalfluxEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/OldGradientEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/OpenEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/OptionCellEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/OptionCharEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/OptionDoubleEnum.m

    r9547 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/OptionEnum.m

    r9547 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/OptionLogicalEnum.m

    r9547 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/OptionStructEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/OutputFileNameEnum.m

    r14310 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/OutputFilePointerEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/P0Enum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/P1DGEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/P1Enum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ParamEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ParametersEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PatchEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PatchNodesEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PatchVerticesEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PatersonEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PattynApproximationEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PattynIceFrontEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PattynStokesApproximationEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PengridEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PenpairEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PentaEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PentaP1ElementResultEnum.m

    r11527 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PentaP1InputEnum.m

    r11527 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PressureEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PressurePicardEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ProfilerEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ProfilingCurrentFlopsEnum.m

    r12706 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ProfilingCurrentMemEnum.m

    r12706 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ProfilingSolutionTimeEnum.m

    r12706 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PrognosticAnalysisEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PrognosticHydrostaticAdjustmentEnum.m

    r9642 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PrognosticMinThicknessEnum.m

    r11237 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PrognosticNumRequestedOutputsEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PrognosticPenaltyFactorEnum.m

    r9642 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PrognosticRequestedOutputsEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PrognosticSolutionEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PrognosticSpcthicknessEnum.m

    r9642 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PrognosticStabilizationEnum.m

    r9642 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/PrognosticVertexPairingEnum.m

    r9642 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/QmuBedEnum.m

    r10981 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/QmuErrNameEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/QmuInNameEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/QmuIsdakotaEnum.m

    r9650 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/QmuMassFluxSegmentsPresentEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/QmuMeltingEnum.m

    r10981 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/QmuNumberofpartitionsEnum.m

    r9650 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/QmuNumberofresponsesEnum.m

    r9650 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/QmuOutNameEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/QmuPartitionEnum.m

    r9650 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/QmuPressureEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/QmuResponsedescriptorsEnum.m

    r9650 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/QmuSurfaceEnum.m

    r10981 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/QmuTemperatureEnum.m

    r9131 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/QmuThicknessEnum.m

    r10981 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/QmuVariabledescriptorsEnum.m

    r9650 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/QmuVxEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/QmuVyEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/QmuVzEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/RegularEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ResetPenaltiesEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ResultsEnum.m

    r9547 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/RheologyBbarAbsGradientEnum.m

    r8609 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/RiftfrontEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/RiftsNumriftsEnum.m

    r9619 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/RiftsRiftstructEnum.m

    r9619 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SaveResultsEnum.m

    r11995 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ScaledEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SegmentEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SegmentOnIceShelfEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SegmentRiftfrontEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SeparateEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SettingsIoGatherEnum.m

    r9622 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SettingsLowmemEnum.m

    r9622 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SettingsOutputFrequencyEnum.m

    r9702 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SettingsResultsAsPatchesEnum.m

    r10981 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SettingsWaitonlockEnum.m

    r9702 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SoftMigrationEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SolutionTypeEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SpcDynamicEnum.m

    r9286 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SpcStaticEnum.m

    r9285 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SpcTransientEnum.m

    r9285 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SsetEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SteadystateMaxiterEnum.m

    r9677 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SteadystateNumRequestedOutputsEnum.m

    r9679 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SteadystateReltolEnum.m

    r9677 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SteadystateRequestedOutputsEnum.m

    r9677 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SteadystateSolutionEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/StepEnum.m

    r11995 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/StepResponsesEnum.m

    r8602 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/StokesApproximationEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/StokesIceFrontEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/StokesSolverEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/StressTensorEnum.m

    r11237 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/StressTensorxxEnum.m

    r11237 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/StressTensorxyEnum.m

    r11237 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/StressTensorxzEnum.m

    r11237 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/StressTensoryyEnum.m

    r11237 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/StressTensoryzEnum.m

    r11237 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/StressTensorzzEnum.m

    r11237 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/StringArrayParamEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/StringExternalResultEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/StringParamEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceAbsVelMisfitEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceAreaEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceAverageVelMisfitEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceLogVelMisfitEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceLogVxVyMisfitEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceRelVelMisfitEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceSlopeAnalysisEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceSlopeSolutionEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceSlopeXAnalysisEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceSlopeXEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceSlopeYAnalysisEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceSlopeYEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceforcingsBNegEnum.m

    r12706 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceforcingsBPosEnum.m

    r12706 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceforcingsDelta18oEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceforcingsDelta18oSurfaceEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceforcingsHrefEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceforcingsIsdelta18oEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceforcingsIspddEnum.m

    r12295 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceforcingsIssmbgradientsEnum.m

    r12706 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceforcingsMassBalanceEnum.m

    r9610 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceforcingsMonthlytemperaturesEnum.m

    r12301 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceforcingsPrecipitationEnum.m

    r11527 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceforcingsPrecipitationsPresentdayEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceforcingsSmbrefEnum.m

    r13975 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceforcingsTemperaturesLgmEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/SurfaceforcingsTemperaturesPresentdayEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TemperatureEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TemperatureOldEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TemperaturePicardEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ThermalAnalysisEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ThermalIsenthalpyEnum.m

    r11527 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ThermalMaxiterEnum.m

    r9632 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ThermalPenaltyFactorEnum.m

    r9632 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ThermalPenaltyLockEnum.m

    r9632 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ThermalPenaltyThresholdEnum.m

    r9632 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ThermalSolutionEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ThermalSpctemperatureEnum.m

    r9632 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ThermalStabilizationEnum.m

    r9632 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ThicknessAbsGradientEnum.m

    r8582 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ThicknessAbsMisfitEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ThicknessAcrossGradientEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ThicknessAlongGradientEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ThicknessEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TimeEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TimesteppingCflCoefficientEnum.m

    r9628 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TimesteppingFinalTimeEnum.m

    r9628 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TimesteppingStartTimeEnum.m

    r11995 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TimesteppingTimeAdaptEnum.m

    r9628 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TimesteppingTimeStepEnum.m

    r9628 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TotalSmbEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TransientInputEnum.m

    r8802 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TransientIsdiagnosticEnum.m

    r9678 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TransientIsgroundinglineEnum.m

    r9678 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TransientIsprognosticEnum.m

    r9678 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TransientIsthermalEnum.m

    r9678 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TransientNumRequestedOutputsEnum.m

    r9679 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TransientParamEnum.m

    r13395 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TransientRequestedOutputsEnum.m

    r9678 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TransientSolutionEnum.m

    r8430 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TriaEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TriaP1ElementResultEnum.m

    r11527 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/TriangleInterpEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/VectorParamEnum.m

    r11995 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/VelEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/VelocityEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/VerboseEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/VertexEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/VerticesEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/ViscousHeatingEnum.m

    r9110 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/VxAverageEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/VxEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/VxMeshEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/VxPicardEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/VyAverageEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/VyEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/VyMeshEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/VyPicardEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/VzEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/VzMacAyealEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/VzMeshEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/VzPattynEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/VzPicardEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/VzStokesEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/WaterColumnOldEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/WaterEnum.m

    r8222 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/WatercolumnEnum.m

    r8926 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/WaterfractionEnum.m

    r8926 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/XYEnum.m

    r10565 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/enum/XYZPEnum.m

    r10565 r15396  
    33%
    44%   WARNING: DO NOT MODIFY THIS FILE
    5 %            this file has been automatically generated by src/c/EnumDefinitions/Synchronize.sh
    6 %            Please read src/c/EnumDefinitions/README for more information
     5%            this file has been automatically generated by src/c/shared/Enum/Synchronize.sh
     6%            Please read src/c/shared/Enum/README for more information
    77%
    88%   Usage:
  • issm/trunk/src/m/exp/expcreateprofile.m

    r13975 r15396  
    1212
    1313%Get root of filename
    14 [path root ext ver]=fileparts(filename);
     14[path root ext]=fileparts(filename);
    1515
    1616%Get profile
  • issm/trunk/src/m/exp/expflip.m

    r13975 r15396  
    66%
    77
    8 a=expread(domainname,1);
     8a=expread(domainname);
    99
    1010for i=1:length(a),
  • issm/trunk/src/m/exp/exptool.m

    r13975 r15396  
    11function exptool(newfile,varargin)
    2 %EXPMASTER - allow to create, modify, add, cut, .. segments of domain outline together
     2%EXPTOOL - allow to create, modify, add, cut, .. segments of domain outline together
    33%
    44%   this routine is used to create, modify, cut,... an Argus file (.exp)
  • issm/trunk/src/m/exp/flowlines.m

    r14310 r15396  
    3838
    3939%check seed points
    40 %tria=TriaSearch(index,x,y,x0,y0);
    41 tria=tsearch(x,y,index,x0,y0);
     40tria=TriaSearch(index,x,y,x0,y0);
     41%tria=tsearch(x,y,index,x0,y0);
    4242pos=find(isnan(tria));
    4343x0(pos)=[];
     
    7070        %find current triangle
    7171        queue=find(~done);
    72         %tria=TriaSearch(index,x,y,X(queue),Y(queue));
    73         tria=tsearch(x,y,index,X(queue),Y(queue));
     72        tria=TriaSearch(index,x,y,X(queue),Y(queue));
     73        %tria=tsearch(x,y,index,X(queue),Y(queue));
    7474
    7575        %check that the point is actually inside a triangle of the mesh
     
    112112
    113113%same process but reverse (vel=-vel) to have a vcomplete flow line
     114queue=[];
    114115counter=1;
    115116X=x0; Y=y0;
     
    120121        %find current triangle
    121122        queue=find(~done);
    122         %tria=TriaSearch(index,x,y,X(queue),Y(queue));
    123         tria=tsearch(x,y,index,X(queue),Y(queue));
     123        tria=TriaSearch(index,x,y,X(queue),Y(queue));
     124        %tria=tsearch(x,y,index,X(queue),Y(queue));
    124125
    125126        %check that the point is actually inside a triangle of the mesh
  • issm/trunk/src/m/geometry/slope.m

    r13395 r15396  
    1 function [sx,sy,s]=slope(md)
     1function [sx,sy,s]=slope(md,surf)
    22%SLOPE - compute the surface slope
    33%
    44%   Usage:
    55%      [sx,sy,s]=slope(md)
     6%      [sx,sy,s]=slope(md,md.results.TransientSolution(1).Surface)
    67
    78%load some variables (it is much faster if the variab;es are loaded from md once for all)
     
    1819end
    1920
     21if nargin==1,
     22        surf=md.geometry.surface;
     23end
    2024%compute nodal functions coefficients N(x,y)=alpha x + beta y + gamma
    2125[alpha beta]=GetNodalFunctionsCoeff(index,x,y);
    2226
    2327summation=[1;1;1];
    24 sx=(md.geometry.surface(index).*alpha)*summation;
    25 sy=(md.geometry.surface(index).*beta)*summation;
     28sx=(surf(index).*alpha)*summation;
     29sy=(surf(index).*beta)*summation;
    2630s=sqrt(sx.^2+sy.^2);
    2731
  • issm/trunk/src/m/mesh/ProfileProjectOntoMesh.m

    r13395 r15396  
    5353% (profile may start and/or end externally and/or cross holes in the model)
    5454
    55 ind=find(node_in_element(:,9)>0);
     55ind=find(node_in_element(:,end)>0);
    5656newx=newx(ind,:);
    5757newy=newy(ind,:);
  • issm/trunk/src/m/mesh/bamg.m

    r13975 r15396  
    1919%                         to apply several fields, use one column per field
    2020%   - gradation :         maximum ratio between two adjacent edges
    21 %   - Hessiantype :       0 -> use double P2 projection (default)
     21%   - Hessiantype :       0 -> use double L2 projection (default)
    2222%                         1 -> use Green formula
    2323%   - KeepVertices :      try to keep initial vertices when adaptation is done on an existing mesh (default 1)
  • issm/trunk/src/m/mesh/roundmesh.m

    r13975 r15396  
    4646
    4747end
    48 
  • issm/trunk/src/m/miscellaneous/normcdf_issm.m

    r14310 r15396  
    77
    88end
    9 
  • issm/trunk/src/m/miscellaneous/normfit_issm.m

    r14310 r15396  
    44function [muhat,sigmahat,muci,sigmaci]=normfit_issm(x,alpha)
    55
    6 %  remove any NaN
     6        if ~exist('alpha','var')
     7                alpha=0.05;
     8        end
    79
    8         x=x(~isnan(x(:)));
    9         n=length(x);
     10%  check for any NaN in any columns
     11
     12        if ~any(any((isnan(x))))
    1013
    1114%  explicitly calculate the moments
    1215
    13         muhat   =mean(x);
    14         sigmahat=std(x);
     16                muhat   =mean(x);
     17                sigmahat=std(x);
    1518
    16         if (nargout>2)
    17                 if ~exist('alpha','var')
    18                         alpha=0.05;
     19                if (nargout>2)
     20                        prob=1.-alpha/2.;
     21
     22                        if (size(x,1) == 1)
     23                                % operate like matlab normfit, mean, std, etc.
     24                                n=length(x);
     25                        else
     26                                n=size(x,1);
     27                        end
     28
     29                        muci    =zeros(2,length(muhat   ));
     30                        sigmaci =zeros(2,length(sigmahat));
     31
     32                        try
     33                                muci(1,:)   =muhat-tinv(prob,n-1)*sigmahat/sqrt(n);
     34                                muci(2,:)   =muhat+tinv(prob,n-1)*sigmahat/sqrt(n);
     35                                sigmaci(1,:)=sigmahat*sqrt((n-1)/chi2inv(prob   ,n-1));
     36                                sigmaci(2,:)=sigmahat*sqrt((n-1)/chi2inv(1.-prob,n-1));
     37                        catch me
     38                                muci(1,:)   =muhat;
     39                                muci(2,:)   =muhat;
     40                                sigmaci(1,:)=sigmahat;
     41                                sigmaci(2,:)=sigmahat;
     42                        end
    1943                end
    20                 prob=1.-alpha/2.;
    2144
    22                 try
    23                         muci(1,1)   =muhat-tinv(prob,n-1)*sigmahat/sqrt(n);
    24                         muci(2,1)   =muhat+tinv(prob,n-1)*sigmahat/sqrt(n);
    25                         sigmaci(1,1)=sigmahat*sqrt((n-1)/chi2inv(prob   ,n-1));
    26                         sigmaci(2,1)=sigmahat*sqrt((n-1)/chi2inv(1.-prob,n-1));
    27                 catch me
    28                         muci(1,1)   =muhat;
    29                         muci(2,1)   =muhat;
    30                         sigmaci(1,1)=sigmahat;
    31                         sigmaci(2,1)=sigmahat;
     45        else
     46
     47%  must loop over columns, since number of elements could be different
     48
     49                muhat   =zeros(1,size(x,2));
     50                sigmahat=zeros(1,size(x,2));
     51                muci    =zeros(2,size(x,2));
     52                sigmaci =zeros(2,size(x,2));
     53
     54%  remove any NaN and recursively call column
     55
     56                for j=1:size(x,2)
     57                        [muhat(j),sigmahat(j),muci(:,j),sigmaci(:,j)]=normfit_issm(x(~isnan(x(:,j)),j),alpha);
    3258                end
    3359        end
    3460
    3561end
    36 
  • issm/trunk/src/m/miscellaneous/norminv_issm.m

    r14310 r15396  
    77
    88end
    9 
  • issm/trunk/src/m/miscellaneous/prctile_issm.m

    r14310 r15396  
    3636%  check for any NaN in any columns
    3737
    38                 if ~any(isnan(x))
     38                if ~any(any((isnan(x))))
    3939                        x=sort(x,1);
    4040                        n=size(x,1);
     
    8585
    8686end
    87 
  • issm/trunk/src/m/os/dakotaversion.m

    r14310 r15396  
    2020        tline=fgets(fid);
    2121        if ~ischar(tline), break, end
    22         if  strncmp(tline,'#define DAKOTA_VERSION',22),
    23                 DAKOTA_VERSION=strtrim(strrep(tline(24:end),'"',''));
     22        if  strncmp(tline,'#define _DAKOTA_VERSION_',24),
     23                DAKOTA_VERSION=strtrim(strrep(tline(26:end),'"',''));
    2424        end
    2525end
  • issm/trunk/src/m/os/dakotaversion.py

    r14310 r15396  
    2525
    2626        for tline in fid:
    27                 if strncmp(tline,'#define DAKOTA_VERSION',22):
    28                         DAKOTA_VERSION=tline[23:].replace('"','').strip()
     27                if strncmp(tline,'#define _DAKOTA_VERSION_',24):
     28                        DAKOTA_VERSION=tline[25:].replace('"','').strip()
    2929                        break
    3030
  • issm/trunk/src/m/os/issmscpout.m

    r13975 r15396  
    1 function issmscpout(host,path,login,port,packages)
     1function issmscpout(host,path,login,port,packages,varargin)
    22%ISSMSCPOUT send packages to a host, using scp on unix, and pscp on windows
    33%
    4 %   usage: issmscpout(host,path,packages)
     4%   usage: issmscpout(host,path,login,port,packages)
    55%
    66%
     
    88%get hostname
    99hostname=oshostname();
     10
     11%are we dis-allowing symbolic links?
     12if nargin==6,
     13        no_symlinks=1;
     14else
     15        no_symlinks=0;
     16end
    1017
    1118%if hostname and host are the same, do a simple copy
     
    1623                eval(['cd ' path])
    1724                system(['rm -rf ' packages{i} ]);
    18                 system(['ln -s ' here '/' packages{i} ' .']);
     25                if no_symlinks,
     26                        system(['cp  ' here '/' packages{i} ' .']);
     27                else
     28                        system(['ln -s ' here '/' packages{i} ' .']);
     29                end
    1930                eval(['cd ' here]);
    2031        end
  • issm/trunk/src/m/os/oshostname.m

    r13975 r15396  
    77
    88if ispc(),
    9         [status,hostname]=system('hostname | sed ''s/-//g''');
     9        [status,hostname]=system('hostname');
    1010        if status,
    1111                error('oshostname error message: could not run hostname command on windows os');
  • issm/trunk/src/m/parameterization/contourenvelope.m

    r14310 r15396  
    138138end
    139139segments=segments(1:count-1,:);
    140 
  • issm/trunk/src/m/plot/applyoptions.m

    r14310 r15396  
    243243filename=(getfieldvalue(options,'expdisp'));
    244244style=(getfieldvalue(options,'expstyle'));
     245linewidth=(getfieldvalue(options,'linewidth',1));
    245246for i=1:length(getfieldvalue(options,'expdisp')),
    246247        filenamei=filename{i};
    247248        stylei=style{i};
    248         expdisp(filenamei,gcf,stylei,getfieldvalue(options,'linewidth',1),getfieldvalue(options,'unit',1));
     249        if length(linewidth)==1,
     250                linewidthi=linewidth;
     251        else
     252                linewidthi=linewidth{i};
     253        end
     254        expdisp(filenamei,gcf,stylei,linewidthi,getfieldvalue(options,'unit',1));
    249255end
    250256
     
    350356        %box off
    351357        if strcmpi(md.mesh.hemisphere,'n') | strcmpi(md.mesh.hemisphere,'north'),
    352                 A=expread([ jplsvn() '/projects/Exp/GreenlandBoxFront.exp']);
     358                A=expread([ jplsvn() '/projects/ModelData/Exp/GreenlandBoxFront.exp']);
    353359                [A.x A.y]=ll2xy(A.x,A.y,+1,45,70);
    354360                A.x = A.x(1:30:end);
    355361                A.y = A.y(1:30:end);
    356362        elseif strcmpi(md.mesh.hemisphere,'s') | strcmpi(md.mesh.hemisphere,'south'),
    357                 A=expread([ jplsvn() '/projects/Exp/Antarctica.exp']);
     363                A=expread([ jplsvn() '/projects/ModelData/Exp/Antarctica.exp']);
    358364        else
    359365                error('applyoptions error message: hemisphere not defined');
     
    434440        %get current plot position
    435441        cplotpos=get(gca,'pos');
    436         %compute inset position
    437         PosInset=[cplotpos(1)+insetpos(1)*cplotpos(3),cplotpos(2)+insetpos(2)*cplotpos(4), insetpos(3)*cplotpos(3), insetpos(4)*cplotpos(4)];
    438         %show pos
     442
    439443        X1=getfieldvalue(options,'insetx',xlim);
    440444        Y1=getfieldvalue(options,'insety',ylim);
    441         if strcmpi(getfieldvalue(options,'showinset','off'),'on')
    442                 line(X1([1 2 2 1 1]),Y1([1 1 2 2 1]),zeros(1,5),'Color','k','LineWidth',2);
    443         end
    444 
    445         %Get current figure
    446         ax1=gca;
    447 
    448         %plot inset
    449         axes('pos',PosInset);
    450         copyobj(get(ax1,'children'),gca);
    451         patch('Faces',[1 2 3 4 1],'Vertices',[X1([1 2 2 1])' Y1([1 1 2 2])'],'FaceColor','None','EdgeColor','k','LineWidth',2);
    452 
    453         %applay options
    454         options=removefield(options,'text',0);
    455         options=removefield(options,'title',0);
    456         options=removefield(options,'xlabel',0);
    457         options=removefield(options,'ylabel',0);
    458         options=removefield(options,'inset',0);
    459         options=removefield(options,'offsetaxispos',0);
    460         options=removefield(options,'showregion',0);
    461         options=changefieldvalue(options,'colorbar',0);
    462         options=changefieldvalue(options,'latlon','off');
    463         options=changefieldvalue(options,'axis','equal off');
    464         options=changefieldvalue(options,'xlim',getfieldvalue(options,'insetx',xlim));
    465         options=changefieldvalue(options,'ylim',getfieldvalue(options,'insety',ylim));
    466         applyoptions(md,data,options);
    467 
    468         %back to main gca
    469         set(gcf,'CurrentAxes',maingca)
    470 end
     445
     446        for i=1:length(getfieldvalue(options,'insetx')),
     447                if length(insetpos)==4,
     448                        insetposi=insetpos;
     449                else
     450                        insetposi=insetpos{i};
     451                end
     452                PosInseti=[cplotpos(1)+insetposi(1)*cplotpos(3),cplotpos(2)+insetposi(2)*cplotpos(4), insetposi(3)*cplotpos(3), insetposi(4)*cplotpos(4)];
     453                %show pos
     454                if iscell(X1),
     455                        X1i=X1{i};
     456                else
     457                        X1i=X1;
     458                end
     459                if iscell(Y1),
     460                        Y1i=Y1{i};
     461                else
     462                        Y1i=Y1;
     463                end
     464                if strcmpi(getfieldvalue(options,'showinset','off'),'on')
     465                        line(X1i([1 2 2 1 1]),Y1i([1 1 2 2 1]),zeros(1,5),'Color','k','LineWidth',2);
     466                end
     467
     468                %Get current figure
     469                ax1=gca;
     470
     471                %plot inset
     472                axes('pos',PosInseti);
     473                copyobj(get(ax1,'children'),gca);
     474                patch('Faces',[1 2 3 4 1],'Vertices',[X1i([1 2 2 1])' Y1i([1 1 2 2])'],'FaceColor','None','EdgeColor','k','LineWidth',2);
     475
     476                %apply options
     477                options=removefield(options,'text',0);
     478                options=removefield(options,'title',0);
     479                options=removefield(options,'xlabel',0);
     480                options=removefield(options,'ylabel',0);
     481                options=removefield(options,'inset',0);
     482                options=removefield(options,'offsetaxispos',0);
     483                options=removefield(options,'showregion',0);
     484                options=changefieldvalue(options,'colorbar',0);
     485                options=changefieldvalue(options,'latlon','off');
     486                options=changefieldvalue(options,'axis','equal off');
     487                options=changefieldvalue(options,'xlim',X1i);
     488                options=changefieldvalue(options,'ylim',Y1i);
     489                applyoptions(md,data,options);
     490
     491                %back to main gca
     492                set(gcf,'CurrentAxes',maingca)
     493        end
     494end
  • issm/trunk/src/m/plot/colormaps/demmap.m

    r14310 r15396  
    1 function cmap = demmap(ncolors,minZ,maxZ);
     1function cmap = demmap(ncolors,minZ,maxZ,varargin);
    22%DEMMAP - concatenate sea and land color depending on zmin and zmax
    33%
    44%   Usage:
    5 %      cmap = demmap(n,zmin,zmax)
     5%      cmap = demmap(n,zmin,zmax,varargin)
     6%
     7%   Example:
     8%      cmap = demmap(50,-300,1200);
     9%      cmap = demmap(50,-300,1200,'dem');
     10%      cmap = demmap(50,-300,1200,'ibcao');
    611
     12%Input checks
    713if nargin<3,
    814        help landseacolor
    9         error('3 arguments necessary');
     15        error('3 or 4 arguments necessary');
     16elseif nargin>4,
     17        help landseacolor
     18        error('3 or 4 arguments necessary');
    1019end
    1120
    12 if minZ == maxZ;
    13         maxZ = minZ+1;
     21if nargin==4,
     22        colorscheme = varargin{1};
     23        if ~ischar(colorscheme), error('color scheme should be a string'); end
     24else
     25        colorscheme = 'dem';
    1426end
    1527
     
    6072
    6173clim = [cmn cmx];
    62 cmap = [seacolor(nsea);landcolor(nland).^1.3];
     74
     75if strcmpi(colorscheme,'dem'),
     76        cmap = [seacolor(nsea);landcolor(nland).^1.3];
     77elseif strcmpi(colorscheme,'ibcao');
     78        cmap = ibcao(nsea,nland);
     79end
  • issm/trunk/src/m/plot/colormaps/getcolormap.m

    r14067 r15396  
    2323        map = jet(256);
    2424        map = map(128:end,:);
     25elseif strcmpi(map,'damage'),
     26        v=ver;
     27        if any(strcmp('Image Processing Toolbox',{v.Name})),
     28                map = color_scale(256,0,70,'ccw');
     29                map = flipud(map);
     30                map(1:2,:)=[0.7476    1.0000    1.0000; 0.7476    1.0000    1.0000];
     31        else
     32                error('damage colormap requires Image Processing Toolbox, please try another colormap');
     33        end
    2534elseif strcmpi(map,'redblue'),
    26         map = hsv(256);
     35        map = hsv(128);
    2736        map = rgb2hsv(map);
    2837        map(:,2)       = max(min( abs(map(:,1)-0.5)/0.5 ,1),0);
    29         map(1:128,1)   = 0.7;
    30         map(129:end,1) = 1;
     38        map(1:64,1)   = 0.7;
     39        map(65:end,1) = 1;
    3140        map = hsv2rgb(map);
    3241elseif strcmpi(map,'Rignot'),
  • issm/trunk/src/m/plot/colormaps/seacolor.m

    r14310 r15396  
    5656end
    5757y = interp1(1:l,J,linspace(1,l,n),'*linear');
    58 
  • issm/trunk/src/m/plot/curvedarrow.m

    r13975 r15396  
    2424        %compute some values out of (x1,y1) and (x2,y2)
    2525        length=distance*angle;
    26        
     26
    2727        if exist(options,'widthratio'),
    2828                widthratio=getfieldvalue(options,'widthratio');
     
    5757                m=-m;
    5858        end
    59        
     59
    6060        if exist(options,'arrowlength'),
    6161                d=arrowlength;
     
    6363                d=abs((distance*angle)*ratio);
    6464        end
    65        
     65
    6666        %G is d distance from middle of E and F:
    6767        G=(E+F)/2+d*m;
  • issm/trunk/src/m/plot/plot_gridded.m

    r14310 r15396  
    5353
    5454%shading interp;
    55 h=imagesc(xlim,ylim,data_grid);set(gca,'YDir','normal');
     55if exist(options,'forcecolormap'),
     56        image_rgb = ind2rgb(uint16((data_grid - data_min)*(length(map)/(data_max-data_min))),map);
     57        h=imagesc(xlim,ylim,image_rgb);
     58else
     59        h=imagesc(xlim,ylim,data_grid);
     60end
     61axis xy
    5662
    5763%last step: mesh gridded?
  • issm/trunk/src/m/plot/plot_manager.m

    r13975 r15396  
    157157
    158158%Figure out if this is a semi-transparent plot.
     159if exist(options,'googlemaps'),
     160        plot_googlemaps(md,data,options,nlines,ncols,i);
     161        return;
     162end
     163
     164%Figure out if this is a semi-transparent plot.
    159165if exist(options,'gridded'),
    160166        plot_gridded(md,data,options,nlines,ncols,i);
     
    179185
    180186%standard plot:
    181 subplot(nlines,ncols,i);
     187if exist(options,'asymsubplot')
     188        id=getfieldvalue(options,'asymsubplot',i);
     189        subplot(nlines,ncols,id);
     190else
     191        subplot(nlines,ncols,i);
     192end
    182193
    183194%plot unit
  • issm/trunk/src/m/plot/plot_streamlines.m

    r13395 r15396  
    1818%initialize flowpath
    1919streamlines=getfieldvalue(options,'streamlines');
     20edgecolor=getfieldvalue(options,'streamlines_color','y');
    2021if ischar(streamlines) & strcmpi(streamlines,'on');
    2122        streamlines=60;
     
    3839hold on
    3940for i=1:length(flowpath)
    40         patch('Xdata',[flowpath(i).x;NaN],'Ydata',[flowpath(i).y;NaN],'facecolor','none','edgecolor','y');
     41        patch('Xdata',[flowpath(i).x;NaN],'Ydata',[flowpath(i).y;NaN],'facecolor','none','edgecolor',edgecolor);
    4142end
  • issm/trunk/src/m/plot/plot_transient_movie.m

    r13975 r15396  
    6565function apply_options_movie(md,options,titlestring)
    6666        %apply options
    67         options=addfielddefault(options,'title',titlestring);
     67        options=changefieldvalue(options,'title',titlestring);
    6868        options=addfielddefault(options,'colorbar',1);
    6969        applyoptions(md,[],options);
  • issm/trunk/src/m/plot/plotdoc.m

    r13395 r15396  
    115115disp('       ''expdisp'': plot exp file on top of a data plot. provide exp file as an argument (use a cell of strings if more than one)');
    116116disp('       ''expstyle'': marker style for expdisp plot (use a cell of strings if more than one)');
    117 disp('       ''linewidth'': line width for expdisp plot');
     117disp('       ''linewidth'': line width for expdisp plot (use a cell of strings if more than one)');
    118118disp('       ''border'': size of display border (in pixels). active only for overlay plots');
    119119disp('       ''text'': print string, use a cell of strings if more than one');
  • issm/trunk/src/m/plot/plotmodel.m

    r14310 r15396  
    88subplotwidth=ceil(sqrt(options.numberofplots));
    99
     10%Get figure number and number of plots
     11figurenumber=options.figurenumber;
     12numberofplots=options.numberofplots;
     13
    1014%if nlines and ncols specified, then bypass.
    1115if exist(options.list{1},'nlines'),
    1216        nlines=getfieldvalue(options.list{1},'nlines');
    1317else
    14         nlines=subplotwidth;
     18        nlines=ceil(numberofplots/subplotwidth);
    1519end
    1620
     
    2529        error('plotmodel error message: nlines and ncols  need to be specified together, or not at all');
    2630end
    27 
    28 %Get figure number and number of plots
    29 figurenumber=options.figurenumber;
    30 numberofplots=options.numberofplots;
    3131
    3232%go through subplots
  • issm/trunk/src/m/plot/scaleruler.m

    r13395 r15396  
    66
    77%get options
    8 structure=getfieldvalue(options,'scaleruler');
    9 fontsize=getfieldvalue(options,'scaleruler_fontsize',16);
     8structure  = getfieldvalue(options,'scaleruler');
     9fontcolor  = getfieldvalue(options,'fontcolor','k');
     10fontweight = getfieldvalue(options,'fontweight','n');
     11fontsize   = getfieldvalue(options,'scaleruler_fontsize',16);
    1012
    1113%Go through structure and fill missing arguments
     
    1416end
    1517
    16 %retrieve north arrow parameters
    17 x0=structure(1);
    18 y0=structure(2);
    19 lengthscale=structure(3);
    20 widthscale=structure(4);
    21 numberofticks=structure(5);
     18%retrieve scale parameters
     19x0            = structure(1);
     20y0            = structure(2);
     21lengthscale   = structure(3);
     22widthscale    = structure(4);
     23numberofticks = structure(5);
    2224
    23 %initialize some coordinates
    24 unitlength=lengthscale/(numberofticks -1);
    25 flag=-1;
     25%If only one tick, just draw a rectangle
     26if numberofticks==1,
     27        text(x0+lengthscale/2,y0+2*widthscale,2,[num2str(lengthscale/1000) 'km'],...
     28                'FontSize',fontsize,'FontWeight',fontweight,'Color',fontcolor,'HorizontalAlignment','center','VerticalAlignment','baseline');
     29        patch([x0 x0+lengthscale x0+lengthscale x0],[y0 y0 y0+widthscale y0+widthscale],2*ones(1,4),fontcolor,'Edgecolor',fontcolor);
     30else
     31        %initialize some coordinates
     32        unitlength=lengthscale/(numberofticks -1);
     33        flag=-1;
    2634
    27 Bd=[x0 y0];
    28 Bu=[x0 y0+widthscale];
    29 Tick=0;
    30 
    31 %Text
    32 xt=Bu(1);
    33 yt=Bu(2)+widthscale;
    34 text(xt,yt,num2str(Tick),'FontSize',fontsize,'FontWeight','n','HorizontalAlignment','left','VerticalAlignment','baseline');
    35 
    36 %loope over the patches
    37 for i=1:numberofticks-1,
    38         Au=Bu;
    39         Ad=Bd;
    40         Bu=[Au(1)+unitlength Ad(2)+widthscale];
    41         Bd=[Ad(1)+unitlength Ad(2)];
    42         Tick=Tick+unitlength;
    43 
    44         %pathes
    45         if flag==-1
    46                 p=patch([Ad(1) Bd(1) Bu(1) Au(1)],[Ad(2) Bd(2) Bu(2) Au(2)],'Black','FaceAlpha',0.5);
    47         else
    48                 p=patch([Ad(1) Bd(1) Bu(1) Au(1)],[Ad(2) Bd(2) Bu(2) Au(2)],'White','FaceAlpha',0.3);
    49         end
    50 
    51         %flip flag
    52         flag=-flag;
     35        Bd=[x0 y0];
     36        Bu=[x0 y0+widthscale];
     37        Tick=0;
    5338
    5439        %Text
    5540        xt=Bu(1);
    5641        yt=Bu(2)+widthscale;
    57         if i~=numberofticks-1,
    58                 text(xt,yt,num2str(round_ice(Tick/1000,3)),'FontSize',fontsize,'FontWeight','n','HorizontalAlignment','left','VerticalAlignment','baseline');
     42        text(xt,yt,2,num2str(Tick),'FontSize',fontsize,'FontWeight',fontweight,'Color',fontcolor,'HorizontalAlignment','center','VerticalAlignment','baseline');
     43
     44        %loope over the patches
     45        for i=1:numberofticks-1,
     46                Au=Bu;
     47                Ad=Bd;
     48                Bu=[Au(1)+unitlength Ad(2)+widthscale];
     49                Bd=[Ad(1)+unitlength Ad(2)];
     50                Tick=Tick+unitlength;
     51
     52                %pathes
     53                if flag==-1
     54                        p=patch([Ad(1) Bd(1) Bu(1) Au(1)],[Ad(2) Bd(2) Bu(2) Au(2)],2*ones(1,4),'Black');
     55                else
     56                        p=patch([Ad(1) Bd(1) Bu(1) Au(1)],[Ad(2) Bd(2) Bu(2) Au(2)],2*ones(1,4),'White');
     57                end
     58
     59                %flip flag
     60                flag=-flag;
     61
     62                %Text
     63                xt=Bu(1);
     64                yt=Bu(2)+widthscale;
     65                if i~=numberofticks-1,
     66                        text(xt,yt,2,num2str(round_ice(Tick/1000,3)),'FontSize',fontsize,'FontWeight',fontweight,'Color',fontcolor,'HorizontalAlignment','center','VerticalAlignment','baseline');
     67                end
    5968        end
     69        text(xt,yt,2,num2str(round_ice(Tick/1000,3)),'FontSize',fontsize,'FontWeight',fontweight,'Color',fontcolor,'HorizontalAlignment','center','VerticalAlignment','baseline');
     70        % add leading spaces depending on length of label string
     71        str=' km';
     72        for i=1:numel(num2str(round_ice(Tick/1000,3))),
     73                str=[' ' str];
     74        end
     75        text(xt,yt,2,str,'FontSize',fontsize,'FontWeight',fontweight,'Color',fontcolor,'HorizontalAlignment','left','VerticalAlignment','baseline');
    6076end
    61 text(xt,yt,[num2str(round_ice(Tick/1000,3)) ' km'],'FontSize',fontsize,'FontWeight','n','HorizontalAlignment','left','VerticalAlignment','baseline');
  • issm/trunk/src/m/plot/subplotmodel.m

    r13975 r15396  
    77%Regular subplot
    88if ~exist(options,'tightsubplot')
    9         subplot(nlines,ncols,num);
    10         return;
     9        if exist(options,'asymsubplot')
     10                id=getfieldvalue(options,'asymsubplot',num);
     11                subplot(nlines,ncols,id);
     12                return
     13        else
     14                subplot(nlines,ncols,num);
     15                return;
     16        end
    1117end
    1218
  • issm/trunk/src/m/solve/WriteData.m

    r13975 r15396  
    2424format  = getfieldvalue(options,'format');
    2525mattype = getfieldvalue(options,'mattype',0);    %only required for matrices
     26forcinglength = getfieldvalue(options,'forcinglength',-1);
    2627
    2728%Process sparse matrices
    2829if issparse(data),
    2930        data=full(data);
     31end
     32
     33%Scale data if necesarry
     34if exist(options,'scale'),
     35        scale = getfieldvalue(options,'scale');
     36        if size(data,1)==forcinglength,
     37                data(1:end-1,:) = scale.*data(1:end-1,:);
     38        else
     39                data  = scale.*data;
     40        end
    3041end
    3142
  • issm/trunk/src/m/solve/WriteData.py

    r14067 r15396  
    3535        format  = options.getfieldvalue('format')
    3636        mattype = options.getfieldvalue('mattype',0)    #only required for matrices
     37        forcinglength = options.getfieldvalue('forcinglength',-1)
    3738
    3839        #Process sparse matrices
     
    4041#               data=full(data);
    4142#       end
     43
     44        #Scale data if necesarry
     45        if options.exist('scale'):
     46                scale = options.getfieldvalue('scale')
     47                if numpy.size(data) > 1 :
     48                        if numpy.size(data,0)==forcinglength:
     49                                data=numpy.array(data)
     50                                data[0:-1,:] = scale*data[0:-1,:]
     51                        else:
     52                                data  = scale*data
     53                else:
     54                        data  = scale*data
    4255
    4356        #Step 1: write the enum to identify this record uniquely
  • issm/trunk/src/m/solve/loadresultsfromcluster.m

    r13395 r15396  
    5151        else
    5252                delete([md.miscellaneous.name '.bin']);
    53                 delete([md.miscellaneous.name '.petsc']);
     53                delete([md.miscellaneous.name '.toolkits']);
    5454                if ~ispc(),
    5555                        delete([md.miscellaneous.name '.queue']);
  • issm/trunk/src/m/solve/loadresultsfromcluster.py

    r13395 r15396  
    5252                else:
    5353                        os.remove(md.miscellaneous.name+'.bin')
    54                         os.remove(md.miscellaneous.name+'.petsc')
     54                        os.remove(md.miscellaneous.name+'.toolkits')
    5555                        if not ispc():
    5656                                os.remove(md.miscellaneous.name+'.queue')
  • issm/trunk/src/m/solve/marshall.m

    r13975 r15396  
    2525
    2626        %Some properties do not need to be marshalled
    27         if ismember(field,{'results' 'radaroverlay' 'solver' 'cluster'  'flaim' 'private'}),
     27        if ismember(field,{'results' 'radaroverlay' 'toolkits' 'cluster'  'flaim' 'private'}),
    2828                continue;
    2929        end
     
    3636        %Marshall current object
    3737        %disp(['marshalling ' field '...']);
    38         marshall(md.(field),fid);
     38        marshall(md.(field),md,fid);
    3939end
    4040
  • issm/trunk/src/m/solve/marshall.py

    r13395 r15396  
    3131
    3232                #Some properties do not need to be marshalled
    33                 if field in ['results','radaroverlay','solver','cluster','flaim','private']:
     33                if field in ['results','radaroverlay','toolkits','cluster','flaim','private']:
    3434                        continue
    3535
     
    4040                #Marshall current object
    4141                #print "marshalling %s ..." % field
    42                 exec("md.%s.marshall(fid)" % field)
     42                exec("md.%s.marshall(md,fid)" % field)
    4343
    4444        #close file
  • issm/trunk/src/m/solve/parseresultsfromdisk.m

    r13975 r15396  
    4242
    4343        %read next result
    44         result=ReadData(fid);
     44        try,
     45                result=ReadData(fid);
     46        catch me,
     47                disp('WARNING: file corrupted, results partial recovery');
     48                result=[];
     49        end
    4550
    4651end
     
    124129
    125130        %read next result
    126         result=ReadData(fid);
     131        try,
     132                result=ReadData(fid);
     133        catch me,
     134                disp('WARNING: file corrupted, results partial recovery');
     135                result=[];
     136        end
    127137
    128138end
     
    163173        end
    164174
     175        %Process units here FIXME: this should not be done here!
     176        yts=365.0*24.0*3600.0;
     177        if strcmp(fieldname,'BalancethicknessThickeningRate'),
     178                field = field*yts;
     179        elseif strcmp(fieldname,'Time'),
     180                field = field/yts;
     181        elseif strcmp(fieldname,'HydrologyWaterVx'),
     182                field = field*yts;
     183        elseif strcmp(fieldname,'HydrologyWaterVy'),
     184                field = field*yts;
     185        elseif strcmp(fieldname,'Vx'),
     186                field = field*yts;
     187        elseif strcmp(fieldname,'Vy'),
     188                field = field*yts;
     189        elseif strcmp(fieldname,'Vz'),
     190                field = field*yts;
     191        elseif strcmp(fieldname,'Vel'),
     192                field = field*yts;
     193        elseif strcmp(fieldname,'BasalforcingsMeltingRate'),
     194                field = field*yts;
     195        elseif strcmp(fieldname,'TotalSmb'),
     196                field = field/10.^12*yts; %(GigaTon/year)
     197        elseif strcmp(fieldname,'SurfaceforcingsMassBalance'),
     198                field = field*yts;
     199        end
     200
    165201        result.fieldname=fieldname;
    166202        result.time=time;
    167203        result.step=step;
    168204        result.field=field;
     205
    169206end
    170207% }}}
  • issm/trunk/src/m/solve/parseresultsfromdisk.py

    r14310 r15396  
    6666        return results
    6767        # }}}
    68 
    6968def parseresultsfromdiskiosplit(filename):    # {{{
    7069        """
     
    155154        return results
    156155        # }}}
    157 
    158156def ReadData(fid):    # {{{
    159157        """
     
    187185                        raise TypeError("cannot read data of type %d" % type)
    188186
     187                #Process units here FIXME: this should not be done here!
     188                yts=365.0*24.0*3600.0
     189                if strcmp(fieldname,'BalancethicknessThickeningRate'):
     190                        field = field*yts
     191                elif strcmp(fieldname,'Time'):
     192                        field = field/yts
     193                elif strcmp(fieldname,'HydrologyWaterVx'):
     194                        field = field*yts
     195                elif strcmp(fieldname,'HydrologyWaterVy'):
     196                        field = field*yts
     197                elif strcmp(fieldname,'Vx'):
     198                        field = field*yts
     199                elif strcmp(fieldname,'Vy'):
     200                        field = field*yts
     201                elif strcmp(fieldname,'Vz'):
     202                        field = field*yts
     203                elif strcmp(fieldname,'Vel'):
     204                        field = field*yts
     205                elif strcmp(fieldname,'BasalforcingsMeltingRate'):
     206                        field = field*yts
     207                elif strcmp(fieldname,'TotalSmb'):
     208                        field = field/10.**12.*yts #(GigaTon/year)
     209                elif strcmp(fieldname,'SurfaceforcingsMassBalance'):
     210                        field = field*yts
     211
    189212                result=OrderedDict()
    190213                result['fieldname']=fieldname
     
    198221        return result
    199222        # }}}
    200 
    201223def ReadDataDimensions(fid):    # {{{
    202224        """
     
    240262        return result
    241263        # }}}
    242 
  • issm/trunk/src/m/solve/process_solve_options.m

    r14310 r15396  
    1111if ~ismember(solution_type,[DiagnosticSolutionEnum(),PrognosticSolutionEnum(),ThermalSolutionEnum(),...
    1212                SteadystateSolutionEnum(),TransientSolutionEnum(),EnthalpySolutionEnum(),...
    13                 BalancethicknessSolutionEnum(),WeakBalancethicknessSolutionEnum(),BedSlopeSolutionEnum(),...
    14                 SurfaceSlopeSolutionEnum(),HydrologySolutionEnum(),FlaimSolutionEnum()]),
     13                BalancethicknessSolutionEnum(),BalancethicknessSoftSolutionEnum(),BedSlopeSolutionEnum(),...
     14                SurfaceSlopeSolutionEnum(),HydrologySolutionEnum(),FlaimSolutionEnum(),GiaSolutionEnum()]),
    1515        error(['process_solve_options error message: solution_type ' EnumToString(solution_type) ' not supported yet!']);
    1616end
  • issm/trunk/src/m/solve/process_solve_options.py

    r13395 r15396  
    2020        if solution_type not in (DiagnosticSolutionEnum(),PrognosticSolutionEnum(),ThermalSolutionEnum(),\
    2121                        SteadystateSolutionEnum(),TransientSolutionEnum(),EnthalpySolutionEnum(),\
    22                         BalancethicknessSolutionEnum(),BedSlopeSolutionEnum(),SurfaceSlopeSolutionEnum(),HydrologySolutionEnum(),FlaimSolutionEnum()):
     22                        BalancethicknessSolutionEnum(),BedSlopeSolutionEnum(),SurfaceSlopeSolutionEnum(),\
     23                        HydrologySolutionEnum(),FlaimSolutionEnum(),GiaSolutionEnum()):
    2324                raise ValueError("process_solve_options error message: solution_type '%s' not supported yet!" % EnumToString(solution_type)[0])
    2425        outoptions['solution_type']=solution_type
  • issm/trunk/src/m/solve/solve.m

    r13975 r15396  
    6868end
    6969
    70 %we need to make sure we have PETSC support, otherwise, we run with only one cpu:
    71 if ~ispetsc(),
    72         disp('PETSc support not included, running on 1 cpu only!');
    73         cluster.np=1;
    74 end
    75 
    7670%Write all input files
    7771marshall(md);                                          % bin file
    78 PetscFile(md.solver,[md.miscellaneous.name '.petsc']); % petsc file
     72ToolkitsFile(md.toolkits,[md.miscellaneous.name '.toolkits']); % toolkits file
    7973BuildQueueScript(cluster,md.private.runtimename,md.miscellaneous.name,md.private.solution,md.settings.io_gather,md.debug.valgrind,md.debug.gprof); % queue file
    8074
     
    8882%Launch job
    8983modelname = md.miscellaneous.name;
    90 filelist  = {[modelname '.bin '] [modelname '.petsc '] [modelname '.queue ']};
     84filelist  = {[modelname '.bin '] [modelname '.toolkits ']};
     85if ispc,
     86        filelist{end+1}=[modelname '.bat '];
     87else
     88        filelist{end+1}=[modelname '.queue '];
     89end
     90
    9191if md.qmu.isdakota,
    9292        filelist{end+1} = [modelname '.qmu.in'];
     
    101101
    102102%wait on lock
    103 if md.settings.waitonlock>0,
    104         %we wait for the done file
    105         islock=waitonlock(md);
    106         if islock==0, %no results to be loaded
    107                 disp('The results must be loaded manually with md=loadresultsfromcluster(md).');
    108         else          %load results
    109                 disp('loading results from cluster');
     103if isnan(md.settings.waitonlock),
     104        %load when user enters 'y'
     105        disp('solution launched on remote cluster. log in to detect job completion.');
     106        choice=input('Is the job successfully completed? (y/n)','s');
     107        if ~strcmp(choice,'y'),
     108                disp('Results not loaded... exiting');
     109        else
    110110                md=loadresultsfromcluster(md);
    111111        end
     112elseif md.settings.waitonlock>0,
     113        %we wait for the done file
     114        done=waitonlock(md);
     115        disp('loading results from cluster');
     116        md=loadresultsfromcluster(md);
     117elseif md.settings.waitonlock==0,
     118         disp('Model results must be loaded manually with md=loadresultsfromcluster(md);');
    112119end
    113120
  • issm/trunk/src/m/solve/solve.py

    r13395 r15396  
    8080        #Write all input files
    8181        marshall(md)                                           # bin file
    82         md.solver.PetscFile(md.miscellaneous.name+'.petsc')    # petsc file
     82        md.toolkits.ToolkitsFile(md.miscellaneous.name+'.toolkits')    # toolkits file
    8383        cluster.BuildQueueScript(md.private.runtimename,md.miscellaneous.name,md.private.solution,md.settings.io_gather,md.debug.valgrind,md.debug.gprof)    # queue file
    84 
    85         #we need to make sure we have PETSC support, otherwise, we run with only one cpu:
    86         if not ispetsc():
    87                 print "PETSC support not included, running on 1 cpu only!"
    88                 cluster.np=1
    8984
    9085        #Stop here if batch mode
     
    9691        #Launch job
    9792        modelname = md.miscellaneous.name
    98         filelist  = [modelname+'.bin ',modelname+'.petsc ',modelname+'.queue ']
     93        filelist  = [modelname+'.bin ',modelname+'.toolkits ',modelname+'.queue ']
    9994        if md.qmu.isdakota:
    10095                filelist.append(modelname+'.qmu.in')
  • issm/trunk/src/m/solve/waitonlock.m

    r13975 r15396  
    1 function flag=waitonlock(md)
     1function ispresent=waitonlock(md)
    22%WAITONLOCK - wait for a file
    33%
    4 %   This routine will return when a file named 'filename' is written to disk.
     4%   This routine will return when a file named 'lockfilename' is written to disk.
     5%   Also check for outlog file be cause it might bewritten several seconds
     6%   after the lock file.
    57%   If the time limit given in input is exceeded, return 0
    68%
     
    810%      flag=waitonlock(md)
    911
    10 %Get filename (lock file) and options
    11 executionpath=md.cluster.executionpath;
    12 cluster=md.cluster.name;
    13 login=md.cluster.login;
    14 if isprop(md.cluster,'port')
    15         port=md.cluster.port;
     12%Return if waitonlock < 0 (no need to wait)
     13
     14%Get lockfilename (lock file) and options
     15executionpath = md.cluster.executionpath;
     16timelimit     = md.settings.waitonlock;
     17cluster       = md.cluster;
     18lockfilename  = [executionpath '/' md.private.runtimename '/' md.miscellaneous.name '.lock'];
     19logfilename   = [executionpath '/' md.private.runtimename '/' md.miscellaneous.name '.outlog'];
     20
     21%If we are using the generic cluster in interactive mode, job is already complete
     22if isa(cluster,'generic') & cluster.interactive
     23        %We are in interactive mode, no need to check for job completion
     24        ispresent=1;
     25        return;
    1626end
    17 timelimit=md.settings.waitonlock;
    18 filename=[executionpath '/' md.private.runtimename '/' md.miscellaneous.name '.lock'];
    1927
    20 %waitonlock will work if the lock is on the same machine only:
    21 if ~strcmpi(oshostname(),cluster),
     28%initialize time and file presence test flag
     29time=0; ispresent=0; time0=clock;
     30disp(['waiting for ' lockfilename ' hold on... (Ctrl+C to exit)'])
    2231
    23         disp('solution launched on remote cluster. log in to detect job completion.');
    24         choice=input('Is the job successfully completed? (y/n)','s');
    25         if ~strcmp(choice,'y'),
    26                 disp('Results not loaded... exiting');
    27                 flag=0;
     32%prepare command if the job is not running on the local machine
     33if ~strcmpi(oshostname(),cluster.name),
     34        login = cluster.login;
     35        port  = 0;
     36        if isprop(cluster,'port')
     37                port = cluster.port;
     38        end
     39        if port,
     40                command = ['ssh -l ' login ' -p ' num2str(port) ' localhost "[ -f ' lockfilename ' ] && [ -f ' logfilename ' ]" 2>/dev/null'];
    2841        else
    29                 flag=1;
    30         end
    31 
    32 %job is running on the same machine
    33 else
    34 
    35         if ismember('interactive',properties(md.cluster)) & md.cluster.interactive
    36                 %We are in interactive mode, no need to check for job completion
    37                 flag=1;
    38                 return;
    39         end
    40         %initialize time and file presence test flag
    41         time=0; ispresent=0;
    42         disp(['waiting for ' filename ' hold on... (Ctrl+C to exit)'])
    43 
    44         %loop till file .lock exist or time is up
    45         while (ispresent==0 & time<timelimit)
    46                 ispresent=exist(filename,'file');
    47                 pause(1);
    48                 time=time+1/60;
    49         end
    50 
    51         %build output
    52         if (time>timelimit),
    53                 disp('Time limit exceeded. Increase md.settings.waitonlock');
    54                 disp('The results must be loaded manually with md=loadresultsfromcluster(md).');
    55                 error(['waitonlock error message: time limit exceeded']);
    56                 flag=0;
    57         else
    58                 flag=1;
     42                command = ['ssh -l ' login ' ' cluster.name ' "[ -f ' lockfilename ' ] && [ -f ' logfilename ' ]" 2>/dev/null'];
    5943        end
    6044end
     45
     46%loop till file .lock exist or time is up
     47while (ispresent==0 & time<timelimit)
     48        if strcmpi(oshostname(),cluster.name),
     49                pause(1);
     50                ispresent=(exist(lockfilename,'file') & exist(logfilename,'file'));
     51                time=etime(clock,time0)/60;
     52        else
     53                pause(10);
     54                time=etime(clock,time0);
     55                fprintf('\rchecking for job completion (time: %i min %i sec)      ',floor(time/60),floor(rem(time,60)));
     56                time=time/60; %converts time from sec to min
     57                ispresent=~system(command);
     58                if ispresent, fprintf('\n'); end
     59        end
     60end
     61
     62%build output
     63if (time>timelimit),
     64        disp('Time limit exceeded. Increase md.settings.waitonlock');
     65        disp('The results must be loaded manually with md=loadresultsfromcluster(md).');
     66        error(['waitonlock error message: time limit exceeded']);
     67end
  • issm/trunk/src/m/solvers/asmoptions.m

    r13975 r15396  
    1010
    1111%default asm options
     12asm.toolkit='petsc';
    1213asm.mat_type=getfieldvalue(options,'mat_type','aij');
    1314asm.ksp_type=getfieldvalue(options,'ksp_type','gmres');
  • issm/trunk/src/m/solvers/asmoptions.py

    r13395 r15396  
    1212        arguments=pairoptions(*args)
    1313       
    14         options=[['mat_type','aij'],['ksp_type','gmres'],['pc_type','asm'],['sub_pc_type','lu'],['pc_asm_overlap',3],['ksp_max_it',100],['ksp_rtol',1e-30]];
     14        options=[['toolkit','petsc'],['mat_type','aij'],['ksp_type','gmres'],['pc_type','asm'],['sub_pc_type','lu'],['pc_asm_overlap',3],['ksp_max_it',100],['ksp_rtol',1e-30]];
    1515
    1616        #now, go through our arguments, and write over default options.
  • issm/trunk/src/m/solvers/iluasmoptions.m

    r13975 r15396  
    1010
    1111%default iluasm options
     12iluasm.toolkit='petsc';
    1213iluasm.mat_type=getfieldvalue(options,'mat_type','aij');
    1314iluasm.ksp_type=getfieldvalue(options,'ksp_type','gmres');
  • issm/trunk/src/m/solvers/iluasmoptions.py

    r13395 r15396  
    1515
    1616        #default iluasm options
     17        iluasm['toolkit']='petsc'
    1718        iluasm['mat_type']=options.getfieldvalue('mat_type','aij')
    1819        iluasm['ksp_type']=options.getfieldvalue('ksp_type','gmres')
  • issm/trunk/src/m/solvers/jacobiasmoptions.m

    r13975 r15396  
    1010
    1111%default jacobiasm options
     12jacobiasm.toolkit='petsc';
    1213jacobiasm.mat_type=getfieldvalue(options,'mat_type','aij');
    1314jacobiasm.ksp_type=getfieldvalue(options,'ksp_type','gmres');
  • issm/trunk/src/m/solvers/jacobiasmoptions.py

    r13395 r15396  
    1212        arguments=pairoptions(*args)
    1313       
    14         options=[['mat_type','aij'],['ksp_type','gmres'],['pc_type','asm'],['sub_pc_type','jacobi'],['pc_asm_overlap',3],['ksp_max_it',100],['ksp_rtol',1e-15]];
     14        options=[['toolkit','petsc'],['mat_type','aij'],['ksp_type','gmres'],['pc_type','asm'],['sub_pc_type','jacobi'],['pc_asm_overlap',3],['ksp_max_it',100],['ksp_rtol',1e-15]];
    1515
    1616        #now, go through our arguments, and write over default options.
  • issm/trunk/src/m/solvers/jacobicgoptions.m

    r13975 r15396  
    1010
    1111%default jacobiasm options
     12jacobicg.toolkit='petsc';
    1213jacobicg.mat_type=getfieldvalue(options,'mat_type','aij');
    1314jacobicg.ksp_type=getfieldvalue(options,'ksp_type','cg');
  • issm/trunk/src/m/solvers/jacobicgoptions.py

    r13395 r15396  
    1212        arguments=pairoptions(*args)
    1313       
    14         options=[['mat_type','aij'],['ksp_type','cg'],['ksp_max_it',100],['ksp_rtol',1e-15]];
     14        options=[['toolkit','petsc'],['mat_type','aij'],['ksp_type','cg'],['ksp_max_it',100],['ksp_rtol',1e-15]];
    1515
    1616        #now, go through our arguments, and write over default options.
  • issm/trunk/src/m/solvers/matlaboptions.m

    r13975 r15396  
    1010
    1111%default matlab options
     12maltab.toolkit='petsc';
    1213maltab.ksp_type='matlab';
  • issm/trunk/src/m/solvers/matlaboptions.py

    r13395 r15396  
    1212        arguments=pairoptions(*args)
    1313       
    14         options=[['ksp_type','matlab']];
     14        options=[['toolkit','petsc'],['ksp_type','matlab']];
    1515
    1616        #now, go through our arguments, and write over default options.
  • issm/trunk/src/m/solvers/mumpsoptions.m

    r13395 r15396  
    1212PETSC_VERSION=petscversion();
    1313if PETSC_VERSION==2,
     14        mumps.toolkit='petsc';
    1415        mumps.mat_type=getfieldvalue(options,'mat_type','aijmumps');
    1516        mumps.ksp_type=getfieldvalue(options,'ksp_type','preonly');
     
    1920end
    2021if PETSC_VERSION==3,
     22        mumps.toolkit='petsc';
    2123        mumps.mat_type=getfieldvalue(options,'mat_type','mpiaij');
    2224        mumps.ksp_type=getfieldvalue(options,'ksp_type','preonly');
  • issm/trunk/src/m/solvers/mumpsoptions.py

    r13395 r15396  
    1818        PETSC_VERSION=petscversion()
    1919        if PETSC_VERSION==2:
     20                mumps['toolkit']='petsc'
    2021                mumps['mat_type']=options.getfieldvalue('mat_type','aijmumps')
    2122                mumps['ksp_type']=options.getfieldvalue('ksp_type','preonly')
     
    2425                mumps['pc_factor_shift_positive_definite']=options.getfieldvalue('pc_factor_shift_positive_definite','true')
    2526        if PETSC_VERSION==3:
     27                mumps['toolkit']='petsc'
    2628                mumps['mat_type']=options.getfieldvalue('mat_type','mpiaij')
    2729                mumps['ksp_type']=options.getfieldvalue('ksp_type','preonly')
  • issm/trunk/src/m/solvers/soroptions.m

    r13975 r15396  
    1010
    1111%default sor options
     12sor.toolkit='petsc';
    1213sor.mat_type=getfieldvalue(options,'mat_type','aij');
    1314sor.ksp_type=getfieldvalue(options,'ksp_type','cg');
  • issm/trunk/src/m/solvers/soroptions.py

    r13395 r15396  
    1212        arguments=pairoptions(*args)
    1313       
    14         options=[['mat_type','aij'],['ksp_type','cg'],['pc_type','sor'],['pc_sor_omega',1.1],['pc_sor_its',2]];
     14        options=[['toolkit','petsc'],['mat_type','aij'],['ksp_type','cg'],['pc_type','sor'],['pc_sor_omega',1.1],['pc_sor_its',2]];
    1515
    1616        #now, go through our arguments, and write over default options.
  • issm/trunk/src/m/solvers/stokesoptions.m

    r13395 r15396  
    1515end
    1616if PETSC_VERSION==3,
     17        stokes.toolkit='petsc';
    1718        stokes.mat_type=getfieldvalue(options,'mat_type','mpiaij');
    1819        stokes.ksp_max_it=getfieldvalue(options,'ksp_max_it',1000);
  • issm/trunk/src/m/solvers/stokesoptions.py

    r13395 r15396  
    1919                raise RuntimeError('stokesoptions error message: multi-physics options not supported in Petsc 2')
    2020        if PETSC_VERSION==3:
    21                 options=[['mat_type','mpiaij'],['ksp_max_it',1000],['ksp_type','gmres'],['pc_type','fieldsplit'],['pc_field_split_type','schur'],\
     21                options=[['toolkit','petsc'],['mat_type','mpiaij'],['ksp_max_it',1000],['ksp_type','gmres'],['pc_type','fieldsplit'],['pc_field_split_type','schur'],\
    2222        ['fieldsplit_0_pc_type','hypre'],['fieldsplit_0_ksp_type','gmres'],['fieldsplit_0_pc_hypre_type','boomerang'],\
    2323        ['fieldsplit_1_pc_type','jacobi'],['fieldsplit_1_ksp_type','preonly'],['issm_option_solver','stokes']]
  • issm/trunk/src/wrappers/AverageFilter/AverageFilter.cpp

    r13236 r15396  
    1313
    1414void AverageFilterUsage(void){/*{{{*/
    15         _printLine_("   AverageFilter usage:");
    16         _printLine_("   [image_out]=AverageFilter(image_in,pixels);\n");
    17         _printLine_("   where:");
    18         _printLine_("      image_in in double format");
    19         _printLine_("      pixels: characteristic size of smoothing");
    20         _printLine_("      image_out in double format");
    21         _printLine_("");
     15        _printf_("   AverageFilter usage:\n");
     16        _printf_("   [image_out]=AverageFilter(image_in,pixels)\n");
     17        _printf_("   where:\n");
     18        _printf_("      image_in in double format\n");
     19        _printf_("      pixels: characteristic size of smoothing\n");
     20        _printf_("      image_out in double format\n");
     21        _printf_("\n");
    2222}/*}}}*/
    2323WRAPPER(AverageFilter){
     
    3030        int     smooth;
    3131
    32 
    3332        /* output: */
    34         mxArray* pfield=NULL;
    3533        double* imageout=NULL;
    3634        int     imageout_rows,imageout_cols;
     
    4543        FetchData(&imagein,&imagein_rows,&imagein_cols,IMAGEIN);
    4644        FetchData(&smooth,SMOOTH);
    47        
     45
    4846        /*Run core hole filler routine: */
    4947        AverageFilterx( &imageout,imagein,imagein_rows,imagein_cols,smooth);
     
    5250        WriteData(IMAGEOUT,imageout,imagein_rows,imagein_cols);
    5351
     52        /*free ressources: */
     53        xDelete<double>(imagein);
     54        xDelete<double>(imageout);
     55
    5456        /*end module: */
    5557        MODULEEND();
  • issm/trunk/src/wrappers/AverageFilter/AverageFilter.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
  • issm/trunk/src/wrappers/BamgConvertMesh/BamgConvertMesh.cpp

    r13243 r15396  
    55
    66void BamgConvertMeshUsage(void){/*{{{*/
    7         _pprintString_("BAMGCONVERTMESH - convert [x y index] to a bamg geom and mesh geom");
    8         _pprintLine_("");
    9         _pprintLine_("   Usage:");
    10         _pprintLine_("      [bamggeom bamgmesh]=BamgConvertMesh(index,x,y);");
    11         _pprintLine_("      index: index of the mesh");
    12         _pprintLine_("      x,y: coordinates of the nodes");
    13         _pprintLine_("");
     7        _printf0_("BAMGCONVERTMESH - convert [x y index] to a bamg geom and mesh geom");
     8        _printf0_("\n");
     9        _printf0_("   Usage:\n");
     10        _printf0_("      [bamggeom bamgmesh]=BamgConvertMesh(index,x,y)\n");
     11        _printf0_("      index: index of the mesh\n");
     12        _printf0_("      x,y: coordinates of the nodes\n");
     13        _printf0_("\n");
    1414}/*}}}*/
    1515WRAPPER(BamgConvertMesh){
     
    5454
    5555        /*Clean up*/
     56        xDelete<int>(index);
     57        xDelete<double>(x);
     58        xDelete<double>(y);
    5659        delete bamggeom;
    5760        delete bamgmesh;
  • issm/trunk/src/wrappers/BamgConvertMesh/BamgConvertMesh.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    24 #include "../../c/io/io.h"
     23#include "../../c/shared/io/io.h"
    2524
    2625#undef __FUNCT__
  • issm/trunk/src/wrappers/BamgMesher/BamgMesher.cpp

    r13287 r15396  
    55
    66void BamgMesherUsage(void){/*{{{*/
    7         _pprintLine_("");
    8         _pprintLine_("   usage: [bamgmesh,bamggeom]=" << __FUNCT__ << "(bamgmesh,bamggeom,bamgoptions);");
    9         _pprintLine_("");
     7        _printf0_("\n");
     8        _printf0_("   usage: [bamgmesh,bamggeom]=" << __FUNCT__ << "(bamgmesh,bamggeom,bamgoptions)\n");
     9        _printf0_("\n");
    1010}/*}}}*/
    1111WRAPPER(BamgMesher){
    1212
    1313        /*Intermediary*/
    14         BamgOpts *bamgopts=NULL;
    15         BamgMesh *bamgmesh_in=NULL;
    16         BamgGeom *bamggeom_in=NULL;
    17         BamgMesh *bamgmesh_out=NULL;
    18         BamgGeom *bamggeom_out=NULL;
     14        BamgOpts *bamgopts     = NULL;
     15        BamgMesh *bamgmesh_in  = NULL;
     16        BamgGeom *bamggeom_in  = NULL;
     17        BamgMesh *bamgmesh_out = NULL;
     18        BamgGeom *bamggeom_out = NULL;
    1919
    2020        /*Boot module*/
  • issm/trunk/src/wrappers/BamgMesher/BamgMesher.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
  • issm/trunk/src/wrappers/BamgTriangulate/BamgTriangulate.cpp

    r13236 r15396  
    55
    66void BamgTriangulateUsage(void){/*{{{*/
    7         _pprintString_("BAMGTRIANGULATE - Delaunay Triangulation of a list of points");
    8         _pprintLine_("");
    9         _pprintLine_("   Usage:");
    10         _pprintLine_("      index=BamgTriangulate(x,y);");
    11         _pprintLine_("      index: index of the triangulation");
    12         _pprintLine_("      x,y: coordinates of the nodes");
    13         _pprintLine_("");
     7        _printf0_("BAMGTRIANGULATE - Delaunay Triangulation of a list of points");
     8        _printf0_("\n");
     9        _printf0_("   Usage:\n");
     10        _printf0_("      index=BamgTriangulate(x,y);\n");
     11        _printf0_("      index: index of the triangulation\n");
     12        _printf0_("      x,y: coordinates of the nodes\n");
     13        _printf0_("\n");
    1414}/*}}}*/
    1515WRAPPER(BamgTriangulate){
     
    2020        int     x_cols;
    2121        int     y_rows,y_cols;
    22         int nods;
     22        int     nods;
    2323
    2424        /*Output*/
     
    3636
    3737        /*Input datasets: */
    38         if (verbose) _printLine_("Fetching inputs");
     38        if (verbose) _printf_("Fetching inputs\n");
    3939        FetchData(&x,&nods,&x_cols,XHANDLE);
    4040        FetchData(&y,&y_rows,&y_cols,YHANDLE);
     
    4646
    4747        /* Run core computations: */
    48         if (verbose) _printLine_("Call core");
     48        if (verbose) _printf_("Call core\n");
    4949        BamgTriangulatex(&index,&nels,x,y,nods);
    5050
     
    5252        WriteData(INDEX,index,nels,3);
    5353
     54        /*Clean up*/
     55        xDelete<int>(index);
     56        xDelete<double>(x);
     57        xDelete<double>(y);
     58
    5459        /*end module: */
    5560        MODULEEND();
  • issm/trunk/src/wrappers/BamgTriangulate/BamgTriangulate.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
  • issm/trunk/src/wrappers/Chaco/Chaco.cpp

    r13250 r15396  
    1212
    1313void ChacoUsage(void){/*{{{*/
    14         _pprintLine_("");
    15         _pprintLine_("Usage: [assgn] = Chaco(A,vwgts,ewgts,x,y,z,options,nparts,goal);");
    16         _pprintLine_("");
     14        _printf0_("\n");
     15        _printf0_("Usage: [assgn] = Chaco(A,vwgts,ewgts,x,y,z,options,nparts,goal);\n");
     16        _printf0_("\n");
    1717}/*}}}*/
    1818WRAPPER(Chaco){
    19    
     19
    2020        int i;
    2121        int nterms;
     
    8383        nparts=xNew<int>(1); nparts[0]=npart; //weird Chacox interface ain't it?
    8484        FetchData(&goal,&nterms,GOAL_IN);
    85        
     85
    8686        /*Some debugging print: {{{*/
    8787        #ifdef _DEBUG_
    88         _printLine_("nvtxs: " << nvtxs);
    89         _printString_("options: [");
    90         for(i=0;i<10;i++)_printString_(options[i] << "|");
    91         _printLine_("]");
    92         _printLine_("start: ");
    93         for (i=0; i<nvtxs+1;i++)_printString_(start[i] << " ");
    94         _printLine_("");
    95         _printLine_("adjacency: ");
    96         for (i=0; i<mxGetNzmax(A_IN);i++)_printString_("" <<adjacency[i]<< " ");i++)
    97         _printLine_("");
    98         _printLine_("nedges: " << nedges << " " << ewgts);
    99         if(ewgts) for (i = 0; i < nedges; i++)_printString_(ewgts[i] << " ");
    100         _printLine_("");
    101         _printLine_("vwgts:");
    102         for (i = 0; i < nvtxs; i++)_printString_(vwgts[i] << " ");
    103         _printLine_("");
    104         _printLine_("nparts: " << nparts[0]);
    105         _printLine_("goal: " << goal);
     88        _printf_("nvtxs: " << nvtxs << "\n");
     89        _printf_("options: [");
     90        for(i=0;i<10;i++)_printf_(options[i] << "|");
     91        _printf_("]\n");
     92        _printf_("start: \n");
     93        for (i=0; i<nvtxs+1;i++)_printf_(start[i] << " ");
     94        _printf_("\n");
     95        _printf_("adjacency: \n");
     96        for (i=0; i<mxGetNzmax(A_IN);i++)_printf_("" <<adjacency[i]<< " ");i++)
     97        _printf_("\n");
     98        _printf_("nedges: " << nedges << " " << ewgts << "\n");
     99        if(ewgts) for (i = 0; i < nedges; i++)_printf_(ewgts[i] << " ");
     100        _printf_("\n");
     101        _printf_("vwgts:\n");
     102        for (i = 0; i < nvtxs; i++)_printf_(vwgts[i] << " ");
     103        _printf_("\n");
     104        _printf_("nparts: " << nparts[0] << "\n");
     105        _printf_("goal: " << goal << "\n");
    106106        #endif
    107107        /*}}}*/
    108        
     108
    109109        /*Allocate output: */
    110110        assignment = xNewZeroInit<short>(nvtxs);
    111        
     111
    112112    /*Call core: */
    113113        Chacox(nvtxs, start, adjacency, vwgts, ewgts, x, y, z, assignment, options, nparts, goal);
  • issm/trunk/src/wrappers/Chaco/Chaco.h

    r13749 r15396  
    1818
    1919/*headers*/
     20#include "../bindings.h" /*Should always come first to avoid python's warnings*/
    2021#include <stdio.h>
    2122#include <string.h>    /*  strcasecmp  */
    2223#include <time.h>      /*  clock,time,difftime  */
    23 #include "../../c/include/globals.h"
     24#include "../../c/main/globals.h"
    2425#include "../../c/modules/modules.h"
    25 #include "../../c/Container/Container.h"
    2626#include "../../c/shared/shared.h"
    27 #include "../bindings.h"
    2827
    2928#undef __FUNCT__
  • issm/trunk/src/wrappers/ContourToMesh/ContourToMesh.cpp

    r13447 r15396  
    33    are inside this contour.
    44*/
    5        
     5
    66#include "./ContourToMesh.h"
    77
    88void ContourToMeshUsage(void){/*{{{*/
    9         _printLine_("CONTOURTOMESH - Flag the elements or nodes inside a contour");
    10         _printLine_("");
    11         _printLine_("      Usage: ");
    12         _printLine_("         [in_nod,in_elem]=ContourToMesh(index,x,y,contourname,interptype,edgevalue)\n");
    13         _printLine_("");
    14         _printLine_("         index,x,y: mesh triangulation.");
    15         _printLine_("         contourname: name of .exp file containing the contours.");
    16         _printLine_("         interptype: string definining type of interpolation ('element', or 'node').");
    17         _printLine_("         edgevalue: integer (0, 1 or 2) defining the value associated to the nodes on the edges of the polygons.");
    18         _printLine_("         in_nod: vector of flags (0 or 1), of size nods if interptype is set to 'node' or 'element and node', ");
    19         _printLine_("            or of size 0 otherwise.");
    20         _printLine_("         in_elem: vector of flags (0 or 1), of size nel if interptype is set to 'element' or 'element and node', ");
    21         _printLine_("            or of size 0 otherwise.");
    22         _printLine_("");
    23         _printLine_("      Example: ");
    24         _printLine_("         in_nod=ContourToMesh(md.elements,md.x,md.y,'Contour.exp','node',1)");
    25         _printLine_("         in_elements=ContourToMesh(md.elements,md.x,md.y,'Contour.exp','element',0)");
    26         _printLine_("         [in_nodes,in_elements]=ContourToMesh(md.elements,md.x,md.y,'Contour.exp','element and node',0)");
    27         _printLine_("");
     9        _printf_("CONTOURTOMESH - Flag the elements or nodes inside a contour\n");
     10        _printf_("\n");
     11        _printf_("      Usage: \n");
     12        _printf_("         [in_nod,in_elem]=ContourToMesh(index,x,y,contourname,interptype,edgevalue)\n");
     13        _printf_("\n");
     14        _printf_("         index,x,y: mesh triangulation.\n");
     15        _printf_("         contourname: name of .exp file containing the contours.\n");
     16        _printf_("         interptype: string definining type of interpolation ('element', or 'node').\n");
     17        _printf_("         edgevalue: integer (0, 1 or 2) defining the value associated to the nodes on the edges of the polygons.\n");
     18        _printf_("         in_nod: vector of flags (0 or 1), of size nods if interptype is set to 'node' or 'element and node', \n");
     19        _printf_("            or of size 0 otherwise.\n");
     20        _printf_("         in_elem: vector of flags (0 or 1), of size nel if interptype is set to 'element' or 'element and node', \n");
     21        _printf_("            or of size 0 otherwise.\n");
     22        _printf_("\n");
     23        _printf_("      Example: \n");
     24        _printf_("         in_nod=ContourToMesh(md.elements,md.x,md.y,'Contour.exp','node',1)\n");
     25        _printf_("         in_elements=ContourToMesh(md.elements,md.x,md.y,'Contour.exp','element',0)\n");
     26        _printf_("         [in_nodes,in_elements]=ContourToMesh(md.elements,md.x,md.y,'Contour.exp','element and node',0)\n");
     27        _printf_("\n");
    2828}/*}}}*/
    2929WRAPPER(ContourToMesh){
    3030
    3131        /* required input: */
    32         int      edgevalue;
    33         double  *index       = NULL;
    34         int      nel;
    35         double  *x           = NULL;
    36         int      nods;
    37         double  *y           = NULL;
    38         char    *interptype  = NULL;
    39         DataSet *contours    = NULL;
     32        int       edgevalue;
     33        int       nel,nods;
     34        double   *index       = NULL;
     35        double   *x           = NULL;
     36        double   *y           = NULL;
     37        char     *interptype  = NULL;
     38        Contours *contours    = NULL;
    4039
    4140        /* output: */
    42         SeqVec<double> *in_nod  = NULL;
    43         SeqVec<double> *in_elem = NULL;
     41        double *in_nod  = NULL;
     42        double *in_elem = NULL;
    4443
    4544        /*Boot module: */
     
    7271        /* output: */
    7372        if (strcmp(interptype,"node")==0){
    74                 WriteData(PLHS0,in_nod);
     73                WriteData(PLHS0,in_nod,nods);
    7574                WriteData(PLHS1);
    7675        }
    7776        else if (strcmp(interptype,"element")==0){
    78                 WriteData(PLHS0,in_elem);
     77                WriteData(PLHS0,in_elem,nel);
    7978                WriteData(PLHS1);
    8079        }
    8180        else if (strcmp(interptype,"element and node")==0){
    82                 WriteData(PLHS0,in_nod);
    83                 WriteData(PLHS1,in_elem);
     81                WriteData(PLHS0,in_nod,nods);
     82                WriteData(PLHS1,in_elem,nel);
    8483        }
    8584        else _error_("wrong interpolation type");
    8685
     86        /*Clean up*/
     87        xDelete<double>(index);
     88        xDelete<double>(x);
     89        xDelete<double>(y);
     90        xDelete<char>(interptype);
     91        delete contours;
     92        delete in_nod;
     93        delete in_elem;
    8794        /*end module: */
    8895        MODULEEND();
  • issm/trunk/src/wrappers/ContourToMesh/ContourToMesh.h

    r13749 r15396  
    1818
    1919/*Header files: */
    20 #include "../../c/include/globals.h"
     20#include "../bindings.h"
     21#include "../../c/main/globals.h"
    2122#include "../../c/toolkits/toolkits.h"
    22 #include "../../c/include/include.h"
    2323#include "../../c/modules/modules.h"
    24 #include "../../c/Container/Container.h"
    2524#include "../../c/shared/shared.h"
    26 #include "../bindings.h"
    27 #include "../../c/io/io.h"
    28 #include "../../c/EnumDefinitions/EnumDefinitions.h"
     25#include "../../c/shared/io/io.h"
     26#include "../../c/shared/Enum/Enum.h"
    2927
    3028#undef __FUNCT__
     
    6462
    6563#endif  /* _CONTOURTOMESH_H */
    66 
  • issm/trunk/src/wrappers/ContourToNodes/ContourToNodes.cpp

    r13353 r15396  
    22    \brief: takes a  contour file, and figures out which nodes  (x,y list)
    33*/
    4        
     4
    55#include "./ContourToNodes.h"
    66
    77void ContourToNodesUsage(void){/*{{{*/
    8         _printLine_("   usage:");
    9         _printLine_("   [flags]=ContourToNodes(x,y,contourname,edgevalue);\n");
    10         _printLine_("   where:");
    11         _printLine_("      x,y: list of nodes.");
    12         _printLine_("      contourname: name of .exp file containing the contours, or resulting structure from call to expread.");
    13         _printLine_("      edgevalue: integer (0, 1 or 2) defining the value associated to the nodes on the edges of the polygons.");
    14         _printLine_("      flags: vector of flags (0 or 1), of size nods.");
    15         _printLine_("");
     8        _printf_("   usage:\n");
     9        _printf_("   [flags]=ContourToNodes(x,y,contourname,edgevalue);\n");
     10        _printf_("   where:\n");
     11        _printf_("      x,y: list of nodes.\n");
     12        _printf_("      contourname: name of .exp file containing the contours, or resulting structure from call to expread.\n");
     13        _printf_("      edgevalue: integer (0, 1 or 2) defining the value associated to the nodes on the edges of the polygons.\n");
     14        _printf_("      flags: vector of flags (0 or 1), of size nods.\n");
     15        _printf_("\n");
    1616}/*}}}*/
    1717WRAPPER(ContourToNodes){
    1818
    1919        /* input: */
    20         int      edgevalue,nods;
    21         double  *x           = NULL;
    22         double  *y           = NULL;
    23         char    *contourname = NULL;
    24         DataSet *contours    = NULL;
     20        int       edgevalue,nods;
     21        double   *x           = NULL;
     22        double   *y           = NULL;
     23        char     *contourname = NULL;
     24        Contours *contours    = NULL;
    2525
    2626        /* output: */
    27         SeqVec<double> *flags = NULL;
     27        double *flags = NULL;
    2828
    2929        /*Boot module: */
     
    3232        /*checks on arguments on the matlab side: */
    3333        CHECKARGUMENTS(NLHS,NRHS,&ContourToNodesUsage);
    34        
     34
    3535        /*Fetch inputs: */
    3636        FetchData(&x,&nods,NULL,XHANDLE);
     
    4343
    4444        /* output: */
    45         WriteData(FLAGS,flags);
     45        WriteData(FLAGS,flags,nods);
     46
     47        /*Clean up*/
     48        xDelete<double>(x);
     49        xDelete<double>(y);
     50        xDelete<char>(contourname);
     51        delete contours;
    4652
    4753        /*end module: */
  • issm/trunk/src/wrappers/ContourToNodes/ContourToNodes.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
     
    5554
    5655#endif  /* _CONTOURTONODES_H */
    57 
  • issm/trunk/src/wrappers/ElementConnectivity/ElementConnectivity.cpp

    r14067 r15396  
    66
    77void ElementConnectivityUsage(void) {/*{{{*/
    8         _pprintLine_("");
    9         _pprintLine_("   usage: elementconnectivity = " << __FUNCT__ << "(elements, nodeconnectivity);");
    10         _pprintLine_("");
     8        _printf0_("\n");
     9        _printf0_("   usage: elementconnectivity = " << __FUNCT__ << "(elements, nodeconnectivity);\n");
     10        _printf0_("\n");
    1111}/*}}}*/
    1212WRAPPER(ElementConnectivity){
     
    2626        /*checks on arguments: */
    2727        CHECKARGUMENTS(NLHS,NRHS,&ElementConnectivityUsage);
    28        
     28
    2929        /*Input datasets: */
    3030        FetchData(&elements,&nels,NULL,ELEMENTS);
     
    3737        WriteData(ELEMENTCONNECTIVITY,elementconnectivity,nels,3);
    3838
     39        /*Clean up*/
     40        xDelete<int>(nodeconnectivity);
     41        xDelete<int>(elementconnectivity);
     42
    3943        /*end module: */
    4044        MODULEEND();
  • issm/trunk/src/wrappers/ElementConnectivity/ElementConnectivity.h

    r13749 r15396  
    1818
    1919/*Header files: */
    20 #include "../../c/include/globals.h"
     20#include "../bindings.h"
     21#include "../../c/main/globals.h"
    2122#include "../../c/toolkits/toolkits.h"
    22 #include "../../c/include/include.h"
    2323#include "../../c/modules/modules.h"
    24 #include "../../c/Container/Container.h"
    2524#include "../../c/shared/shared.h"
    26 #include "../bindings.h"
    27 #include "../../c/io/io.h"
    28 #include "../../c/EnumDefinitions/EnumDefinitions.h"
     25#include "../../c/shared/io/io.h"
     26#include "../../c/shared/Enum/Enum.h"
    2927
    3028#undef __FUNCT__
  • issm/trunk/src/wrappers/EnumToString/EnumToString.cpp

    r13236 r15396  
    66
    77void EnumToStringUsage(void){/*{{{*/
    8         _pprintLine_("");
    9         _pprintLine_("   usage: " << __FUNCT__ << "string = EnumToString(enum);");
    10         _pprintLine_("");
     8        _printf0_("\n");
     9        _printf0_("   usage: " << __FUNCT__ << "string = EnumToString(enum);\n");
     10        _printf0_("\n");
    1111}/*}}}*/
    1212WRAPPER(EnumToString){
     
    3030        WriteData(NAME,name);
    3131
     32        /*Clean up*/
     33        xDelete<char>(name);
     34
    3235        /*end module: */
    3336        MODULEEND();
  • issm/trunk/src/wrappers/EnumToString/EnumToString.h

    r13749 r15396  
    1818
    1919/*Header files: */
    20 #include "../../c/include/globals.h"
    21 #include "../../c/modules/modules.h"
    22 #include "../../c/Container/Container.h"
     20#include "../bindings.h"
     21#include "../../c/main/globals.h"
     22#include "../../c/shared/Enum/Enum.h"
    2323#include "../../c/shared/shared.h"
    24 #include "../bindings.h"
    2524
    2625#undef __FUNCT__
    2726#define __FUNCT__  "EnumToString"
    28  
     27
    2928#ifdef _HAVE_MATLAB_MODULES_
    3029/* serial input macros: */
  • issm/trunk/src/wrappers/Exp2Kml/Exp2Kml.cpp

    r13250 r15396  
    55
    66void Exp2KmlUsage(void){/*{{{*/
    7         _pprintLine_("Exp2Kml - exp to kml file conversion module:");
    8         _pprintLine_("");
    9         _pprintLine_("   This module converts a file from exp to kml format.");
    10         _pprintLine_("");
    11         _pprintLine_("   Usage:");
    12         _pprintLine_("      [ret]=Exp2Kml(filexp,filkml,sgn,'param name',param,...);");
    13         _pprintLine_("");
    14         _pprintLine_("      filexp      file name of exp file to be read (char)");
    15         _pprintLine_("      filkml      file name of kml file to be written (char)");
    16         _pprintLine_("      sgn         sign for hemisphere (double, +1 (north) or -1 (south))");
    17         _pprintLine_("");
    18         _pprintLine_("      central_meridian     central meridian (double, optional, but must specify with sp)");
    19         _pprintLine_("      standard_parallel    standard parallel (double, optional, but must specify with cm)");
    20         _pprintLine_("      holes       flag for treatment of multiple profiles (char, optional, 'yes' for holes))");
    21         _pprintLine_("");
    22         _pprintLine_("      ret         return code (non-zero for warning)");
    23         _pprintLine_("");
    24         _pprintLine_("   Examples:");
    25         _pprintLine_("      [ret]=Exp2Kml('file.exp','file.kml', 1);");
    26         _pprintLine_("      [ret]=Exp2Kml('file.exp','file.kml', 1,'central_meridian',45,'standard_parallel',70,'holes','yes');");
    27         _pprintLine_("      [ret]=Exp2Kml('file.exp','file.kml',-1,'central_meridian', 0,'standard_parallel',71,'holes','yes');");
    28         _pprintLine_("");
     7        _printf0_("Exp2Kml - exp to kml file conversion module:\n");
     8        _printf0_("\n");
     9        _printf0_("   This module converts a file from exp to kml format.\n");
     10        _printf0_("\n");
     11        _printf0_("   Usage:\n");
     12        _printf0_("      [ret]=Exp2Kml(filexp,filkml,sgn,'param name',param,...);\n");
     13        _printf0_("\n");
     14        _printf0_("      filexp      file name of exp file to be read (char)\n");
     15        _printf0_("      filkml      file name of kml file to be written (char)\n");
     16        _printf0_("      sgn         sign for hemisphere (double, +1 (north) or -1 (south))\n");
     17        _printf0_("\n");
     18        _printf0_("      central_meridian     central meridian (double, optional, but must specify with sp)\n");
     19        _printf0_("      standard_parallel    standard parallel (double, optional, but must specify with cm)\n");
     20        _printf0_("      holes       flag for treatment of multiple profiles (char, optional, 'yes' for holes))\n");
     21        _printf0_("\n");
     22        _printf0_("      ret         return code (non-zero for warning)\n");
     23        _printf0_("\n");
     24        _printf0_("   Examples:\n");
     25        _printf0_("      [ret]=Exp2Kml('file.exp','file.kml', 1);\n");
     26        _printf0_("      [ret]=Exp2Kml('file.exp','file.kml', 1,'central_meridian',45,'standard_parallel',70,'holes','yes');\n");
     27        _printf0_("      [ret]=Exp2Kml('file.exp','file.kml',-1,'central_meridian', 0,'standard_parallel',71,'holes','yes');\n");
     28        _printf0_("\n");
    2929}/*}}}*/
    3030WRAPPER(Exp2Kml){
     
    6767        if (options->GetOption("central_meridian") || options->GetOption("standard_parallel")) {
    6868                options->Get(&cm,"central_meridian");
    69                 if (verbose) _printLine_("  cm=" << cm);
     69                if (verbose) _printf_("  cm=" << cm << "\n");
    7070                options->Get(&sp,"standard_parallel");
    71                 if (verbose) _printLine_("  sp=" << sp);
     71                if (verbose) _printf_("  sp=" << sp << "\n");
    7272        }
    7373
  • issm/trunk/src/wrappers/Exp2Kml/Exp2Kml.h

    r14310 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
  • issm/trunk/src/wrappers/ExpSimplify/ExpSimplify.cpp

    r14294 r15396  
    55
    66void ExpSimplifyUsage(void){/*{{{*/
    7         _pprintLine_("ExpSimplify - Simplify Exp contour");
    8         _pprintLine_("");
    9         _pprintLine_("   Recursive Douglas-Peucker Polygon Simplification");
    10         _pprintLine_("");
    11         _pprintLine_("   Usage:");
    12         _pprintLine_("      ExpSimplify(expfile,tol);");
    13         _pprintLine_("      - expfile: name of the exp file");
    14         _pprintLine_("      - tol:  tolerance (maximal euclidean distance allowed between the new line and a vertex)");
    15         _pprintLine_("");
    16         _pprintLine_("   Example:");
    17         _pprintLine_("      ExpSimplify('file.exp',100);");
     7        _printf_("ExpSimplify - Simplify Exp contour\n");
     8        _printf_("\n");
     9        _printf_("   Recursive Douglas-Peucker Polygon Simplification\n");
     10        _printf_("\n");
     11        _printf_("   Usage:\n");
     12        _printf_("      ExpSimplify(expfile,tol);\n");
     13        _printf_("      - expfile: name of the exp file\n");
     14        _printf_("      - tol:  tolerance (maximal euclidean distance allowed between the new line and a vertex)\n");
     15        _printf_("      Additional options:\n");
     16        _printf_("      - 'min': minimum number of vertices to save contours in exp file (default is 3)\n");
     17        _printf_("\n");
     18        _printf_("   Example:\n");
     19        _printf_("      ExpSimplify('file.exp',100);\n");
     20        _printf_("      ExpSimplify('file.exp',100,'remove1',false);\n");
    1821}/*}}}*/
    1922void simplify(Contour<double>* contour,bool* flags,int ind0,int ind1,double tolerance){/*{{{*/
     
    2225        double  distance,beta,dx,dy;
    2326        double  maxdistance;
    24         int     index;
     27        int     index  = -1;
    2528        double *x      = contour->x;
    2629        double *y      = contour->y;
     
    3740
    3841                /*calculate the shortest distance of all vertices between ind0 and ind1*/
    39                 for(int i=ind0;i<ind1;i++){
    40                         distance = sqrt((x[i]-x[i+1])*(x[i]-x[i+1]) + (y[i]-y[i+1])*(y[i]-y[i+1]));
     42                for(int i=ind0;i<ind1-1;i++){
     43                        distance = sqrt((x[ind0]-x[i+1])*(x[ind0]-x[i+1]) + (y[ind0]-y[i+1])*(y[ind0]-y[i+1]));
    4144                        if(i==ind0 || distance>maxdistance){
    4245                                maxdistance=distance;
    43                                 index = i;
     46                                index = i + 1;
    4447                        }
    4548                }
     
    5457                 *
    5558                 * So: beta = <x-x0,xend-x0>/<xend-x0,xend-x0>  */
    56                  
    57                 for(int i=ind0+1;i<ind1;i++){
     59
     60                for(int i=ind0+1;i<=ind1;i++){
    5861                        beta = ((x[i]-x[ind0])*(x[ind1]-x[ind0]) + (y[i]-y[ind0])*(y[ind1]-y[ind0]))/((x[ind1]-x[ind0])*(x[ind1]-x[ind0])+(y[ind1]-y[ind0])*(y[ind1]-y[ind0]));
    5962                        dx   = x[i]-beta*x[ind1]+(beta-1.)*x[ind0];
     
    7780                /*if not, call simplifyrec for the segments between ind0 and index
    7881                 * (index and ind1)*/
     82                _assert_(index!=-1);
     83                _assert_(index!=ind1);
     84                _assert_(index!=ind0);
    7985                simplify(contour,flags,ind0 ,index,tolerance);
    8086                simplify(contour,flags,index,ind1, tolerance);
    8187        }
    82 
    8388
    8489}/*}}}*/
     
    9095        char*    expfile  = NULL;
    9196        double   tolerance;
     97        Options *options      = NULL;
     98        double   minimumvertices_double;
     99        int      minimumvertices;
    92100
    93101        /*output*/
    94         DataSet* oldcontours = NULL;
    95         DataSet* newcontours = NULL;
     102        Contours* oldcontours = NULL;
     103        Contours* newcontours = NULL;
    96104
    97105        /*Boot module: */
     
    99107
    100108        /*checks on arguments: */
    101         CHECKARGUMENTS(NLHS,NRHS,&ExpSimplifyUsage);
     109        /*checks on arguments on the matlab side: */
     110        if (nrhs<NRHS || nlhs>NLHS){
     111                ExpSimplifyUsage(); _error_("ExpSimplify usage error");
     112        }
    102113
    103114        /*Input datasets: */
    104115        FetchData(&expfile,  EXPFILE);
    105116        FetchData(&tolerance,TOLERANCE);
     117        FetchData(&options,NRHS,nrhs,prhs);
    106118
    107119        /*some checks*/
     
    117129        double distance;
    118130
     131        /*Process options*/
     132        options->Get(&minimumvertices_double,"min",3.);
     133        if(minimumvertices_double<1.) _error_("'min' (minimum number of verties) should be a positive integer");
     134        minimumvertices = int(minimumvertices_double);
     135
    119136        /*Read old contours and allocate new contours*/
    120         oldcontours=DomainOutlineRead<double>(expfile);
    121         newcontours=new DataSet(0);
     137        oldcontours=ExpRead<double>(expfile);
     138        newcontours=new Contours();
    122139        for(int counter=0;counter<oldcontours->Size();counter++){
    123140
     
    127144                x       = contour->x;
    128145                y       = contour->y;
    129                 printf("   Initial number of vertices in contour #%i: %i\n",counter+1,nods);
     146                _printf_("   Initial number of vertices in contour #"<<counter+1<<": "<<nods << "\n");
    130147
    131148                /*Allocate flags (1=keep, 0=remove)*/
     
    162179                newnods = 0;
    163180                for(int i=0;i<nods;i++) if(flags[i]) newnods++;
    164                 printf("   New     number of vertices in contour #%i: %i\n",counter+1,newnods);
    165                 if(newnods){
    166                         newcontour       = xNew<Contour<double> >(1);
     181
     182                /*Do we save new profile?*/
     183                if(newnods>=minimumvertices){
     184                        _printf_("   Final   number of vertices in contour #"<<counter+1<<": "<<newnods << "\n");
     185                        newcontour       = new Contour<double>();
    167186                        newcontour->nods = newnods;
    168187                        newcontour->x    = xNew<double>(newnods);
     
    181200                        newcontours->AddObject(newcontour);
    182201                }
     202                else{
     203                        _printf_("   Final   number of vertices in contour #"<<counter+1<<": "<<newnods<<" (not saved)\n");
     204                }
    183205
    184206                /*cleanup*/
    185207                xDelete<bool>(flags);
    186208        }
     209        _printf_("   Initial number of contours: "<<oldcontours->Size() << "\n");
     210        _printf_("   Final   number of contours: "<<newcontours->Size() << "\n");
    187211
    188212        /*Write data: */
     
    191215        /*Clean-up*/
    192216        xDelete<char>(expfile);
     217        delete options;
    193218
    194219        /*end module: */
  • issm/trunk/src/wrappers/ExpSimplify/ExpSimplify.h

    r14294 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
  • issm/trunk/src/wrappers/HoleFiller/HoleFiller.cpp

    r13236 r15396  
    1313
    1414void HoleFillerUsage(void){/*{{{*/
    15         _printLine_("   HoleFiller usage:");
    16         _printLine_("   [image_out]=HoleFiller(image_in,smooth);\n");
    17         _printLine_("   where:");
    18         _printLine_("      image_in in double format");
    19         _printLine_("      smooth: 1 to smooth with a box filer, 0 to leave data raw");
    20         _printLine_("      image_out in double format");
    21         _printLine_("");
     15        _printf_("   HoleFiller usage:\n");
     16        _printf_("   [image_out]=HoleFiller(image_in,smooth);\n");
     17        _printf_("   where:\n");
     18        _printf_("      image_in in double format\n");
     19        _printf_("      smooth: 1 to smooth with a box filer, 0 to leave data raw\n");
     20        _printf_("      image_out in double format\n");
     21        _printf_("\n");
    2222}/*}}}*/
    2323WRAPPER(HoleFiller){
    24 
    25         int i,j;
    2624
    2725        /* required input: */
     
    3129        int     smooth;
    3230
    33 
    3431        /* output: */
    35         mxArray* pfield=NULL;
    3632        double* imageout=NULL;
    3733        int     imageout_rows,imageout_cols;
     
    4642        FetchData(&imagein,&imagein_rows,&imagein_cols,IMAGEIN);
    4743        FetchData(&smooth_flag,SMOOTH);
    48        
     44
    4945        /*Get smooth flag setup: */
    5046        if (smooth_flag==0)
     
    5955        WriteData(IMAGEOUT,imageout,imagein_rows,imagein_cols);
    6056
     57        /*Clean up*/
     58        xDelete<double>(imagein);
     59        xDelete<double>(imageout);
     60        xDelete<double>(imagein);
     61
    6162        /*end module: */
    6263        MODULEEND();
  • issm/trunk/src/wrappers/HoleFiller/HoleFiller.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
  • issm/trunk/src/wrappers/InternalFront/InternalFront.cpp

    r14310 r15396  
    66
    77void InternalFrontUsage(void) {/*{{{*/
    8         _pprintLine_("");
    9         _pprintLine_("   usage: icefront = " << __FUNCT__ << "(md);");
    10         _pprintLine_("");
     8        _printf0_("\n");
     9        _printf0_("   usage: icefront = " << __FUNCT__ << "(md);\n");
     10        _printf0_("\n");
    1111}/*}}}*/
    1212WRAPPER(InternalFront){
  • issm/trunk/src/wrappers/InternalFront/InternalFront.h

    r14310 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/shared/shared.h"
    21 #include "../bindings.h"
    22 #include "../../c/io/io.h"
     22#include "../../c/shared/io/io.h"
    2323
    2424#undef __FUNCT__
  • issm/trunk/src/wrappers/InterpFromGridToMesh/InterpFromGridToMesh.cpp

    r13923 r15396  
    22 * \brief: data interpolation from a list of (x,y,values) into mesh vertices
    33*/
    4        
     4
    55#include "./InterpFromGridToMesh.h"
    66
    77void InterpFromGridToMeshUsage(void){/*{{{*/
    8         _pprintLine_("INTERPFROMGRIDTOMESH - interpolation from a grid onto a list of points");
    9         _pprintLine_("");
    10         _pprintLine_("   This function is a multi-threaded mex file that interpolates a field");
    11         _pprintLine_("   defined on a grid onto a list of points");
    12         _pprintLine_("");
    13         _pprintLine_("   Usage:");
    14         _pprintLine_("      data_mesh=InterpFromGridToMesh(x,y,data,x_mesh,y_mesh,default_value);");
    15         _pprintLine_("");
    16         _pprintLine_("      data: matrix holding the data to be interpolated onto the mesh.");
    17         _pprintLine_("      x,y: coordinates of matrix data. (x and y must be in increasing order)");
    18         _pprintLine_("      x_mesh,y_mesh: coordinates of the points onto which we interpolate.");
    19         _pprintLine_("      default_value: default value if no data is found (holes).");
    20         _pprintLine_("      data_mesh: vector of mesh interpolated data.");
    21         _pprintLine_("");
    22         _pprintLine_("   Example:");
    23         _pprintLine_("      load('velocities.mat');");
    24         _pprintLine_("      md.inversion.vx_obs=InterpFromGridToMesh(x_n,y_m,vx,md.mesh.x,md.mesh.y,0);");
    25         _pprintLine_("");
     8        _printf0_("INTERPFROMGRIDTOMESH - interpolation from a grid onto a list of points\n");
     9        _printf0_("\n");
     10        _printf0_("   This function is a multi-threaded mex file that interpolates a field\n");
     11        _printf0_("   defined on a grid onto a list of points\n");
     12        _printf0_("\n");
     13        _printf0_("   Usage:\n");
     14        _printf0_("      data_mesh=InterpFromGridToMesh(x,y,data,x_mesh,y_mesh,default_value);\n");
     15        _printf0_("\n");
     16        _printf0_("      data: matrix holding the data to be interpolated onto the mesh.\n");
     17        _printf0_("      x,y: coordinates of matrix data. (x and y must be in increasing order)\n");
     18        _printf0_("      x_mesh,y_mesh: coordinates of the points onto which we interpolate.\n");
     19        _printf0_("      default_value: default value if no data is found (holes).\n");
     20        _printf0_("      data_mesh: vector of mesh interpolated data.\n");
     21        _printf0_("\n");
     22        _printf0_("   Example:\n");
     23        _printf0_("      load('velocities.mat');\n");
     24        _printf0_("      md.inversion.vx_obs=InterpFromGridToMesh(x_n,y_m,vx,md.mesh.x,md.mesh.y,0);\n");
     25        _printf0_("\n");
    2626}/*}}}*/
    2727WRAPPER(InterpFromGridToMesh){
     
    4242
    4343        /* output: */
    44         SeqVec<double>*  data_mesh=NULL;
     44        IssmSeqVec<double>*  data_mesh=NULL;
    4545
    4646        /*Boot module: */
  • issm/trunk/src/wrappers/InterpFromGridToMesh/InterpFromGridToMesh.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
  • issm/trunk/src/wrappers/InterpFromMesh2d/InterpFromMesh2d.cpp

    r13236 r15396  
    22 * \brief: data interpolation from a list of (x,y,values) into mesh vertices
    33*/
    4        
     4
    55#include "./InterpFromMesh2d.h"
    66
    77void InterpFromMesh2dUsage(void){/*{{{*/
    8         _pprintLine_("   usage:");
    9         _pprintLine_("         data_prime=InterpFromMesh2d(index,x,y,data,x_prime,y_prime);\n");
    10         _pprintLine_("      or data_prime=InterpFromMesh2d(index,x,y,data,x_prime,y_prime,default_value);\n");
    11         _pprintLine_("      or data_prime=InterpFromMesh2d(index,x,y,data,x_prime,y_prime,default_value,contourname);\n");
    12         _pprintLine_("   where:");
    13         _pprintLine_("      x,y: coordinates of the nodes where data is defined");
    14         _pprintLine_("      index: index of the mesh where data is defined");
    15         _pprintLine_("      data - vector holding the data to be interpolated onto the points.");
    16         _pprintLine_("      x_prime,y_prime: coordinates of the mesh vertices onto which we interpolate.");
    17         _pprintLine_("      default_value: a scalar or vector of size length(x_prime).");
    18         _pprintLine_("      contourname: linear interpolation will happen on all x_interp,y_interp inside the contour, default value will be adopted on the rest of the mesh.");
    19         _pprintLine_("      data_prime:  vector of prime interpolated data.");
    20         _pprintLine_("");
     8        _printf0_("   usage:\n");
     9        _printf0_("         data_prime=InterpFromMesh2d(index,x,y,data,x_prime,y_prime);\n");
     10        _printf0_("      or data_prime=InterpFromMesh2d(index,x,y,data,x_prime,y_prime,default_value);\n");
     11        _printf0_("      or data_prime=InterpFromMesh2d(index,x,y,data,x_prime,y_prime,default_value,contourname);\n");
     12        _printf0_("   where:\n");
     13        _printf0_("      x,y: coordinates of the nodes where data is defined\n");
     14        _printf0_("      index: index of the mesh where data is defined\n");
     15        _printf0_("      data - vector holding the data to be interpolated onto the points.\n");
     16        _printf0_("      x_prime,y_prime: coordinates of the mesh vertices onto which we interpolate.\n");
     17        _printf0_("      default_value: a scalar or vector of size length(x_prime).\n");
     18        _printf0_("      contourname: linear interpolation will happen on all x_interp,y_interp inside the contour, default value will be adopted on the rest of the mesh.\n");
     19        _printf0_("      data_prime:  vector of prime interpolated data.\n");
     20        _printf0_("\n");
    2121}/*}}}*/
    2222WRAPPER(InterpFromMesh2d){
     
    2929        double* x_data=NULL;
    3030        int     x_data_rows;
    31        
     31
    3232        double* y_data=NULL;
    3333        int     y_data_rows;
     
    3939        double* x_prime=NULL;
    4040        double* y_prime=NULL;
    41        
     41
    4242        int     x_prime_rows;
    4343        int     y_prime_rows;
    44 
    4544
    4645        double* default_values=NULL;
     
    6059
    6160        /* output: */
    62         SeqVec<double> *data_prime = NULL;
     61        IssmSeqVec<double> *data_prime = NULL;
    6362
    6463        /*Boot module: */
     
    9392
    9493        if(nrhs>=8){
    95                
     94
    9695                /*Call expread on filename to build a contour array in the matlab workspace: */
    9796                mexCallMATLAB( 1, &matlabstructure, 1, (mxArray**)&FILENAME, "expread");
     
    102101                for(i=0;i<numcontours;i++){
    103102                        //allocate
    104                         contouri=xNew<Contour<double> >(1);
     103                        contouri=new Contour<double>();
    105104                        //retrieve dimension of this contour.
    106105                        contouri->nods=(int)mxGetScalar(mxGetField(matlabstructure,i,"nods"));
     
    113112                /* Debugging of contours :{{{1*/
    114113                /*for(i=0;i<numcontours;i++){
    115                   _printLine_("\nContour echo: contour number  " << i+1 << " / " << numcontours);
     114                  _printf_("\nContour echo: contour number  " << i+1 << " / " << numcontours << "\n");
    116115                  contouri=*(contours+i);
    117                   _printLine_("   Number of vertices " << contouri->nods);
     116                  _printf_("   Number of vertices " << contouri->nods << "\n");
    118117                  for (j=0;j<contouri->nods;j++){
    119                   _printLine_("   " << *(contouri->x+j) << "f " << *(contouri->y+j) << "f");
     118                  _printf_("   " << *(contouri->x+j) << "f " << *(contouri->y+j) << "f\n");
    120119                  }
    121120                  }*/
     
    127126        }
    128127
    129 
    130128        /*some checks*/
    131129        if (x_data_rows!=y_data_rows){
     
    135133                _error_("vectors x_prime and y_prime should have the same length!");
    136134        }
    137        
     135
    138136        /*get number of elements and number of nodes in the data*/
    139137        nels_data=index_data_rows;
  • issm/trunk/src/wrappers/InterpFromMesh2d/InterpFromMesh2d.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
  • issm/trunk/src/wrappers/InterpFromMeshToGrid/InterpFromMeshToGrid.cpp

    r13236 r15396  
    66
    77void InterpFromMeshToGridUsage(void){/*{{{*/
    8         _pprintLine_("INTERPFROMMESHTOGRID - interpolation of a data defined on a mesh onto a grid");
    9         _pprintLine_("");
    10         _pprintLine_("   This function is a multi-threaded mex file that interpolates a field");
    11         _pprintLine_("   defined on a triangular mesh onto a regular grid");
    12         _pprintLine_("");
    13         _pprintLine_("   Usage:");
    14         _pprintLine_("      [x_m,y_m,griddata]=InterpFromMeshToGrid(index,x,y,data,xmin,ymax,xposting,yposting,nlines,ncols,default_value)");
    15         _pprintLine_("");
    16         _pprintLine_("      index,x,y: delaunay triangulation defining the mesh.");
    17         _pprintLine_("      meshdata: vertex values of data to be interpolated.");
    18         _pprintLine_("      xmin,ymax,posting,nlines,ncols: parameters that define the grid");
    19         _pprintLine_("      default_value: value of points located out of the mesh.");
    20         _pprintLine_("");
     8        _printf0_("INTERPFROMMESHTOGRID - interpolation of a data defined on a mesh onto a grid\n");
     9        _printf0_("\n");
     10        _printf0_("   This function is a multi-threaded mex file that interpolates a field\n");
     11        _printf0_("   defined on a triangular mesh onto a regular grid\n");
     12        _printf0_("\n");
     13        _printf0_("   Usage:\n");
     14        _printf0_("      [x_m,y_m,griddata]=InterpFromMeshToGrid(index,x,y,data,xmin,ymax,xposting,yposting,nlines,ncols,default_value)\n");
     15        _printf0_("\n");
     16        _printf0_("      index,x,y: delaunay triangulation defining the mesh.\n");
     17        _printf0_("      meshdata: vertex values of data to be interpolated.\n");
     18        _printf0_("      xmin,ymax,posting,nlines,ncols: parameters that define the grid\n");
     19        _printf0_("      default_value: value of points located out of the mesh.\n");
     20        _printf0_("\n");
    2121}/*}}}*/
    2222WRAPPER(InterpFromMeshToGrid){
     
    4141        double* x_m=NULL;
    4242        double* y_m=NULL;
    43 
    4443
    4544        /*Boot module: */
     
    7271        /*Free ressources: */
    7372        //let matlab do this.
    74        
     73
    7574        /*end module: */
    7675        MODULEEND();
  • issm/trunk/src/wrappers/InterpFromMeshToGrid/InterpFromMeshToGrid.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
  • issm/trunk/src/wrappers/InterpFromMeshToMesh2d/InterpFromMeshToMesh2d.cpp

    r13236 r15396  
    55
    66void InterpFromMeshToMesh2dUsage(void){/*{{{*/
    7         _pprintLine_("INTERFROMMESHTOMESH2D - interpolation from a 2d triangular mesh onto a list of point");
    8         _pprintLine_("");
    9         _pprintLine_("   This function is a multi-threaded mex file that interpolates a field");
    10         _pprintLine_("   defined on a Delaunay triangulation onto a list of point");
    11         _pprintLine_("");
    12         _pprintLine_("   Usage:");
    13         _pprintLine_("         data_interp=InterpFromMeshToMesh2d(index,x,y,data,x_interp,y_interp);");
    14         _pprintLine_("      or data_interp=InterpFromMeshToMesh2d(index,x,y,data,x_interp,y_interp,OPTIONS);");
    15         _pprintLine_("");
    16         _pprintLine_("      index             : index of the mesh where data is defined");
    17         _pprintLine_("      x,y               : coordinates of the nodes where data is defined");
    18         _pprintLine_("      data              : matrix holding the data to be interpolated onto the mesh. (one column per field)");
    19         _pprintLine_("      x_interp,y_interp : coordinates of the points onto which we interpolate.");
    20         _pprintLine_("      data_interp       : vector of mesh interpolated data.");
    21         _pprintLine_("      Available options :");
    22         _pprintLine_("         - 'default' : default value if point is outsite of triangulation (instead of linear interolation)");
    23         _pprintLine_("");
    24         _pprintLine_("   Example:");
    25         _pprintLine_("      load('temperature.mat');");
    26         _pprintLine_("      md.initialization.temperature=InterpFromMeshToMesh2d(index,x,y,temperature,md.mesh.x,md.mesh.y);");
    27         _pprintLine_("      md.initialization.temperature=InterpFromMeshToMesh2d(index,x,y,temperature,md.mesh.x,md.mesh.y,'default',253);");
    28         _pprintLine_("");
     7        _printf0_("INTERFROMMESHTOMESH2D - interpolation from a 2d triangular mesh onto a list of point\n");
     8        _printf0_("\n");
     9        _printf0_("   This function is a multi-threaded mex file that interpolates a field\n");
     10        _printf0_("   defined on a Delaunay triangulation onto a list of point\n");
     11        _printf0_("\n");
     12        _printf0_("   Usage:\n");
     13        _printf0_("         data_interp=InterpFromMeshToMesh2d(index,x,y,data,x_interp,y_interp);\n");
     14        _printf0_("      or data_interp=InterpFromMeshToMesh2d(index,x,y,data,x_interp,y_interp,OPTIONS);\n");
     15        _printf0_("\n");
     16        _printf0_("      index             : index of the mesh where data is defined\n");
     17        _printf0_("      x,y               : coordinates of the nodes where data is defined\n");
     18        _printf0_("      data              : matrix holding the data to be interpolated onto the mesh. (one column per field)\n");
     19        _printf0_("      x_interp,y_interp : coordinates of the points onto which we interpolate.\n");
     20        _printf0_("      data_interp       : vector of mesh interpolated data.\n");
     21        _printf0_("      Available options :\n");
     22        _printf0_("         - 'default' : default value if point is outsite of triangulation (instead of linear interolation)\n");
     23        _printf0_("\n");
     24        _printf0_("   Example:\n");
     25        _printf0_("      load('temperature.mat');\n");
     26        _printf0_("      md.initialization.temperature=InterpFromMeshToMesh2d(index,x,y,temperature,md.mesh.x,md.mesh.y);\n");
     27        _printf0_("      md.initialization.temperature=InterpFromMeshToMesh2d(index,x,y,temperature,md.mesh.x,md.mesh.y,'default',253);\n");
     28        _printf0_("\n");
    2929}/*}}}*/
    3030WRAPPER(InterpFromMeshToMesh2d){
  • issm/trunk/src/wrappers/InterpFromMeshToMesh2d/InterpFromMeshToMesh2d.h

    r13749 r15396  
    1818
    1919/*Header files: */
    20 #include "../../c/include/globals.h"
     20#include "../bindings.h"
     21#include "../../c/main/globals.h"
    2122#include "../../c/toolkits/toolkits.h"
    22 #include "../../c/include/include.h"
    2323#include "../../c/modules/modules.h"
    24 #include "../../c/Container/Container.h"
    2524#include "../../c/shared/shared.h"
    26 #include "../bindings.h"
    27 #include "../../c/io/io.h"
    28 #include "../../c/EnumDefinitions/EnumDefinitions.h"
     25#include "../../c/shared/io/io.h"
     26#include "../../c/shared/Enum/Enum.h"
    2927
    3028#undef __FUNCT__
  • issm/trunk/src/wrappers/InterpFromMeshToMesh3d/InterpFromMeshToMesh3d.cpp

    r13236 r15396  
    22 * \brief: data interpolation from a list of (x,y,values) into mesh vertices
    33*/
    4        
     4
    55#include "./InterpFromMeshToMesh3d.h"
    66
    77void InterpFromMeshToMesh3dUsage(void){/*{{{*/
    8         _pprintLine_("INTERPFROMMESHTOMESH3D - interpolation from a 3d hexahedron mesh onto a list of point");
    9         _pprintLine_("");
    10         _pprintLine_("   This function is a multi-threaded mex file that interpolates a field");
    11         _pprintLine_("   defined on a triangular mesh onto a list of point");
    12         _pprintLine_("");
    13         _pprintLine_("   Usage:");
    14         _pprintLine_("      data_prime=InterpFromMeshToMesh3d(index,x,y,z,data,x_prime,y_prime,z_prime,default_value);");
    15         _pprintLine_("");
    16         _pprintLine_("      index: index of the mesh where data is defined");
    17         _pprintLine_("      x,y,z: coordinates of the nodes where data is defined");
    18         _pprintLine_("      data: matrix holding the data to be interpolated onto the mesh.");
    19         _pprintLine_("      x_prime,y_prime,z_prime: coordinates of the points onto which we interpolate.");
    20         _pprintLine_("      default_value: default value if no data is found (holes).");
    21         _pprintLine_("      data_prime: vector of mesh interpolated data.");
    22         _pprintLine_("");
    23         _pprintLine_("   Example:");
    24         _pprintLine_("      load('temperature.mat');");
    25         _pprintLine_("      md.initialization.temperature=InterpFromMeshToMesh3d(index,x,y,z,temperature,md.mesh.x,md.mesh.y,md.mesh.z,253);");
    26         _pprintLine_("");
     8        _printf0_("INTERPFROMMESHTOMESH3D - interpolation from a 3d hexahedron mesh onto a list of point\n");
     9        _printf0_("\n");
     10        _printf0_("   This function is a multi-threaded mex file that interpolates a field\n");
     11        _printf0_("   defined on a triangular mesh onto a list of point\n");
     12        _printf0_("\n");
     13        _printf0_("   Usage:\n");
     14        _printf0_("      data_prime=InterpFromMeshToMesh3d(index,x,y,z,data,x_prime,y_prime,z_prime,default_value);\n");
     15        _printf0_("\n");
     16        _printf0_("      index: index of the mesh where data is defined\n");
     17        _printf0_("      x,y,z: coordinates of the nodes where data is defined\n");
     18        _printf0_("      data: matrix holding the data to be interpolated onto the mesh.\n");
     19        _printf0_("      x_prime,y_prime,z_prime: coordinates of the points onto which we interpolate.\n");
     20        _printf0_("      default_value: default value if no data is found (holes).\n");
     21        _printf0_("      data_prime: vector of mesh interpolated data.\n");
     22        _printf0_("\n");
     23        _printf0_("   Example:\n");
     24        _printf0_("      load('temperature.mat');\n");
     25        _printf0_("      md.initialization.temperature=InterpFromMeshToMesh3d(index,x,y,z,temperature,md.mesh.x,md.mesh.y,md.mesh.z,253);\n");
     26        _printf0_("\n");
    2727}/*}}}*/
    2828WRAPPER(InterpFromMeshToMesh3d){
     
    4747        double* y_prime=NULL;
    4848        double* z_prime=NULL;
    49        
     49
    5050        int     x_prime_rows;
    5151        int     y_prime_rows;
     
    6060
    6161        /* output: */
    62         SeqVec<double>*  data_prime=NULL;
     62        IssmSeqVec<double>*  data_prime=NULL;
    6363
    6464        /*Boot module: */
  • issm/trunk/src/wrappers/InterpFromMeshToMesh3d/InterpFromMeshToMesh3d.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
  • issm/trunk/src/wrappers/KMLFileRead/KMLFileRead.cpp

    r13250 r15396  
    55
    66void KMLFileReadUsage(void){/*{{{*/
    7         _pprintLine_("KMLFileRead - KML file reader module:");
    8         _pprintLine_("");
    9         _pprintLine_("   This module reads a KML file.");
    10         _pprintLine_("");
    11         _pprintLine_("   Usage:");
    12         _pprintLine_("      [ierror]=KMLFileRead(kmlfile,'param name',param,...);");
    13         _pprintLine_("");
    14         _pprintLine_("      kmlfile      file name of kml file to be read (char)");
    15         _pprintLine_("");
    16         _pprintLine_("      echo         echo command (char, optional, 'off'/'on')");
    17         _pprintLine_("      deepecho     deep echo command (char, optional, 'off'/'on')");
    18         _pprintLine_("      write        write command (char, optional, 'off'/'stdout'/kmlfile)");
    19         _pprintLine_("");
    20         _pprintLine_("      ierror       return code (non-zero for error)");
    21         _pprintLine_("");
    22         _pprintLine_("   Examples:");
    23         _pprintLine_("      [ierror]=KMLFileRead('file.kml','deepecho','on');");
    24         _pprintLine_("      [ierror]=KMLFileRead('filin.kml','echo','on','write','filout.kml');");
    25         _pprintLine_("");
     7        _printf0_("KMLFileRead - KML file reader module:\n");
     8        _printf0_("\n");
     9        _printf0_("   This module reads a KML file.\n");
     10        _printf0_("\n");
     11        _printf0_("   Usage:\n");
     12        _printf0_("      [ierror]=KMLFileRead(kmlfile,'param name',param,...);\n");
     13        _printf0_("\n");
     14        _printf0_("      kmlfile      file name of kml file to be read (char)\n");
     15        _printf0_("\n");
     16        _printf0_("      echo         echo command (char, optional, 'off'/'on')\n");
     17        _printf0_("      deepecho     deep echo command (char, optional, 'off'/'on')\n");
     18        _printf0_("      write        write command (char, optional, 'off'/'stdout'/kmlfile)\n");
     19        _printf0_("\n");
     20        _printf0_("      ierror       return code (non-zero for error)\n");
     21        _printf0_("\n");
     22        _printf0_("   Examples:\n");
     23        _printf0_("      [ierror]=KMLFileRead('file.kml','deepecho','on');\n");
     24        _printf0_("      [ierror]=KMLFileRead('filin.kml','echo','on','write','filout.kml');\n");
     25        _printf0_("\n");
    2626}/*}}}*/
    2727WRAPPER(KMLFileRead){
     
    8484        if (!strlen(filnam)) strcpy(filnam,"stdout");
    8585
    86         if (verbose) _printLine_("Opening file \"" << filnam << "\".");
     86        if (verbose) _printf_("Opening file \"" << filnam << "\".\n");
    8787        fidi=fopen(filnam,"r");
    8888
    8989        /* Run core computations: */
    90         if (verbose) _printLine_("Calling core:");
     90        if (verbose) _printf_("Calling core:\n");
    9191        kobj=KMLFileReadx(fidi);
    9292
    93         if (verbose) _printLine_("Closing file \"" << filnam << "\".");
     93        if (verbose) _printf_("Closing file \"" << filnam << "\".\n");
    9494        fclose(fidi);
    9595
     
    104104                        }
    105105                        else {
    106                                 if (verbose) _printLine_("Opening file \"" << write << "\".");
     106                                if (verbose) _printf_("Opening file \"" << write << "\".\n");
    107107                                fido=fopen(write,"w");
    108108                                kobj->Write(fido,"");
    109                                 if (verbose) _printLine_("Closing file \"" << write << "\".");
     109                                if (verbose) _printf_("Closing file \"" << write << "\".\n");
    110110                                ierror=fclose(fido);
    111111                        }
  • issm/trunk/src/wrappers/KMLFileRead/KMLFileRead.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
  • issm/trunk/src/wrappers/KMLMeshWrite/KMLMeshWrite.cpp

    r13250 r15396  
    55
    66void KMLMeshWriteUsage(void){/*{{{*/
    7         _pprintLine_("KMLMeshWrite - KML mesh writer module:");
    8         _pprintLine_("");
    9         _pprintLine_("   This module writes the mesh of a model as KML polygons into the specified KML file.");
    10         _pprintLine_("");
    11         _pprintLine_("   Usage:");
    12         _pprintLine_("      ierror=KMLMeshWrite(name,notes,elem,nodecon,lat,long,part,data,cmap,kmlfile);");
    13         _pprintLine_("");
    14         _pprintLine_("      name       model name (string, may be empty)");
    15         _pprintLine_("      notes      model notes (string or cell array of strings, may be empty)");
    16         _pprintLine_("      elem       elements (double array)");
    17         _pprintLine_("      nodecon    nodal connectivity array (double array, may be empty)");
    18         _pprintLine_("      lat        nodal latititudes (double vector)");
    19         _pprintLine_("      long       nodal longitudes (double vector)");
    20         _pprintLine_("      part       nodal partitions (double vector, may be empty)");
    21         _pprintLine_("      data       nodal or element data (double vector, may be empty)");
    22         _pprintLine_("      cmap       color map (double nx3 array, may be empty)");
    23         _pprintLine_("      kmlfile    KML file name (string)");
    24         _pprintLine_("");
    25         _pprintLine_("      ierror     error flag (double, non-zero for error)");
    26         _pprintLine_("");
    27         _pprintLine_("   Example:");
    28         _pprintLine_("      KMLMeshWrite(md.name,md.notes,md.elements,md.nodeconnectivity,md.lat,md.long,md.part,md.fm_criterion,options.cmap,filekml);");
    29         _pprintLine_("");
     7        _printf0_("KMLMeshWrite - KML mesh writer module:\n");
     8        _printf0_("\n");
     9        _printf0_("   This module writes the mesh of a model as KML polygons into the specified KML file.\n");
     10        _printf0_("\n");
     11        _printf0_("   Usage:\n");
     12        _printf0_("      ierror=KMLMeshWrite(name,notes,elem,nodecon,lat,long,part,data,cmap,kmlfile);\n");
     13        _printf0_("\n");
     14        _printf0_("      name       model name (string, may be empty)\n");
     15        _printf0_("      notes      model notes (string or cell array of strings, may be empty)\n");
     16        _printf0_("      elem       elements (double array)\n");
     17        _printf0_("      nodecon    nodal connectivity array (double array, may be empty)\n");
     18        _printf0_("      lat        nodal latititudes (double vector)\n");
     19        _printf0_("      long       nodal longitudes (double vector)\n");
     20        _printf0_("      part       nodal partitions (double vector, may be empty)\n");
     21        _printf0_("      data       nodal or element data (double vector, may be empty)\n");
     22        _printf0_("      cmap       color map (double nx3 array, may be empty)\n");
     23        _printf0_("      kmlfile    KML file name (string)\n");
     24        _printf0_("\n");
     25        _printf0_("      ierror     error flag (double, non-zero for error)\n");
     26        _printf0_("\n");
     27        _printf0_("   Example:\n");
     28        _printf0_("      KMLMeshWrite(md.name,md.notes,md.elements,md.nodeconnectivity,md.lat,md.long,md.part,md.fm_criterion,options.cmap,filekml);\n");
     29        _printf0_("\n");
    3030}/*}}}*/
    3131WRAPPER(KMLMeshWrite){
  • issm/trunk/src/wrappers/KMLMeshWrite/KMLMeshWrite.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
  • issm/trunk/src/wrappers/KMLOverlay/KMLOverlay.cpp

    r13250 r15396  
    55
    66void KMLOverlayUsage(void){/*{{{*/
    7         _pprintLine_("KMLOverlay - KML file overlay module:");
    8         _pprintLine_("");
    9         _pprintLine_("   This module reads a list of image files and writes a KML or KMZ overlay file.");
    10         _pprintLine_("");
    11         _pprintLine_("   Usage:");
    12         _pprintLine_("      ierror=KMLOverlay(kmlfile,'param name',param,...);");
    13         _pprintLine_("");
    14         _pprintLine_("      kmlfile     KML or KMZ file name (string)");
    15         _pprintLine_("");
    16         _pprintLine_("      lataxis     latitude axis (double vector [south north], required)");
    17         _pprintLine_("      longaxis    longitude axis (double vector [west east], required)");
    18         _pprintLine_("      images      relative or http image file names (string or array of strings or cell array of strings, required)");
    19         _pprintLine_("      zip         flag to zip the doc.kml and image files into kmzfile (double, non-zero for kmz)");
    20         _pprintLine_("");
    21         _pprintLine_("      ierror     error flag (double, non-zero for error)");
    22         _pprintLine_("");
    23         _pprintLine_("   Example:");
    24         _pprintLine_("      KMLOverlay(kmlfile,'lataxis',[south north],'longaxis',[west east],'images',{'file1.png','http://issm/file2.png'},'zip',1);");
    25         _pprintLine_("");
     7        _printf0_("KMLOverlay - KML file overlay module:\n");
     8        _printf0_("\n");
     9        _printf0_("   This module reads a list of image files and writes a KML or KMZ overlay file.\n");
     10        _printf0_("\n");
     11        _printf0_("   Usage:\n");
     12        _printf0_("      ierror=KMLOverlay(kmlfile,'param name',param,...);\n");
     13        _printf0_("\n");
     14        _printf0_("      kmlfile     KML or KMZ file name (string)\n");
     15        _printf0_("\n");
     16        _printf0_("      lataxis     latitude axis (double vector [south north], required)\n");
     17        _printf0_("      longaxis    longitude axis (double vector [west east], required)\n");
     18        _printf0_("      images      relative or http image file names (string or array of strings or cell array of strings, required)\n");
     19        _printf0_("      zip         flag to zip the doc.kml and image files into kmzfile (double, non-zero for kmz)\n");
     20        _printf0_("\n");
     21        _printf0_("      ierror     error flag (double, non-zero for error)\n");
     22        _printf0_("\n");
     23        _printf0_("   Example:\n");
     24        _printf0_("      KMLOverlay(kmlfile,'lataxis',[south north],'longaxis',[west east],'images',{'file1.png','http://issm/file2.png'},'zip',1);\n");
     25        _printf0_("\n");
    2626}/*}}}*/
    2727WRAPPER(KMLOverlay){
     
    6363
    6464        options->Get(&lataxis ,&nlat ,(char*)"lataxis");
    65         if (verbose && lataxis) for (i=0; i<nlat; i++) _printLine_("  lataxis [" << i << "]=" << lataxis[i]);
     65        if (verbose && lataxis) for (i=0; i<nlat; i++) _printf_("  lataxis [" << i << "]=" << lataxis[i] << "\n");
    6666        options->Get(&longaxis,&nlong,(char*)"longaxis");
    67         if (verbose && longaxis) for (i=0; i<nlong; i++) _printLine_("  longaxis[" << i << "]=" << longaxis[i]);
     67        if (verbose && longaxis) for (i=0; i<nlong; i++) _printf_("  longaxis[" << i << "]=" << longaxis[i] << "\n");
    6868        options->Get(&pimages,&nimages,(char*)"images");
    69         if (verbose && pimages) for (i=0; i<nimages; i++) _printLine_("  pimages[" << i << "]=\"" << pimages[i] << "\"");
     69        if (verbose && pimages) for (i=0; i<nimages; i++) _printf_("  pimages[" << i << "]=\"" << pimages[i] << "\"\n");
    7070        options->Get(&dzip,(char*)"zip",0.);
    71         if (verbose) _printLine_("  dzip=" << dzip);
     71        if (verbose) _printf_("  dzip=" << dzip << "\n");
    7272
    7373        /*some checks*/
     
    8484        if(!strlen(filkml)) strcpy(filkml,"stdout");
    8585
    86         if(verbose) _printLine_("Opening kml overlay file \"" << filkml << "\".");
     86        if(verbose) _printf_("Opening kml overlay file \"" << filkml << "\".\n");
    8787        fid=fopen(filkml,"w");
    8888
    8989        /* Run core computations: */
    90         if (verbose) _printLine_("Calling core:");
     90        if (verbose) _printf_("Calling core:\n");
    9191        KMLOverlayx(&ierror,lataxis,longaxis,nimages,pimages,fid);
    9292
    93         if (verbose) _printLine_("Closing file \"" << filkml << "\".");
     93        if (verbose) _printf_("Closing file \"" << filkml << "\".\n");
    9494        fclose(fid);
    9595
     
    108108                                strcat(czip,pimages[i]);
    109109                        }
    110                 if (verbose) _printLine_("Zipping file \"" << filkmz << "\".");
    111                 if (verbose) _printLine_(czip);
     110                if (verbose) _printf_("Zipping file \"" << filkmz << "\".\n");
     111                if (verbose) _printf_(czip << "\n");
    112112
    113113                if (mexEvalString(czip)) _error_("Error zipping file \"" << filkmz << "\".");
  • issm/trunk/src/wrappers/KMLOverlay/KMLOverlay.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
  • issm/trunk/src/wrappers/Kml2Exp/Kml2Exp.cpp

    r13250 r15396  
    55
    66void Kml2ExpUsage(void){/*{{{*/
    7         _pprintLine_("Kml2Exp - kml to exp file conversion module:");
    8         _pprintLine_("");
    9         _pprintLine_("   This module converts a file from kml to exp format.");
    10         _pprintLine_("");
    11         _pprintLine_("   Usage:");
    12         _pprintLine_("      [ret]=Kml2Exp(filexp,filkml,sgn,'param name',param,...);");
    13         _pprintLine_("");
    14         _pprintLine_("      filkml      file name of kml file to be read (char)");
    15         _pprintLine_("      filexp      file name of exp file to be written (char)");
    16         _pprintLine_("      sgn         sign for hemisphere (double, +1 (north) or -1 (south))");
    17         _pprintLine_("");
    18         _pprintLine_("      central_meridian     central meridian (double, optional, but must specify with sp)");
    19         _pprintLine_("      standard_parallel    standard parallel (double, optional, but must specify with cm)");
    20         _pprintLine_("");
    21         _pprintLine_("      ret         return code (non-zero for warning)");
    22         _pprintLine_("");
    23         _pprintLine_("   Examples:");
    24         _pprintLine_("      [ret]=Kml2Exp('file.kml','file.exp', 1);");
    25         _pprintLine_("      [ret]=Kml2Exp('file.kml','file.exp', 1,'central_meridian',45,'standard_parallel',70);");
    26         _pprintLine_("      [ret]=Kml2Exp('file.kml','file.exp',-1,'central_meridian', 0,'standard_parallel',71);");
    27         _pprintLine_("");
     7        _printf0_("Kml2Exp - kml to exp file conversion module:\n");
     8        _printf0_("\n");
     9        _printf0_("   This module converts a file from kml to exp format.\n");
     10        _printf0_("\n");
     11        _printf0_("   Usage:\n");
     12        _printf0_("      [ret]=Kml2Exp(filexp,filkml,sgn,'param name',param,...);\n");
     13        _printf0_("\n");
     14        _printf0_("      filkml      file name of kml file to be read (char)\n");
     15        _printf0_("      filexp      file name of exp file to be written (char)\n");
     16        _printf0_("      sgn         sign for hemisphere (double, +1 (north) or -1 (south))\n");
     17        _printf0_("\n");
     18        _printf0_("      central_meridian     central meridian (double, optional, but must specify with sp)\n");
     19        _printf0_("      standard_parallel    standard parallel (double, optional, but must specify with cm)\n");
     20        _printf0_("\n");
     21        _printf0_("      ret         return code (non-zero for warning)\n");
     22        _printf0_("\n");
     23        _printf0_("   Examples:\n");
     24        _printf0_("      [ret]=Kml2Exp('file.kml','file.exp', 1);\n");
     25        _printf0_("      [ret]=Kml2Exp('file.kml','file.exp', 1,'central_meridian',45,'standard_parallel',70);\n");
     26        _printf0_("      [ret]=Kml2Exp('file.kml','file.exp',-1,'central_meridian', 0,'standard_parallel',71);\n");
     27        _printf0_("\n");
    2828}/*}}}*/
    2929WRAPPER(Kml2Exp){
     
    6060        if (options->GetOption("central_meridian") || options->GetOption("standard_parallel")) {
    6161                options->Get(&cm,"central_meridian");
    62                 if (verbose) _printLine_("  cm=" << cm);
     62                if (verbose) _printf_("  cm=" << cm << "\n");
    6363                options->Get(&sp,"standard_parallel");
    64                 if (verbose) _printLine_("  sp=" << sp);
     64                if (verbose) _printf_("  sp=" << sp << "\n");
    6565        }
    6666
  • issm/trunk/src/wrappers/Kml2Exp/Kml2Exp.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
  • issm/trunk/src/wrappers/Kriging/Kriging.cpp

    r14067 r15396  
    99        num=_NUMTHREADS_;
    1010#endif
    11         _pprintLine_("");
    12         _pprintLine_("   usage: predictions=" << __FUNCT__ << "(x,y,observations,x_interp,y_interp,'options');");
    13         _pprintLine_("   available options:");
    14         _pprintLine_("      -'model': Available variogram models 'gaussian' (default),'spherical','power','exponential'");
    15         _pprintLine_("         -'nugget': nugget effect (default 0.2)");
    16         _pprintLine_("         -'range':  for gaussian, spherical and exponential models (default sqrt(3))");
    17         _pprintLine_("         -'sill':   for gaussian, spherical and exponential models (default 1)");
    18         _pprintLine_("         -'slope':  for power model (default 1)");
    19         _pprintLine_("         -'power':  for power model (default 1)");
    20         _pprintLine_("      -'searchradius': search radius for each prediction (default is observations span)");
    21         _pprintLine_("      -'boxlength':    minimum length of quadtree boxes (useful to decrease the number of observations)");
    22         _pprintLine_("      -'maxdata':      minimum number of observations for a prediction (default is 50)");
    23         _pprintLine_("      -'mindata':      maximum number of observations for a prediction (default is 1)");
    24         _pprintLine_("      -'maxtrimming':  maximum trimming value (default is -1.e+21)");
    25         _pprintLine_("      -'mintrimming':  minimum trimming value (default is +1.e+21)");
    26         _pprintLine_("      -'minspacing':   minimum distance between observation (default is 0.01)");
    27         _pprintLine_("      -'numthreads':   number of threads, default is "<<num);
    28         _pprintLine_("");
     11        _printf0_("\n");
     12        _printf0_("   usage: predictions=" << __FUNCT__ << "(x,y,observations,x_interp,y_interp,'options');\n");
     13        _printf0_("   available options:\n");
     14        _printf0_("      -'model': Available variogram models 'gaussian' (default),'spherical','power','exponential'\n");
     15        _printf0_("         -'nugget': nugget effect (default 0.2)\n");
     16        _printf0_("         -'range':  for gaussian, spherical and exponential models (default sqrt(3))\n");
     17        _printf0_("         -'sill':   for gaussian, spherical and exponential models (default 1)\n");
     18        _printf0_("         -'slope':  for power model (default 1)\n");
     19        _printf0_("         -'power':  for power model (default 1)\n");
     20        _printf0_("      -'searchradius': search radius for each prediction (default is observations span)\n");
     21        _printf0_("      -'boxlength':    minimum length of quadtree boxes (useful to decrease the number of observations)\n");
     22        _printf0_("      -'maxdata':      minimum number of observations for a prediction (default is 50)\n");
     23        _printf0_("      -'mindata':      maximum number of observations for a prediction (default is 1)\n");
     24        _printf0_("      -'maxtrimming':  maximum trimming value (default is -1.e+21)\n");
     25        _printf0_("      -'mintrimming':  minimum trimming value (default is +1.e+21)\n");
     26        _printf0_("      -'minspacing':   minimum distance between observation (default is 0.01)\n");
     27        _printf0_("      -'numthreads':   number of threads, default is "<<num << "\n");
     28        _printf0_("\n");
    2929}/*}}}*/
    3030WRAPPER(Kriging){
  • issm/trunk/src/wrappers/Kriging/Kriging.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    2122#include "../../c/shared/shared.h"
    22 #include "../bindings.h"
    2323
    2424#undef __FUNCT__
  • issm/trunk/src/wrappers/Ll2xy/Ll2xy.cpp

    r13236 r15396  
    55
    66void Ll2xyUsage(void){/*{{{*/
    7         _pprintLine_("Ll2xy - lat/long to x/y coordinate transformation module:");
    8         _pprintLine_("");
    9         _pprintLine_("   This module transforms lat/long to x/y coordinates.");
    10         _pprintLine_("");
    11         _pprintLine_("   Usage:");
    12         _pprintLine_("      [x,y]=Ll2xy(lat,lon,sgn,'param name',param,...);");
    13         _pprintLine_("");
    14         _pprintLine_("      lat         latitude coordinates (double vector)");
    15         _pprintLine_("      lon         longitude coordinates (double vector)");
    16         _pprintLine_("      sgn         sign for hemisphere (double, +1 (north) or -1 (south))");
    17         _pprintLine_("");
    18         _pprintLine_("      central_meridian     central meridian (double, optional, but must specify with sp)");
    19         _pprintLine_("      standard_parallel    standard parallel (double, optional, but must specify with cm)");
    20         _pprintLine_("");
    21         _pprintLine_("      x           x coordinates (double vector)");
    22         _pprintLine_("      y           y coordinates (double vector)");
    23         _pprintLine_("");
    24         _pprintLine_("   Examples:");
    25         _pprintLine_("      [x,y]=Ll2xy(lat,lon, 1);");
    26         _pprintLine_("      [x,y]=Ll2xy(lat,lon, 1,'central_meridian',45,'standard_parallel',70);");
    27         _pprintLine_("      [x,y]=Ll2xy(lat,lon,-1,'central_meridian', 0,'standard_parallel',71);");
    28         _pprintLine_("");
     7        _printf0_("Ll2xy - lat/long to x/y coordinate transformation module:\n");
     8        _printf0_("\n");
     9        _printf0_("   This module transforms lat/long to x/y coordinates.\n");
     10        _printf0_("\n");
     11        _printf0_("   Usage:\n");
     12        _printf0_("      [x,y]=Ll2xy(lat,lon,sgn,'param name',param,...);\n");
     13        _printf0_("\n");
     14        _printf0_("      lat         latitude coordinates (double vector)\n");
     15        _printf0_("      lon         longitude coordinates (double vector)\n");
     16        _printf0_("      sgn         sign for hemisphere (double, +1 (north) or -1 (south))\n");
     17        _printf0_("\n");
     18        _printf0_("      central_meridian     central meridian (double, optional, but must specify with sp)\n");
     19        _printf0_("      standard_parallel    standard parallel (double, optional, but must specify with cm)\n");
     20        _printf0_("\n");
     21        _printf0_("      x           x coordinates (double vector)\n");
     22        _printf0_("      y           y coordinates (double vector)\n");
     23        _printf0_("\n");
     24        _printf0_("   Examples:\n");
     25        _printf0_("      [x,y]=Ll2xy(lat,lon, 1);\n");
     26        _printf0_("      [x,y]=Ll2xy(lat,lon, 1,'central_meridian',45,'standard_parallel',70);\n");
     27        _printf0_("      [x,y]=Ll2xy(lat,lon,-1,'central_meridian', 0,'standard_parallel',71);\n");
     28        _printf0_("\n");
    2929}/*}}}*/
    3030WRAPPER(Ll2xy){
     
    6464        if(options->GetOption("central_meridian") || options->GetOption("standard_parallel")){
    6565                options->Get(&cm,"central_meridian");
    66                 if (verbose) _printLine_("  cm=" << cm);
     66                if (verbose) _printf_("  cm=" << cm << "\n");
    6767                options->Get(&sp,"standard_parallel");
    68                 if (verbose) _printLine_("  sp=" << sp);
     68                if (verbose) _printf_("  sp=" << sp << "\n");
    6969        }
    7070
    7171        /*some checks*/
    72         if (verbose) _printLine_("Checking inputs:");
     72        if (verbose) _printf_("Checking inputs:\n");
    7373        if (nlat != nlon){_error_("Must have same number of lat[" << nlat << "] and lon[" << nlon << "] coordinates.");}
    7474        else                ncoord=nlat;
  • issm/trunk/src/wrappers/Ll2xy/Ll2xy.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
  • issm/trunk/src/wrappers/MeshPartition/MeshPartition.cpp

    r13236 r15396  
    22 * \brief: partition mesh according to number of areas, using Metis library.
    33*/
    4        
     4
    55#include "./MeshPartition.h"
    66
    77void MeshPartitionUsage(void){/*{{{*/
    8         _printLine_("   usage:");
    9         _printString_("   [element_partitioning,node_partitioning]=MeshPartition(md.mesh,numpartitions)");
    10         _printLine_("   where:");
    11         _printLine_("      element_partitioning is a vector of partitioning area numbers, for every element.");
    12         _printLine_("      node_partitioning is a vector of partitioning area numbers, for every node.");
    13         _printLine_("");
     8        _printf_("   usage:\n");
     9        _printf_("   [element_partitioning,node_partitioning]=MeshPartition(md.mesh,numpartitions)");
     10        _printf_("   where:\n");
     11        _printf_("      element_partitioning is a vector of partitioning area numbers, for every element.\n");
     12        _printf_("      node_partitioning is a vector of partitioning area numbers, for every node.\n");
     13        _printf_("\n");
    1414}/*}}}*/
    1515WRAPPER(MeshPartition){
     
    6767                element_partitioning[i]=(double)int_element_partitioning[i]+1; //Metis indexing from 0, matlab from 1.
    6868        }
    69        
     69
    7070        node_partitioning=xNew<double>(numberofvertices);
    7171        for (i=0;i<numberofvertices;i++){
     
    7676        WriteData(ELEMENTPARTITIONING,element_partitioning,numberofelements);
    7777        WriteData(NODEPARTITIONING,node_partitioning,numberofvertices);
    78        
     78
    7979        /*Free ressources:*/
    8080        //don't! let matlab do it.
  • issm/trunk/src/wrappers/MeshPartition/MeshPartition.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
     
    5049#define NRHS  2
    5150
    52 
    5351#endif  /* _MESHPARTITION_H */
    54 
  • issm/trunk/src/wrappers/MeshProfileIntersection/MeshProfileIntersection.cpp

    r14310 r15396  
    1515                mesh.
    1616*/
    17        
     17
    1818#include "./MeshProfileIntersection.h"
    1919
    2020void MeshProfileIntersectionUsage(void){/*{{{*/
    21         _printLine_("   usage:");
    22         _printLine_("   [segments]=MeshProfileIntersection(index,x,y,filename);");
    23         _printLine_("   where:");
    24         _printLine_("   input:");
    25         _printLine_("        index,x,y is a triangulation");
    26         _printLine_("        filename: name of Argus style .exp file containing the segments (can be groups of disconnected segments)");
    27         _printLine_("   output:");
    28         _printLine_("        segments: array made of x1,y1,x2,y2,element_id lines (x1,y1) and (x2,y2) are segment extremities for a segment ");
    29         _printLine_("        belonging to the elemnt_id element. there are as many lines in segments as there are segments intersecting the ");
    30         _printLine_("        mesh.");
     21        _printf_("   usage:\n");
     22        _printf_("   [segments]=MeshProfileIntersection(index,x,y,filename);\n");
     23        _printf_("   where:\n");
     24        _printf_("   input:\n");
     25        _printf_("        index,x,y is a triangulation\n");
     26        _printf_("        filename: name of Argus style .exp file containing the segments (can be groups of disconnected segments)\n");
     27        _printf_("   output:\n");
     28        _printf_("        segments: array made of x1,y1,x2,y2,element_id lines (x1,y1) and (x2,y2) are segment extremities for a segment \n");
     29        _printf_("        belonging to the elemnt_id element. there are as many lines in segments as there are segments intersecting the \n");
     30        _printf_("        mesh.\n");
    3131}/*}}}*/
    3232WRAPPER(MeshProfileIntersection){
     
    3636        /* required input: */
    3737        //mesh
    38         double* double_index=NULL;
    39         int*    index=NULL;
     38        double *double_index = NULL;
     39        int    *index        = NULL;
    4040        int     nel;
    41         double* x=NULL;
    42         double* y=NULL;
     41        double *x            = NULL;
     42        double *y            = NULL;
    4343        int     nods;
    4444        int     dummy;
    45        
     45
    4646        //contours
    47         DataSet          *domain      = NULL;
     47        Contours         *domain      = NULL;
    4848        Contour<double> **contours=NULL;
    4949        int               numcontours;
     
    7676        //contours
    7777        FetchData(&domain,FILENAME);
    78         // MeshProfileIntersectionx should be modified to take DataSet directly (and perhaps SeqMat and SeqVec).
     78        // MeshProfileIntersectionx should be modified to take DataSet directly (and perhaps IssmDenseMat and IssmSeqVec).
    7979        numcontours=domain->Size();
    8080        contours=xNew<Contour<double>*>(numcontours);
  • issm/trunk/src/wrappers/MeshProfileIntersection/MeshProfileIntersection.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
     
    5352
    5453#endif  /* _MESHPROFILEINTERSECTION_H */
    55 
  • issm/trunk/src/wrappers/NodeConnectivity/NodeConnectivity.cpp

    r14067 r15396  
    66
    77void NodeConnectivityUsage(void){/*{{{*/
    8         _pprintLine_("");
    9         _pprintLine_("   usage: connectivity = " << __FUNCT__ << "(elements, numnodes);");
    10         _pprintLine_("");
     8        _printf0_("\n");
     9        _printf0_("   usage: connectivity = " << __FUNCT__ << "(elements, numnodes);\n");
     10        _printf0_("\n");
    1111}/*}}}*/
    1212WRAPPER(NodeConnectivity){
     
    2626        /*checks on arguments: */
    2727        CHECKARGUMENTS(NLHS,NRHS,&NodeConnectivityUsage);
    28        
     28
    2929        /*Input datasets: */
    3030        FetchData(&elements,&nels,NULL,ELEMENTS);
  • issm/trunk/src/wrappers/NodeConnectivity/NodeConnectivity.h

    r13749 r15396  
    2121
    2222/*Header files: */
    23 #include "../../c/include/globals.h"
     23#include "../bindings.h"
     24#include "../../c/main/globals.h"
    2425#include "../../c/toolkits/toolkits.h"
    25 #include "../../c/include/include.h"
    2626#include "../../c/modules/modules.h"
    27 #include "../../c/Container/Container.h"
    2827#include "../../c/shared/shared.h"
    29 #include "../bindings.h"
    30 #include "../../c/io/io.h"
    31 #include "../../c/EnumDefinitions/EnumDefinitions.h"
     28#include "../../c/shared/io/io.h"
     29#include "../../c/shared/Enum/Enum.h"
    3230
    3331#ifdef _HAVE_MATLAB_MODULES_
  • issm/trunk/src/wrappers/PointCloudFindNeighbors/PointCloudFindNeighbors.cpp

    r13236 r15396  
    22    \brief: flag points that are too near one another, within an array of point coordinates
    33*/
    4        
     4
    55#include "./PointCloudFindNeighbors.h"
    66
    77void PointCloudFindNeighborsUsage(void){/*{{{*/
    8         _printLine_("   usage:");
    9         _printLine_("   [flags]=PointCloudFindNeighbors(x,y,mindistance,multithread);\n");
    10         _printLine_("   where:");
    11         _printLine_("      x,y: list of points.");
    12         _printLine_("      mindistance: minimum distance that should exist between points in the cloud.");
    13         _printLine_("      multithread: run multithreaded or not. with multithreads, flags can get 1 and 2 values in duplicates.");
    14         _printLine_("      flags: array of flags (flag==1 means point is within mindistance of another point)");
    15         _printLine_("");
     8        _printf_("   usage:\n");
     9        _printf_("   [flags]=PointCloudFindNeighbors(x,y,mindistance,multithread);\n");
     10        _printf_("   where:\n");
     11        _printf_("      x,y: list of points.\n");
     12        _printf_("      mindistance: minimum distance that should exist between points in the cloud.\n");
     13        _printf_("      multithread: run multithreaded or not. with multithreads, flags can get 1 and 2 values in duplicates.\n");
     14        _printf_("      flags: array of flags (flag==1 means point is within mindistance of another point)\n");
     15        _printf_("\n");
    1616}/*}}}*/
    1717WRAPPER(PointCloudFindNeighbors){
     
    2727
    2828        /* output: */
    29         SeqVec<double> *flags = NULL;
     29        IssmSeqVec<double> *flags = NULL;
    3030
    3131        /*Boot module: */
  • issm/trunk/src/wrappers/PointCloudFindNeighbors/PointCloudFindNeighbors.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
  • issm/trunk/src/wrappers/PropagateFlagsFromConnectivity/PropagateFlagsFromConnectivity.cpp

    r13250 r15396  
    66
    77void PropagateFlagsFromConnectivityUsage(void) {/*{{{*/
    8         _printLine_("");
    9         _printLine_("   usage: [pool] = " << __FUNCT__ << "(connectivity,pool,index,flags);");;
    10         _printLine_("");
     8        _printf_("\n");
     9        _printf_("   usage: [pool] = " << __FUNCT__ << "(connectivity,pool,index,flags);\n");;
     10        _printf_("\n");
    1111}/*}}}*/
    1212WRAPPER(PropagateFlagsFromConnectivity){
     
    1919        int     index;
    2020        int     dummy;
    21        
     21
    2222        /*Boot module: */
    2323        MODULEBOOT();
     
    2525        /*checks on arguments on the matlab side: */
    2626        CheckNumMatlabArguments(nlhs,NLHS,nrhs,NRHS,__FUNCT__,&PropagateFlagsFromConnectivityUsage);
    27        
     27
    2828        /*Input datasets: */
    2929        FetchData(&connectivity,&nel,&dummy,CONNECTIVITY);
  • issm/trunk/src/wrappers/PropagateFlagsFromConnectivity/PropagateFlagsFromConnectivity.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
  • issm/trunk/src/wrappers/Scotch/Scotch.cpp

    r13236 r15396  
    3535
    3636        /* Check for proper number of arguments */
    37    
     37
    3838        if (nrhs == 0 && nlhs == 0) {
    3939                GmapUsage();
  • issm/trunk/src/wrappers/Scotch/Scotch.h

    r13749 r15396  
    66#define _SCOTCH_H
    77
     8#include "../bindings.h" /*Should always come first to avoid python's warnings*/
    89#include <stdio.h>
    910#include <string.h>    /*  strcasecmp  */
    1011#include <time.h>      /*  clock,time,difftime  */
    11 #include "../../c/include/globals.h"
     12#include "../../c/main/globals.h"
    1213#include "../../c/modules/modules.h"
    13 #include "../../c/Container/Container.h"
    1414#include "../../c/shared/shared.h"
    15 #include "../bindings.h"
    16    
     15
    1716#undef __FUNCT__
    1817#define __FUNCT__  "Scotch"
  • issm/trunk/src/wrappers/Shp2Exp/Shp2Exp.cpp

    r14283 r15396  
    1212
    1313void Shp2ExpUsage(void){/*{{{*/
    14         _pprintLine_("Shp2Exp - shp to exp file conversion module:");
    15         _pprintLine_("");
    16         _pprintLine_("   This module converts a file from shp to exp format.");
    17         _pprintLine_("");
    18         _pprintLine_("   Usage:");
    19         _pprintLine_("      [ret]=Shp2Exp(filshp,filexp,sgn,'param name',param,...);");
    20         _pprintLine_("");
    21         _pprintLine_("      filshp      file name of shp file to be read (char, extension optional)");
    22         _pprintLine_("      filexp      file name of exp file to be written (char)");
    23         _pprintLine_("");
    24         _pprintLine_("      ret         return code (non-zero for warning)");
    25         _pprintLine_("");
    26         _pprintLine_("   Examples:");
    27         _pprintLine_("      [ret]=Shp2Exp('file.shp','file.exp');");
    28         _pprintLine_("");
     14        _printf0_("Shp2Exp - shp to exp file conversion module:\n");
     15        _printf0_("\n");
     16        _printf0_("   This module converts a file from shp to exp format.\n");
     17        _printf0_("\n");
     18        _printf0_("   Usage:\n");
     19        _printf0_("      [ret]=Shp2Exp(filshp,filexp,sgn,'param name',param,...);\n");
     20        _printf0_("\n");
     21        _printf0_("      filshp      file name of shp file to be read (char, extension optional)\n");
     22        _printf0_("      filexp      file name of exp file to be written (char)\n");
     23        _printf0_("\n");
     24        _printf0_("      ret         return code (non-zero for warning)\n");
     25        _printf0_("\n");
     26        _printf0_("   Examples:\n");
     27        _printf0_("      [ret]=Shp2Exp('file.shp','file.exp');\n");
     28        _printf0_("\n");
    2929}/*}}}*/
    3030WRAPPER(Shp2Exp){
  • issm/trunk/src/wrappers/Shp2Exp/Shp2Exp.h

    r14283 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
     
    4948
    5049#endif
    51 
  • issm/trunk/src/wrappers/Shp2Kml/Shp2Kml.cpp

    r13250 r15396  
    1212
    1313void Shp2KmlUsage(void){/*{{{*/
    14         _pprintLine_("Shp2Kml - shp to kml file conversion module:");
    15         _pprintLine_("");
    16         _pprintLine_("   This module converts a file from shp to kml format.");
    17         _pprintLine_("");
    18         _pprintLine_("   Usage:");
    19         _pprintLine_("      [ret]=Shp2Kml(filshp,filkml,sgn,'param name',param,...);");
    20         _pprintLine_("");
    21         _pprintLine_("      filshp      file name of shp file to be read (char, extension optional)");
    22         _pprintLine_("      filkml      file name of kml file to be written (char)");
    23         _pprintLine_("      sgn         sign for hemisphere (double, +1 (north); -1 (south); or 0 (no translation))");
    24         _pprintLine_("");
    25         _pprintLine_("      central_meridian     central meridian (double, optional, but must specify with sp)");
    26         _pprintLine_("      standard_parallel    standard parallel (double, optional, but must specify with cm)");
    27         _pprintLine_("");
    28         _pprintLine_("      ret         return code (non-zero for warning)");
    29         _pprintLine_("");
    30         _pprintLine_("   Examples:");
    31         _pprintLine_("      [ret]=Shp2Kml('file.shp','file.kml', 0);");
    32         _pprintLine_("      [ret]=Shp2Kml('file.shp','file.kml', 1,'central_meridian',45,'standard_parallel',70);");
    33         _pprintLine_("      [ret]=Shp2Kml('file.shp','file.kml',-1,'central_meridian', 0,'standard_parallel',71);");
    34         _pprintLine_("");
     14        _printf0_("Shp2Kml - shp to kml file conversion module:\n");
     15        _printf0_("\n");
     16        _printf0_("   This module converts a file from shp to kml format.\n");
     17        _printf0_("\n");
     18        _printf0_("   Usage:\n");
     19        _printf0_("      [ret]=Shp2Kml(filshp,filkml,sgn,'param name',param,...);\n");
     20        _printf0_("\n");
     21        _printf0_("      filshp      file name of shp file to be read (char, extension optional)\n");
     22        _printf0_("      filkml      file name of kml file to be written (char)\n");
     23        _printf0_("      sgn         sign for hemisphere (double, +1 (north) -1 (south) or 0 (no translation))\n");
     24        _printf0_("\n");
     25        _printf0_("      central_meridian     central meridian (double, optional, but must specify with sp)\n");
     26        _printf0_("      standard_parallel    standard parallel (double, optional, but must specify with cm)\n");
     27        _printf0_("\n");
     28        _printf0_("      ret         return code (non-zero for warning)\n");
     29        _printf0_("\n");
     30        _printf0_("   Examples:\n");
     31        _printf0_("      [ret]=Shp2Kml('file.shp','file.kml', 0);\n");
     32        _printf0_("      [ret]=Shp2Kml('file.shp','file.kml', 1,'central_meridian',45,'standard_parallel',70);\n");
     33        _printf0_("      [ret]=Shp2Kml('file.shp','file.kml',-1,'central_meridian', 0,'standard_parallel',71);\n");
     34        _printf0_("\n");
    3535}/*}}}*/
    3636WRAPPER(Shp2Kml){
     
    7171        if (options->GetOption("central_meridian") || options->GetOption("standard_parallel")) {
    7272                options->Get(&cm,"central_meridian");
    73                 if (verbose) _printLine_("  cm=" << cm);
     73                if (verbose) _printf_("  cm=" << cm << "\n");
    7474                options->Get(&sp,"standard_parallel");
    75                 if (verbose) _printLine_("  sp=" << sp);
     75                if (verbose) _printf_("  sp=" << sp << "\n");
    7676        }
    7777
  • issm/trunk/src/wrappers/Shp2Kml/Shp2Kml.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
     
    5150
    5251#endif
    53 
  • issm/trunk/src/wrappers/StringToEnum/StringToEnum.cpp

    r13236 r15396  
    66
    77void StringToEnumUsage(void){/*{{{*/
    8         _pprintLine_("");
    9         _pprintLine_("   usage: " << __FUNCT__ << "enum = StringToEnum(string);");
    10         _pprintLine_("");
     8        _printf0_("\n");
     9        _printf0_("   usage: " << __FUNCT__ << "enum = StringToEnum(string);\n");
     10        _printf0_("\n");
    1111}/*}}}*/
    1212WRAPPER(StringToEnum){
  • issm/trunk/src/wrappers/StringToEnum/StringToEnum.h

    r13749 r15396  
    1818
    1919/*Header files: */
    20 #include "../../c/include/globals.h"
    21 #include "../../c/modules/modules.h"
    22 #include "../../c/Container/Container.h"
     20#include "../bindings.h"
     21#include "../../c/main/globals.h"
     22#include "../../c/shared/Enum/Enum.h"
    2323#include "../../c/shared/shared.h"
    24 #include "../bindings.h"
    2524
    2625#undef __FUNCT__
    2726#define __FUNCT__  "StringToEnum"
    28    
     27
    2928#ifdef _HAVE_MATLAB_MODULES_
    3029/* serial input macros: */
  • issm/trunk/src/wrappers/TriMesh/TriMesh.cpp

    r14310 r15396  
    66
    77void TriMeshUsage(void){/*{{{*/
    8         _printLine_("");
    9         _printLine_("   usage: [index,x,y,segments,segmentmarkers]=TriMesh(domainoutlinefilename,rifts,area) ");
    10         _printLine_("      where: index,x,y defines a triangulation, segments is an array made ");
    11         _printLine_("      of exterior segments to the mesh domain outline, segmentmarkers is an array flagging each segment, ");
    12         _printLine_("      outlinefilename an Argus domain outline file, ");
    13         _printLine_("      area is the maximum area desired for any element of the resulting mesh, ");
    14         _printLine_("");
     8        _printf_("\n");
     9        _printf_("   usage: [index,x,y,segments,segmentmarkers]=TriMesh(domainoutlinefilename,rifts,area) \n");
     10        _printf_("      where: index,x,y defines a triangulation, segments is an array made \n");
     11        _printf_("      of exterior segments to the mesh domain outline, segmentmarkers is an array flagging each segment, \n");
     12        _printf_("      outlinefilename an Argus domain outline file, \n");
     13        _printf_("      area is the maximum area desired for any element of the resulting mesh, \n");
     14        _printf_("\n");
    1515}/*}}}*/
    1616WRAPPER(TriMesh){
    17        
     17
    1818        /*intermediary: */
    19         double  area;
    20         DataSet *domain = NULL;
    21         DataSet *rifts  = NULL;
     19        double    area;
     20        Contours *domain = NULL;
     21        Contours *rifts  = NULL;
    2222
    2323        /* output: */
    24         SeqMat<int>    *index             = NULL;
    25         SeqVec<double> *x                 = NULL;
    26         SeqVec<double> *y                 = NULL;
    27         SeqMat<int>    *segments          = NULL;
    28         SeqVec<int>    *segmentmarkerlist = NULL;
     24        int    *index             = NULL;
     25        double *x                 = NULL;
     26        double *y                 = NULL;
     27        int    *segments          = NULL;
     28        int    *segmentmarkerlist = NULL;
     29        int     nels,nods,nsegs;
    2930
    3031        /*Boot module: */
     
    3334        /*checks on arguments: */
    3435        CHECKARGUMENTS(NLHS,NRHS,&TriMeshUsage);
    35        
     36
    3637        /*Fetch data needed for meshing: */
    3738        FetchData(&domain,DOMAINOUTLINE);
     
    4041
    4142        /*call x core: */
    42         TriMeshx(&index,&x,&y,&segments,&segmentmarkerlist,domain,rifts,area);
     43        TriMeshx(&index,&x,&y,&segments,&segmentmarkerlist,&nels,&nods,&nsegs,domain,rifts,area);
    4344
    4445        /*write outputs: */
    45         WriteData(INDEX,index);
    46         WriteData(X,x);
    47         WriteData(Y,y);
    48         WriteData(SEGMENTS,segments);
    49         WriteData(SEGMENTMARKERLIST,segmentmarkerlist);
     46        WriteData(INDEX,index,nels,3);
     47        WriteData(X,x,nods);
     48        WriteData(Y,y,nods);
     49        WriteData(SEGMENTS,segments,nsegs,3);
     50        WriteData(SEGMENTMARKERLIST,segmentmarkerlist,nsegs);
    5051
    5152        /*free ressources: */
    5253        delete domain;
    5354        delete rifts;
    54         delete index;
    55         delete x;
    56         delete y;
    57         delete segments;
    58         delete segmentmarkerlist;
     55        xDelete<int>(index);
     56        xDelete<double>(x);
     57        xDelete<double>(y);
     58        xDelete<int>(segments);
     59        xDelete<int>(segmentmarkerlist);
    5960
    6061        /*end module: */
  • issm/trunk/src/wrappers/TriMesh/TriMesh.h

    r13749 r15396  
    1818
    1919/*Header files: */
    20 #include "../../c/include/globals.h"
     20#include "../bindings.h"
     21#include "../../c/main/globals.h"
    2122#include "../../c/toolkits/toolkits.h"
    22 #include "../../c/include/include.h"
    2323#include "../../c/modules/modules.h"
    24 #include "../../c/Container/Container.h"
    2524#include "../../c/shared/shared.h"
    26 #include "../bindings.h"
    27 #include "../../c/io/io.h"
    28 #include "../../c/EnumDefinitions/EnumDefinitions.h"
     25#include "../../c/shared/io/io.h"
     26#include "../../c/shared/Enum/Enum.h"
    2927
    3028#undef __FUNCT__
  • issm/trunk/src/wrappers/TriMeshProcessRifts/TriMeshProcessRifts.cpp

    r14310 r15396  
    66
    77void TriMeshProcessRiftsUsage(void){/*{{{*/
    8         _printLine_("");
    9         _printLine_("   usage: [index2,x2,y2,segments2,segmentmarkers2,rifts2]=TriMeshProcessrifts(index1,x1,y1,segments1,segmentmarkers1) ");
    10         _printLine_("      where: (index1,x1,y1,segments1,segmentmarkers1) is an initial triangulation.");
    11         _printLine_("      index2,x2,y2,segments2,segmentmarkers2,rifts2 is the resulting triangulation where rifts have been processed.");
     8        _printf_("\n");
     9        _printf_("   usage: [index2,x2,y2,segments2,segmentmarkers2,rifts2]=TriMeshProcessrifts(index1,x1,y1,segments1,segmentmarkers1) \n");
     10        _printf_("      where: (index1,x1,y1,segments1,segmentmarkers1) is an initial triangulation.\n");
     11        _printf_("      index2,x2,y2,segments2,segmentmarkers2,rifts2 is the resulting triangulation where rifts have been processed.\n");
    1212}/*}}}*/
    1313WRAPPER(TriMeshProcessRifts){
  • issm/trunk/src/wrappers/TriMeshProcessRifts/TriMeshProcessRifts.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
  • issm/trunk/src/wrappers/TriaSearch/TriaSearch.cpp

    r13236 r15396  
    55
    66void TriaSearchUsage(void){/*{{{*/
    7         _pprintLine_("TriaSearch- find triangle holding a point (x0,y0) in a mesh");
    8         _pprintLine_("");
    9         _pprintLine_("   Usage:");
    10         _pprintLine_("         tria=TriaSearch(index,x,y,x0,y0);");
    11         _pprintLine_("      index,x,y: mesh triangulatrion");
    12         _pprintLine_("      x0,y0: coordinates of the point for which we are trying to find a triangle");
    13         _pprintLine_("      x0,y0 can be an array of points");
    14         _pprintLine_("");
     7        _printf0_("TriaSearch- find triangle holding a point (x0,y0) in a mesh\n");
     8        _printf0_("\n");
     9        _printf0_("   Usage:\n");
     10        _printf0_("         tria=TriaSearch(index,x,y,x0,y0);\n");
     11        _printf0_("      index,x,y: mesh triangulatrion\n");
     12        _printf0_("      x0,y0: coordinates of the point for which we are trying to find a triangle\n");
     13        _printf0_("      x0,y0 can be an array of points\n");
     14        _printf0_("\n");
    1515}/*}}}*/
    1616WRAPPER(TriaSearch){
  • issm/trunk/src/wrappers/TriaSearch/TriaSearch.h

    r13749 r15396  
    1616#endif
    1717
    18 #include "../../c/include/globals.h"
     18#include "../bindings.h"
     19#include "../../c/main/globals.h"
    1920#include "../../c/modules/modules.h"
    20 #include "../../c/Container/Container.h"
    2121#include "../../c/shared/shared.h"
    22 #include "../bindings.h"
    2322
    2423#undef __FUNCT__
  • issm/trunk/src/wrappers/Xy2ll/Xy2ll.cpp

    r13236 r15396  
    55
    66void Xy2llUsage(void){/*{{{*/
    7         _pprintLine_("Xy2ll - x/y to lat/long coordinate transformation module:");
    8         _pprintLine_("");
    9         _pprintLine_("   This module transforms x/y to lat/long coordinates.");
    10         _pprintLine_("");
    11         _pprintLine_("   Usage:");
    12         _pprintLine_("      [lat,lon]=Xy2ll(x,y,sgn,'param name',param,...);");
    13         _pprintLine_("");
    14         _pprintLine_("      x           x coordinates (double vector)");
    15         _pprintLine_("      y           y coordinates (double vector)");
    16         _pprintLine_("      sgn         sign for hemisphere (double, +1 (north) or -1 (south))");
    17         _pprintLine_("");
    18         _pprintLine_("      central_meridian     central meridian (double, optional, but must specify with sp)");
    19         _pprintLine_("      standard_parallel    standard parallel (double, optional, but must specify with cm)");
    20         _pprintLine_("");
    21         _pprintLine_("      lat         latitude coordinates (double vector)");
    22         _pprintLine_("      lon         longitude coordinates (double vector)");
    23         _pprintLine_("");
    24         _pprintLine_("   Examples:");
    25         _pprintLine_("      [lat,lon]=Xy2ll(x,y, 1);");
    26         _pprintLine_("      [lat,lon]=Xy2ll(x,y, 1,'central_meridian',45,'standard_parallel',70);");
    27         _pprintLine_("      [lat,lon]=Xy2ll(x,y,-1,'central_meridian', 0,'standard_parallel',71);");
    28         _pprintLine_("");
     7        _printf0_("Xy2ll - x/y to lat/long coordinate transformation module:\n");
     8        _printf0_("\n");
     9        _printf0_("   This module transforms x/y to lat/long coordinates.\n");
     10        _printf0_("\n");
     11        _printf0_("   Usage:\n");
     12        _printf0_("      [lat,lon]=Xy2ll(x,y,sgn,'param name',param,...);\n");
     13        _printf0_("\n");
     14        _printf0_("      x           x coordinates (double vector)\n");
     15        _printf0_("      y           y coordinates (double vector)\n");
     16        _printf0_("      sgn         sign for hemisphere (double, +1 (north) or -1 (south))\n");
     17        _printf0_("\n");
     18        _printf0_("      central_meridian     central meridian (double, optional, but must specify with sp)\n");
     19        _printf0_("      standard_parallel    standard parallel (double, optional, but must specify with cm)\n");
     20        _printf0_("\n");
     21        _printf0_("      lat         latitude coordinates (double vector)\n");
     22        _printf0_("      lon         longitude coordinates (double vector)\n");
     23        _printf0_("\n");
     24        _printf0_("   Examples:\n");
     25        _printf0_("      [lat,lon]=Xy2ll(x,y, 1);\n");
     26        _printf0_("      [lat,lon]=Xy2ll(x,y, 1,'central_meridian',45,'standard_parallel',70);\n");
     27        _printf0_("      [lat,lon]=Xy2ll(x,y,-1,'central_meridian', 0,'standard_parallel',71);\n");
     28        _printf0_("\n");
    2929}/*}}}*/
    3030WRAPPER(Xy2ll){
     
    6363        if (options->GetOption("central_meridian") || options->GetOption("standard_parallel")) {
    6464                options->Get(&cm,"central_meridian");
    65                 if (verbose) _printLine_("  cm=" << cm);
     65                if (verbose) _printf_("  cm=" << cm << "\n");
    6666                options->Get(&sp,"standard_parallel");
    67                 if (verbose) _printLine_("  sp=" << sp);
     67                if (verbose) _printf_("  sp=" << sp << "\n");
    6868        }
    6969
     
    7979
    8080        /* Run core computations: */
    81         if (verbose) _printLine_("Calling core:");
     81        if (verbose) _printf_("Calling core:\n");
    8282        if (options->GetOption("central_meridian") && options->GetOption("standard_parallel"))
    8383                iret=Xy2llx(lat,lon,x,y,ncoord,sgn,cm,sp);
  • issm/trunk/src/wrappers/Xy2ll/Xy2ll.h

    r13749 r15396  
    1717#endif
    1818
    19 #include "../../c/include/globals.h"
     19#include "../bindings.h"
     20#include "../../c/main/globals.h"
    2021#include "../../c/modules/modules.h"
    21 #include "../../c/Container/Container.h"
    2222#include "../../c/shared/shared.h"
    23 #include "../bindings.h"
    2423
    2524#undef __FUNCT__
  • issm/trunk/src/wrappers/bindings.h

    r13749 r15396  
    88#endif
    99
     10#ifdef  _HAVE_PYTHON_MODULES_
     11#include "./python/include/pythonincludes.h"
     12#include "./python/include/wrapper_macros.h"
     13#include "./python/io/pythonio.h"
     14#endif
     15
    1016#ifdef  _HAVE_MATLAB_MODULES_
    1117#include "./matlab/include/matlabincludes.h"
     
    1420#endif
    1521
    16 #ifdef  _HAVE_PYTHON_MODULES_
    17 #include "./python/include/pythonincludes.h"
    18 #include "./python/include/wrapper_macros.h"
    19 #include "./python/io/pythonio.h"
    2022#endif
    21 
    22 #endif
  • issm/trunk/src/wrappers/matlab/Makefile.am

    r14310 r15396  
    2323                                ./io/MatlabVectorToDoubleVector.cpp\
    2424                                ./io/MatlabMatrixToDoubleMatrix.cpp\
    25                                 ./io/MatlabMatrixToSeqMat.cpp\
    26                                 ./io/MatlabVectorToSeqVec.cpp
     25                                ./io/MatlabMatrixToIssmMat.cpp\
     26                                ./io/MatlabVectorToIssmVec.cpp
     27
    2728                               
    2829if PETSC
     
    3637if SHAREDLIBS
    3738libISSMMatlab_la_SOURCES = $(io_sources)
     39endif
     40#}}}
     41#api io{{{
     42lib_LIBRARIES += libISSMApi.a
     43if SHAREDLIBS
     44lib_LTLIBRARIES += libISSMApi.la
     45else
     46lib_LTLIBRARIES +=
     47endif
     48
     49api_sources= ./io/ApiPrintf.cpp
     50
     51libISSMApi_a_SOURCES = $(api_sources)
     52libISSMApi_a_CXXFLAGS= $(ALLCXXFLAGS)
     53if SHAREDLIBS
     54libISSMApi_la_SOURCES = $(api_sources)
    3855endif
    3956#}}}
     
    4663                                                 ContourToMesh.la\
    4764                                                 ContourToNodes.la\
     65                                                 EdgeDetection.la\
    4866                                                 ElementConnectivity.la\
    4967                                                 EnumToString.la\
     
    84102endif
    85103#}}}
    86 #Flags and libraries {{{
    87 #if SHAREDLIBS
    88 #deps = ../../c/libISSMCore.la ../../c/libISSMModules.la
    89 #else
    90 #deps = ../../c/libISSMCore.a ../../c/libISSMModules.a
    91 #endif
    92 #deps +=  $(MATHLIB) ${MEXLIB}
    93 deps =  $(MATHLIB) ${MEXLIB}
     104
     105# Dependencies {{{
     106deps =  $(MATHLIB)
    94107
    95108#Triangle library
     
    103116AM_LDFLAGS += -avoid-version
    104117endif
    105 if SHAREDLIBS
    106 deps += ./libISSMMatlab.la
    107 else
    108 deps += ./libISSMMatlab.a
    109 AM_LDFLAGS += --no-warnings
    110 endif
    111118
    112119AM_CXXFLAGS +=  -D_HAVE_MATLAB_MODULES_  -D_GNU_SOURCE -fPIC -fno-omit-frame-pointer -pthread
    113120
    114121if SHAREDLIBS
    115 deps +=
    116 else
    117 deps += ../../c/libISSMModules.a ../../c/libISSMCore.a 
     122deps += ../../c/libISSMModules.la ../../c/libISSMCore.la ./libISSMApi.la ./libISSMMatlab.a
     123else
     124deps += ./libISSMMatlab.a ../../c/libISSMModules.a ../../c/libISSMCore.a ./libISSMApi.a
    118125if ADOLC
    119126deps += $(ADOLCLIB)
    120127endif
    121128endif
     129
     130#MEXLIB needs to be the last (undefined references on larsen)
     131deps += ${MEXLIB}
     132
    122133#Optimization flags:
    123134AM_CXXFLAGS += $(CXXOPTFLAGS)
    124135#}}}
    125 #Bin sources {{{
     136# Module sources and dependencies {{{
     137libISSMMatlab_la_LIBADD = $(MPILIB) $(PETSCLIB) $(GSLLIB) $(MATHLIB) $(MEXLIB) ./../../c/libISSMCore.la
     138libISSMMatlab_la_LDFLAGS = -module
     139
     140libISSMApi_la_LIBADD = $(MPILIB) $(PETSCLIB) $(GSLLIB) $(MATHLIB) $(MEXLIB)
     141libISSMApi_la_LDFLAGS = -module
     142
    126143AverageFilter_la_SOURCES = ../AverageFilter/AverageFilter.cpp\
    127144                                                                        ../AverageFilter/AverageFilter.h
    128 AverageFilter_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     145AverageFilter_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    129146
    130147BamgMesher_la_SOURCES = ../BamgMesher/BamgMesher.cpp\
    131148                                                                ../BamgMesher/BamgMesher.h
    132 BamgMesher_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     149BamgMesher_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    133150
    134151BamgConvertMesh_la_SOURCES = ../BamgConvertMesh/BamgConvertMesh.cpp\
    135152                                                                          ../BamgConvertMesh/BamgConvertMesh.h
    136 BamgConvertMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     153BamgConvertMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    137154
    138155BamgTriangulate_la_SOURCES = ../BamgTriangulate/BamgTriangulate.cpp\
    139156                                                                          ../BamgTriangulate/BamgTriangulate.h
    140 BamgTriangulate_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     157BamgTriangulate_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    141158
    142159Chaco_la_SOURCES = ../Chaco/Chaco.cpp\
    143160                                                 ../Chaco/Chaco.h
    144 Chaco_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(CHACOLIB)
     161Chaco_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(CHACOLIB) $(GSLLIB)
    145162
    146163ContourToMesh_la_SOURCES = ../ContourToMesh/ContourToMesh.cpp\
    147164                                                                        ../ContourToMesh/ContourToMesh.h
    148 ContourToMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB)
     165ContourToMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB) $(GSLLIB)
    149166
    150167ContourToNodes_la_SOURCES = ../ContourToNodes/ContourToNodes.cpp\
    151168                                                                         ../ContourToNodes/ContourToNodes.h
    152 ContourToNodes_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     169ContourToNodes_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    153170
    154171ElementConnectivity_la_SOURCES = ../ElementConnectivity/ElementConnectivity.cpp\
    155172                                                                                        ../ElementConnectivity/ElementConnectivity.h
    156 ElementConnectivity_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     173ElementConnectivity_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    157174
    158175EnumToString_la_SOURCES = ../EnumToString/EnumToString.cpp\
    159176                                                                  ../EnumToString/EnumToString.h
    160 EnumToString_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     177EnumToString_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    161178
    162179StringToEnum_la_SOURCES = ../StringToEnum/StringToEnum.cpp\
    163180                                                                  ../StringToEnum/StringToEnum.h
    164 StringToEnum_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     181StringToEnum_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    165182
    166183HoleFiller_la_SOURCES = ../HoleFiller/HoleFiller.cpp\
    167184                                                                ../HoleFiller/HoleFiller.h
    168 HoleFiller_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     185HoleFiller_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)  $(GSLLIB)
    169186
    170187InternalFront_la_SOURCES = ../InternalFront/InternalFront.cpp\
    171188                                                                        ../InternalFront/InternalFront.h
    172 InternalFront_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     189InternalFront_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    173190
    174191InterpFromGridToMesh_la_SOURCES = ../InterpFromGridToMesh/InterpFromGridToMesh.cpp\
    175192                                                                                         ../InterpFromGridToMesh/InterpFromGridToMesh.h
    176 InterpFromGridToMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB)
     193InterpFromGridToMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB) $(GSLLIB)
    177194
    178195InterpFromMeshToMesh2d_la_SOURCES = ../InterpFromMeshToMesh2d/InterpFromMeshToMesh2d.cpp\
    179196                                                                                                ../InterpFromMeshToMesh2d/InterpFromMeshToMesh2d.h
    180 InterpFromMeshToMesh2d_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB)
     197InterpFromMeshToMesh2d_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB) $(GSLLIB)
    181198
    182199InterpFromMeshToMesh3d_la_SOURCES = ../InterpFromMeshToMesh3d/InterpFromMeshToMesh3d.cpp\
    183200                                                                                                ../InterpFromMeshToMesh3d/InterpFromMeshToMesh3d.h
    184 InterpFromMeshToMesh3d_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     201InterpFromMeshToMesh3d_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    185202
    186203InterpFromMeshToGrid_la_SOURCES = ../InterpFromMeshToGrid/InterpFromMeshToGrid.cpp\
    187204                                                                                         ../InterpFromMeshToGrid/InterpFromMeshToGrid.h
    188 InterpFromMeshToGrid_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     205InterpFromMeshToGrid_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    189206
    190207InterpFromMesh2d_la_SOURCES = ../InterpFromMesh2d/InterpFromMesh2d.cpp\
    191208                                                                                ../InterpFromMesh2d/InterpFromMesh2d.h
    192 InterpFromMesh2d_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB)
     209InterpFromMesh2d_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB) $(GSLLIB)
    193210
    194211KMLFileRead_la_SOURCES = ../KMLFileRead/KMLFileRead.cpp\
    195212                                                                 ../KMLFileRead/KMLFileRead.h
    196 KMLFileRead_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     213KMLFileRead_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    197214
    198215KMLMeshWrite_la_SOURCES = ../KMLMeshWrite/KMLMeshWrite.cpp\
    199216                                                                  ../KMLMeshWrite/KMLMeshWrite.h
    200 KMLMeshWrite_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     217KMLMeshWrite_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    201218
    202219KMLOverlay_la_SOURCES = ../KMLOverlay/KMLOverlay.cpp\
    203220                                                                ../KMLOverlay/KMLOverlay.h
    204 KMLOverlay_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     221KMLOverlay_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    205222
    206223Xy2ll_la_SOURCES = ../Xy2ll/Xy2ll.cpp\
    207224                                                 ../Xy2ll/Xy2ll.h
    208 Xy2ll_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     225Xy2ll_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    209226
    210227Ll2xy_la_SOURCES = ../Ll2xy/Ll2xy.cpp\
    211228                                                 ../Ll2xy/Ll2xy.h
    212 Ll2xy_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     229Ll2xy_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
     230
     231EdgeDetection_la_SOURCES = ../EdgeDetection/EdgeDetection.cpp\
     232                                                        ../EdgeDetection/EdgeDetection.h
     233EdgeDetection_la_LIBADD= ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    213234
    214235ExpSimplify_la_SOURCES = ../ExpSimplify/ExpSimplify.cpp\
    215236                                                        ../ExpSimplify/ExpSimplify.h
    216 ExpSimplify_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     237ExpSimplify_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    217238
    218239Exp2Kml_la_SOURCES = ../Exp2Kml/Exp2Kml.cpp\
    219240                                                        ../Exp2Kml/Exp2Kml.h
    220 Exp2Kml_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     241Exp2Kml_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    221242
    222243Kml2Exp_la_SOURCES = ../Kml2Exp/Kml2Exp.cpp\
    223244                                                        ../Kml2Exp/Kml2Exp.h
    224 Kml2Exp_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     245Kml2Exp_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    225246
    226247Kriging_la_SOURCES = ../Kriging/Kriging.cpp\
    227248                                                        ../Kriging/Kriging.h
    228 Kriging_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(MULTITHREADINGLIB)
     249Kriging_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(MULTITHREADINGLIB) $(GSLLIB)
    229250
    230251MeshPartition_la_SOURCES = ../MeshPartition/MeshPartition.cpp\
    231252                                                                        ../MeshPartition/MeshPartition.h
    232 MeshPartition_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(METISLIB)
     253MeshPartition_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(METISLIB) $(GSLLIB)
    233254
    234255MeshProfileIntersection_la_SOURCES = ../MeshProfileIntersection/MeshProfileIntersection.cpp\
    235256                                                                                                 ../MeshProfileIntersection/MeshProfileIntersection.h
    236 MeshProfileIntersection_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     257MeshProfileIntersection_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    237258
    238259NodeConnectivity_la_SOURCES = ../NodeConnectivity/NodeConnectivity.cpp\
    239260                                                                                ../NodeConnectivity/NodeConnectivity.h
    240 NodeConnectivity_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     261NodeConnectivity_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    241262
    242263PointCloudFindNeighbors_la_SOURCES = ../PointCloudFindNeighbors/PointCloudFindNeighbors.cpp\
    243264                                                                                                 ../PointCloudFindNeighbors/PointCloudFindNeighbors.h
    244 PointCloudFindNeighbors_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB)
     265PointCloudFindNeighbors_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB) $(GSLLIB)
    245266
    246267PropagateFlagsFromConnectivity_la_SOURCES = ../PropagateFlagsFromConnectivity/PropagateFlagsFromConnectivity.cpp\
    247268                                                                                                                  ../PropagateFlagsFromConnectivity/PropagateFlagsFromConnectivity.h
    248 PropagateFlagsFromConnectivity_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     269PropagateFlagsFromConnectivity_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    249270
    250271Scotch_la_SOURCES = ../Scotch/Scotch.cpp\
    251272                                                  ../Scotch/Scotch.h
    252 Scotch_la_LIBADD = ${deps} $(SCOTCHLIB) $(MPILIB)
     273Scotch_la_LIBADD = ${deps} $(SCOTCHLIB) $(MPILIB) $(BLASLAPACKLIB)
    253274
    254275Shp2Exp_la_SOURCES = ../Shp2Exp/Shp2Exp.cpp\
    255276                                                        ../Shp2Exp/Shp2Exp.h
    256 Shp2Exp_la_LIBADD = ${deps} $(SHAPELIBLIB) $(MPILIB) $(PETSCLIB)
     277Shp2Exp_la_LIBADD = ${deps} $(SHAPELIBLIB) $(MPILIB) $(PETSCLIB) $(GSLLIB)
    257278
    258279Shp2Kml_la_SOURCES = ../Shp2Kml/Shp2Kml.cpp\
    259280                                                        ../Shp2Kml/Shp2Kml.h
    260 Shp2Kml_la_LIBADD = ${deps} $(SHAPELIBLIB) $(MPILIB) $(PETSCLIB)
     281Shp2Kml_la_LIBADD = ${deps} $(SHAPELIBLIB) $(MPILIB) $(PETSCLIB) $(GSLLIB)
    261282
    262283TriaSearch_la_SOURCES = ../TriaSearch/TriaSearch.cpp\
    263284                                                                ../TriaSearch/TriaSearch.h
    264 TriaSearch_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     285TriaSearch_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    265286
    266287TriMesh_la_SOURCES = ../TriMesh/TriMesh.cpp\
    267288                                                        ../TriMesh/TriMesh.h
    268 TriMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(TRIANGLELIB)
     289TriMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(TRIANGLELIB) $(GSLLIB)
    269290
    270291TriMeshProcessRifts_la_SOURCES = ../TriMeshProcessRifts/TriMeshProcessRifts.cpp\
    271292                                                                                        ../TriMeshProcessRifts/TriMeshProcessRifts.h
    272 TriMeshProcessRifts_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
    273 #}}}
     293TriMeshProcessRifts_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
     294#}}}
  • issm/trunk/src/wrappers/matlab/io/CheckNumMatlabArguments.cpp

    r13749 r15396  
    44
    55#include "./matlabio.h"
    6 #include "../../c/shared/Exceptions/exceptions.h"
    76
    87int CheckNumMatlabArguments(int nlhs,int NLHS, int nrhs,int NRHS, const char* THISFUNCTION, void (*function)( void )){
  • issm/trunk/src/wrappers/matlab/io/FetchMatlabData.cpp

    r14067 r15396  
    1010
    1111#include "./matlabio.h"
    12 #include "../../c/shared/shared.h"
    1312
    1413/*Primitive data types*/
     
    3837                else{
    3938                        if(!mxIsClass(dataref,"double") && !mxIsClass(dataref,"single")){
    40                                 _printLine_("Warning: converting matlab data from '" << mxGetClassName(dataref) << "' to 'double'");
     39                                _printf_("Warning: converting matlab data from '" << mxGetClassName(dataref) << "' to 'double'\n");
    4140                        }
    4241                        /*Convert matlab matrix to double* matrix: */
     
    8584                else{
    8685                        if(!mxIsClass(dataref,"double") && !mxIsClass(dataref,"single")){
    87                                 _printLine_("Warning: converting matlab data from '" << mxGetClassName(dataref) << "' to 'double'");
     86                                _printf_("Warning: converting matlab data from '" << mxGetClassName(dataref) << "' to 'double'\n");
    8887                        }
    8988                        /*Convert matlab n-dim array to double* matrix: */
     
    132131                else{
    133132                        if(!mxIsClass(dataref,"double") && !mxIsClass(dataref,"single")){
    134                                 _printLine_("Warning: converting matlab data from '" << mxGetClassName(dataref) << "' to 'double'");
     133                                _printf_("Warning: converting matlab data from '" << mxGetClassName(dataref) << "' to 'double'\n");
    135134                        }
    136135                        /*Convert matlab matrix to double* matrix: */
     
    635634}
    636635/*}}}*/
    637 /*FUNCTION FetchData(DataSet** pcontours,const mxArray* dataref){{{*/
    638 void FetchData(DataSet** pcontours,const mxArray* dataref){
    639 
    640         int              numcontours,index,test1,test2;
     636/*FUNCTION FetchData(Contours** pcontours,const mxArray* dataref){{{*/
     637void FetchData(Contours** pcontours,const mxArray* dataref){
     638
     639        int             numcontours,index,test1,test2;
    641640        char            *contourname = NULL;
    642         DataSet         *contours    = NULL;
     641        Contours        *contours    = NULL;
    643642        Contour<double> *contouri    = NULL;
    644643
    645644        if (mxIsClass(dataref,"char")){
    646645                FetchData(&contourname,dataref);
    647                 contours=DomainOutlineRead<double>(contourname);
     646                contours=ExpRead<double>(contourname);
    648647        }
    649648        else if(mxIsClass(dataref,"struct")){
    650649
    651                 contours=new DataSet(0);
     650                contours=new Contours();
    652651                numcontours=mxGetNumberOfElements(dataref);
    653652
    654653                for(int i=0;i<numcontours;i++){
    655654
    656                         contouri=xNew<Contour<double> >(1);
     655                        contouri=new Contour<double>();
    657656
    658657                        index = mxGetFieldNumber(dataref,"nods");
  • issm/trunk/src/wrappers/matlab/io/MatlabMatrixToDoubleMatrix.cpp

    r13749 r15396  
    1111/*Matlab includes: */
    1212#include "./matlabio.h"
    13 #include "../../c/shared/shared.h"
    1413
    1514int MatlabMatrixToDoubleMatrix(double** pmatrix,int* pmatrix_rows,int* pmatrix_cols,const mxArray* mxmatrix){
  • issm/trunk/src/wrappers/matlab/io/MatlabMatrixToMatrix.cpp

    r13749 r15396  
    88#endif
    99
    10 #include <stdio.h>
    11 #include <string.h>
    1210#include "./matlabio.h"
    13 #include "../../c/shared/shared.h"
    14 #include "../../c/toolkits/toolkits.h"
    1511
    1612Matrix<double>* MatlabMatrixToMatrix(const mxArray* mxmatrix){
     
    2521        matrix->pmatrix=MatlabMatrixToPetscMat(mxmatrix);
    2622        #else
    27         matrix->smatrix=MatlabMatrixToSeqMat(mxmatrix);
     23        matrix->imatrix=MatlabMatrixToIssmMat(mxmatrix);
    2824        #endif
    2925
  • issm/trunk/src/wrappers/matlab/io/MatlabNArrayToNArray.cpp

    r13749 r15396  
    1010
    1111#include "./matlabio.h"
    12 #include "../../c/shared/shared.h"
    13 #include "../../c/include/include.h"
    1412
    1513/*FUNCTION MatlabNArrayToNArray(double** pmatrix,int* pmatrix_numel,int* pmatrix_ndims,int** pmatrix_size,const mxArray* mxmatrix){{{*/
  • issm/trunk/src/wrappers/matlab/io/MatlabVectorToDoubleVector.cpp

    r13749 r15396  
    99#endif
    1010
    11 #include <string.h>
    12 
    1311/*Matlab includes: */
    1412#include "./matlabio.h"
    15 #include "../../c/shared/shared.h"
    1613
    1714int MatlabVectorToDoubleVector(double** pvector,int* pvector_rows,const mxArray* mxvector){
  • issm/trunk/src/wrappers/matlab/io/MatlabVectorToPetscVec.cpp

    r13749 r15396  
    99#endif
    1010
    11 /*Petsc includes: */
    12 #include <petscmat.h>
    13 #include <petscvec.h>
    14 #include <petscksp.h>
    15 
    1611/*Matlab includes: */
    1712#include "./matlabio.h"
    18 #include "../../c/shared/shared.h"
    1913
    2014PetscVec* MatlabVectorToPetscVec(const mxArray* mxvector){
  • issm/trunk/src/wrappers/matlab/io/MatlabVectorToVector.cpp

    r13749 r15396  
    88#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
    99#endif
    10 #include <stdio.h>
    11 #include <string.h>
    1210#include "./matlabio.h"
    13 #include "../../c/shared/shared.h"
    14 #include "../../c/toolkits/toolkits.h"
    1511
    1612Vector<double>* MatlabVectorToVector(const mxArray* mxvector){
     
    2521        vector->pvector=MatlabVectorToPetscVec(mxvector);
    2622        #else
    27         vector->svector=MatlabVectorToSeqVec(mxvector);
     23        vector->ivector=MatlabVectorToIssmVec(mxvector);
    2824        #endif
    2925
  • issm/trunk/src/wrappers/matlab/io/OptionParse.cpp

    r13749 r15396  
    1010#include <cstring>
    1111#include "./matlabio.h"
    12 #include "../../c/shared/shared.h"
    13 #include "../../c/io/io.h"
    1412
    1513GenericOption<double>* OptionDoubleParse( char* name, const mxArray* prhs[]){ /*{{{*/
     
    190188         option=(Option*)OptionCellParse(name,prhs);
    191189        else {
    192                 _pprintLine_("  Converting value of option \"" << name << "\" from unrecognized class \"" << mxGetClassName(prhs[0]) << "\" to class \"" << "struct" << "\".");
     190                _printf0_("  Converting value of option \"" << name << "\" from unrecognized class \"" << mxGetClassName(prhs[0]) << "\" to class \"" << "struct" << "\".\n");
    193191                if (!mexCallMATLAB(1,lhs,1,(mxArray**)prhs,"struct")) {
    194192                        option=(Option*)OptionStructParse(name,(const mxArray**)lhs);
  • issm/trunk/src/wrappers/matlab/io/WriteMatlabData.cpp

    r14310 r15396  
    1010
    1111#include "./matlabio.h"
    12 #include "../../c/shared/shared.h"
     12#include "./../../../c/datastructures/datastructures.h"
    1313
    1414/*Primitive data types*/
     
    7474                vector_matlab=(double*)mxMalloc(M*sizeof(double));
    7575                for(int i=0;i<M;i++) vector_matlab[i]=vector[i];
     76                dataref = mxCreateDoubleMatrix(0,0,mxREAL);
     77                mxSetM(dataref,(mwSize)M);
     78                mxSetN(dataref,(mwSize)1);
     79                mxSetPr(dataref,vector_matlab);
     80        }
     81        else{
     82                dataref = mxCreateDoubleMatrix(0,0,mxREAL);
     83        }
     84
     85        *pdataref=dataref;
     86}
     87/*}}}*/
     88/*FUNCTION WriteData(mxArray** pdataref,int* vector, int M){{{*/
     89void WriteData(mxArray** pdataref,int* vector, int M){
     90
     91        mxArray* dataref       = NULL;
     92        double*  vector_matlab = NULL;
     93
     94        if(vector){
     95
     96                /*create the matlab vector with Matlab's memory manager */
     97                vector_matlab=(double*)mxMalloc(M*sizeof(double));
     98                for(int i=0;i<M;i++) vector_matlab[i]=double(vector[i]);
    7699                dataref = mxCreateDoubleMatrix(0,0,mxREAL);
    77100                mxSetM(dataref,(mwSize)M);
     
    221244}
    222245/*}}}*/
    223 /*FUNCTION WriteData(mxArray** pdataref,SeqMat<double>* matrix){{{*/
    224 void WriteData(mxArray** pdataref,SeqMat<double>* matrix){
     246/*FUNCTION WriteData(mxArray** pdataref,IssmDenseMat<double>* matrix){{{*/
     247void WriteData(mxArray** pdataref,IssmDenseMat<double>* matrix){
    225248
    226249        int      i,j;
     
    259282}
    260283/*}}}*/
    261 /*FUNCTION WriteData(mxArray** pdataref,SeqVec<double>* vector){{{*/
    262 void WriteData(mxArray** pdataref,SeqVec<double>* vector){
     284/*FUNCTION WriteData(mxArray** pdataref,IssmSeqVec<double>* vector){{{*/
     285void WriteData(mxArray** pdataref,IssmSeqVec<double>* vector){
    263286
    264287        mxArray* dataref=NULL;
     
    287310        /*Clean-up and return*/
    288311        xDelete<double>(vector_ptr);
    289         *pdataref=dataref;
    290 }
    291 /*}}}*/
    292 /*FUNCTION WriteData(mxArray** pdataref,SeqMat<int>* matrix){{{*/
    293 void WriteData(mxArray** pdataref,SeqMat<int>* matrix){
    294 
    295         int      i,j;
    296         int      rows,cols;
    297         mxArray *dataref     = NULL;
    298         int     *matrix_ptr  = NULL;
    299         double  *tmatrix_ptr = NULL;
    300 
    301         if(matrix){
    302 
    303                 matrix_ptr=matrix->ToSerial();
    304                 matrix->GetSize(&rows,&cols);
    305 
    306                 /*Now transpose the matrix and allocate with Matlab's memory manager: */
    307                 tmatrix_ptr=(double*)mxMalloc(rows*cols*sizeof(double));
    308                 for(i=0;i<rows;i++){
    309                         for(j=0;j<cols;j++){
    310                                 tmatrix_ptr[j*rows+i]=(double)matrix_ptr[i*cols+j];
    311                         }
    312                 }
    313 
    314                 /*create matlab matrix: */
    315                 dataref=mxCreateDoubleMatrix(0,0,mxREAL);
    316                 mxSetM(dataref,rows);
    317                 mxSetN(dataref,cols);
    318                 mxSetPr(dataref,tmatrix_ptr);
    319 
    320                 /*Free ressources:*/
    321                 xDelete<int>(matrix_ptr);
    322         }
    323         else{
    324                 dataref = mxCreateDoubleMatrix(0,0,mxREAL);
    325         }
    326 
    327         *pdataref=dataref;
    328 }
    329 /*}}}*/
    330 /*FUNCTION WriteData(mxArray** pdataref,SeqVec<int>* vector){{{*/
    331 void WriteData(mxArray** pdataref,SeqVec<int>* vector){
    332 
    333         mxArray* dataref=NULL;
    334         int*     vector_ptr=NULL;
    335         double*  vector_matlab=NULL;
    336         int      rows;
    337 
    338         if(vector){
    339                 /*call toolkit routine: */
    340                 vector_ptr=vector->ToMPISerial();
    341                 vector->GetSize(&rows);
    342 
    343                 /*now create the matlab vector with Matlab's memory manager */
    344                 vector_matlab=(double*)mxMalloc(rows*sizeof(double));
    345                 for(int i=0;i<rows;i++) vector_matlab[i]=(double)vector_ptr[i];
    346 
    347                 dataref = mxCreateDoubleMatrix(0,0,mxREAL);                         
    348                 mxSetM(dataref,rows);
    349                 mxSetN(dataref,1);                                                                                         
    350                 mxSetPr(dataref,vector_matlab);           
    351         }
    352         else{
    353                 dataref = mxCreateDoubleMatrix(0,0,mxREAL);
    354         }
    355 
    356         /*Clean-up and return*/
    357         xDelete<int>(vector_ptr);
    358312        *pdataref=dataref;
    359313}
     
    406360}
    407361/*}}}*/
     362/*FUNCTION WriteData(mxArray** pdataref,Contours* contours){{{*/
     363void WriteData(mxArray** pdataref,Contours* contours){
     364
     365        /*Intermediary*/
     366
     367        int         i;
     368        mxArray    *dataref           = NULL;
     369        const int   numfields         = 6;
     370        const char *fnames[numfields];
     371        mwSize      ndim              = 2;
     372        mwSize      dimensions[2]     = {1,1};
     373        char        id[100];
     374
     375        /*Initialize field names*/
     376        i=0;
     377        fnames[i++] = "name";
     378        fnames[i++] = "nods";
     379        fnames[i++] = "density";
     380        fnames[i++] = "x";
     381        fnames[i++] = "y";
     382        fnames[i++] = "closed";
     383        _assert_(i==numfields);
     384
     385        /*Initialize matlab structure of dimension numrifts*/
     386        dimensions[0]=contours->Size();
     387        dataref=mxCreateStructArray(ndim,dimensions,numfields,fnames);
     388
     389        /*set each matlab each field*/
     390        for(int i=0;i<contours->Size();i++){
     391                Contour<IssmPDouble>* contour=(Contour<IssmPDouble>*)contours->GetObjectByOffset(i);
     392
     393                /*create a name for this contour from the contour id and set it: */
     394                sprintf(id,"%i",contour->id);
     395                SetStructureFieldi(dataref,i,"name",id);
     396
     397                /*number of nods: */
     398                SetStructureFieldi(dataref,i,"nods"         ,contour->nods);
     399
     400                /*density: */
     401                SetStructureFieldi(dataref,i,"density"            ,1);
     402
     403                /*x and y: */
     404                SetStructureFieldi(dataref,i,"x"             ,contour->nods, 1,contour->x);
     405                SetStructureFieldi(dataref,i,"y"             ,contour->nods, 1,contour->y);
     406
     407                /*closed: */
     408                SetStructureFieldi(dataref,i,"closed"         ,(int)contour->closed);
     409        }
     410
     411        /*Assign output*/
     412        *pdataref=dataref;
     413}
     414/*}}}*/
    408415
    409416/*Toolkit*/
    410 /*FUNCTION SetStructureField{{{*/
     417/*FUNCTION SetStructureField(mxArray* dataref,const char* fieldname,int M,int N,double* fieldpointer){{{*/
    411418void SetStructureField(mxArray* dataref,const char* fieldname,int M,int N,double* fieldpointer){
    412419
     
    418425        /*Assign to structure*/
    419426        mxSetField(dataref,0,fieldname,field);
     427}
     428/*}}}*/
     429/*FUNCTION SetStructureFieldi(mxArray* dataref,const char* fieldname,char* string) {{{*/
     430void SetStructureFieldi(mxArray* dataref,int i,const char* fieldname,char* string){
     431
     432        mxArray* field = NULL;
     433
     434        /*Convert field*/
     435        WriteData(&field,string);
     436
     437        /*Assign to structure*/
     438        mxSetField(dataref,i,fieldname,field);
    420439}
    421440/*}}}*/
  • issm/trunk/src/wrappers/matlab/io/matlabio.h

    r14310 r15396  
    1313
    1414#include "../include/matlabincludes.h"
    15 #include "../../c/classes/classes.h"
    16 #include "../../c/Container/Container.h"
    17 #include "../../c/include/include.h"
     15#include "../../../c/bamg/bamgobjects.h"
     16#include "../../../c/classes/classes.h"
     17#include "../../../c/toolkits/toolkits.h"
     18#include "../../../c/shared/shared.h"
    1819
    19 void WriteData(mxArray** pdataref,SeqMat<int>* matrix);
    20 void WriteData(mxArray** pdataref,SeqMat<double>* matrix);
     20void WriteData(mxArray** pdataref,IssmDenseMat<double>* matrix);
    2121void WriteData(mxArray** pdataref,double* matrix, int M,int N);
    2222void WriteData(mxArray** pdataref,int*    matrix, int M,int N);
    23 void WriteData(mxArray** pdataref,SeqVec<int>* vector);
    24 void WriteData(mxArray** pdataref,SeqVec<double>* vector);
     23void WriteData(mxArray** pdataref,IssmSeqVec<double>* vector);
    2524void WriteData(mxArray** pdataref,double* vector, int M);
     25void WriteData(mxArray** pdataref,int* vector, int M);
    2626void WriteData(mxArray** pdataref,int integer);
    2727void WriteData(mxArray** pdataref,bool boolean);
     
    3232void WriteData(mxArray** pdataref,BamgMesh* bamgmesh);
    3333void WriteData(mxArray** pdataref,RiftStruct* riftstruct);
     34void WriteData(mxArray** pdataref,Contours* contours);
    3435
    3536void FetchData(double** pmatrix,int* pM,int *pN,const mxArray* dataref);
     
    5354void FetchData(BamgOpts** bamgopts,const mxArray* dataref);
    5455void FetchData(Options** poptions,int istart, int nrhs,const mxArray** pdataref);
    55 void FetchData(DataSet** pcontours,const mxArray* dataref);
     56void FetchData(Contours** pcontours,const mxArray* dataref);
    5657
    5758Option* OptionParse(char* name, const mxArray* prhs[]);
     
    6970void SetStructureFieldi(mxArray* dataref,int i,const char* fieldname,int field);
    7071void SetStructureFieldi(mxArray* dataref,int i,const char* fieldname,double field);
     72void SetStructureFieldi(mxArray* dataref,int i,const char* fieldname,char* string);
    7173int CheckNumMatlabArguments(int nlhs,int NLHS, int nrhs,int NRHS, const char* THISFUNCTION, void (*function)( void ));
    7274
     
    8284int MatlabNArrayToNArray(char** pmatrix,int* pmatrix_numel,int* pmatrix_ndims,int** pmatrix_size,const mxArray* mxmatrix);
    8385
    84 /*Matlab to SeqMat routines: */
    85 SeqMat<double>* MatlabMatrixToSeqMat(const mxArray* dataref);
    86 SeqVec<double>* MatlabVectorToSeqVec(const mxArray* dataref);
     86/*Matlab to IssmDenseMat routines: */
     87IssmMat<double>* MatlabMatrixToIssmMat(const mxArray* dataref);
     88IssmVec<double>* MatlabVectorToIssmVec(const mxArray* dataref);
    8789
    8890/*Matlab to Petsc routines: */
     
    9496#endif
    9597
     98/*Print*/
     99void ApiPrintf(const char* string);
    96100#endif  /* _IO_H_ */
  • issm/trunk/src/wrappers/python/Makefile.am

    r13923 r15396  
    88lib_LTLIBRARIES = libISSMPython.la
    99else
    10         lib_LTLIBRARIES =
     10lib_LTLIBRARIES =
    1111endif
    1212
     
    2222if SHAREDLIBS
    2323libISSMPython_la_SOURCES = $(io_sources)
     24endif
     25#}}}
     26#api io{{{
     27lib_LIBRARIES += libISSMApi.a
     28if SHAREDLIBS
     29lib_LTLIBRARIES += libISSMApi.la
     30else
     31lib_LTLIBRARIES +=
     32endif
     33
     34api_sources= ./io/ApiPrintf.cpp
     35
     36libISSMApi_a_SOURCES = $(api_sources)
     37libISSMApi_a_CXXFLAGS= $(ALLCXXFLAGS)
     38if SHAREDLIBS
     39libISSMApi_la_SOURCES = $(api_sources)
    2440endif
    2541#}}}
     
    8096endif
    8197
     98if SHAREDLIBS
     99deps += ./libISSMApi.la
     100else
     101deps += ./libISSMApi.a
     102endif
     103
     104
     105
    82106endif
    83107
     
    88112BamgConvertMesh_la_SOURCES = ../BamgConvertMesh/BamgConvertMesh.cpp\
    89113                                                                          ../BamgConvertMesh/BamgConvertMesh.h
    90 BamgConvertMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     114BamgConvertMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    91115
    92116BamgMesher_la_SOURCES = ../BamgMesher/BamgMesher.cpp\
    93117                                                                ../BamgMesher/BamgMesher.h
    94 BamgMesher_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     118BamgMesher_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    95119
    96120ContourToMesh_la_SOURCES = ../ContourToMesh/ContourToMesh.cpp\
    97121                                                                         ../ContourToMesh/ContourToMesh.h
    98 ContourToMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     122ContourToMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    99123
    100124ContourToNodes_la_SOURCES = ../ContourToNodes/ContourToNodes.cpp\
    101125                                                                         ../ContourToNodes/ContourToNodes.h
    102 ContourToNodes_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     126ContourToNodes_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    103127
    104128ElementConnectivity_la_SOURCES = ../ElementConnectivity/ElementConnectivity.cpp\
    105129                                                                                        ../ElementConnectivity/ElementConnectivity.h
    106 ElementConnectivity_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     130ElementConnectivity_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    107131
    108132EnumToString_la_SOURCES = ../EnumToString/EnumToString.cpp\
    109133                                                                  ../EnumToString/EnumToString.h
    110 EnumToString_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     134EnumToString_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    111135
    112136InterpFromMeshToMesh2d_la_SOURCES = ../InterpFromMeshToMesh2d/InterpFromMeshToMesh2d.cpp\
    113137                                                                                                ../InterpFromMeshToMesh2d/InterpFromMeshToMesh2d.h
    114 InterpFromMeshToMesh2d_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB)
     138InterpFromMeshToMesh2d_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB) $(GSLLIB)
    115139
    116140InterpFromGridToMesh_la_SOURCES = ../InterpFromGridToMesh/InterpFromGridToMesh.cpp\
    117141                                                                                                ../InterpFromGridToMesh/InterpFromGridToMesh.h
    118 InterpFromGridToMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB)
     142InterpFromGridToMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB) $(GSLLIB)
    119143
    120144MeshProfileIntersection_la_SOURCES = ../MeshProfileIntersection/MeshProfileIntersection.cpp\
    121145                                                                                ../MeshProfileIntersection/MeshProfileIntersection.h
    122 MeshProfileIntersection_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     146MeshProfileIntersection_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    123147
    124148NodeConnectivity_la_SOURCES = ../NodeConnectivity/NodeConnectivity.cpp\
    125149                                                                                ../NodeConnectivity/NodeConnectivity.h
    126 NodeConnectivity_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     150NodeConnectivity_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    127151
    128152StringToEnum_la_SOURCES = ../StringToEnum/StringToEnum.cpp\
    129153                                                                  ../StringToEnum/StringToEnum.h
    130 StringToEnum_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     154StringToEnum_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    131155
    132156TriMesh_la_SOURCES = ../TriMesh/TriMesh.cpp\
    133157                                                        ../TriMesh/TriMesh.h
    134 TriMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(TRIANGLELIB)
     158TriMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(TRIANGLELIB) $(GSLLIB)
    135159
    136160TriMeshProcessRifts_la_SOURCES = ../TriMeshProcessRifts/TriMeshProcessRifts.cpp\
    137161                                                                                        ../TriMeshProcessRifts/TriMeshProcessRifts.h
    138 TriMeshProcessRifts_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB)
     162TriMeshProcessRifts_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB)
    139163#}}}
  • issm/trunk/src/wrappers/python/io/CheckNumPythonArguments.cpp

    r13749 r15396  
    88#include "./pythonio.h"
    99#include "../../c/shared/Exceptions/exceptions.h"
    10 #include "../../c/include/include.h"
    1110
    1211int CheckNumPythonArguments(PyObject* inputs,int NRHS, void (*function)( void )){
  • issm/trunk/src/wrappers/python/io/FetchPythonData.cpp

    r14310 r15396  
    1313
    1414#include "./pythonio.h"
    15 #include "../../c/include/include.h"
    1615#include "../../c/shared/shared.h"
    1716
     
    104103        bool* bmatrix=NULL;
    105104        int i;
     105        PyObject* py_matrix2=NULL;
    106106
    107107        if     (PyArray_Check((PyArrayObject*)py_matrix)) {
     
    120120
    121121                if (M && N) {
     122                        if (!PyArray_ISCONTIGUOUS((PyArrayObject*)py_matrix)) {
     123                                py_matrix2=PyArray_ContiguousFromAny(py_matrix,NPY_DOUBLE,ndim,ndim);
     124                                py_matrix=py_matrix2;
     125                        }
     126
    122127                        if      (PyArray_TYPE((PyArrayObject*)py_matrix) == NPY_DOUBLE) {
    123128                                /*retrieve internal value: */
     
    126131                                /*copy matrix: */
    127132                                matrix=xNew<double>(M*N);
    128                                 memcpy(matrix,dmatrix,(M*N)*sizeof(double));
    129                         }
    130 
    131                         else if (PyArray_TYPE((PyArrayObject*)py_matrix) == NPY_INT64) {
     133//                              if (PyArray_ISCONTIGUOUS((PyArrayObject*)py_matrix)) {
     134                                        memcpy(matrix,dmatrix,(M*N)*sizeof(double));
     135//                              }
     136
     137//                              else {
     138//                                      int j,k,ipt=0;
     139//                                      int mstride,nstride;
     140//                                      mstride=(int)PyArray_STRIDE((PyArrayObject*)py_matrix,0)/PyArray_ITEMSIZE((PyArrayObject*)py_matrix);
     141//                                      if (ndim > 1)
     142//                                              nstride=(int)PyArray_STRIDE((PyArrayObject*)py_matrix,1)/PyArray_ITEMSIZE((PyArrayObject*)py_matrix);
     143//                                      else
     144//                                              nstride=1;
     145//                                      for (i=0; i<M; i++) {
     146//                                              k=i*mstride;
     147//                                              for (j=0; j<N; j++) {
     148//                                                      matrix[ipt++]=dmatrix[k];
     149//                                                      k+=nstride;
     150//                                              }
     151//                                      }
     152//                              }
     153                        }
     154
     155                        else if (PyArray_TYPE((PyArrayObject*)py_matrix) == NPY_LONG) {
    132156                                /*retrieve internal value: */
    133157                                lmatrix=(long*)PyArray_DATA((PyArrayObject*)py_matrix);
     
    149173                        else
    150174                                _error_("unrecognized double pyarray type in input!");
     175
     176                        if (py_matrix2)
     177                                delete(py_matrix2);
    151178                }
    152179                else
     
    181208        bool* bmatrix=NULL;
    182209        int i;
     210        PyObject* py_matrix2=NULL;
    183211
    184212        if     (PyArray_Check((PyArrayObject*)py_matrix)) {
     
    197225
    198226                if (M && N) {
     227                        if (!PyArray_ISCONTIGUOUS((PyArrayObject*)py_matrix)) {
     228                                py_matrix2=PyArray_ContiguousFromAny(py_matrix,NPY_LONG,ndim,ndim);
     229                                py_matrix=py_matrix2;
     230                        }
     231
    199232                        if      (PyArray_TYPE((PyArrayObject*)py_matrix) == NPY_DOUBLE) {
    200233                                /*retrieve internal value: */
     
    206239                        }
    207240
    208                         else if (PyArray_TYPE((PyArrayObject*)py_matrix) == NPY_INT64) {
     241                        else if (PyArray_TYPE((PyArrayObject*)py_matrix) == NPY_LONG) {
    209242                                /*retrieve internal value: */
    210243                                lmatrix=(long*)PyArray_DATA((PyArrayObject*)py_matrix);
     
    226259                        else
    227260                                _error_("unrecognized int pyarray type in input!");
     261
     262                        if (py_matrix2)
     263                                delete(py_matrix2);
    228264                }
    229265                else
     
    258294        long* lmatrix=NULL;
    259295        int i;
     296        PyObject* py_matrix2=NULL;
    260297
    261298        if     (PyArray_Check((PyArrayObject*)py_matrix)) {
     
    274311
    275312                if (M && N) {
     313                        if (!PyArray_ISCONTIGUOUS((PyArrayObject*)py_matrix)) {
     314                                py_matrix2=PyArray_ContiguousFromAny(py_matrix,NPY_BOOL,ndim,ndim);
     315                                py_matrix=py_matrix2;
     316                        }
     317
    276318                        if      (PyArray_TYPE((PyArrayObject*)py_matrix) == NPY_DOUBLE) {
    277319                                /*retrieve internal value: */
     
    283325                        }
    284326
    285                         else if (PyArray_TYPE((PyArrayObject*)py_matrix) == NPY_INT64) {
     327                        else if (PyArray_TYPE((PyArrayObject*)py_matrix) == NPY_LONG) {
    286328                                /*retrieve internal value: */
    287329                                lmatrix=(long*)PyArray_DATA((PyArrayObject*)py_matrix);
     
    303345                        else
    304346                                _error_("unrecognized bool pyarray type in input!");
     347
     348                        if (py_matrix2)
     349                                delete(py_matrix2);
    305350                }
    306351                else
     
    335380        bool* bvector=NULL;
    336381        int i;
     382        PyObject* py_vector2=NULL;
    337383
    338384        if     (PyArray_Check((PyArrayObject*)py_vector)) {
     
    354400
    355401                if (M) {
     402                        if (!PyArray_ISCONTIGUOUS((PyArrayObject*)py_vector)) {
     403                                py_vector2=PyArray_ContiguousFromAny(py_vector,NPY_DOUBLE,ndim,ndim);
     404                                py_vector=py_vector2;
     405                        }
     406
    356407                        if      (PyArray_TYPE((PyArrayObject*)py_vector) == NPY_DOUBLE) {
    357408                                /*retrieve internal value: */
     
    363414                        }
    364415
    365                         else if (PyArray_TYPE((PyArrayObject*)py_vector) == NPY_INT64) {
     416                        else if (PyArray_TYPE((PyArrayObject*)py_vector) == NPY_LONG) {
    366417                                /*retrieve internal value: */
    367418                                lvector=(long*)PyArray_DATA((PyArrayObject*)py_vector);
     
    383434                        else
    384435                                _error_("unrecognized double pyarray type in input!");
     436
     437                        if (py_vector2)
     438                                delete(py_vector2);
    385439                }
    386440                else
     
    413467        double* dvector=NULL;
    414468        int i;
     469        PyObject* py_vector2=NULL;
    415470
    416471        if     (PyArray_Check((PyArrayObject*)py_vector)) {
     
    432487
    433488                if (M) {
     489                        if (!PyArray_ISCONTIGUOUS((PyArrayObject*)py_vector)) {
     490                                py_vector2=PyArray_ContiguousFromAny(py_vector,NPY_LONG,ndim,ndim);
     491                                py_vector=py_vector2;
     492                        }
     493
    434494                        if      (PyArray_TYPE((PyArrayObject*)py_vector) == NPY_DOUBLE) {
    435495                                /*retrieve internal value: */
     
    441501                        }
    442502
    443                         else if (PyArray_TYPE((PyArrayObject*)py_vector) == NPY_INT64) {
     503                        else if (PyArray_TYPE((PyArrayObject*)py_vector) == NPY_LONG) {
    444504                                /*retrieve internal value: */
    445505                                lvector=(long*)PyArray_DATA((PyArrayObject*)py_vector);
     
    461521                        else
    462522                         _error_("unrecognized int pyarray type in input!");
     523
     524                        if (py_vector2)
     525                                delete(py_vector2);
    463526                }
    464527                else
     
    491554        long* lvector=NULL;
    492555        int i;
     556        PyObject* py_vector2=NULL;
    493557
    494558        if     (PyArray_Check((PyArrayObject*)py_vector)) {
     
    510574
    511575                if (M) {
     576                        if (!PyArray_ISCONTIGUOUS((PyArrayObject*)py_vector)) {
     577                                py_vector2=PyArray_ContiguousFromAny(py_vector,NPY_BOOL,ndim,ndim);
     578                                py_vector=py_vector2;
     579                        }
     580
    512581                        if      (PyArray_TYPE((PyArrayObject*)py_vector) == NPY_DOUBLE) {
    513582                                /*retrieve internal value: */
     
    519588                        }
    520589
    521                         else if (PyArray_TYPE((PyArrayObject*)py_vector) == NPY_INT64) {
     590                        else if (PyArray_TYPE((PyArrayObject*)py_vector) == NPY_LONG) {
    522591                                /*retrieve internal value: */
    523592                                lvector=(long*)PyArray_DATA((PyArrayObject*)py_vector);
     
    539608                        else
    540609                                _error_("unrecognized bool pyarray type in input!");
     610
     611                        if (py_vector2)
     612                                delete(py_vector2);
    541613                }
    542614                else
     
    656728                if(i+1 == nrhs) _error_("Argument " << i+2 << " must exist and be value of option \"" << name << "\".");
    657729
    658                 _pprintLine_("FetchData for Options not implemented yet, ignoring option \"" << name << "\"!");
     730                _printf0_("FetchData for Options not implemented yet, ignoring option \"" << name << "\"!\n");
    659731
    660732//              option=(Option*)OptionParse(name,&PyTuple_GetItem(py_tuple,(Py_ssize_t)(i+1)));
     
    667739}
    668740/*}}}*/
    669 /*FUNCTION FetchData(DataSet** pcontours,PyObject* py_list){{{*/
    670 void FetchData(DataSet** pcontours,PyObject* py_list){
     741/*FUNCTION FetchData(Contours** pcontours,PyObject* py_list){{{*/
     742void FetchData(Contours** pcontours,PyObject* py_list){
    671743
    672744        int              numcontours,test1,test2;
    673745        char            *contourname = NULL;
    674         DataSet         *contours    = NULL;
     746        Contours         *contours    = NULL;
    675747        Contour<double> *contouri    = NULL;
    676748        PyObject        *py_dicti    = NULL;
     
    679751        if (PyString_Check(py_list)){
    680752                FetchData(&contourname,py_list);
    681                 contours=DomainOutlineRead<double>(contourname);
     753                contours=ExpRead<double>(contourname);
    682754        }
    683755        else if(PyList_Check(py_list)){
    684756
    685                 contours=new DataSet(0);
     757                contours=new Contours();
    686758                numcontours=(int)PyList_Size(py_list);
    687759
    688760                for(int i=0;i<numcontours;i++){
    689761
    690                         contouri=xNew<Contour<double> >(1);
     762                        contouri=new Contour<double>();
    691763                        py_dicti=PyList_GetItem(py_list,(Py_ssize_t)i);
    692764
  • issm/trunk/src/wrappers/python/io/WritePythonData.cpp

    r14310 r15396  
    1313
    1414#include "./pythonio.h"
    15 #include "../../c/include/include.h"
    16 #include "../../c/Container/Container.h"
    1715#include "../../c/shared/shared.h"
    18 #include "../../c/EnumDefinitions/EnumDefinitions.h"
     16#include "../../c/shared/Enum/Enum.h"
    1917
    2018/*Primitive data types*/
     
    7472
    7573        PyTuple_SetItem(tuple, index, array);
     74}/*}}}*/
     75/*FUNCTION WriteData(PyObject* py_tuple,int index, double* vector, int M){{{*/
     76void WriteData(PyObject* py_tuple, int index, double* vector, int M){
     77
     78        double   *buffer = NULL;
     79        npy_intp  dim   = 10;
     80        PyObject *array = NULL;
     81
     82        /*Copy vector*/
     83        buffer=xNew<double>(M);
     84        for(int i=0;i<M;i++)buffer[i]=vector[i];
     85
     86        dim=(npy_intp)M;
     87        array=PyArray_SimpleNewFromData(1,&dim,NPY_DOUBLE,buffer);
     88
     89        PyTuple_SetItem(py_tuple, index, array);
     90
     91}/*}}}*/
     92/*FUNCTION WriteData(PyObject* py_tuple,int index, int* vector, int M){{{*/
     93void WriteData(PyObject* py_tuple, int index, int* vector, int M){
     94
     95        long* lvector=NULL;
     96        npy_intp dim=10;
     97        PyObject* array=NULL;
     98
     99        /*transform into long matrix: */
     100        lvector=xNew<long>(M);
     101        for(int i=0;i<M;i++)lvector[i]=(long)vector[i];
     102
     103        dim=(npy_intp)M;
     104        array=PyArray_SimpleNewFromData(1,&dim,NPY_INT64,lvector);
     105
     106        PyTuple_SetItem(py_tuple, index, array);
     107
    76108}/*}}}*/
    77109/*FUNCTION WriteData(PyObject* py_tuple,int index){{{*/
     
    129161}
    130162/*}}}*/
    131 /*FUNCTION WriteData(PyObject* py_tuple,int index,SeqMat<double>* matrix){{{*/
    132 void WriteData(PyObject* py_tuple,int index,SeqMat<double>* matrix){
     163/*FUNCTION WriteData(PyObject* py_tuple,int index,IssmDenseMat<double>* matrix){{{*/
     164void WriteData(PyObject* py_tuple,int index,IssmDenseMat<double>* matrix){
    133165
    134166        int M,N;
     
    147179
    148180}/*}}}*/
    149 /*FUNCTION WriteData(PyObject* py_tuple,int index,SeqVec<double>* vector){{{*/
    150 void WriteData(PyObject* py_tuple,int index,SeqVec<double>* vector){
     181/*FUNCTION WriteData(PyObject* py_tuple,int index,IssmSeqVec<double>* vector){{{*/
     182void WriteData(PyObject* py_tuple,int index,IssmSeqVec<double>* vector){
    151183
    152184        int M;
     
    160192        dim=(npy_intp)M;
    161193        array=PyArray_SimpleNewFromData(1,&dim,NPY_DOUBLE,buffer);
    162 
    163         PyTuple_SetItem(py_tuple, index, array);
    164 }
    165 /*}}}*/
    166 /*FUNCTION WriteData(PyObject* py_tuple,int index,SeqMat<int>* matrix){{{*/
    167 void WriteData(PyObject* py_tuple,int index,SeqMat<int>* matrix){
    168 
    169         int M,N;
    170         int* ibuffer=NULL;
    171         npy_intp dims[2]={0,0};
    172         PyObject* array=NULL;
    173 
    174         matrix->GetSize(&M,&N);
    175         ibuffer=matrix->ToSerial();
    176 
    177         /*convert to long*/
    178         long* lbuffer=xNew<long>(M*N);
    179         for(int i=0;i<M*N;i++) lbuffer[i]=(long)ibuffer[i];
    180         xDelete<int>(ibuffer);
    181 
    182         dims[0]=(npy_intp)M;
    183         dims[1]=(npy_intp)N;
    184         array=PyArray_SimpleNewFromData(2,dims,NPY_INT64,lbuffer);
    185 
    186         PyTuple_SetItem(py_tuple, index, array);
    187 
    188 }/*}}}*/
    189 /*FUNCTION WriteData(PyObject* py_tuple,int index,SeqVec<int>* vector){{{*/
    190 void WriteData(PyObject* py_tuple,int index,SeqVec<int>* vector){
    191 
    192         int M;
    193         int* ibuffer=NULL;
    194         npy_intp dim=10;
    195         PyObject* array=NULL;
    196 
    197         vector->GetSize(&M);
    198         ibuffer=vector->ToMPISerial();
    199 
    200         /*convert to long*/
    201         long* lbuffer=xNew<long>(M);
    202         for(int i=0;i<M;i++) lbuffer[i]=(long)ibuffer[i];
    203         xDelete<int>(ibuffer);
    204 
    205         dim=(npy_intp)M;
    206         array=PyArray_SimpleNewFromData(1,&dim,NPY_INT64,lbuffer);
    207 
    208         PyTuple_SetItem(py_tuple, index, array);
    209 }
    210 /*}}}*/
    211 /*FUNCTION WriteData(PyObject* py_tuple,int index,SeqMat<bool>* matrix){{{*/
    212 void WriteData(PyObject* py_tuple,int index,SeqMat<bool>* matrix){
    213 
    214         int M,N;
    215         bool* buffer=NULL;
    216         npy_intp dims[2]={0,0};
    217         PyObject* array=NULL;
    218 
    219         matrix->GetSize(&M,&N);
    220         buffer=matrix->ToSerial();
    221 
    222         dims[0]=(npy_intp)M;
    223         dims[1]=(npy_intp)N;
    224         array=PyArray_SimpleNewFromData(2,dims,NPY_BOOL,buffer);
    225 
    226         PyTuple_SetItem(py_tuple, index, array);
    227 
    228 }/*}}}*/
    229 /*FUNCTION WriteData(PyObject* py_tuple,int index,SeqVec<bool>* vector){{{*/
    230 void WriteData(PyObject* py_tuple,int index,SeqVec<bool>* vector){
    231 
    232         int M;
    233         bool* buffer=NULL;
    234         npy_intp dim=10;
    235         PyObject* array=NULL;
    236 
    237         vector->GetSize(&M);
    238         buffer=vector->ToMPISerial();
    239 
    240         dim=(npy_intp)M;
    241         array=PyArray_SimpleNewFromData(1,&dim,NPY_BOOL,buffer);
    242194
    243195        PyTuple_SetItem(py_tuple, index, array);
  • issm/trunk/src/wrappers/python/io/pythonio.h

    r14310 r15396  
    1313
    1414#include "../include/pythonincludes.h"
     15#include "../../c/bamg/bamgobjects.h"
    1516#include "../../c/classes/classes.h"
    16 #include "../../c/Container/Container.h"
    17 #include "../../c/include/include.h"
     17#include "../../c/shared/shared.h"
    1818
    1919void WriteData(PyObject* py_tuple,int index, double* matrix, int M,int N);
     
    2121void WriteData(PyObject* py_tuple,int index, bool* matrix, int M,int N);
    2222void WriteData(PyObject* py_tuple,int index, int integer);
     23void WriteData(PyObject* py_tuple,int index, double* vector, int M);
     24void WriteData(PyObject* py_tuple,int index, int* vector, int M);
    2325void WriteData(PyObject* py_tuple,int index, char* string);
    2426void WriteData(PyObject* py_tuple,int index);
    25 void WriteData(PyObject* py_tuple,int index, SeqMat<double>* matrix);
    26 void WriteData(PyObject* py_tuple,int index, SeqVec<double>* vector);
    27 void WriteData(PyObject* py_tuple,int index, SeqMat<int>* matrix);
    28 void WriteData(PyObject* py_tuple,int index, SeqVec<int>* vector);
    29 void WriteData(PyObject* py_tuple,int index, SeqMat<bool>* matrix);
    30 void WriteData(PyObject* py_tuple,int index, SeqVec<bool>* vector);
     27void WriteData(PyObject* py_tuple,int index, IssmDenseMat<double>* matrix);
     28void WriteData(PyObject* py_tuple,int index, IssmSeqVec<double>* vector);
    3129void WriteData(PyObject* py_tuple,int index, BamgGeom* bamggeom);
    3230void WriteData(PyObject* py_tuple,int index, BamgMesh* bamgmesh);
     
    4745void FetchData(BamgOpts** bamgopts,PyObject* py_dict);
    4846void FetchData(Options** poptions,int istart, int nrhs,PyObject* py_tuple);
    49 void FetchData(DataSet** pcontours,PyObject* py_list);
     47void FetchData(Contours** pcontours,PyObject* py_list);
    5048
    5149int CheckNumPythonArguments(PyObject* inputs,int NRHS, void (*function)( void ));
     
    5755PyObject* PyArrayFromCopiedData(int dimi,int dimj,bool* data);
    5856
     57/*Print*/
     58void ApiPrintf(const char* string);
     59
    5960#endif  /* _IO_H_ */
  • issm/trunk/test

  • issm/trunk/test/NightlyRun

    • Property svn:ignore
      •  

        old new  
         1*.toolkits
        12__pycache__
        23*.tar.gz
  • issm/trunk/test/NightlyRun/IdToName.m

    r13395 r15396  
    9797        case 328, name='SquareSheetConstrainedSmbGradients2d';
    9898        case 329, name='SquareSheetConstrainedSmbGradients3d';
     99        case 331, name='SquareSheetConstrainedHydrologyShreve';
     100        case 332, name='SquareSheetConstrainedHydrologyDC';
     101        case 333, name='SquareSheetHydrologyDCTwoLayers';
    99102        case 401, name='SquareSheetShelfDiagM2d';
    100103        case 402, name='SquareSheetShelfDiagM3d';
     
    129132        case 431, name='SquareSheetShelfSteaEnthalpyM3d';
    130133        case 432, name='SquareSheetShelfSteaEnthalpyP3d';
     134        case 433, name='RoundSheetShelfGLMigrationM3d';
    131135        case 501, name='PigDiagM2d';
    132136        case 502, name='PigDiagP3d';
     
    186190        case 1601, name='SquareShelfM2dRotation';
    187191        case 1602, name='SquareSheetShelfP3dRotation';
     192        case 2001, name='SquareSheetConstrainedGia2d';
     193        case 2051, name='GiaBenchmarksAB2dA1';
     194        case 2052, name='GiaBenchmarksAB2dA2';
     195        case 2053, name='GiaBenchmarksAB2dA3';
     196        case 2061, name='GiaBenchmarksAB2dB1';
     197        case 2062, name='GiaBenchmarksAB2dB2';
     198        case 2063, name='GiaBenchmarksAB2dB3';
     199        case 2071, name='GiaBenchmarksAB2dC1';
     200        case 2072, name='GiaBenchmarksAB2dC2';
     201        case 2073, name='GiaBenchmarksAB2dC3';
     202        case 2081, name='GiaBenchmarksAB2dD1';
     203        case 2082, name='GiaBenchmarksAB2dD2';
     204        case 2083, name='GiaBenchmarksAB2dD3';
    188205        case 3001, name='SquareShelfConstrainedDiagM2dAdolc';
    189206        case 3002, name='SquareShelfConstrainedDiagM3dAdolc';
     
    196213        case 3009, name='SquareShelfConstrainedTherTranAdolc';
    197214        case 3010, name='SquareShelfConstrainedTranM2dAdolc';
     215        case 3015, name='SquareShelfConstrainedProg2dAdolcForwardDifference';
     216        case 3019, name='SquareShelfConstrainedTherTranAdolcReverseVsForward';
    198217
    199218        otherwise, name='N/A';
  • issm/trunk/test/NightlyRun/IdToName.py

    r13395 r15396  
    9898                328 : 'SquareSheetConstrainedSmbGradients2d',
    9999                329 : 'SquareSheetConstrainedSmbGradients3d',
     100                331 : 'SquareSheetConstrainedHydrology',
     101                333 : 'SquareSheetConstrainedTranCflM3d',
    100102                401 : 'SquareSheetShelfDiagM2d',
    101103                402 : 'SquareSheetShelfDiagM3d',
     
    126128                427 : 'SquareSheetShelfGroundingLine3dSoft',
    127129                428 : 'SquareSheetShelfDiagM2dNewton',
    128                 439 : 'SquareSheetShelfDiagP3dNewton',
     130                429 : 'SquareSheetShelfDiagP3dNewton',
    129131                430 : 'SquareSheetShelfDiagS3dNewton',
    130132                431 : 'SquareSheetShelfSteaEnthalpyM3d',
    131133                432 : 'SquareSheetShelfSteaEnthalpyP3d',
     134                433 : 'RoundSheetShelfGLMigrationM3d',
    132135                501 : 'PigDiagM2d',
    133136                502 : 'PigDiagP3d',
     
    187190                1601 : 'SquareShelfM2dRotation',
    188191                1602 : 'SquareSheetShelfP3dRotation',
     192                2001 : 'SquareSheetConstrainedGia2d',
    189193                3001 : 'SquareShelfConstrainedDiagM2dAdolc',
    190194                3002 : 'SquareShelfConstrainedDiagM3dAdolc',
     
    197201                3009 : 'SquareShelfConstrainedTherTranAdolc',
    198202                3010 : 'SquareShelfConstrainedTranM2dAdolc',
     203                3015 : 'SquareShelfConstrainedProg2dAdolcForwardDifference',
     204                3019 : 'SquareShelfConstrainedTherTranAdolcReverseVsForward',
    199205        }
    200206
  • issm/trunk/test/NightlyRun/Makefile

    r13395 r15396  
    11clean:
    2         rm -rf *.tar.gz *.bin *.errlog *.outlog  *.outbin *.petsc *.queue *.run valgrind.log* *.bat *.lock qmu*
     2        rm -rf *.tar.gz *.bin *.errlog *.outlog  *.outbin *.petsc *.queue *.toolkits *.run valgrind.log* *.bat *.lock qmu*
  • issm/trunk/test/NightlyRun/android.m

    r14310 r15396  
    1 md=triangle(model(),'../Exp/Square.exp',100000.);
     1md=triangle(model(),'../Exp/Square.exp',40000.);
    22md=setmask(md,'all','');
    33md=parameterize(md,'../Par/SquareShelfConstrained.par');
  • issm/trunk/test/NightlyRun/runme.m

    r14310 r15396  
    1212%      'id'            followed by the list of ids requested
    1313%      'exclude'       ids to be excluded from the test
    14 %      'benchmark'     'nightly' (nightly run/ daily run)
     14%      'benchmark'     'all' (all of them)
     15%                      'nightly' (nightly run/ daily run)
    1516%                      'ismip'  : validation of ismip-hom tests
    1617%                      'eismint': validation of eismint tests
     
    1819%                      'mesh'   : validation of mesh tests
    1920%                      'adolc'   : validation of adolc tests
     21%                      'gia'   : validation of gia tests
    2022%                      ...
    2123%      'procedure'     'check' : run the test (default)
    2224%                      'update': update the archive
    23 %                      'model' : prepare the model but no test is run
    2425%
    2526%   Usage:
    26 %      md=runme(varargin);
     27%      runme(varargin);
    2728%
    2829%   Examples:
    2930%      runme;
    3031%      runme('exclude',101);
    31 %      md=runme('id',102,'procedure','model');
     32%      runme('id',102,'procedure','update');
    3233
    3334%Get ISSM_DIR variable
     
    4849%GET benchmark {{{
    4950benchmark=getfieldvalue(options,'benchmark','nightly');
    50 if ~ismember(benchmark,{'all','nightly','ismip','eismint','thermal','mesh','validation','tranforcing','adolc'})
     51if ~ismember(benchmark,{'all','nightly','ismip','eismint','thermal','mesh','validation','tranforcing','adolc','gia'})
    5152        disp('runme warning: benchmark not supported, defaulting to test ''nightly''')
    5253        benchmark='nightly';
     
    116117elseif strcmpi(benchmark,'referential'),
    117118        test_ids=intersect(test_ids,[1601:1602]);
     119elseif strcmpi(benchmark,'gia'),
     120        test_ids=intersect(test_ids,[2001:2100]);
    118121elseif strcmpi(benchmark,'adolc'),
    119122        test_ids=intersect(test_ids,[3001:3020]);
     
    217220        end
    218221end
    219 
    220 %output md if requested
    221 if nargout==1
    222         varargout{1}=md;
    223 end
  • issm/trunk/test/NightlyRun/runme.py

    r14067 r15396  
    2222               'id'            followed by the list of ids requested
    2323               'exclude'       ids to be excluded from the test
    24                'benchmark'     'nightly' (nightly run/ daily run)
     24               'benchmark'     'all' (all of the tests)
     25                                   'nightly' (nightly run/ daily run)
    2526                               'ismip'  : validation of ismip-hom tests
    2627                               'eismint': validation of eismint tests
    2728                               'thermal': validation of thermal tests
    2829                               'mesh'   : validation of mesh tests
     30                                                   'adolc'   : validation of adolc tests
     31                           'gia'   : validation of gia tests
     32
    2933                               ...
    3034               'procedure'     'check' : run the test (default)
     
    3236 
    3337            Usage:
    34                md=runme(varargin);
     38               runme(varargin);
    3539 
    3640            Examples:
    3741               runme()
    3842               runme(exclude=101)
    39                md=runme(id=102,procedure='update')
     43               runme(id=102,procedure='update')
    4044        """
    4145
     
    5054        #Process options
    5155        #GET benchmark {{{
    52         if not ismember(benchmark,['all','nightly','ismip','eismint','thermal','mesh','validation','tranforcing','adolc']):
     56        if not ismember(benchmark,['all','nightly','ismip','eismint','thermal','mesh','validation','tranforcing','adolc','gia']):
    5357                print "runme warning: benchmark '%s' not supported, defaulting to test 'nightly'." % benchmark
    5458                benchmark='nightly'
     
    113117        elif strcmpi(benchmark,'referential'):
    114118                test_ids=test_ids.intersection(set(range(1601,1603)))
     119        elif strcmpi(benchmark,'gia'):
     120                test_ids=test_ids.intersection(set(range(2001,2100)))
    115121        elif strcmpi(benchmark,'adolc'):
    116122                test_ids=test_ids.intersection(set(range(3001,3020)))
     
    144150                                                else:
    145151                                                        field=field.reshape(0,0)
     152                                        elif len(field.shape) == 0:
     153                                                field=field.reshape(1,1)
    146154                                        # Matlab uses base 1, so use base 1 in labels
    147155                                        f.createDimension(archive_name+'_field'+str(k+1)+'_1',numpy.size(field,0))
     
    234242                                raise RuntimeError(me)
    235243
    236 #       #output md if requested
    237 #       if nargout==1
    238 #               varargout{1}=md;
    239 #       end
    240 
    241244        return
    242245
  • issm/trunk/test/NightlyRun/test111.m

    r13975 r15396  
    1515field_tolerances={...
    1616        1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-05,1e-13,...
    17         1e-09,1e-09,1e-08,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-05,2e-11,...
    18         1e-09,1e-09,1e-08,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-05,1e-11};
     17        1e-09,1e-08,1e-08,1e-08,1e-09,1e-09,1e-09,1e-09,1e-09,1e-05,2e-11,...
     18        1e-09,1e-08,1e-08,1e-08,1e-09,1e-09,1e-09,1e-09,1e-09,1e-05,1e-11};
    1919field_values={...
    2020        (md.results.TransientSolution(1).Vx),...
  • issm/trunk/test/NightlyRun/test111.py

    r13975 r15396  
    2424field_tolerances=[\
    2525        1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-05,1e-13,\
    26         1e-09,1e-09,1e-08,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-05,2e-11,\
    27         1e-09,1e-09,1e-08,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-05,1e-11]
     26        1e-09,1e-08,1e-08,1e-08,1e-09,1e-09,1e-09,1e-09,1e-09,1e-05,2e-11,\
     27        1e-09,1e-08,1e-08,1e-08,1e-09,1e-09,1e-09,1e-09,1e-09,1e-05,1e-11]
    2828field_values=[\
    2929        md.results.TransientSolution[0].Vx,\
  • issm/trunk/test/NightlyRun/test1110.m

    r14310 r15396  
    5454        md.prognostic.stabilization=1;
    5555        md.diagnostic.maxiter=1;
    56 
     56       
    5757        %Compute the diagnostic
    5858        md.cluster=generic('name',oshostname(),'np',8);
  • issm/trunk/test/NightlyRun/test119.m

    r13975 r15396  
    1818%Fields and tolerances to track changes
    1919field_names     ={'x1','y1','x2','y2','nbelements','elapsed time'};
    20 field_tolerances={1e-13,1e-13,1e-13,1e-13,1e-13,0.7};
     20field_tolerances={1e-13,1e-13,1e-13,1e-13,1e-13,0.8};
    2121field_values={...
    2222        x1, y1,...
  • issm/trunk/test/NightlyRun/test119.py

    r13975 r15396  
    2323#Fields and tolerances to track changes
    2424field_names     =['x1','y1','x2','y2','nbelements','elapsed time']
    25 field_tolerances=[1e-13,1e-13,1e-13,1e-13,1e-13,0.7]
     25field_tolerances=[1e-13,1e-13,1e-13,1e-13,1e-13,0.8]
    2626field_values=[\
    2727        x1, y1,\
  • issm/trunk/test/NightlyRun/test234.m

    r14310 r15396  
    4242md.qmu.method=dakota_method('nond_samp');
    4343md.qmu.method(end)=dmeth_params_set(md.qmu.method(end),'seed',1234,'samples',20,'sample_type','lhs');
    44 if (str2num(dakotaversion())>4.2)
     44dver=textscan(dakotaversion(),'%[0123456789].%[0123456789].%[0123456789]')
     45if ((str2num(dver{1}{1})==4 && str2num(dver{2}{1})>2) || str2num(dver{1}{1})>4)
    4546        md.qmu.method(end)=dmeth_params_set(md.qmu.method(end),'rng','rnum2')
    4647end
     
    5253md.qmu.params.evaluation_concurrency=1;
    5354md.qmu.params.interval_type='forward';
     55md.qmu.params.tabular_graphics_data=true;
    5456md.qmu.isdakota=1;
    5557
  • issm/trunk/test/NightlyRun/test3001.m

    r13975 r15396  
    33md=parameterize(md,'../Par/SquareShelfConstrained.par');
    44md=setflowequation(md,'macayeal','all');
    5 md.cluster=generic('name',oshostname(),'np',3);
     5md.cluster=generic('name',oshostname(),'np',1);
     6md.toolkits.DefaultAnalysis=issmsolver();
    67md.diagnostic.requested_outputs=StressTensorEnum();
    78md.autodiff.isautodiff=true;
     9md.toolkits.DefaultAnalysis=issmsolver();
    810md.verbose=verbose('autodiff',true);
    911md=solve(md,DiagnosticSolutionEnum());
  • issm/trunk/test/NightlyRun/test3001.py

    r13975 r15396  
    1212md=parameterize(md,'../Par/SquareShelfConstrained.py')
    1313md=setflowequation(md,'macayeal','all')
    14 md.cluster=generic('name',oshostname(),'np',3)
     14md.cluster=generic('name',oshostname(),'np',1)
    1515md.diagnostic.requested_outputs=StressTensorEnum()
     16md.toolkits.DefaultAnalysis=issmsolver()
    1617md.autodiff.isautodiff=True
    1718md=solve(md,DiagnosticSolutionEnum())
  • issm/trunk/test/NightlyRun/test3002.m

    r13975 r15396  
    44md=extrude(md,3,2.);
    55md=setflowequation(md,'macayeal','all');
    6 md.cluster=generic('name',oshostname(),'np',3);
     6md.cluster=generic('name',oshostname(),'np',1);
    77md.autodiff.isautodiff=true;
     8md.toolkits.DefaultAnalysis=issmsolver();
    89md.verbose=verbose('autodiff',true);
    910md=solve(md,DiagnosticSolutionEnum());
  • issm/trunk/test/NightlyRun/test3002.py

    r13975 r15396  
    1313md.extrude(3,2.)
    1414md=setflowequation(md,'macayeal','all')
    15 md.cluster=generic('name',oshostname(),'np',3)
     15md.cluster=generic('name',oshostname(),'np',1)
    1616md.autodiff.isautodiff=True
     17md.toolkits.DefaultAnalysis=issmsolver()
    1718md=solve(md,DiagnosticSolutionEnum())
    1819
  • issm/trunk/test/NightlyRun/test3003.m

    r13975 r15396  
    44md=extrude(md,3,2.);
    55md=setflowequation(md,'pattyn','all');
    6 md.cluster=generic('name',oshostname(),'np',3);
     6md.cluster=generic('name',oshostname(),'np',1);
    77md.diagnostic.requested_outputs=StressTensorEnum();
    88md.autodiff.isautodiff=true;
     9md.toolkits.DefaultAnalysis=issmsolver();
    910md.verbose=verbose('autodiff',true);
    1011md=solve(md,DiagnosticSolutionEnum());
  • issm/trunk/test/NightlyRun/test3003.py

    r13975 r15396  
    1313md.extrude(3,2.)
    1414md=setflowequation(md,'pattyn','all')
    15 md.cluster=generic('name',oshostname(),'np',3)
     15md.cluster=generic('name',oshostname(),'np',1)
    1616md.diagnostic.requested_outputs=StressTensorEnum()
     17md.toolkits.DefaultAnalysis=issmsolver()
    1718md.autodiff.isautodiff=True
    1819md=solve(md,DiagnosticSolutionEnum())
  • issm/trunk/test/NightlyRun/test3004.m

    r13975 r15396  
    44md=extrude(md,3,2.);
    55md=setflowequation(md,'stokes','all');
    6 md.cluster=generic('name',oshostname(),'np',3);
     6md.cluster=generic('name',oshostname(),'np',1);
    77md.autodiff.isautodiff=true;
     8md.toolkits.DefaultAnalysis=issmsolver();
    89md.verbose=verbose('autodiff',true);
    910md=solve(md,DiagnosticSolutionEnum());
  • issm/trunk/test/NightlyRun/test3004.py

    r13975 r15396  
    1313md.extrude(3,2.)
    1414md=setflowequation(md,'stokes','all')
    15 md.cluster=generic('name',oshostname(),'np',3)
     15md.cluster=generic('name',oshostname(),'np',1)
     16md.toolkits.DefaultAnalysis=issmsolver()
    1617md.autodiff.isautodiff=True
    1718md=solve(md,DiagnosticSolutionEnum())
  • issm/trunk/test/NightlyRun/test3005.m

    r13975 r15396  
    33md=parameterize(md,'../Par/SquareShelfConstrained.par');
    44md=setflowequation(md,'macayeal','all');
    5 md.cluster=generic('name',oshostname(),'np',3);
     5md.cluster=generic('name',oshostname(),'np',1);
    66md.autodiff.isautodiff=true;
     7md.toolkits.DefaultAnalysis=issmsolver();
    78md.verbose=verbose('autodiff',true);
    89md=solve(md,PrognosticSolutionEnum());
  • issm/trunk/test/NightlyRun/test3005.py

    r13975 r15396  
    1212md=parameterize(md,'../Par/SquareShelfConstrained.py')
    1313md=setflowequation(md,'macayeal','all')
    14 md.cluster=generic('name',oshostname(),'np',3)
     14md.cluster=generic('name',oshostname(),'np',1)
     15md.toolkits.DefaultAnalysis=issmsolver()
    1516md.autodiff.isautodiff=True
    1617md=solve(md,PrognosticSolutionEnum())
  • issm/trunk/test/NightlyRun/test3006.m

    r13975 r15396  
    44md=parameterize(md,'../Par/SquareShelfConstrained.par');
    55md=setflowequation(md,'macayeal','all');
    6 md.cluster=generic('name',oshostname(),'np',3);
     6md.cluster=generic('name',oshostname(),'np',1);
    77md.prognostic.stabilization=3;
    88md.prognostic.spcthickness=md.geometry.thickness;
    99md.autodiff.isautodiff=true;
     10md.toolkits.DefaultAnalysis=issmsolver();
    1011md.verbose=verbose('autodiff',true);
    1112md=solve(md,PrognosticSolutionEnum());
  • issm/trunk/test/NightlyRun/test3006.py

    r13975 r15396  
    1414md=parameterize(md,'../Par/SquareShelfConstrained.py')
    1515md=setflowequation(md,'macayeal','all')
    16 md.cluster=generic('name',oshostname(),'np',3)
     16md.cluster=generic('name',oshostname(),'np',1)
    1717md.prognostic.stabilization=3
    1818md.prognostic.spcthickness=md.geometry.thickness
     19md.toolkits.DefaultAnalysis=issmsolver()
    1920md.autodiff.isautodiff=True
    2021md=solve(md,PrognosticSolutionEnum())
  • issm/trunk/test/NightlyRun/test3007.m

    r13975 r15396  
    44md=setflowequation(md,'macayeal','all');
    55md=extrude(md,5,3.);
    6 md.cluster=generic('name',oshostname(),'np',3);
     6md.cluster=generic('name',oshostname(),'np',1);
    77md.autodiff.isautodiff=true;
    88md.verbose=verbose('autodiff',true);
     9md.toolkits.DefaultAnalysis=issmsolver();
    910md=solve(md,PrognosticSolutionEnum());
    1011
  • issm/trunk/test/NightlyRun/test3007.py

    r13975 r15396  
    1313md=setflowequation(md,'macayeal','all')
    1414md.extrude(5,3.)
    15 md.cluster=generic('name',oshostname(),'np',3)
     15md.cluster=generic('name',oshostname(),'np',1)
     16md.toolkits.DefaultAnalysis=issmsolver()
    1617md.autodiff.isautodiff=True
    1718md=solve(md,PrognosticSolutionEnum())
  • issm/trunk/test/NightlyRun/test3008.m

    r13975 r15396  
    55md=setflowequation(md,'macayeal','all');
    66md.timestepping.time_step=0;
    7 md.cluster=generic('name',oshostname(),'np',3);
     7md.cluster=generic('name',oshostname(),'np',1);
    88md.autodiff.isautodiff=true;
    99md.verbose=verbose('autodiff',true);
     10md.toolkits.DefaultAnalysis=issmsolver();
    1011md=solve(md,ThermalSolutionEnum());
    1112
  • issm/trunk/test/NightlyRun/test3008.py

    r13975 r15396  
    1414md=setflowequation(md,'macayeal','all')
    1515md.timestepping.time_step=0
    16 md.cluster=generic('name',oshostname(),'np',3)
     16md.cluster=generic('name',oshostname(),'np',1)
     17md.toolkits.DefaultAnalysis=issmsolver()
    1718md.autodiff.isautodiff=True
    1819md=solve(md,ThermalSolutionEnum())
  • issm/trunk/test/NightlyRun/test3009.m

    r13975 r15396  
    44md=extrude(md,3,1.);
    55md=setflowequation(md,'macayeal','all');
    6 md.cluster=generic('name',oshostname(),'np',3);
     6md.cluster=generic('name',oshostname(),'np',1);
    77md.transient.isdiagnostic=0;
    88md.transient.isprognostic=0;
     
    1111md.autodiff.isautodiff=true;
    1212md.verbose=verbose('autodiff',true);
     13md.toolkits.DefaultAnalysis=issmsolver();
    1314md=solve(md,TransientSolutionEnum());
    1415
  • issm/trunk/test/NightlyRun/test3009.py

    r14067 r15396  
    1313md.extrude(3,1.)
    1414md=setflowequation(md,'macayeal','all')
    15 md.cluster=generic('name',oshostname(),'np',3)
     15md.cluster=generic('name',oshostname(),'np',1)
    1616md.transient.isdiagnostic=False
    1717md.transient.isprognostic=False
    1818md.transient.isthermal=True
    1919md.transient.isgroundingline=False
     20md.toolkits.DefaultAnalysis=issmsolver()
    2021md.autodiff.isautodiff=True
    2122md=solve(md,TransientSolutionEnum())
  • issm/trunk/test/NightlyRun/test3010.m

    r13975 r15396  
    33md=parameterize(md,'../Par/SquareShelfConstrained.par');
    44md=setflowequation(md,'macayeal','all');
    5 md.cluster=generic('name',oshostname(),'np',3);
     5md.cluster=generic('name',oshostname(),'np',1);
    66md.transient.requested_outputs=IceVolumeEnum();
    77
    88md.autodiff.isautodiff=true;
    99md.verbose=verbose('autodiff',true);
     10md.toolkits.DefaultAnalysis=issmsolver();
    1011md=solve(md,TransientSolutionEnum());
    1112
  • issm/trunk/test/NightlyRun/test3010.py

    r13975 r15396  
    1212md=parameterize(md,'../Par/SquareShelfConstrained.py')
    1313md=setflowequation(md,'macayeal','all')
    14 md.cluster=generic('name',oshostname(),'np',3)
     14md.cluster=generic('name',oshostname(),'np',1)
     15md.toolkits.DefaultAnalysis=issmsolver()
    1516md.transient.requested_outputs=IceVolumeEnum()
    1617
  • issm/trunk/test/NightlyRun/test3015.m

    r13975 r15396  
    77md=parameterize(md,'../Par/SquareShelfConstrained.par');
    88md=setflowequation(md,'macayeal','all');
    9 md.cluster=generic('name',oshostname(),'np',3);
     9md.cluster=generic('name',oshostname(),'np',1);
    1010md.prognostic.requested_outputs=IceVolumeEnum();
    1111md.verbose=verbose('autodiff',true);
     12md.toolkits.DefaultAnalysis=issmsolver();
    1213
    1314%setup autodiff parameters
  • issm/trunk/test/NightlyRun/test3019.m

    r13975 r15396  
    44md=parameterize(md,'../Par/SquareShelfConstrained.par');
    55md=setflowequation(md,'macayeal','all');
    6 md.cluster=generic('name',oshostname(),'np',3);
     6md.cluster=generic('name',oshostname(),'np',1);
     7md.toolkits.DefaultAnalysis=issmsolver();
    78
    89md.autodiff.isautodiff=true;
     
    3132%Fields and tolerances to track changes
    3233field_names     ={'Jac Forward','Jac Reverse','Jac Forward - Reverse'};
    33 field_tolerances={1e-13,1e-13,1e-13};
     34field_tolerances={1e-8,1e-8,1e-6};
    3435field_values={jac_forward,jac_reverse,jac_forward-jac_reverse};
  • issm/trunk/test/NightlyRun/test3020.m

    r13975 r15396  
    77md=parameterize(md,'../Par/SquareShelfConstrained.par');
    88md=setflowequation(md,'macayeal','all');
    9 md.cluster=generic('name',oshostname(),'np',3);
     9md.cluster=generic('name',oshostname(),'np',1);
    1010md.transient.requested_outputs=[IceVolumeEnum();MaxVelEnum()];
    1111md.verbose=verbose('autodiff',true);
    12 md.diagnostic.restol=0.000001;
     12md.diagnostic.restol=1e-4;
     13md.toolkits.DefaultAnalysis=issmsolver();
    1314
    1415%setup autodiff parameters
     
    8182%Fields and tolerances to track changes
    8283field_names     ={'dV/dh-dV/dh0','dMaxV/dh-dMaxV/dh0'};
    83 field_tolerances={1e-13,1e-13};
     84field_tolerances={1e-8,1e-7};
    8485field_values={dVdh_ad-dVdh_an,dMaxVdh_an-dMaxVdh_ad};
  • issm/trunk/test/NightlyRun/test3020.py

    r13975 r15396  
    2121md=parameterize(md,'../Par/SquareShelfConstrained.py')
    2222md=setflowequation(md,'macayeal','all')
    23 md.cluster=generic('name',oshostname(),'np',3)
     23md.cluster=generic('name',oshostname(),'np',1)
    2424md.transient.requested_outputs=[IceVolumeEnum(),MaxVelEnum()]
    2525md.verbose=verbose('autodiff',True)
    2626md.diagnostic.restol=0.000001
     27md.toolkits.DefaultAnalysis=issmsolver()
    2728
    2829#setup autodiff parameters
  • issm/trunk/test/NightlyRun/test317.m

    r13975 r15396  
    1111        'Vx2','Vy2','Vz2','Vel2','Pressure2','Bed2','Surface2','Thickness2','Temperature2','BasalforcingsMeltingRate2',...
    1212        'Vx3','Vy3','Vz3','Vel3','Pressure3','Bed3','Surface3','Thickness3','Temperature3','BasalforcingsMeltingRate3'};
    13 field_tolerances={1e-09,1e-09,1e-09,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10,...
    14         1e-09,1e-09,1e-10,1e-09,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10,...
    15         1e-09,5e-10,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10};
     13field_tolerances={1e-09,1e-09,1e-09,1e-09,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10,...
     14        1e-09,1e-09,1e-09,1e-09,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10,...
     15        1e-09,5e-10,1e-09,1e-09,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10};
    1616field_values={...
    1717        (md.results.TransientSolution(1).Vx),...
  • issm/trunk/test/NightlyRun/test317.py

    r13975 r15396  
    2020        'Vx2','Vy2','Vz2','Vel2','Pressure2','Bed2','Surface2','Thickness2','Temperature2','BasalforcingsMeltingRate2',\
    2121        'Vx3','Vy3','Vz3','Vel3','Pressure3','Bed3','Surface3','Thickness3','Temperature3','BasalforcingsMeltingRate3']
    22 field_tolerances=[1e-09,1e-09,1e-09,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10,\
    23         1e-09,1e-09,1e-10,1e-09,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10,\
    24         1e-09,5e-10,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10]
     22field_tolerances=[1e-09,1e-09,1e-09,1e-09,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10,\
     23                1e-09,1e-09,1e-09,1e-09,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10,\
     24                1e-09,5e-10,1e-09,1e-09,1e-10,1e-10,1e-10,1e-10,1e-10,1e-10]
    2525field_values=[\
    2626        md.results.TransientSolution[0].Vx,\
  • issm/trunk/test/NightlyRun/test405.m

    r13975 r15396  
    99%Fields and tolerances to track changes
    1010field_names     ={'Vx','Vy','Vz','Vel','Pressure'};
    11 field_tolerances={1e-05,1e-05,1e-05,1e-05,1e-05};
     11field_tolerances={5e-05,5e-05,5e-05,5e-05,1e-05};
    1212field_values={...
    1313        (md.results.DiagnosticSolution.Vx),...
  • issm/trunk/test/NightlyRun/test405.py

    r13975 r15396  
    1919#Fields and tolerances to track changes
    2020field_names     =['Vx','Vy','Vz','Vel','Pressure']
    21 field_tolerances=[1e-05,1e-05,1e-05,1e-05,1e-05]
     21field_tolerances=[5e-05,5e-05,5e-05,5e-05,1e-05]
    2222field_values=[\
    2323        md.results.DiagnosticSolution.Vx,\
  • issm/trunk/test/NightlyRun/test415.m

    r13975 r15396  
    2424%Fields and tolerances to track changes
    2525field_names     ={'Gradient','Misfits','FrictionCoefficient','Pressure','Vel','Vx','Vy','Vz','Temperature','BasalforcingsMeltingRate'};
    26 field_tolerances={1e-10,1e-9,1e-10,1e-13,1e-10,1e-09,1e-10,1e-8,1e-09,1e-6};
     26field_tolerances={1e-10,1e-9,1e-10,1e-13,1e-09,1e-09,1e-09,1e-8,1e-09,1e-6};
    2727field_values={...
    2828        (md.results.SteadystateSolution.Gradient1),...
  • issm/trunk/test/NightlyRun/test415.py

    r13975 r15396  
    3636#Fields and tolerances to track changes
    3737field_names     =['Gradient','Misfits','FrictionCoefficient','Pressure','Vel','Vx','Vy','Vz','Temperature','BasalforcingsMeltingRate']
    38 field_tolerances=[1e-10,1e-9,1e-10,1e-13,1e-10,1e-09,1e-10,1e-8,1e-09,1e-6]
     38field_tolerances=[1e-10,1e-9,1e-10,1e-13,1e-09,1e-09,1e-09,1e-8,1e-09,1e-6]
    3939field_values=[\
    4040        md.results.SteadystateSolution.Gradient1,\
  • issm/trunk/test/NightlyRun/test423.m

    r13975 r15396  
    2020md.transient.isthermal=0;
    2121md.transient.isprognostic=0;
    22 md.transient.isdiagnostic=0;
     22md.transient.isdiagnostic=1;
    2323md.transient.isgroundingline=1;
    2424
     
    2727md=solve(md,TransientSolutionEnum());
    2828element_on_iceshelf_agressive=(md.results.TransientSolution.MaskElementonfloatingice);
     29vel_agressive=(md.results.TransientSolution.Vel);
    2930
    3031md.groundingline.migration='SoftMigration';
    3132md=solve(md,TransientSolutionEnum());
    3233element_on_iceshelf_soft=(md.results.TransientSolution.MaskElementonfloatingice);
     34vel_soft=(md.results.TransientSolution.Vel);
     35
     36md.groundingline.migration='SubelementMigration';
     37md=solve(md,TransientSolutionEnum());
     38element_on_iceshelf_subelement=(md.results.TransientSolution.GLlevelset);
     39vel_subelement=(md.results.TransientSolution.Vel);
     40
     41md.groundingline.migration='SubelementMigration2';
     42md=solve(md,TransientSolutionEnum());
     43element_on_iceshelf_subelement2=(md.results.TransientSolution.GLlevelset);
     44vel_subelement2=(md.results.TransientSolution.Vel);
    3345
    3446%Fields and tolerances to track changes
    35 field_names     ={'ElementOnIceShelfAgressive','ElementOnIceShelfSoft'};
    36 field_tolerances={1e-13,1e-13};
    37 field_values={element_on_iceshelf_agressive,element_on_iceshelf_soft};
     47field_names     ={'ElementOnIceShelfAgressive','VelAgressive','ElementOnIceShelfSoft','VelSoft','ElementOnIceShelfSubelement','VelSubelement','ElementOnIceShelfSubelement2','VelSubelement2'};
     48field_tolerances={1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13};
     49field_values={element_on_iceshelf_agressive,vel_agressive,element_on_iceshelf_soft,vel_soft,element_on_iceshelf_subelement,vel_subelement,element_on_iceshelf_subelement2,vel_subelement2};
  • issm/trunk/test/NightlyRun/test423.py

    r14067 r15396  
    3131md.transient.isthermal=False
    3232md.transient.isprognostic=False
    33 md.transient.isdiagnostic=False
     33md.transient.isdiagnostic=True
    3434md.transient.isgroundingline=True
    3535
     
    3838md=solve(md,TransientSolutionEnum())
    3939element_on_iceshelf_agressive=md.results.TransientSolution[0].MaskElementonfloatingice
     40vel_agressive=md.results.TransientSolution[0].Vel
    4041
    4142md.groundingline.migration='SoftMigration'
    4243md=solve(md,TransientSolutionEnum())
    4344element_on_iceshelf_soft=md.results.TransientSolution[0].MaskElementonfloatingice
     45vel_soft=md.results.TransientSolution[0].Vel
     46
     47md.groundingline.migration='SubelementMigration'
     48md=solve(md,TransientSolutionEnum())
     49element_on_iceshelf_subelement=md.results.TransientSolution[0].GLlevelset
     50vel_subelement=md.results.TransientSolution[0].Vel
     51
     52md.groundingline.migration='SubelementMigration2'
     53md=solve(md,TransientSolutionEnum())
     54element_on_iceshelf_subelement2=md.results.TransientSolution[0].GLlevelset
     55vel_subelement2=md.results.TransientSolution[0].Vel
    4456
    4557#Fields and tolerances to track changes
    46 field_names     =['ElementOnIceShelfAgressive','ElementOnIceShelfSoft']
    47 field_tolerances=[1e-13,1e-13]
    48 field_values=[element_on_iceshelf_agressive,element_on_iceshelf_soft]
     58field_names     =['ElementOnIceShelfAgressive','VelAgressive','ElementOnIceShelfSoft','VelSoft','ElementOnIceShelfSubelement','VelSubelement','ElementOnIceShelfSubelement2','VelSubelement2']
     59field_tolerances=[1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13]
     60field_values=[element_on_iceshelf_agressive,vel_agressive,element_on_iceshelf_soft,vel_soft,element_on_iceshelf_subelement,vel_subelement,element_on_iceshelf_subelement2,vel_subelement2]
  • issm/trunk/test/Par/ISMIPF.par

    r14310 r15396  
    4545md.thermal.stabilization=1;
    4646md.thermal.penalty_threshold=10^5;
     47md.transient.isthermal=0;
  • issm/trunk/test/Par/ISMIPF.py

    r14310 r15396  
    4848md.thermal.stabilization=1
    4949md.thermal.penalty_threshold=10**5
     50md.transient.isthermal=0
  • issm/trunk/test/Par/RoundSheetShelf.par

    r13975 r15396  
    107107md.prognostic.spcthickness=NaN*ones(md.mesh.numberofvertices,1);
    108108md.diagnostic.referential=NaN*ones(md.mesh.numberofvertices,6);
     109md.diagnostic.loadingforce=0*ones(md.mesh.numberofvertices,3);
    109110md.thermal.spctemperature=737.*ones(md.mesh.numberofvertices,1);
    110111
  • issm/trunk/test/Par/RoundSheetShelf.py

    r13975 r15396  
    116116md.prognostic.spcthickness=float('nan')*numpy.ones((md.mesh.numberofvertices,1))
    117117md.diagnostic.referential=float('nan')*numpy.ones((md.mesh.numberofvertices,6))
     118md.diagnostic.loadingforce=0*numpy.ones((md.mesh.numberofvertices,3))
    118119md.thermal.spctemperature=737.*numpy.ones((md.mesh.numberofvertices,1))
    119120
  • issm/trunk/test/Par/SquareSheetConstrained.par

    r13975 r15396  
    4949md.timestepping.final_time=3.;
    5050
     51%GIA:
     52md.gia.lithosphere_thickness=100.*ones(md.mesh.numberofvertices,1); % in km
     53md.gia.mantle_viscosity=1.0*10^21*ones(md.mesh.numberofvertices,1); % in Pa.s
     54md.materials.lithosphere_shear_modulus=6.7*10^10;                   % in Pa
     55md.materials.lithosphere_density=3.32;                              % in g/cm^-3
     56md.materials.mantle_shear_modulus=1.45*10^11;                       % in Pa
     57md.materials.mantle_density=3.34;                                   % in g/cm^-3
     58
    5159%Boundary conditions:
    5260md=SetIceSheetBC(md);
  • issm/trunk/test/Par/SquareSheetConstrained.py

    r14310 r15396  
    5959md.timestepping.final_time=3.
    6060
     61#GIA:
     62md.gia.lithosphere_thickness=100.*numpy.ones((md.mesh.numberofvertices,1)); # in km
     63md.gia.mantle_viscosity=1.*10**21*numpy.ones((md.mesh.numberofvertices,1)); # in Pa.s
     64md.materials.lithosphere_shear_modulus=6.7*10**10;                          # in Pa
     65md.materials.lithosphere_density=3.32;                                      # in g/cm^-3
     66md.materials.mantle_shear_modulus=1.45*10**11;                              # in Pa
     67md.materials.mantle_density=3.34;                                           # in g/cm^-3
     68
    6169#Boundary conditions:
    6270md=SetIceSheetBC(md)
  • issm/trunk/test/Par/SquareShelf.py

    r14310 r15396  
    2626vx=iVelF.variables['vx'][:]
    2727vy=iVelF.variables['vy'][:]
    28 index=iVelF.variables['index'][:].astype(float)
    29 index=reshape(index.T,(len(index),3),order='F')
     28index=iVelF.variables['index'][:].astype(int)
    3029
    3130#dbg - begin
Note: See TracChangeset for help on using the changeset viewer.