Changeset 15396
- Timestamp:
- 07/02/13 09:24:16 (12 years ago)
- Location:
- issm/trunk
- Files:
-
- 137 deleted
- 1329 edited
- 273 copied
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
- Property svn:ignore
-
old new 1 par 2 ad 3 proj-* 1 4 projects 2 5 autom4te.cache
-
- Property svn:mergeinfo changed
/issm/trunk-jpl merged: 14311,14313,14316-14506,14508-15387,15390-15392
- Property svn:ignore
-
issm/trunk/bin
- Property svn:ignore
-
old new 1 issm.exe.dSYM 1 2 *.exe 2 3 *.mexmaci64
-
- Property svn:ignore
-
issm/trunk/configs/config-arm-linux.sh
r14310 r15396 2 2 3 3 ./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-static4 --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 13 13 --with-mkl-dir="/usr/local/intel/mkl/10.1.2.024/lib/64/" \ 14 14 --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" \ 16 16 --with-petsc-arch=$ISSM_ARCH \ 17 17 --with-dakota-dir=$ISSM_DIR/externalpackages/dakota/install \ -
issm/trunk/configs/config-greenplanet.sh
r14067 r15396 12 12 --with-tao-dir=$ISSM_DIR/externalpackages/tao/install \ 13 13 --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" \ 15 15 --with-petsc-arch=$ISSM_ARCH \ 16 16 --with-dakota-dir=$ISSM_DIR/externalpackages/dakota/install \ -
issm/trunk/configs/config-hoffman2.sh
r14310 r15396 7 7 --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \ 8 8 --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" \ 10 10 --with-petsc-arch=$ISSM_ARCH \ 11 11 --with-plapack-lib="-L$ISSM_DIR/externalpackages/petsc/install/ -lPLAPACK" \ -
issm/trunk/configs/config-linux64-cloud.sh
r13975 r15396 12 12 --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \ 13 13 --with-tao-dir=$ISSM_DIR/externalpackages/tao/install \ 14 --with-mpi-include=$ISSM_DIR/externalpackages/mpich 2/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 " \ 16 16 --with-petsc-arch=$ISSM_ARCH \ 17 17 --with-blacs-dir=$ISSM_DIR/externalpackages/petsc/install/ \ -
issm/trunk/configs/config-linux64-murdo-nopetsc.sh
r12332 r15396 3 3 ./configure \ 4 4 --prefix=$ISSM_DIR \ 5 --with-mpi-include=$ISSM_DIR/externalpackages/mpich 2/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" \ 7 7 --with-matlab-dir=$MATLAB_DIR \ 8 8 --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \ -
issm/trunk/configs/config-linux64-murdo.sh
r13975 r15396 9 9 --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \ 10 10 --with-metis-dir=$ISSM_DIR/externalpackages/metis/install \ 11 --with-mpi-include=$ISSM_DIR/externalpackages/mpich 2/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" \ 13 13 --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \ 14 14 --with-python-dir=$ISSM_DIR/externalpackages/python/install\ -
issm/trunk/configs/config-linux64-ubuntu64.sh
r12332 r15396 7 7 --with-metis-dir=$ISSM_DIR/externalpackages/metis/install \ 8 8 --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" \ 11 11 --with-petsc-arch=$ISSM_ARCH \ 12 12 --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install \ … … 19 19 --with-chaco-dir="$ISSM_DIR/externalpackages/chaco/install" \ 20 20 --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"\ 22 22 --with-numthreads=8 \ 23 23 --with-dakota-dir=$ISSM_DIR/externalpackages/dakota/install \ -
issm/trunk/configs/config-macosx64-nicole.sh
r13395 r15396 3 3 #petsc 3.2 4 4 #mpich 1.4 5 export F77='/usr/local/gfortran/bin/x86_64-apple-darwin10-gfortran' 5 6 6 7 ./configure \ … … 10 11 --with-metis-dir=$ISSM_DIR/externalpackages/metis/install \ 11 12 --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \ 12 --with-mpi-include=$ISSM_DIR/externalpackages/mpich 2/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 " \ 14 15 --with-petsc-arch=$ISSM_ARCH \ 15 16 --with-dakota-dir=$ISSM_DIR/externalpackages/dakota/install \ -
issm/trunk/configs/config-macosx64-ogive.sh
r12332 r15396 14 14 --with-metis-dir=$ISSM_DIR/externalpackages/metis/install \ 15 15 --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \ 16 --with-mpi-include=$ISSM_DIR/externalpackages/mpich 2/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 " \ 18 18 --with-petsc-arch=$ISSM_ARCH \ 19 19 --with-dakota-dir=$ISSM_DIR/externalpackages/dakota/install \ -
issm/trunk/configs/config-macosx64.sh
r14023 r15396 3 3 #petsc 3.2 4 4 #mpich 1.4 5 6 pythonversion=2.7 5 #python 2.7 7 6 8 7 ./configure \ 9 8 --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" \ 18 17 --with-fortran-lib="/usr/local/gfortran/lib/libgfortran.a" \ 19 18 --with-math-lib="/usr/lib/libm.dylib" \ 20 19 --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 "\22 20 --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/install21 --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 9 9 --with-tao-dir=$ISSM_DIR/externalpackages/tao/install \ 10 10 --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" \ 12 12 --with-petsc-arch=$ISSM_ARCH \ 13 13 --with-dakota-dir=$ISSM_DIR/externalpackages/dakota/install \ -
issm/trunk/configs/config-win7-32.sh
r12332 r15396 1 1 #!/bin/sh 2 3 #Dos style path needed for the windows sdk 7.1 cl compiler:4 ISSM_DIR_WIN=`cygpath -m "$ISSM_DIR"`5 2 6 3 #get configure.sh to pick up the win7 Visual Studio compiler 7 4 ./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 1 1 #!/bin/sh 2 3 #Dos style path needed for the windows sdk 7.1 cl compiler:4 ISSM_DIR_WIN=`cygpath -m "$ISSM_DIR"`5 2 6 3 #get configure.sh to pick up the win7 Visual Studio compiler 7 4 ./configure --prefix=$ISSM_DIR \ 5 --disable-static \ 8 6 --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" \ 13 11 --with-petsc-arch=$ISSM_ARCH \ 14 12 --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 2 2 3 3 #AUTOCONF 4 AC_INIT([ISSM],[4. 2.5],[issm@jpl.nasa.gov],[issm],[http://issm.jpl.nasa.gov]) #Initializing configure4 AC_INIT([ISSM],[4.3],[issm@jpl.nasa.gov],[issm],[http://issm.jpl.nasa.gov]) #Initializing configure 5 5 AC_CONFIG_AUX_DIR([./aux-config]) #Put config files in aux-config 6 6 AC_CONFIG_MACRO_DIR([m4]) #m4 macros are located in m4 … … 9 9 10 10 #Compilers 11 AC_PROG_CC([ cccl cl icl gcc])11 AC_PROG_CC([icc cccl cl icl gcc]) 12 12 AC_PROG_CPP 13 AC_PROG_CXX([ cccl cl icl g++])13 AC_PROG_CXX([icpc cccl cl icl g++]) 14 14 AC_PROG_F77([ifort g77 gfortran]) 15 15 … … 21 21 #Initialize automake and declare foreign so that we don't need a ChangeLog, INSTALL, etc 22 22 AM_INIT_AUTOMAKE([foreign]) 23 A M_CONFIG_HEADER([./config.h]) #Config file must be config.h23 AC_CONFIG_HEADERS([./config.h]) #Config file must be config.h 24 24 AM_SILENT_RULES([yes]) #Do not show compilation command by default 25 25 AM_PROG_CC_C_O … … 39 39 src/wrappers/python/Makefile 40 40 src/wrappers/matlab/Makefile 41 src/ android/Makefile42 src/ android/ISSM/Makefile41 src/mobile/Makefile 42 src/mobile/native/Makefile 43 43 src/m/Makefile]) 44 44 -
issm/trunk/etc/environment.csh
r13975 r15396 1 #ISSM_DIR and ISSM_ARCHshould 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 ...) 2 2 3 3 #Load ISSM scripts … … 25 25 if (-d $PETSC_DIR) then 26 26 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 28 28 endif 29 29 … … 31 31 set SLEPC_DIR="$ISSM_DIR/externalpackages/slepc/install" 32 32 if (-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 34 34 endif 35 35 … … 37 37 set TAO_DIR="$ISSM_DIR/externalpackages/tao/install" 38 38 if (-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 40 40 endif 41 41 -
issm/trunk/etc/environment.sh
r14067 r15396 65 65 libpathappend "$MATLAB_DIR/lib" 66 66 67 #legacy mpich2 (To be removed) 67 68 MPI_DIR="$ISSM_DIR/externalpackages/mpich2/install" 68 69 if [ -d "$MPI_DIR" ]; then … … 72 73 fi 73 74 75 MPI_DIR="$ISSM_DIR/externalpackages/mpich/install" 76 if [ -d "$MPI_DIR" ]; then 77 export MPI_DIR 78 pathprepend "$MPI_DIR/bin" 79 libpathappend "$MPI_DIR/lib" 80 fi 81 74 82 PETSC_DIR="$ISSM_DIR/externalpackages/petsc/install" 75 83 export PETSC_DIR … … 77 85 78 86 SLEPC_DIR="$ISSM_DIR/externalpackages/slepc/install" 79 libpathappend "$SLEPC_DIR/lib /$ISSM_ARCH"87 libpathappend "$SLEPC_DIR/lib" 80 88 81 89 TAO_DIR="$ISSM_DIR/externalpackages/tao/install" … … 84 92 DAKOTA_DIR="$ISSM_DIR/externalpackages/dakota/install" 85 93 pathappend "$DAKOTA_DIR/bin" 94 libpathappend "$DAKOTA_DIR/lib" 86 95 87 96 DOXYGEN_DIR="$ISSM_DIR/externalpackages/doxygen/install" … … 106 115 pathprepend "$GDAL_DIR/bin" 107 116 libpathappend "$GDAL_DIR/lib" 117 118 PROJ4_DIR="$ISSM_DIR/externalpackages/proj.4/install" 119 libpathappend "$PROJ4_DIR/lib" 108 120 109 121 MERCURIAL_DIR="$ISSM_DIR/externalpackages/mercurial/install" … … 178 190 179 191 CMAKE_DIR="$ISSM_DIR/externalpackages/cmake/install" 180 path append "$CMAKE_DIR/bin"192 pathprepend "$CMAKE_DIR/bin" 181 193 182 194 SHAPELIB_DIR="$ISSM_DIR/externalpackages/shapelib/install" … … 229 241 230 242 HDF5_DIR="$ISSM_DIR/externalpackages/hdf5/install" 243 dylibpathappend "$HDF5_DIR/lib" 244 libpathappend "$HDF5_DIR/lib" 231 245 if [ -d "$HDF5_DIR" ]; then 232 dylibpathappend "$HDF5_DIR/lib"233 libpathappend "$HDF5_DIR/lib"234 246 export LIBRARY_PATH="$LIBRARY_PATH:$HDF5_DIR/lib" 235 247 export C_INCLUDE_PATH="$C_INCLUDE_PATH:$HDF5_DIR/include" 236 248 fi 237 249 238 #NETCDF239 250 NETCDF_DIR="$ISSM_DIR/externalpackages/netcdf/install" 251 pathappend "$NETCDF_DIR/bin" 252 dylibpathappend "$NETCDF_DIR/lib" 253 libpathappend "$NETCDF_DIR/lib" 240 254 if [ -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"243 255 export LIBRARY_PATH="$LIBRARY_PATH:$NETCDF_DIR/lib" 256 dylibpathappend "$NETCDF_DIR/lib" 257 libpathappend "$NETCDF_DIR/lib" 244 258 export C_INCLUDE_PATH="$C_INCLUDE_PATH:$NETCDF_DIR/include" 245 259 fi 246 260 247 #SVN 261 NETCDF_CXX_DIR="$ISSM_DIR/externalpackages/netcdf-cxx/install" 262 libpathappend "$NETCDF_CXX_DIR/lib" 263 248 264 SVN_DIR="$ISSM_DIR/externalpackages/svn/install" 249 if [ -d "$SVN_DIR" ]; then 250 pathprepend "$SVN_DIR/bin" 251 libpathappend "$SVN_DIR/lib" 252 fi 265 pathprepend "$SVN_DIR/bin" 266 libpathappend "$SVN_DIR/lib" 253 267 254 268 APR_DIR="$ISSM_DIR/externalpackages/apr/install" 255 if [ -d "$APR_DIR" ]; then 256 pathappend "$APR_DIR/bin" 257 libpathappend "$APR_DIR/lib" 258 fi 269 pathappend "$APR_DIR/bin" 270 libpathappend "$APR_DIR/lib" 259 271 260 272 APR_UTIL_DIR="$ISSM_DIR/externalpackages/apr-util/install" … … 271 283 SWIG_DIR="$ISSM_DIR/externalpackages/swig/install" 272 284 pathappend "$SWIG_DIR" 285 286 #AUX-CONFIG 287 pathappend "$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 14 install 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 3 14 install 4 15 src 5 .ignore.txt 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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
-
Property svn:ignore
set to
-
issm/trunk/externalpackages/adolc
- Property svn:ignore
-
old new 1 trunk 1 2 adolc_issm 2 adolc_v220_issm3 trunk4 3 *.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 16 install 6 17 src 7 src-* 8 configure.sh 9 .ignore.txt 18 CMakeCache.txt 19 Makefile 20 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/adolc/install-update-dev.sh
r14310 r15396 10 10 11 11 #symlink: 12 ln -s /u/astrid-r1b/larour/issm-uci/trunk-jpl/externalpackages/adolc/adolc_issm ./adolc_issm12 ln -s /proj/ice/larour2/issm-uci/trunk-jpl/externalpackages/adolc/adolc_issm ./adolc_issm 13 13 14 14 #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 14 install 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/android/android-emulators
- Property svn:ignore
-
old new 1 Android-* 1 android-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 16 install 17 src 18 CMakeCache.txt 19 Makefile 20 CMakeFiles
-
- Property svn:ignore
-
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 3 14 install 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/android/android-sdk
- Property svn:ignore
-
old new 1 install-sdk* 2 *.gz 1 3 *.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 15 install 16 src 17 CMakeCache.txt 18 Makefile 19 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/android/android-sdk/install.sh
r13975 r15396 19 19 20 20 # Cleanup the install 21 rm -rf install -sdk21 rm -rf install 22 22 23 23 # Download from ISSM server … … 28 28 29 29 # Move to install 30 mv -f android-sdk-macosx install -sdk30 mv -f android-sdk-macosx install 31 31 32 32 # Post_install configuration: … … 39 39 # Note: API 16, API 15 and 14 correspond to Android 4.1, 4.0.3 and 4.0 respectively. 40 40 41 cd install -sdk/tools/ && source ./android update sdk -t platform-tool,${api_levels},system-image --no-ui41 cd install/tools/ && source ./android update sdk -t platform-tool,${api_levels},system-image --no-ui 42 42 43 43 fi … … 50 50 51 51 # Here we delete the Android-4.0.3 device if it already exists. 52 cd $present_dir/install -sdk/tools52 cd $present_dir/install/tools 53 53 54 54 if [ -e $ANDROID_DIR/android-emulators/$default_droid ] … … 71 71 # a terminal in our device. 72 72 73 cd $present_dir/install -sdk/tools73 cd $present_dir/install/tools 74 74 ./emulator -avd $default_droid -sdcard $ANDROID_DIR/android-emulators/$sd_card.img & 75 75 … … 79 79 80 80 if [[ $step == "4" || $step == "0" ]]; then 81 rm -rf install -sdk81 rm -rf install 82 82 fi -
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 14 install 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 logs 3 logs1 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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 1 14 install 2 15 src 3 *.gz 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 15 src 3 *.gz 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/aspell
- Property svn:ignore
-
old new 1 src 1 dicts* 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 2 15 install 3 dicts4 *.gz5 16 src 17 CMakeCache.txt 18 Makefile 19 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 15 src 3 *.gz 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 15 src 3 .ignore.txt 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 15 install 1 16 src 2 install 3 *.tgz 17 CMakeCache.txt 18 Makefile 19 CMakeFiles
-
- Property svn:ignore
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
issm/trunk/externalpackages/boost
- Property svn:ignore
-
old new 1 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 2 14 install 3 15 src 4 .ignore.txt 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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 1 14 install 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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
-
Property svn:ignore
set to
-
issm/trunk/externalpackages/cccl/issm/cccl
r12332 r15396 62 62 63 63 *.mex*) 64 opts="$opts -o$1"64 opts="$opts /OUT:$1" 65 65 ;; 66 66 … … 86 86 #do nothing 87 87 ;; 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 ;; 89 100 *) 90 101 #do nothing … … 97 108 done 98 109 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. 112 command=`echo "$prog "$includeopts" $opts /nologo"` 113 exec $command -
issm/trunk/externalpackages/chaco
- Property svn:ignore
-
old new 1 1 *.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 2 15 install 3 16 src 4 .ignore.txt5 old 6 *.tar.gz 17 CMakeCache.txt 18 Makefile 19 CMakeFiles
-
- Property svn:ignore
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
issm/trunk/externalpackages/cmake
- Property svn:ignore
-
old new 1 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 2 14 install 3 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 15 src 3 .ignore.txt 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 15 src 3 .ignore.txt 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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
-
Property svn:ignore
set to
-
issm/trunk/externalpackages/dakota
- Property svn:ignore
-
old new 1 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 2 14 install 3 15 src 4 configure.sh 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
issm/trunk/externalpackages/distribute
- Property svn:ignore
-
old new 1 *.py 1 2 *.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 15 install 16 src 17 CMakeCache.txt 18 Makefile 19 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 15 src 3 .ignore.txt 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/doxygen/install.sh
r14067 r15396 4 4 #Some cleanup 5 5 rm -rf install src 6 mkdir install 6 7 7 8 #Download latest version … … 9 10 10 11 #Configure doxygen 11 cd install&& ./configure --prefix "$ISSM_DIR/externalpackages/doxygen/install"12 cd src && ./configure --prefix "$ISSM_DIR/externalpackages/doxygen/install" 12 13 if [ $# -eq 0 ]; then 13 14 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 14 install 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/ec2ami
- Property svn:ignore
-
old new 1 1 ec2-ami-tools-* 2 *.gz 2 3 *.zip 3 4 *.a 5 *.so 6 *.o 7 *.la 8 *.cmake 9 *.cache 10 *.exe 11 *.in 12 *.log 13 *.deps 14 *.metadata 15 install 16 src 17 CMakeCache.txt 18 Makefile 19 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/ec2api
- Property svn:ignore
-
old new 1 ec2-api-tools.zip 2 ec2-api-tools-* 3 1 ec2-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 15 install 16 src 17 CMakeCache.txt 18 Makefile 19 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/esmf
- Property svn:ignore
-
old new 1 1 esmf-gfortran* 2 esmf 2 esmf* 3 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 16 install 17 src 18 CMakeCache.txt 19 Makefile 20 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/export_fig
- Property svn:ignore
-
old new 1 1 .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 15 install 16 src 17 CMakeCache.txt 18 Makefile 19 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/export_fig/license.txt
r11995 r15396 2 2 All rights reserved. 3 3 4 Redistribution and use in source and binary forms, with or without 5 modification, are permitted provided that the following conditions are 4 Redistribution and use in source and binary forms, with or without 5 modification, are permitted provided that the following conditions are 6 6 met: 7 7 8 * Redistributions of source code must retain the above copyright 8 * Redistributions of source code must retain the above copyright 9 9 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 12 12 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 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 24 24 POSSIBILITY OF SUCH DAMAGE. -
issm/trunk/externalpackages/export_fig/print2eps.m
r14310 r15396 21 21 % options - Additional parameter strings to be passed to print. 22 22 23 % Copyright (C) Oliver Woodford 2008-201 223 % Copyright (C) Oliver Woodford 2008-2013 24 24 25 25 % The idea of editing the EPS file to change line styles comes from Jiro … … 48 48 % sizes we don't want, due to listeners. Thanks to Malcolm Hudson 49 49 % for reporting the issue. 50 % 22/03/13: Extend font swapping to axes labels. Thanks to Rasmus Ischebeck 51 % for reporting the issue. 50 52 51 53 function print2eps(name, fig, varargin) … … 61 63 end 62 64 % Find all the used fonts in the figure 63 font_handles = find obj(fig, '-property', 'FontName');65 font_handles = findall(fig, '-property', 'FontName'); 64 66 fonts = get(font_handles, 'FontName'); 65 67 if ~iscell(fonts) -
issm/trunk/externalpackages/export_fig/user_string.m
r10635 r15396 19 19 % saved - Boolean indicating whether the save was succesful 20 20 21 % Copyright (C) Oliver Woodford 2011 21 % Copyright (C) Oliver Woodford 2011-2013 22 22 23 23 % This method of saving paths avoids changing .m files which might be in a … … 26 26 % the version control system. Thank you to Jonas Dorn for suggesting this 27 27 % 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. 28 31 29 32 function string = user_string(string_name, string) … … 58 61 end 59 62 % Write the file 60 fid = fopen(string_name, 'w ');63 fid = fopen(string_name, 'wt'); 61 64 if fid == -1 62 65 string = false; … … 64 67 end 65 68 try 66 f write(fid, string, '*char');69 fprintf(fid, '%s', string); 67 70 catch 68 71 fclose(fid); … … 74 77 else 75 78 % Get string 76 fid = fopen(string_name, 'r ');79 fid = fopen(string_name, 'rt'); 77 80 if fid == -1 78 81 string = ''; 79 82 return 80 83 end 81 string = f read(fid, '*char')';84 string = fgetl(fid); 82 85 fclose(fid); 83 86 end -
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
-
Property svn:ignore
set to
-
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 1 14 install 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/freetype
- Property svn:ignore
-
old new 1 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 2 14 install 3 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/gdal
- Property svn:ignore
-
old new 1 1 *.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 14 install 3 15 src 4 .ignore.txt 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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 1 14 install 2 15 src 3 *.gz 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/gmake
- Property svn:ignore
-
old new 1 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 2 14 install 3 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 15 src 3 *.bz2 4 *.tar 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 15 src 3 .ignore.txt 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 14 install 2 15 src 3 configure.sh 4 .ignore.txt 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/gsl
- Property svn:ignore
-
old new 1 install- macosx*1 install-* 2 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 3 15 install 4 16 src 17 CMakeCache.txt 18 Makefile 19 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/gsl/install-android.sh
r14310 r15396 25 25 cd src 26 26 27 mv ./../Makefile.am.patch ./ 28 patch Makefile.am < Makefile.am.patch 27 patch Makefile.am < ./../Makefile.am.patch 29 28 30 autoreconf -i 29 autoreconf -if 31 30 32 31 ./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
-
Property svn:ignore
set to
-
issm/trunk/externalpackages/h5py
- Property svn:ignore
-
old new 1 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 2 14 install 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 15 src 3 *.gz 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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
-
Property svn:ignore
set to
-
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 14 install 1 15 src 2 src-* 3 *.gz 4 install 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 15 src 3 license.txt4 myKML.kml 5 kml_shapefile.m 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/lapack
- Property svn:ignore
-
old new 1 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 2 15 install 3 16 src 17 CMakeCache.txt 18 Makefile 19 CMakeFiles
-
- Property svn:ignore
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
issm/trunk/externalpackages/latex2rtf
- Property svn:ignore
-
old new 1 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 2 14 install 3 cfg 4 latex2rtf-2.0.0 5 .ignore.txt 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/libpng
- Property svn:ignore
-
old new 1 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 14 install 2 15 src 3 install 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 15 src 3 .ignore.txt 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/matlab/install.sh
r13395 r15396 2 2 set -eu 3 3 4 #Erase symlink 5 rm -rf install 4 if [ ! -h install ]; 5 then 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 " ****************************************************************" 23 else 6 24 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 35 fi -
issm/trunk/externalpackages/matplotlib
- Property svn:ignore
-
old new 1 src-* 1 matplotlib 2 deps* 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 16 install 2 17 src 3 install 4 matplotlib 5 deps18 CMakeCache.txt 19 Makefile 20 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/metis
- Property svn:ignore
-
old new 1 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 2 14 install 3 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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 14 install 4 15 src 5 configs 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/modules
- Property svn:ignore
-
old new 1 modules-* 1 modules* 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 2 15 install 16 src 17 CMakeCache.txt 18 Makefile 19 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/ncview
- Property svn:ignore
-
old new 1 genoverlay* 1 2 *.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 3 15 install 4 genoverlay 5 README 16 src 17 CMakeCache.txt 18 Makefile 19 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/netcdf
- Property svn:ignore
-
old new 1 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 2 14 install 3 install-*4 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 *.gz 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/nose
- Property svn:ignore
-
old new 1 1 *.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 14 install 3 15 src 4 src-* 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/numpy
- Property svn:ignore
-
old new 1 scipy2 scipy-*3 numpy4 1 numpy-* 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 15 install 16 src 17 CMakeCache.txt 18 Makefile 19 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/octave
- Property svn:ignore
-
old new 1 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 2 14 install 3 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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
-
Property svn:ignore
set to
-
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 1 14 install 2 15 src 3 openanalysis 4 .ignore.txt 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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
-
Property svn:ignore
set to
-
issm/trunk/externalpackages/openssl/install.sh
r13807 r15396 15 15 #Configure openssl 16 16 cd src 17 ./config --prefix="$ISSM_DIR/externalpackages/openssl/install" 17 ./config --prefix="$ISSM_DIR/externalpackages/openssl/install" shared 18 18 if [ $# -eq 0 ]; then 19 19 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 1 14 install 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 *.gz 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/petsc
- Property svn:ignore
-
old new 1 install-3.2 2 install-dev 3 *.tgz 1 petscinstall-* 4 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 5 15 install 6 install-3.17 16 src 17 CMakeCache.txt 18 Makefile 19 CMakeFiles
-
- Property svn:ignore
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
issm/trunk/externalpackages/petsc/install-3.1-macosx32-mathieu.sh
r13395 r15396 20 20 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \ 21 21 --PETSC_ARCH=macosx-gnu \ 22 --with-mpi-dir=$ISSM_DIR/externalpackages/mpich 2/install \22 --with-mpi-dir=$ISSM_DIR/externalpackages/mpich/install \ 23 23 --with-debugging=0 \ 24 24 --with-shared=0 \ … … 29 29 --download-f-blas-lapack=yes \ 30 30 --download-plapack=yes \ 31 --FFLAGS="-I$ISSM_DIR/externalpackages/mpich 2/install/include -arch i386" \31 --FFLAGS="-I$ISSM_DIR/externalpackages/mpich/install/include -arch i386" \ 32 32 --COPTFLAGS="-march=opteron -O2 -arch i386" \ 33 33 --FOPTFLAGS="-march=opteron -O2 -arch i386" \ -
issm/trunk/externalpackages/petsc/install-3.1-macosx32-ogive.sh
r13395 r15396 19 19 --prefix="$ISSM_DIR/externalpackages/petsc/install" \ 20 20 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \ 21 --with-mpi-dir=$ISSM_DIR/externalpackages/mpich 2/install \21 --with-mpi-dir=$ISSM_DIR/externalpackages/mpich/install \ 22 22 --PETSC_ARCH=macosx-gnu \ 23 23 --with-fc=/usr/local/bin/gfortran \ … … 34 34 --FOPTFLAGS="-march=opteron -O2 " \ 35 35 --CXXOPTFLAGS="-march=opteron -O2 " \ 36 --FFLAGS="-I$ISSM_DIR/externalpackages/mpich 2/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 " 37 37 38 38 #Compile petsc and install it -
issm/trunk/externalpackages/petsc/install-3.1-ubuntu64.sh
r13395 r15396 18 18 ./config/configure.py \ 19 19 --prefix="$ISSM_DIR/externalpackages/petsc/install" \ 20 --with-mpi-dir=$ISSM_DIR/externalpackages/mpich 2/install \20 --with-mpi-dir=$ISSM_DIR/externalpackages/mpich/install \ 21 21 --PETSC_ARCH=linux-gnu\ 22 22 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \ … … 29 29 --download-f-blas-lapack=yes \ 30 30 --download-parmetis=yes \ 31 --FFLAGS=-I$ISSM_DIR/externalpackages/mpich 2/install/include \31 --FFLAGS=-I$ISSM_DIR/externalpackages/mpich/install/include \ 32 32 --download-plapack=yes \ 33 33 --COPTFLAGS="-O2" \ -
issm/trunk/externalpackages/petsc/install-3.1-win7.sh
r13395 r15396 33 33 # --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \ 34 34 # --PETSC_ARCH=macosx-gnu \ 35 # --with-mpi-dir=$ISSM_DIR/externalpackages/mpich 2/install \35 # --with-mpi-dir=$ISSM_DIR/externalpackages/mpich/install \ 36 36 # --with-debugging=0 \ 37 37 # --with-shared=0 \ … … 42 42 # --download-f-blas-lapack=yes \ 43 43 # --download-plapack=yes \ 44 # --FFLAGS="-I$ISSM_DIR/externalpackages/mpich 2/install/include -arch i386" \44 # --FFLAGS="-I$ISSM_DIR/externalpackages/mpich/install/include -arch i386" \ 45 45 # --COPTFLAGS="-march=opteron -O2 -arch i386" \ 46 46 # --FOPTFLAGS="-march=opteron -O2 -arch i386" \ -
issm/trunk/externalpackages/petsc/install-3.2-linux64.sh
r13395 r15396 18 18 ./config/configure.py \ 19 19 --prefix="$ISSM_DIR/externalpackages/petsc/install" \ 20 --with-mpi-dir= $ISSM_DIR/externalpackages/mpich2/install\20 --with-mpi-dir="$ISSM_DIR/externalpackages/mpich/install" \ 21 21 --with-clanguage=C++ \ 22 22 --PETSC_ARCH=linux-gnu-amd64 \ -
issm/trunk/externalpackages/petsc/install-3.2-macosx64.sh
r13395 r15396 20 20 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \ 21 21 --PETSC_ARCH="macosx-gnu" \ 22 --with-mpi-dir="$ISSM_DIR/externalpackages/mpich 2/install" \22 --with-mpi-dir="$ISSM_DIR/externalpackages/mpich/install" \ 23 23 --with-debugging=0 \ 24 24 --with-shared-libraries=1 \ -
issm/trunk/externalpackages/petsc/install-3.3-linux64.sh
r13395 r15396 3 3 4 4 #Some cleanup 5 rm -rf install petsc-3.3-p 2src5 rm -rf install petsc-3.3-p6 src 6 6 mkdir install src 7 7 8 8 #Download from ISSM server 9 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.3-p 2.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' 10 10 11 11 #Untar and move petsc to install directory 12 tar -zxvf petsc-3.3-p 2.tar.gz13 mv petsc-3.3-p 2/* src/14 rm -rf petsc-3.3-p 212 tar -zxvf petsc-3.3-p6.tar.gz 13 mv petsc-3.3-p6/* src/ 14 rm -rf petsc-3.3-p6 15 15 16 16 #configure … … 18 18 ./config/configure.py \ 19 19 --prefix="$ISSM_DIR/externalpackages/petsc/install" \ 20 --with-mpi-dir=$ISSM_DIR/externalpackages/mpich 2/install \20 --with-mpi-dir=$ISSM_DIR/externalpackages/mpich/install \ 21 21 --PETSC_ARCH=linux-gnu-amd64 \ 22 22 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \ -
issm/trunk/externalpackages/petsc/install-3.3-macosx64.sh
r13395 r15396 3 3 4 4 #Some cleanup 5 rm -rf install petsc-3.3-p 2src5 rm -rf install petsc-3.3-p6 src 6 6 mkdir install src 7 7 8 8 #Download from ISSM server 9 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.3-p 2.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' 10 10 11 11 #Untar and move petsc to install directory 12 tar -zxvf petsc-3.3-p 2.tar.gz13 mv petsc-3.3-p 2/* src/14 rm -rf petsc-3.3-p 212 tar -zxvf petsc-3.3-p6.tar.gz 13 mv petsc-3.3-p6/* src/ 14 rm -rf petsc-3.3-p6 15 15 16 16 #configure … … 18 18 ./config/configure.py \ 19 19 --prefix="$ISSM_DIR/externalpackages/petsc/install" \ 20 --with-mpi-dir=$ISSM_DIR/externalpackages/mpich 2/install \20 --with-mpi-dir=$ISSM_DIR/externalpackages/mpich/install \ 21 21 --PETSC_ARCH="macosx-gnu" \ 22 22 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \ … … 30 30 --download-plapack=yes \ 31 31 --download-parmetis=yes \ 32 --download-metis=yes 32 --download-metis=yes \ 33 --with-debugging=yes 33 34 34 35 #Compile petsc and install it -
issm/trunk/externalpackages/petsc/install-3.3-pleiades.sh
r13975 r15396 2 2 3 3 #Some cleanup 4 rm -rf install petsc-3.3-p 2src4 rm -rf install petsc-3.3-p6 src 5 5 mkdir install src 6 6 7 7 #Download from ISSM server 8 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/petsc-lite-3.3-p 2.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' 9 9 10 10 #Untar and move petsc to install directory 11 tar -zxvf petsc-3.3-p 2.tar.gz12 mv petsc-3.3-p 2/* src/13 rm -rf petsc-3.3-p 211 tar -zxvf petsc-3.3-p6.tar.gz 12 mv petsc-3.3-p6/* src/ 13 rm -rf petsc-3.3-p6 14 14 15 15 #configure … … 17 17 ./config/configure.py \ 18 18 --prefix="$ISSM_DIR/externalpackages/petsc/install" \ 19 --with-batch=1 \20 19 --PETSC_ARCH="$ISSM_ARCH" \ 21 20 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \ 21 --with-batch=1 \ 22 22 --with-debugging=0 \ 23 23 --with-shared-libraries=1 \ 24 24 --known-mpi-shared-libraries=1 \ 25 25 --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" \ 31 29 --download-scalapack=yes \ 32 30 --download-blacs=yes \ 33 --download- plapack=no\31 --download-mumps=yes \ 34 32 --download-metis=yes \ 35 33 --download-parmetis=yes \ … … 37 35 --download-euclid=yes \ 38 36 --download-hypre=yes \ 39 --with-cxx=icc \40 --with-fc=ifort \41 37 --COPTFLAGS="-lmpi -O3" \ 42 38 --FOPTFLAGS="-lmpi -O3" \ … … 52 48 53 49 . /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 50 module load comp-intel/2013.1.117 51 module load mpi-sgi/mpt.2.06rp16 57 52 58 53 export PATH="$PATH:." -
issm/trunk/externalpackages/petsc/install-3.3-walgreen.sh
r13975 r15396 1 1 #!/bin/bash 2 2 3 # #Some cleanup4 #rm -rf install petsc-3.3-p2src5 #mkdir install src6 # 7 # #Download from ISSM server8 #$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 directory11 #tar -zxvf petsc-3.3-p2.tar.gz12 #mv petsc-3.3-p2/* src/13 #rm -rf petsc-3.3-p2 3 #Some cleanup 4 rm -rf install petsc-3.3-p6 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-p6.tar.gz' 'petsc-3.3-p6.tar.gz' 9 10 #Untar and move petsc to install directory 11 tar -zxvf petsc-3.3-p6.tar.gz 12 mv petsc-3.3-p6/* src/ 13 rm -rf petsc-3.3-p6 14 14 15 15 #configure … … 18 18 --prefix="$ISSM_DIR/externalpackages/petsc/install" \ 19 19 --PETSC_DIR="$ISSM_DIR/externalpackages/petsc/src" \ 20 --with-mpi-dir=$ISSM_DIR/externalpackages/mpich/install \ 20 21 --with-debugging=0 \ 21 22 --with-shared-libraries=1 \ 22 23 --with-blas-lapack-dir=/opt/intel/mkl/10.0.1.014/ \ 23 --known-mpi-shared-libraries=1 \24 --with-mpi=1 \25 24 --download-mumps=yes \ 26 25 --download-blacs=yes \ 27 26 --download-blas=yes \ 28 27 --download-f-blas-lapack=yes \ 28 --download-scalapack=yes \ 29 29 --download-parmetis=yes \ 30 30 --download-metis=yes \ 31 --download-trilinos=yes \32 --download-euclid=yes \33 --download-spai=yes \34 31 --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 35 make 36 make install -
issm/trunk/externalpackages/petsc/install-dev-linux64.sh
r13975 r15396 4 4 5 5 if [ $STEP -eq 1 ]; then 6 # Adapted from petsc 3.2.7 6 # Used Mercurial to get code 8 7 rm -rf src … … 33 32 ./config/configure.py \ 34 33 --prefix="$ISSM_DIR/externalpackages/petsc/install" \ 35 --with-mpi-dir="$ISSM_DIR/externalpackages/mpich 2/install" \34 --with-mpi-dir="$ISSM_DIR/externalpackages/mpich/install" \ 36 35 --with-clanguage=C++ \ 37 36 --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
-
Property svn:ignore
set to
-
issm/trunk/externalpackages/pyclips
- Property svn:ignore
-
old new 1 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 2 14 install 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 15 install* 5 16 src 6 *.tgz 17 CMakeCache.txt 18 Makefile 19 CMakeFiles
-
- Property svn:ignore
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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 1 14 install 2 15 src 3 .ignore.txt 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/readline
- Property svn:ignore
-
old new 1 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 14 install 2 15 src 3 src-* 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 build3 source4 15 src 5 .ignore.txt 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 15 src 3 .ignore.txt 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/scipy
- Property svn:ignore
-
old new 1 numpy 1 2 scipy 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 16 install 17 src 18 CMakeCache.txt 19 Makefile 20 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/scotch/install.sh
r13975 r15396 18 18 tar -xvzf scotch_5.1.6.tar.gz 19 19 20 # Apply patches (all at once, since many) 21 # (written by diff -rc old_src new_src > scotch.patch) 22 patch -p0 < scotch.patch 23 20 24 # Move scotch to src directory 21 25 mv scotch_5.1/* src 22 26 rm -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.patch27 27 28 28 # 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
-
Property svn:ignore
set to
-
issm/trunk/externalpackages/scotch/scotch.patch
r4705 r15396 1 Only in new5: bin2 Only in new5: include3 Only in new5: lib4 diff - rc src/src/libscotch/arch.c new5/src/libscotch/arch.c5 *** s rc/src/libscotch/arch.c 2008-09-27 07:48:01.000000000 -07006 --- new5/src/libscotch/arch.c 2010-07-21 17:13:15.583257119-07001 Only in src: bin 2 Only in src: include 3 Only in src: lib 4 diff -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 7 7 *************** 8 8 *** 173,187 **** … … 68 68 memset (archptr, 0, sizeof (Arch)); /* Initialize architecture body */ 69 69 return (1); 70 diff - rc src/src/libscotch/arch_cmplt.c new5/src/libscotch/arch_cmplt.c71 *** s rc/src/libscotch/arch_cmplt.c 2008-05-22 06:44:41.000000000 -070072 --- new5/src/libscotch/arch_cmplt.c 2010-07-21 17:13:15.585257133-070070 diff -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 73 73 *************** 74 74 *** 90,99 **** … … 120 120 return (1); 121 121 } 122 diff - rc src/src/libscotch/arch_cmplt.h new5/src/libscotch/arch_cmplt.h123 *** s rc/src/libscotch/arch_cmplt.h 2008-05-22 06:44:41.000000000 -0700124 --- new5/src/libscotch/arch_cmplt.h 2010-07-21 17:13:15.588257154-0700122 diff -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 125 125 *************** 126 126 *** 87,93 **** … … 137 137 #define archCmpltArchFree NULL 138 138 ArchDomNum archCmpltDomNum (const ArchCmplt * const, const ArchCmpltDom * const); 139 diff - rc src/src/libscotch/arch_cmpltw.c new5/src/libscotch/arch_cmpltw.c140 *** s rc/src/libscotch/arch_cmpltw.c 2008-08-27 14:22:22.000000000 -0700141 --- new5/src/libscotch/arch_cmpltw.c 2010-07-21 17:13:15.590257168-0700139 diff -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 142 142 *************** 143 143 *** 200,211 **** … … 209 209 return (1); 210 210 } 211 diff - rc src/src/libscotch/arch_cmpltw.h new5/src/libscotch/arch_cmpltw.h212 *** s rc/src/libscotch/arch_cmpltw.h 2008-05-22 06:44:41.000000000 -0700213 --- new5/src/libscotch/arch_cmpltw.h 2010-07-21 17:13:15.592257181-0700211 diff -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 214 214 *************** 215 215 *** 86,92 **** … … 226 226 int archCmpltwArchFree (ArchCmpltw * restrict const); 227 227 ArchDomNum archCmpltwDomNum (const ArchCmpltw * const, const ArchCmpltwDom * const); 228 diff - rc src/src/libscotch/arch_deco.c new5/src/libscotch/arch_deco.c229 *** s rc/src/libscotch/arch_deco.c 2008-09-28 06:35:27.000000000 -0700230 --- new5/src/libscotch/arch_deco.c 2010-07-21 17:13:15.595257202-0700228 diff -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 231 231 *************** 232 232 *** 211,217 **** … … 267 267 if ((sizeof (ArchDeco) > sizeof (ArchDummy)) || 268 268 (sizeof (ArchDecoDom) > sizeof (ArchDomDummy))) { 269 diff - rc src/src/libscotch/arch_deco.h new5/src/libscotch/arch_deco.h270 *** s rc/src/libscotch/arch_deco.h 2008-09-27 07:49:46.000000000 -0700271 --- new5/src/libscotch/arch_deco.h 2010-07-21 17:13:15.597257216-0700269 diff -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 272 272 *************** 273 273 *** 113,119 **** … … 284 284 int archDecoArchFree (ArchDeco * const); 285 285 Anum archDecoArchSize (ArchDeco * const, const Anum); 286 diff - rc src/src/libscotch/arch.h new5/src/libscotch/arch.h287 *** s rc/src/libscotch/arch.h 2009-04-28 08:11:27.000000000 -0700288 --- new5/src/libscotch/arch.h 2010-07-21 17:13:15.600257237-0700286 diff -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 289 289 *************** 290 290 *** 175,181 **** … … 301 301 char * archName (const Arch * const); 302 302 const ArchClass * archClass (const char * const); 303 diff - rc src/src/libscotch/arch_hcub.c new5/src/libscotch/arch_hcub.c304 *** s rc/src/libscotch/arch_hcub.c 2008-05-22 06:44:41.000000000 -0700305 --- new5/src/libscotch/arch_hcub.c 2010-07-21 17:13:15.602257251-0700303 diff -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 306 306 *************** 307 307 *** 88,95 **** … … 310 310 ArchHcub * restrict const archptr, 311 311 ! FILE * restrict const stream) 312 !{312 { 313 313 #ifdef SCOTCH_DEBUG_ARCH1 314 314 if ((sizeof (ArchHcub) > sizeof (ArchDummy)) || … … 325 325 ! #endif /* NOFILEIO */ 326 326 ! ) 327 !{328 !#ifdef NOFILEIO329 !// 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 + 332 332 #ifdef SCOTCH_DEBUG_ARCH1 333 333 if ((sizeof (ArchHcub) > sizeof (ArchDummy)) || … … 349 349 errorPrint ("archHcubArchLoad: bad input"); 350 350 return (1); 351 diff - rc src/src/libscotch/arch_hcub.h new5/src/libscotch/arch_hcub.h352 *** s rc/src/libscotch/arch_hcub.h 2008-05-22 06:44:41.000000000 -0700353 --- new5/src/libscotch/arch_hcub.h 2010-07-21 17:13:15.604257265-0700351 diff -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 354 354 *************** 355 355 *** 85,91 **** … … 366 366 #define archHcubArchFree NULL 367 367 ArchDomNum archHcubDomNum (const ArchHcub * const, const ArchHcubDom * const); 368 diff - rc src/src/libscotch/arch_mesh.c new5/src/libscotch/arch_mesh.c369 *** s rc/src/libscotch/arch_mesh.c 2008-05-22 06:44:41.000000000 -0700370 --- new5/src/libscotch/arch_mesh.c 2010-07-21 17:13:15.607257286-0700368 diff -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 371 371 *************** 372 372 *** 96,103 **** … … 465 465 return (1); 466 466 } 467 diff - rc src/src/libscotch/arch_mesh.h new5/src/libscotch/arch_mesh.h468 *** s rc/src/libscotch/arch_mesh.h 2008-05-22 06:44:41.000000000 -0700469 --- new5/src/libscotch/arch_mesh.h 2010-07-21 17:13:15.610257307-0700467 diff -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 470 470 *************** 471 471 *** 96,102 **** … … 496 496 #define archMesh3ArchFree NULL 497 497 ArchDomNum archMesh3DomNum (const ArchMesh3 * const, const ArchMesh3Dom * const); 498 diff - rc src/src/libscotch/arch_tleaf.c new5/src/libscotch/arch_tleaf.c499 *** s rc/src/libscotch/arch_tleaf.c 2008-05-22 06:44:41.000000000 -0700500 --- new5/src/libscotch/arch_tleaf.c 2010-07-21 17:13:15.612257320 -0700498 diff -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 501 501 *************** 502 502 *** 92,99 **** … … 505 505 ArchTleaf * restrict const archptr, 506 506 ! FILE * restrict const stream) 507 !{507 { 508 508 #ifdef SCOTCH_DEBUG_ARCH1 509 509 if ((sizeof (ArchTleaf) > sizeof (ArchDummy)) || … … 520 520 ! #endif /* NOFILEIO */ 521 521 ! ) 522 !{523 !#ifdef NOFILEIO524 !// 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 + 527 527 #ifdef SCOTCH_DEBUG_ARCH1 528 528 if ((sizeof (ArchTleaf) > sizeof (ArchDummy)) || … … 554 554 return (1); 555 555 } 556 diff - rc src/src/libscotch/arch_tleaf.h new5/src/libscotch/arch_tleaf.h557 *** s rc/src/libscotch/arch_tleaf.h 2008-05-22 06:44:41.000000000 -0700558 --- new5/src/libscotch/arch_tleaf.h 2010-07-21 17:13:15.615257341-0700556 diff -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 559 559 *************** 560 560 *** 89,95 **** … … 571 571 #define archTleafArchFree NULL 572 572 ArchDomNum archTleafDomNum (const ArchTleaf * const, const ArchTleafDom * const); 573 diff - rc src/src/libscotch/arch_torus.c new5/src/libscotch/arch_torus.c574 *** s rc/src/libscotch/arch_torus.c 2008-05-22 06:44:41.000000000 -0700575 --- new5/src/libscotch/arch_torus.c 2010-07-21 17:13:15.618257362-0700573 diff -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 576 576 *************** 577 577 *** 90,97 **** … … 670 670 return (1); 671 671 } 672 diff - rc src/src/libscotch/arch_torus.h new5/src/libscotch/arch_torus.h673 *** s rc/src/libscotch/arch_torus.h 2008-05-22 06:44:41.000000000 -0700674 --- new5/src/libscotch/arch_torus.h 2010-07-21 17:13:15.620257376-0700672 diff -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 675 675 *************** 676 676 *** 96,102 **** … … 701 701 #define archTorus3ArchFree NULL 702 702 ArchDomNum archTorus3DomNum (const ArchTorus3 * const, const ArchTorus3Dom * const); 703 diff - rc src/src/libscotch/common.c new5/src/libscotch/common.c704 *** s rc/src/libscotch/common.c 2008-05-22 06:44:41.000000000 -0700705 --- new5/src/libscotch/common.c 2010-07-21 17:13:15.622257390 -0700703 diff -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 706 706 *************** 707 707 *** 100,106 **** … … 720 720 + #endif /* MATLAB */ 721 721 } 722 diff - rc src/src/libscotch/common.h new5/src/libscotch/common.h723 *** s rc/src/libscotch/common.h 2009-02-06 14:20:55.000000000 -0800724 --- new5/src/libscotch/common.h 2010-07-21 17:15:06.061025001-0700722 diff -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 725 725 *************** 726 726 *** 1,3 **** … … 752 752 753 753 --- 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 /* 754 775 *************** 755 776 *** 190,216 **** … … 837 858 + 838 859 + #endif //#ifndef _SCOTCH_COMMON_H_ 839 diff - rc src/src/libscotch/common_integer.c new5/src/libscotch/common_integer.c840 *** s rc/src/libscotch/common_integer.c 2009-01-21 01:32:32.000000000 -0800841 --- new5/src/libscotch/common_integer.c 2010-07-21 17:13:15.628257432-0700860 diff -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 842 863 *************** 843 864 *** 191,196 **** … … 910 931 911 932 /*********************/ 912 diff - rc src/src/libscotch/common_memory.c new5/src/libscotch/common_memory.c913 *** s rc/src/libscotch/common_memory.c 2009-01-03 02:16:11.000000000 -0800914 --- new5/src/libscotch/common_memory.c 2010-07-21 17:13:15.630257445-0700933 diff -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 915 936 *************** 916 937 *** 87,93 **** … … 1018 1039 } 1019 1040 #endif /* COMMON_MEMORY_TRACE */ 1020 diff - rc src/src/libscotch/dummysizes.c new5/src/libscotch/dummysizes.c1021 *** s rc/src/libscotch/dummysizes.c 2009-05-09 16:08:02.000000000 -07001022 --- new5/src/libscotch/dummysizes.c 2010-07-21 17:13:15.633257466-07001041 diff -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 1023 1044 *************** 1024 1045 *** 267,271 **** … … 1031 1052 + #endif /* MATLAB */ 1032 1053 } 1033 diff - rc src/src/libscotch/graph.c new5/src/libscotch/graph.c1034 *** s rc/src/libscotch/graph.c 2008-05-22 06:44:42.000000000 -07001035 --- new5/src/libscotch/graph.c 2010-07-21 17:13:15.635257480 -07001054 diff -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 1036 1057 *************** 1037 1058 *** 135,141 **** … … 1054 1075 if ((grafptr->edlotax != NULL) && 1055 1076 ((grafptr->flagval & GRAPHEDGEGROUP) == 0)) 1056 diff - rc src/src/libscotch/graph.h new5/src/libscotch/graph.h1057 *** s rc/src/libscotch/graph.h 2008-06-01 02:49:11.000000000 -07001058 --- new5/src/libscotch/graph.h 2010-07-21 17:13:15.637257494-07001077 diff -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 1059 1080 *************** 1060 1081 *** 159,165 **** … … 1071 1092 int graphSave (const Graph * const, FILE * const); 1072 1093 Gnum graphBase (Graph * const, const Gnum); 1073 diff - rc src/src/libscotch/graph_io.c new5/src/libscotch/graph_io.c1074 *** s rc/src/libscotch/graph_io.c 2008-05-22 06:44:42.000000000 -07001075 --- new5/src/libscotch/graph_io.c 2010-07-21 17:13:15.639257508-07001094 diff -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 1076 1097 *************** 1077 1098 *** 86,92 **** … … 1309 1330 } 1310 1331 1311 diff - rc src/src/libscotch/graph_io_scot.c new5/src/libscotch/graph_io_scot.c1312 *** s rc/src/libscotch/graph_io_scot.c 2008-05-22 06:44:42.000000000 -07001313 --- new5/src/libscotch/graph_io_scot.c 2010-07-21 17:13:15.641257522-07001332 diff -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 1314 1335 *************** 1315 1336 *** 89,95 **** … … 1326 1347 } 1327 1348 1328 diff - rc src/src/libscotch/library_arch.c new5/src/libscotch/library_arch.c1329 *** s rc/src/libscotch/library_arch.c 2008-05-22 06:44:42.000000000 -07001330 --- new5/src/libscotch/library_arch.c 2010-07-21 17:13:15.643257536-07001349 diff -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 1331 1352 *************** 1332 1353 *** 120,128 **** … … 1361 1382 1362 1383 /*+ This routine saves the given opaque 1363 diff - rc src/src/libscotch/library_arch_f.c new5/src/libscotch/library_arch_f.c1364 *** s rc/src/libscotch/library_arch_f.c 2008-05-22 06:44:42.000000000 -07001365 --- new5/src/libscotch/library_arch_f.c 2010-07-21 17:13:15.645257550 -07001384 diff -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 1366 1387 *************** 1367 1388 *** 121,127 **** … … 1378 1399 fclose (stream); /* This closes filenum too */ 1379 1400 1380 diff - rc src/src/libscotch/library_error_exit.c new5/src/libscotch/library_error_exit.c1381 *** s rc/src/libscotch/library_error_exit.c 2009-01-20 00:36:33.000000000 -08001382 --- new5/src/libscotch/library_error_exit.c 2010-07-21 17:13:15.648257570 -07001401 diff -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 1383 1404 *************** 1384 1405 *** 114,119 **** … … 1453 1474 + #endif /* MATLAB */ 1454 1475 } 1455 diff - rc src/src/libscotch/library_graph.c new5/src/libscotch/library_graph.c1456 *** s rc/src/libscotch/library_graph.c 2008-05-22 07:28:12.000000000 -07001457 --- new5/src/libscotch/library_graph.c 2010-07-21 17:13:15.650257584-07001476 diff -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 1458 1479 *************** 1459 1480 *** 137,143 **** … … 1498 1519 1499 1520 /*+ This routine saves the contents of the given 1500 diff - rc src/src/libscotch/library_graph_f.c new5/src/libscotch/library_graph_f.c1501 *** s rc/src/libscotch/library_graph_f.c 2008-05-22 06:44:43.000000000 -07001502 --- new5/src/libscotch/library_graph_f.c 2010-07-21 17:13:15.652257598-07001521 diff -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 1503 1524 *************** 1504 1525 *** 136,142 **** … … 1515 1536 fclose (stream); /* This closes filenum too */ 1516 1537 1517 diff - rc src/src/libscotch/library_graph_map.c new5/src/libscotch/library_graph_map.c1518 *** s rc/src/libscotch/library_graph_map.c 2008-09-28 04:04:05.000000000 -07001519 --- new5/src/libscotch/library_graph_map.c 2010-07-21 17:13:15.654257612-07001538 diff -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 1520 1541 *************** 1521 1542 *** 182,192 **** … … 1540 1561 1541 1562 /*+ This routine computes a mapping 1542 diff - rc src/src/libscotch/library_graph_map_f.c new5/src/libscotch/library_graph_map_f.c1543 *** s rc/src/libscotch/library_graph_map_f.c 2008-06-28 03:44:26.000000000 -07001544 --- new5/src/libscotch/library_graph_map_f.c 2010-07-21 17:13:15.656257626-07001563 diff -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 1545 1566 *************** 1546 1567 *** 183,189 **** … … 1557 1578 fclose (stream); /* This closes filenum too */ 1558 1579 1559 diff - rc src/src/libscotch/library.h new5/src/libscotch/library.h1560 *** s rc/src/libscotch/library.h 2009-05-09 16:08:03.000000000 -07001561 --- new5/src/libscotch/library.h 2010-07-21 17:13:15.660257654-07001580 diff -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 1562 1583 *************** 1563 1584 *** 1,3 **** … … 1618 1639 + 1619 1640 + #endif //#ifndef _SCOTCH_H_ 1620 diff - rc src/src/libscotch/Makefile new5/src/libscotch/Makefile1621 *** s rc/src/libscotch/Makefile 2009-05-09 16:08:04.000000000 -07001622 --- new5/src/libscotch/Makefile 2010-07-21 17:13:15.665257689-07001641 diff -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 1623 1644 *************** 1624 1645 *** 49,55 **** … … 2037 2058 + $(AR) $(ARFLAGS) $(@) $(?) 2038 2059 + -$(RANLIB) $(@) 2039 diff - rc src/src/libscotch/mapping.h new5/src/libscotch/mapping.h2040 *** s rc/src/libscotch/mapping.h 2008-10-27 08:27:47.000000000 -07002041 --- new5/src/libscotch/mapping.h 2010-07-21 17:13:15.667257702-07002060 diff -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 2042 2063 *************** 2043 2064 *** 106,112 **** … … 2054 2075 2055 2076 #undef static 2056 diff - rc src/src/libscotch/mapping_io.c new5/src/libscotch/mapping_io.c2057 *** s rc/src/libscotch/mapping_io.c 2008-05-22 06:44:43.000000000 -07002058 --- new5/src/libscotch/mapping_io.c 2010-07-21 17:13:15.670257723-07002077 diff -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 2059 2080 *************** 2060 2081 *** 199,204 **** … … 2143 2164 return (0); 2144 2165 } 2145 diff - rc src/src/libscotch/mesh_io_scot.c new5/src/libscotch/mesh_io_scot.c2146 *** s rc/src/libscotch/mesh_io_scot.c 2008-05-22 06:44:43.000000000 -07002147 --- new5/src/libscotch/mesh_io_scot.c 2010-07-21 17:13:15.672257737-07002166 diff -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 2148 2169 *************** 2149 2170 *** 85,91 **** … … 2160 2181 } 2161 2182 2162 diff - rc src/src/libscotch/module.h new5/src/libscotch/module.h2163 *** s rc/src/libscotch/module.h 2009-04-26 23:07:14.000000000 -07002164 --- new5/src/libscotch/module.h 2010-07-21 17:13:15.675257758-07002183 diff -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 2165 2186 *************** 2166 2187 *** 1,3 **** … … 2201 2222 + 2202 2223 + #endif //#ifndef _SCOTCH_MODULE_H_ 2203 diff - rc src/src/libscotch/parser_ll.l new5/src/libscotch/parser_ll.l2204 *** s rc/src/libscotch/parser_ll.l 2008-05-22 06:44:43.000000000 -07002205 --- new5/src/libscotch/parser_ll.l 2010-07-21 17:13:15.677257772-07002224 diff -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 2206 2227 *************** 2207 2228 *** 192,197 **** … … 2230 2251 yyrestart (yyin); /* (Re-)initialize the parser */ 2231 2252 #endif /* FLEX_SCANNER */ 2232 diff - rc src/src/libscotch/parser_yy.y new5/src/libscotch/parser_yy.y2233 *** s rc/src/libscotch/parser_yy.y 2008-10-22 15:12:48.000000000 -07002234 --- new5/src/libscotch/parser_yy.y 2010-07-21 17:13:15.679257786-07002253 diff -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 2235 2256 *************** 2236 2257 *** 774,779 **** … … 2243 2264 if (stratParserParse2 () != 0) { /* Parse the strategy string */ 2244 2265 if (parserstratcurr != NULL) 2245 diff - rc src/src/libscotch/vgraph_separate_vw.c new5/src/libscotch/vgraph_separate_vw.c2246 *** s rc/src/libscotch/vgraph_separate_vw.c 2008-05-22 06:44:43.000000000 -07002247 --- new5/src/libscotch/vgraph_separate_vw.c 2010-07-21 17:13:15.682257807-07002266 diff -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 2248 2269 *************** 2249 2270 *** 83,88 **** … … 2265 2286 return (0); 2266 2287 } 2267 diff - rc src/src/Makefile new5/src/Makefile2268 *** s rc/src/Makefile 2008-09-15 05:50:51.000000000 -07002269 --- new5/src/Makefile 2010-07-21 17:13:15.684257821-07002288 diff -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 2270 2291 *************** 2271 2292 *** 97,102 **** … … 2284 2305 -$(CP) -f ../bin/[agm]*$(EXE) $(bindir) 2285 2306 -$(CP) -f ../include/*scotch*.h $(includedir) 2286 Only in new5/src: Makefile.inc2287 diff - rc src/src/scotch/gmap.h new5/src/scotch/gmap.h2288 *** s rc/src/scotch/gmap.h 2008-06-18 11:05:17.000000000 -07002289 --- new5/src/scotch/gmap.h 2010-07-21 17:13:15.686257834-07002307 Only in src/src: Makefile.inc 2308 diff -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 2290 2311 *************** 2291 2312 *** 1,3 **** … … 2304 2325 + 2305 2326 + #endif //#ifndef _SCOTCH_GMAP_H_ 2306 Only in new5/src/scotch: gmap_mex.c2307 Only in new5/src/scotch: gmapx.c2308 diff - rc src/src/scotch/Makefile new5/src/scotch/Makefile2309 *** s rc/src/scotch/Makefile 2009-04-27 02:19:43.000000000 -07002310 --- new5/src/scotch/Makefile 2010-07-21 17:13:15.689257855-07002327 Only in src/src/scotch: gmap_mex.c 2328 Only in src/src/scotch: gmapx.c 2329 diff -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 2311 2332 *************** 2312 2333 *** 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 14 install 2 15 src 3 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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
-
Property svn:ignore
set to
-
issm/trunk/externalpackages/sqlite
- Property svn:ignore
-
old new 1 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 2 14 install 3 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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
-
Property svn:ignore
set to
-
issm/trunk/externalpackages/starcluster
- Property svn:ignore
-
old new 1 StarCluster 1 StarCluster* 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 15 install 16 src 17 CMakeCache.txt 18 Makefile 19 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 src* 3 *.gz 4 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 *.gz 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/tcl
- Property svn:ignore
-
old new 1 build* 1 2 *.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 15 install 3 16 src 4 install 17 CMakeCache.txt 18 Makefile 19 CMakeFiles
-
- Property svn:ignore
-
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 14 install 1 15 src 2 install 3 *.gz 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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
-
Property svn:ignore
set to
-
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 1 14 install 2 15 src 3 *.gz 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/externalpackages/triangle
- Property svn:ignore
-
old new 1 *.gz 1 2 *.zip 3 *.a 4 *.so 5 *.o 6 *.la 7 *.cmake 8 *.cache 9 *.exe 10 *.in 11 *.log 12 *.deps 13 *.metadata 2 14 install 3 install-matlab 4 install-python 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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 1 15 install 2 configure.sh3 16 src 4 .ignore.txt 5 *.bz2 17 CMakeCache.txt 18 Makefile 19 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
issm/trunk/externalpackages/vim/addons/vim/plugin/file_line.vim
r4230 r15396 1 " Avoid installing twice or when in unsupported Vim version. 2 if exists('g:loaded_file_line') || (v:version < 700) 3 finish 4 endif 5 let g:loaded_file_line = 1 6 1 7 function! s:gotoline() 2 8 let file = bufname("%") 3 let names = matchlist( file, '\(.*\):\(\d\+\)')4 9 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) 6 36 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" 12 44 endif 45 46 exec "normal! zz" 13 47 endif 14 48 endfunction 15 49 16 50 autocmd! BufNewFile *:* nested call s:gotoline() 51 autocmd! 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
-
Property svn:ignore
set to
-
issm/trunk/externalpackages/vim/addons/vim/syntax/Synchronize.sh
r13395 r15396 6 6 cat c.vim | sed "/ISSM's Enums begin/,/vim: ts=8/d" > temp 7 7 echo "\"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"}' >> temp8 cat ../../../../../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 9 9 echo "\"ISSM's Enums end" >> temp 10 10 cat c.vim | sed "1,/ISSM's Enums end/d" >> temp 11 11 mv temp c.vim 12 exit 113 12 14 13 #Synchronize objects 15 14 cat c.vim | sed "/ISSM's objects begin/,/vim: ts=8/d" > temp 16 15 echo "\"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"}'>> temp16 find ../../../../../src/c/classes -name "*.cpp" | sed -e "s/\// /g" -e "s/\.cpp//"| awk '{print $(NF)}' | awk '{ printf "syn keyword cType " $1 "\n"}'>> temp 18 17 echo "\"ISSM's objects end" >> temp 19 18 cat c.vim | sed "1,/ISSM's objects end/d" >> temp -
issm/trunk/externalpackages/vim/addons/vim/syntax/c.vim
r13975 r15396 403 403 " please try to keep the alphabetical ordering " 404 404 """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" 405 "ISSM containers:406 syn keyword cType Constraints DataSet Elements Inputs Loads Materials Nodes Parameters Results Vertices Options407 405 "Petsc 408 406 syn keyword cType Vec Mat SeqVec SeqMat 409 407 "other ISSM's syntax 410 syn keyword cType mxArray ErrorException QuadtreeBox IssmDouble IssmPDouble Observations 408 syn keyword cType mxArray ErrorException QuadtreeBox 409 syn keyword cType IssmDouble IssmPDouble 411 410 412 411 "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 412 syn keyword cType Matdamageice 413 syn keyword cType Materials 418 414 syn keyword cType Matice 419 415 syn keyword cType Matpar 420 syn keyword cType objects 421 syn keyword cType Contour 422 syn keyword cType DoubleInput 423 syn keyword cType Input 416 syn keyword cType DofIndexing 417 syn keyword cType IntVecParam 418 syn keyword cType BoolParam 419 syn keyword cType IntMatParam 420 syn keyword cType DoubleTransientMatParam 421 syn keyword cType StringParam 422 syn keyword cType DoubleVecParam 423 syn keyword cType DoubleMatParam 424 syn keyword cType FileParam 425 syn keyword cType Parameters 426 syn keyword cType DataSetParam 427 syn keyword cType IntParam 428 syn keyword cType VectorParam 429 syn keyword cType MatrixParam 430 syn keyword cType StringArrayParam 431 syn keyword cType TransientParam 432 syn keyword cType DoubleParam 433 syn keyword cType DoubleMatArrayParam 434 syn keyword cType ExponentialVariogram 435 syn keyword cType PowerVariogram 436 syn keyword cType Quadtree 437 syn keyword cType Observations 438 syn keyword cType GaussianVariogram 439 syn keyword cType SphericalVariogram 440 syn keyword cType Observation 441 syn keyword cType RiftStruct 442 syn keyword cType OptionUtilities 443 syn keyword cType Options 444 syn keyword cType Penpair 445 syn keyword cType Loads 446 syn keyword cType Icefront 447 syn keyword cType Friction 448 syn keyword cType Riftfront 449 syn keyword cType Numericalflux 450 syn keyword cType Pengrid 451 syn keyword cType Contours 452 syn keyword cType Vertex 453 syn keyword cType ElementMatrix 454 syn keyword cType ElementVector 455 syn keyword cType Profiler 456 syn keyword cType Results 457 syn keyword cType PentaP1ElementResult 458 syn keyword cType DoubleElementResult 459 syn keyword cType BoolElementResult 460 syn keyword cType TriaP1ElementResult 461 syn keyword cType Elements 462 syn keyword cType TriaHook 463 syn keyword cType PentaHook 464 syn keyword cType Tria 465 syn keyword cType Penta 466 syn keyword cType TriaRef 467 syn keyword cType PentaRef 468 syn keyword cType GaussTria 469 syn keyword cType GaussPenta 470 syn keyword cType DependentObject 471 syn keyword cType Patch 472 syn keyword cType Hook 424 473 syn keyword cType ControlInput 425 474 syn keyword cType DatasetInput 426 475 syn keyword cType IntInput 427 476 syn keyword cType BoolInput 428 syn keyword cType TriaP1Input477 syn keyword cType Inputs 429 478 syn keyword cType TransientInput 430 479 syn 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 480 syn keyword cType DoubleInput 481 syn keyword cType TriaInput 482 syn keyword cType Constraints 499 483 syn keyword cType SpcDynamic 500 484 syn keyword cType SpcStatic 501 485 syn 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 486 syn keyword cType Nodes 487 syn keyword cType IndependentObject 488 syn keyword cType Vertices 509 489 syn keyword cType Node 510 syn keyword cType TriaRef511 syn keyword cType TriaHook512 syn keyword cType PentaRef513 syn keyword cType PentaHook514 syn keyword cType Tria515 syn keyword cType Element516 syn keyword cType Penta517 syn keyword cType classes518 syn keyword cType DofIndexing519 syn keyword cType Patch520 syn keyword cType Hook521 syn keyword cType Quadtree522 syn keyword cType Observation523 syn keyword cType ExponentialVariogram524 syn keyword cType GaussianVariogram525 syn keyword cType SphericalVariogram526 syn keyword cType PowerVariogram527 syn keyword cType krigingobjects528 syn keyword cType Variogram529 syn keyword cType DakotaPlugin530 syn keyword cType ElementVector531 syn keyword cType ElementMatrix532 syn keyword cType matrixobjects533 syn keyword cType Vector534 syn keyword cType Matrix535 syn keyword cType GeomSubDomain536 syn keyword cType Geometry537 syn keyword cType AdjacentTriangle538 syn keyword cType VertexOnEdge539 syn keyword cType BamgQuadtree540 syn keyword cType Edge541 syn keyword cType BamgVertex542 syn keyword cType SetOfE4543 syn keyword cType GeomEdge544 syn keyword cType Direction545 syn keyword cType VertexOnGeom546 syn keyword cType R2547 syn keyword cType Mesh548 syn keyword cType ListofIntersectionTriangles549 syn keyword cType Triangle550 syn keyword cType DoubleAndInt551 syn keyword cType VertexOnVertex552 syn keyword cType BamgOpts553 syn keyword cType BamgGeom554 syn keyword cType bamgobjects555 syn keyword cType CrackedEdge556 syn keyword cType SubDomain557 syn keyword cType BamgMesh558 syn keyword cType Metric559 syn keyword cType include560 syn keyword cType typedefs561 syn keyword cType Curve562 syn keyword cType macros563 syn keyword cType GeomVertex564 syn keyword cType OptArgs565 syn keyword cType Update566 syn keyword cType OptPars567 490 syn keyword cType IoModel 568 491 syn keyword cType FemModel … … 620 543 syn keyword cConstant DiagnosticVertexPairingEnum 621 544 syn keyword cConstant DiagnosticViscosityOvershootEnum 545 syn keyword cConstant LoadingforceXEnum 546 syn keyword cConstant LoadingforceYEnum 547 syn keyword cConstant LoadingforceZEnum 622 548 syn keyword cConstant FlowequationBordermacayealEnum 623 549 syn keyword cConstant FlowequationBorderpattynEnum … … 633 559 syn keyword cConstant FrictionQEnum 634 560 syn 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 561 syn keyword cConstant HydrologyModelEnum 562 syn keyword cConstant HydrologyshreveEnum 563 syn keyword cConstant HydrologyshreveCREnum 564 syn keyword cConstant HydrologyshreveKnEnum 565 syn keyword cConstant HydrologyshreveNEnum 566 syn keyword cConstant HydrologyshrevePEnum 567 syn keyword cConstant HydrologyshreveQEnum 568 syn keyword cConstant HydrologyshreveSpcwatercolumnEnum 569 syn keyword cConstant HydrologyshreveStabilizationEnum 570 syn keyword cConstant HydrologydcEnum 571 syn keyword cConstant SedimentHeadEnum 572 syn keyword cConstant SedimentHeadOldEnum 573 syn keyword cConstant SedimentHeadResidualEnum 574 syn keyword cConstant EplHeadEnum 575 syn keyword cConstant EplHeadOldEnum 576 syn keyword cConstant HydrologydcRelTolEnum 577 syn keyword cConstant HydrologydcSpcsedimentHeadEnum 578 syn keyword cConstant HydrologydcSedimentCompressibilityEnum 579 syn keyword cConstant HydrologydcSedimentPorosityEnum 580 syn keyword cConstant HydrologydcSedimentThicknessEnum 581 syn keyword cConstant HydrologydcSedimentTransmitivityEnum 582 syn keyword cConstant HydrologydcWaterCompressibilityEnum 583 syn keyword cConstant HydrologydcSpceplHeadEnum 584 syn keyword cConstant HydrologydcMaskEplactiveEnum 585 syn keyword cConstant HydrologydcEplCompressibilityEnum 586 syn keyword cConstant HydrologydcEplPorosityEnum 587 syn keyword cConstant HydrologydcEplThicknessEnum 588 syn keyword cConstant HydrologydcEplTransmitivityEnum 589 syn keyword cConstant HydrologydcIsefficientlayerEnum 590 syn keyword cConstant HydrologydcSedimentlimitFlagEnum 591 syn keyword cConstant HydrologydcSedimentlimitEnum 592 syn keyword cConstant HydrologydcTransferFlagEnum 593 syn keyword cConstant HydrologydcLeakageFactorEnum 594 syn keyword cConstant HydrologydcPenaltyFactorEnum 595 syn keyword cConstant HydrologyLayerEnum 596 syn keyword cConstant HydrologySedimentEnum 597 syn keyword cConstant HydrologyEfficientEnum 598 syn keyword cConstant HydrologySedimentKmaxEnum 599 syn keyword cConstant BasisIntegralEnum 600 syn keyword cConstant WaterTransferEnum 642 601 syn keyword cConstant IndependentObjectEnum 643 602 syn keyword cConstant InversionControlParametersEnum 644 syn keyword cConstant InversionCostFunctionEnum645 603 syn keyword cConstant InversionCostFunctionThresholdEnum 646 604 syn keyword cConstant InversionCostFunctionsCoefficientsEnum … … 686 644 syn keyword cConstant MaterialsThermalExchangeVelocityEnum 687 645 syn keyword cConstant MaterialsThermalconductivityEnum 646 syn keyword cConstant MaterialsLithosphereShearModulusEnum 647 syn keyword cConstant MaterialsLithosphereDensityEnum 648 syn keyword cConstant MaterialsMantleShearModulusEnum 649 syn keyword cConstant MaterialsMantleDensityEnum 688 650 syn keyword cConstant MeshAverageVertexConnectivityEnum 689 651 syn keyword cConstant MeshDimensionEnum … … 751 713 syn keyword cConstant SurfaceforcingsMassBalanceEnum 752 714 syn keyword cConstant SurfaceforcingsIspddEnum 715 syn keyword cConstant SurfaceforcingsDesfacEnum 716 syn keyword cConstant SurfaceforcingsS0pEnum 753 717 syn keyword cConstant SurfaceforcingsIssmbgradientsEnum 754 718 syn keyword cConstant SurfaceforcingsMonthlytemperaturesEnum 755 syn keyword cConstant SurfaceforcingsHcEnum756 719 syn keyword cConstant SurfaceforcingsHrefEnum 757 720 syn keyword cConstant SurfaceforcingsSmbrefEnum 758 syn keyword cConstant SurfaceforcingsSmbPosMaxEnum759 syn keyword cConstant SurfaceforcingsSmbPosMinEnum760 syn keyword cConstant SurfaceforcingsAPosEnum761 721 syn keyword cConstant SurfaceforcingsBPosEnum 762 syn keyword cConstant SurfaceforcingsANegEnum763 722 syn keyword cConstant SurfaceforcingsBNegEnum 764 723 syn keyword cConstant ThermalMaxiterEnum … … 769 728 syn keyword cConstant ThermalStabilizationEnum 770 729 syn keyword cConstant ThermalIsenthalpyEnum 730 syn keyword cConstant GiaMantleViscosityEnum 731 syn keyword cConstant GiaLithosphereThicknessEnum 771 732 syn keyword cConstant ThicknessEnum 772 733 syn keyword cConstant TimesteppingStartTimeEnum … … 779 740 syn keyword cConstant TransientIsprognosticEnum 780 741 syn keyword cConstant TransientIsthermalEnum 742 syn keyword cConstant TransientIsgiaEnum 781 743 syn keyword cConstant TransientNumRequestedOutputsEnum 782 744 syn keyword cConstant TransientRequestedOutputsEnum … … 788 750 syn keyword cConstant AdjointSolutionEnum 789 751 syn keyword cConstant AnalysisCounterEnum 752 syn keyword cConstant NoneAnalysisEnum 753 syn keyword cConstant DefaultAnalysisEnum 790 754 syn keyword cConstant BalancethicknessAnalysisEnum 791 755 syn keyword cConstant BalancethicknessSolutionEnum 756 syn keyword cConstant WeakBalancethicknessAnalysisEnum 757 syn keyword cConstant WeakBalancethicknessSolutionEnum 792 758 syn keyword cConstant BedSlopeAnalysisEnum 793 759 syn keyword cConstant BedSlopeSolutionEnum … … 802 768 syn keyword cConstant FlaimAnalysisEnum 803 769 syn keyword cConstant FlaimSolutionEnum 804 syn keyword cConstant HydrologyAnalysisEnum 770 syn keyword cConstant HydrologyShreveAnalysisEnum 771 syn keyword cConstant HydrologyDCInefficientAnalysisEnum 772 syn keyword cConstant HydrologyDCEfficientAnalysisEnum 805 773 syn keyword cConstant HydrologySolutionEnum 806 774 syn keyword cConstant MeltingAnalysisEnum 807 syn keyword cConstant NoneAnalysisEnum808 775 syn keyword cConstant PrognosticAnalysisEnum 809 776 syn keyword cConstant PrognosticSolutionEnum … … 816 783 syn keyword cConstant ThermalSolutionEnum 817 784 syn keyword cConstant TransientSolutionEnum 785 syn keyword cConstant GiaSolutionEnum 786 syn keyword cConstant GiaAnalysisEnum 818 787 syn keyword cConstant ApproximationEnum 819 788 syn keyword cConstant NoneApproximationEnum … … 830 799 syn keyword cConstant MaterialsEnum 831 800 syn keyword cConstant NodesEnum 801 syn keyword cConstant ContoursEnum 832 802 syn keyword cConstant ParametersEnum 833 803 syn keyword cConstant VerticesEnum … … 858 828 syn keyword cConstant IntVecParamEnum 859 829 syn keyword cConstant TransientParamEnum 830 syn keyword cConstant IceFrontTypeEnum 860 831 syn keyword cConstant MacAyeal2dIceFrontEnum 861 832 syn keyword cConstant MacAyeal3dIceFrontEnum … … 865 836 syn keyword cConstant NodeEnum 866 837 syn keyword cConstant NumericalfluxEnum 838 syn keyword cConstant NumericalfluxTypeEnum 867 839 syn keyword cConstant ParamEnum 868 840 syn keyword cConstant L1L2IceFrontEnum … … 874 846 syn keyword cConstant ProfilerEnum 875 847 syn keyword cConstant MatrixParamEnum 848 syn keyword cConstant NodeSIdEnum 876 849 syn keyword cConstant VectorParamEnum 877 850 syn keyword cConstant RiftfrontEnum 851 syn keyword cConstant RiftfrontTypeEnum 878 852 syn keyword cConstant SegmentEnum 879 853 syn keyword cConstant SegmentRiftfrontEnum … … 885 859 syn keyword cConstant StringParamEnum 886 860 syn keyword cConstant TriaEnum 887 syn keyword cConstant Tria P1InputEnum861 syn keyword cConstant TriaInputEnum 888 862 syn keyword cConstant VertexEnum 863 syn keyword cConstant VertexPIdEnum 864 syn keyword cConstant VertexSIdEnum 889 865 syn keyword cConstant AirEnum 890 866 syn keyword cConstant IceEnum … … 898 874 syn keyword cConstant AdjointyEnum 899 875 syn keyword cConstant AdjointzEnum 876 syn keyword cConstant BalancethicknessMisfitEnum 900 877 syn keyword cConstant BedSlopeXEnum 901 878 syn keyword cConstant BedSlopeYEnum … … 903 880 syn keyword cConstant ConstantEnum 904 881 syn keyword cConstant ConvergedEnum 905 syn keyword cConstant ExtToIuEnum906 882 syn keyword cConstant FillEnum 907 883 syn keyword cConstant FractionIncrementEnum … … 909 885 syn keyword cConstant GroundinglineMeltingRateEnum 910 886 syn keyword cConstant InternalEnum 911 syn keyword cConstant IuToExtEnum912 887 syn keyword cConstant MassFluxEnum 913 888 syn keyword cConstant MaxPenetrationEnum … … 925 900 syn keyword cConstant QmuSurfaceEnum 926 901 syn keyword cConstant QmuMeltingEnum 902 syn keyword cConstant AndroidFrictionCoefficientEnum 927 903 syn keyword cConstant ResetPenaltiesEnum 928 904 syn keyword cConstant SegmentOnIceShelfEnum … … 938 914 syn keyword cConstant TemperatureOldEnum 939 915 syn keyword cConstant TemperaturePicardEnum 940 syn keyword cConstant TemperatureSurfaceEnum941 syn keyword cConstant TemperatureBasalEnum942 916 syn keyword cConstant ThicknessAbsMisfitEnum 943 syn keyword cConstant TypeEnum944 917 syn keyword cConstant VelEnum 945 918 syn keyword cConstant VelocityEnum … … 968 941 syn keyword cConstant DragCoefficientAbsGradientEnum 969 942 syn keyword cConstant TransientInputEnum 970 syn keyword cConstant OutputfilenameEnum971 943 syn keyword cConstant WaterfractionEnum 972 944 syn keyword cConstant WatercolumnEnum … … 983 955 syn keyword cConstant StressTensoryzEnum 984 956 syn keyword cConstant StressTensorzzEnum 957 syn keyword cConstant GiaCrossSectionShapeEnum 958 syn keyword cConstant GiadWdtEnum 959 syn keyword cConstant GiaWEnum 985 960 syn keyword cConstant P0Enum 986 961 syn keyword cConstant P1Enum 987 962 syn keyword cConstant P1DGEnum 963 syn keyword cConstant MINIEnum 964 syn keyword cConstant P2Enum 988 965 syn keyword cConstant SaveResultsEnum 989 966 syn keyword cConstant BoolElementResultEnum … … 992 969 syn keyword cConstant DoubleExternalResultEnum 993 970 syn keyword cConstant DoubleMatExternalResultEnum 994 syn keyword cConstant DoubleVecExternalResultEnum995 971 syn keyword cConstant IntExternalResultEnum 996 972 syn keyword cConstant JEnum … … 999 975 syn keyword cConstant PatchVerticesEnum 1000 976 syn keyword cConstant PentaP1ElementResultEnum 1001 syn keyword cConstant PetscVecExternalResultEnum1002 977 syn keyword cConstant StringExternalResultEnum 1003 978 syn keyword cConstant StepEnum … … 1018 993 syn keyword cConstant IceVolumeEnum 1019 994 syn keyword cConstant TotalSmbEnum 1020 syn keyword cConstant RelativeEnum1021 995 syn keyword cConstant AbsoluteEnum 1022 996 syn keyword cConstant IncrementalEnum … … 1024 998 syn keyword cConstant NoneEnum 1025 999 syn keyword cConstant SoftMigrationEnum 1000 syn keyword cConstant SubelementMigrationEnum 1001 syn keyword cConstant SubelementMigration2Enum 1002 syn keyword cConstant GLlevelsetEnum 1026 1003 syn keyword cConstant StokesSolverEnum 1027 1004 syn keyword cConstant AdjointEnum … … 1043 1020 syn keyword cConstant OutputFileNameEnum 1044 1021 syn keyword cConstant LockFileNameEnum 1045 syn keyword cConstant PetscOptionsAnalysesEnum1046 syn keyword cConstant PetscOptionsStringsEnum1022 syn keyword cConstant ToolkitsOptionsAnalysesEnum 1023 syn keyword cConstant ToolkitsOptionsStringsEnum 1047 1024 syn keyword cConstant QmuErrNameEnum 1048 1025 syn keyword cConstant QmuInNameEnum … … 1058 1035 syn keyword cConstant XYEnum 1059 1036 syn keyword cConstant XYZPEnum 1037 syn keyword cConstant DenseEnum 1038 syn keyword cConstant MpiDenseEnum 1039 syn keyword cConstant SeqEnum 1040 syn keyword cConstant MpiEnum 1060 1041 syn keyword cConstant OptionEnum 1061 1042 syn 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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
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
-
Property svn:ignore
set to
-
issm/trunk/externalpackages/vim/addons/vimrc
r13975 r15396 194 194 " Abbreviations {{{ 195 195 " ---------------------------------------------------------------------- 196 "func Eatchar(pat)197 "let c = nr2char(getchar())198 "return (c =~ a:pat) ? '' : c199 "endfunc200 "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 " "tex214 "au BufRead,BufNewFile *.tex iab EQ215 "\\begin{equation}216 "\<CR>\end{equation}<up><C-R>=Eatchar('\s')<CR>217 "au BufRead,BufNewFile *.tex iab IT218 "\\begin{itemize}219 "\<CR>\item220 "\<CR>\end{itemize}<up><C-R>=Eatchar('\s')<CR>221 "au BufRead,BufNewFile *.tex iab EN222 "\\begin{enumerate}223 "\<CR>\item224 "\<CR>\end{enumerate}<up><C-R>=Eatchar('\s')<CR>225 "au BufRead,BufNewFile *.tex ab (()) \left( \right)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) 226 226 "}}} 227 227 " Skeletons {{{ -
issm/trunk/externalpackages/vim/install.sh
r13395 r15396 23 23 cd src/src 24 24 ./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/" 27 28 28 29 #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
-
Property svn:ignore
set to
-
issm/trunk/externalpackages/windows/README
r11995 r15396 51 51 52 52 We'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 56 MPICH2: 57 to run in parallel. First install MPICH2 from www.mpich.org/downloads. Make 58 sure the install directory in C:\Program Files\MPICH2, otherwise, ISSM will 59 not be able to figure out where the mpi libraries are installed on your windows platform. 60 61 Then fire up smpd in a command line under Administrator privileges: 62 smpd -install 63 64 Then: 65 mpiexe.exe -remove 66 mpiexe.exe -register (type enter for username, for password, type your windows password, do not chose anything else!) 67 mpiexe.exe -validate (should return SUCCESS) 68 69 Then you are ready to run parallel. 70 71 To 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
-
Property svn:ignore
set to
-
issm/trunk/externalpackages/windows/windows_environment.sh
r12332 r15396 37 37 ISSM_DIR_WIN=`cygpath -m $ISSM_DIR` 38 38 export 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 14 install 15 src 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 15 src 3 .ignore.txt 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
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 1 14 install 2 15 src 3 .ignore.txt 16 CMakeCache.txt 17 Makefile 18 CMakeFiles
-
- Property svn:ignore
-
issm/trunk/m4/issm_options.m4
r14310 r15396 55 55 export CXXFLAGS="-DWIN32 -D_INTEL_WIN_" 56 56 elif test $VENDOR = intel-win7-32; then 57 export CC=c ccl57 export CC=cl 58 58 export CXX=cccl 59 59 export CXXFLAGS="-DWIN32 -D_INTEL_WIN_ -EHsc" 60 60 export CFLAGS="-DWIN32 -D_INTEL_WIN_ -EHsc" 61 export AR=lib 61 export AR="ar-lib lib" 62 export OS_LDFLAG="-Wl," 62 63 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.libodbccp32.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" 64 65 elif test $VENDOR = intel-win7-64; then 65 export CC=c ccl66 export CC=cl 66 67 export CXX=cccl 67 68 export CXXFLAGS="-DWIN32 -D_INTEL_WIN_ -EHsc" 68 69 export CFLAGS="-DWIN32 -D_INTEL_WIN_ -EHsc" 69 export AR=lib 70 export AR="ar-lib lib" 71 export OS_LDFLAG="-Wl," 70 72 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.libodbccp32.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" 72 74 elif test $VENDOR = intel-linux; then 73 75 export CC=icc … … 83 85 export CC=icc 84 86 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_ " 87 89 else 88 AC_MSG_ERROR([unknow compiler vendor!])90 AC_MSG_ERROR([unknown compiler vendor!]) 89 91 fi 90 92 fi … … 115 117 116 118 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/" 118 120 119 121 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 123 141 AC_MSG_RESULT(done) 124 142 … … 127 145 MATLABWRAPPEREXT=$MEXEXT 128 146 AC_SUBST([MATLABWRAPPEREXT]) 129 147 AC_SUBST([MEXLIB]) 130 148 AC_SUBST([MEXLINK]) 131 149 fi … … 145 163 case "${host_os}" in 146 164 *cygwin*) 147 TRIANGLELIB= $TRIANGLE_ROOT/triangle.lib165 TRIANGLELIB="-Wl,`cygpath -m $TRIANGLE_ROOT/`triangle.lib" 148 166 ;; 149 167 *linux*) … … 177 195 DAKOTAINCL=-I$DAKOTA_ROOT/include 178 196 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 180 206 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="" 182 209 case "${host_os}" in 183 210 *cygwin*) 184 if test x$DAKOTA_VERSION = x4.2 ; then211 if test x$DAKOTA_VERSION = x4.2 || test x$DAKOTA_VERSION = x4.2+; then 185 212 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" 186 213 else if test x$DAKOTA_VERSION = x5.1 || test x$DAKOTA_VERSION = x5.2; then … … 192 219 ;; 193 220 *linux*) 194 if test x$DAKOTA_VERSION = x4.2 ; then221 if test x$DAKOTA_VERSION = x4.2 || test x$DAKOTA_VERSION = x4.2+; then 195 222 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" 196 223 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" 198 228 else 199 229 AC_MSG_ERROR([Dakota version not found or version ($DAKOTA_VERSION) not supported!]); 200 230 fi 201 231 fi 232 fi 202 233 ;; 203 234 *darwin*) 204 if test x$DAKOTA_VERSION = x4.2 ; then235 if test x$DAKOTA_VERSION = x4.2 || test x$DAKOTA_VERSION = x4.2+; then 205 236 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" 206 237 dnl DAKOTALIB+= "-lgslcblas -L/usr/lib -lblas -llapack" … … 215 246 esac 216 247 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 217 279 AC_SUBST([DAKOTAINCL]) 280 AC_SUBST([DAKOTAFLAGS]) 218 281 AC_SUBST([DAKOTALIB]) 219 282 … … 222 285 AC_MSG_RESULT($HAVE_DAKOTA) 223 286 fi 287 224 288 AM_CONDITIONAL([DAKOTA], [test x$HAVE_DAKOTA = xyes]) 225 289 dnl }}} … … 478 542 dnl mpi{{{ 479 543 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=""])483 544 484 545 AC_ARG_WITH([mpi-include], 485 546 AS_HELP_STRING([--with-mpi-include=DIR],[mpi include directory, necessary for parallel build]), 486 547 [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 489 559 HAVE_MPI=no 490 560 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" 493 575 else 494 HAVE_MPI=yes495 576 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 502 585 AM_CONDITIONAL([MPI], [test x$HAVE_MPI = xyes]) 503 586 AC_MSG_RESULT($HAVE_MPI) … … 517 600 518 601 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 519 604 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]) 522 608 AC_MSG_RESULT(yes) 523 609 else … … 549 635 *cygwin*) 550 636 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 552 638 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"; fi639 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 555 641 fi 556 642 ;; 557 643 *linux*) 558 644 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" 560 646 else 561 647 PETSCLIB="-L$PETSC_ROOT/lib -lpetsc -ldl" … … 614 700 case "${host_os}" in 615 701 *cygwin*) 616 METISLIB="-L IBPATH:\"$METIS_ROOT\"libmetis.lib"702 METISLIB="-L$METIS_ROOT -Wl,libmetis.lib" 617 703 ;; 618 704 *linux*) … … 630 716 case "${host_os}" in 631 717 *cygwin*) 632 METISLIB="-L IBPATH:\"$METIS_ROOT\"libmetis.lib"718 METISLIB="-L$METIS_ROOT libmetis.lib" 633 719 ;; 634 720 *linux*) … … 755 841 case "${host_os}" in 756 842 *cygwin*) 757 BLASLAPACKLIB="- link -LIBPATH:\"$BLASLAPACK_ROOT\" libf2cblas.liblibf2clapack.lib"843 BLASLAPACKLIB="-L`cygpath -m $BLASLAPACK_ROOT` -Wl,libf2cblas.lib -Wl,libf2clapack.lib" 758 844 ;; 759 845 *linux*) 760 BLASLAPACKLIB=-L"$BLASLAPACK_ROOT -lflapack -lfblas "846 BLASLAPACKLIB=-L"$BLASLAPACK_ROOT/lib -lflapack -lfblas " 761 847 ;; 762 848 *darwin*) 763 BLASLAPACKLIB=-L"$BLASLAPACK_ROOT -lflapack -lfblas "849 BLASLAPACKLIB=-L"$BLASLAPACK_ROOT/lib -lflapack -lfblas " 764 850 ;; 765 851 esac … … 785 871 HAVE_MKL=yes 786 872 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 788 878 AC_DEFINE([_HAVE_MKL_],[1],[with mkl in ISSM src]) 789 879 AC_SUBST([MKLLIB]) … … 849 939 HAVE_MUMPS=no 850 940 fi 941 AM_CONDITIONAL([MUMPS], [test x$HAVE_MUMPS = xyes]) 851 942 AC_MSG_RESULT($HAVE_MUMPS) 852 943 dnl }}} … … 1012 1103 dnl defaults 1013 1104 HAVE_ML=yes 1014 MLINCL= ""1015 MLLIB=-L"$ML_ROOT/ -lml"1105 MLINCL=-I"$ML_ROOT/include" 1106 MLLIB=-L"$ML_ROOT/lib -lml" 1016 1107 1017 1108 AC_DEFINE([_HAVE_ML_],[1],[with Blacs in ISSM src]) … … 1023 1114 AC_MSG_RESULT($HAVE_ML) 1024 1115 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 }}} 1137 dnl math{{{ 1026 1138 AC_MSG_CHECKING(for math library) 1027 1139 AC_ARG_WITH([math-lib], … … 1077 1189 fi 1078 1190 fi 1079 AC_MSG_ERROR([f rtran library provided ($FORTRAN_LIB$) does not exist!]);1191 AC_MSG_ERROR([fortran library provided ($FORTRAN_LIB) does not exist!]); 1080 1192 fi 1081 1193 fi … … 1356 1468 AM_CONDITIONAL([RIFTS], [test x$HAVE_RIFTS = xyes]) 1357 1469 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) 1358 1530 dnl }}} 1359 1531 dnl with-android{{{ -
issm/trunk/packagers/win7
-
Property svn:ignore
set to
*.msi
*.aip
*.aic
*Setup*
-
Property svn:ignore
set to
-
issm/trunk/packagers/win7/ISSM.initial.aip
r11995 r15396 1 1 <?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}"> 3 3 <COMPONENT cid="caphyon.advinst.msicomp.MsiPropsComponent"> 4 4 <ROW Property="ALLUSERS" Value="2"/> … … 12 12 <ROW Property="ProductLanguage" Value="1033"/> 13 13 <ROW Property="ProductName" Value="ISSM" ValueLocId="*"/> 14 <ROW Property="ProductVersion" Value="1.0" />14 <ROW Property="ProductVersion" Value="1.0" Type="32"/> 15 15 <ROW Property="SecureCustomProperties" Value="OLDPRODUCTS;AI_NEWERPRODUCTFOUND"/> 16 16 <ROW Property="UpgradeCode" Value="{F12D1A74-5079-41A3-A02A-15754B89E390}"/> … … 58 58 <ROW Fragment="CommonUI.aip" Path="<AI_FRAGS>CommonUI.aip"/> 59 59 <ROW Fragment="FolderDlg.aip" Path="<AI_THEMES>classic\fragments\FolderDlg.aip"/> 60 <ROW Fragment="MaintenanceTypeDlg.aip" Path="<AI_THEMES>classic\fragments\MaintenanceTypeDlg.aip"/> 61 <ROW Fragment="MaintenanceWelcomeDlg.aip" Path="<AI_THEMES>classic\fragments\MaintenanceWelcomeDlg.aip"/> 60 62 <ROW Fragment="SequenceDialogs.aip" Path="<AI_THEMES>classic\fragments\SequenceDialogs.aip"/> 61 63 <ROW Fragment="Sequences.aip" Path="<AI_FRAGS>Sequences.aip"/> … … 63 65 <ROW Fragment="UI.aip" Path="<AI_THEMES>classic\fragments\UI.aip"/> 64 66 <ROW Fragment="Validation.aip" Path="<AI_FRAGS>Validation.aip"/> 67 <ROW Fragment="VerifyRemoveDlg.aip" Path="<AI_THEMES>classic\fragments\VerifyRemoveDlg.aip"/> 68 <ROW Fragment="VerifyRepairDlg.aip" Path="<AI_THEMES>classic\fragments\VerifyRepairDlg.aip"/> 69 <ROW Fragment="WelcomeDlg.aip" Path="<AI_THEMES>classic\fragments\WelcomeDlg.aip"/> 65 70 </COMPONENT> 66 71 <COMPONENT cid="caphyon.advinst.msicomp.MsiBinaryComponent"> … … 87 92 <ROW Dialog_="VerifyReadyDlg" Control_="Install" Event="EndDialog" Argument="Return" Condition="AI_PATCH" Ordering="199"/> 88 93 <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 = "Remove"" Ordering="299"/> 95 <ROW Dialog_="VerifyRepairDlg" Control_="Repair" Event="EndDialog" Argument="Return" Condition="AI_MAINT AND InstallMode = "Repair"" Ordering="399"/> 96 <ROW Dialog_="VerifyRemoveDlg" Control_="Back" Event="NewDialog" Argument="MaintenanceTypeDlg" Condition="AI_MAINT AND InstallMode = "Remove"" Ordering="1"/> 97 <ROW Dialog_="VerifyRepairDlg" Control_="Back" Event="NewDialog" Argument="MaintenanceTypeDlg" Condition="AI_MAINT AND InstallMode = "Repair"" Ordering="1"/> 98 <ROW Dialog_="MaintenanceTypeDlg" Control_="RemoveButton" Event="NewDialog" Argument="VerifyRemoveDlg" Condition="AI_MAINT AND InstallMode = "Remove"" Ordering="601"/> 99 <ROW Dialog_="MaintenanceTypeDlg" Control_="RepairButton" Event="NewDialog" Argument="VerifyRepairDlg" Condition="AI_MAINT AND InstallMode = "Repair"" Ordering="601"/> 89 100 </COMPONENT> 90 101 <COMPONENT cid="caphyon.advinst.msicomp.MsiCreateFolderComponent"> … … 98 109 <ROW Action="AI_RESTORE_LOCATION" Type="65" Source="aicustact.dll" Target="RestoreLocation"/> 99 110 <ROW Action="AI_ResolveKnownFolders" Type="1" Source="aicustact.dll" Target="AI_ResolveKnownFolders"/> 111 <ROW Action="AI_ResolveLocalizedCredentials" Type="1" Source="aicustact.dll" Target="GetLocalizedCredentials"/> 100 112 <ROW Action="AI_SHOW_LOG" Type="65" Source="aicustact.dll" Target="LaunchLogFile" WithoutSeq="true"/> 101 113 <ROW Action="AI_STORE_LOCATION" Type="51" Source="ARPINSTALLLOCATION" Target="[APPDIR]"/> … … 118 130 <ROW Action="AI_STORE_LOCATION" Condition="(Not Installed) OR REINSTALL" Sequence="1501"/> 119 131 <ROW Action="AI_PREPARE_UPGRADE" Condition="AI_UPGRADE="No" 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"/> 121 134 </COMPONENT> 122 135 <COMPONENT cid="caphyon.advinst.msicomp.MsiInstallUISequenceComponent"> 123 136 <ROW Action="AI_RESTORE_LOCATION" Condition="APPDIR=""" Sequence="749"/> 124 <ROW Action="AI_ResolveKnownFolders" Sequence="51"/> 137 <ROW Action="AI_ResolveKnownFolders" Sequence="52"/> 138 <ROW Action="AI_ResolveLocalizedCredentials" Sequence="51"/> 125 139 </COMPONENT> 126 140 <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"/> 127 142 <ROW Condition="VersionNT" Description="[ProductName] cannot be installed on [WindowsType9XDisplay]" DescriptionLocId="AI.LaunchCondition.No9X" IsPredefined="true" Builds="DefaultBuild"/> 128 143 </COMPONENT> -
issm/trunk/scripts/getloc.sh
r12707 r15396 1 1 #!/bin/bash 2 2 #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=temp3 cloc-1.55.pl $ISSM_DIR/src $ISSM_DIR/m4 --exclude-dir=.svn --exclude-dir=ad --exclude-ext=exp --exclude-lang=make --out=temp 4 4 cat temp 5 5 ./cloc2html.py -
issm/trunk/scripts/issmconfiguration.sh
r12332 r15396 11 11 LIST=`ls` 12 12 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 20 32 21 echo -n "Configuration choice: " 22 read choice 23 else 24 choice=$1 25 fi 33 echo -n "Configuration choice: " 34 read choice 26 35 27 36 #Now go backto the list and retrieve the name of the configuration file: 28 37 COUNT=0; 29 38 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 30 46 do 31 47 let COUNT=$COUNT+1 … … 41 57 42 58 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 43 66 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 45 72 46 73 #we are done, go back to original directory: … … 51 78 fi 52 79 53 54 55 56 57 58 80 #alias aut='a=`pwd` && cd $ISSM_DIR && ./scripts/automakererun.sh && ./configs/config-macosx64-larour-nopetsc.sh' -
issm/trunk/scripts/vil
r6626 r15396 1 1 #!/bin/bash 2 3 if [ ! -z $EXECUTION_DIR ]; 4 then 5 EXECUTION_DIR=$ISSM_DIR/execution 6 fi 2 7 3 8 cd $EXECUTION_DIR -
issm/trunk/src
- Property svn:mergeinfo changed
-
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 1 EXTRA_DIST = perl 2 SUBDIRS = c m wrappers mobile -
issm/trunk/src/c/Makefile.am
r14310 r15396 19 19 #sources 20 20 #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\21 core_sources = ./main/issm.h\ 22 ./main/globals.h\ 23 ./datastructures/DataSet.h\ 24 ./datastructures/DataSet.cpp\ 25 ./datastructures/Object.h\ 26 ./datastructures/datastructures.h\ 27 27 ./classes/classes.h\ 28 ./classes/objects.h\29 ./classes/objects/Object.h\30 28 ./classes/gauss/GaussTria.h\ 31 29 ./classes/gauss/GaussTria.cpp\ 32 ./classes/ objects/Update.h\33 ./classes/ objects/Element.h\30 ./classes/Update.h\ 31 ./classes/Element.h\ 34 32 ./classes/FemModel.h\ 35 33 ./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\ 51 47 ./classes/DofIndexing.h\ 52 48 ./classes/DofIndexing.cpp\ 53 49 ./classes/IoModel.h\ 54 50 ./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\ 63 62 ./classes/Hook.h\ 64 63 ./classes/Hook.cpp\ 65 64 ./classes/Patch.h\ 66 65 ./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\ 113 124 ./classes/matrix/matrixobjects.h\ 114 125 ./classes/matrix/ElementMatrix.h\ … … 116 127 ./classes/matrix/ElementVector.h\ 117 128 ./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\ 179 167 ./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\ 184 169 ./shared/Matrix/matrix.h\ 185 170 ./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\ 186 188 ./shared/Numerics/numerics.h\ 189 ./shared/Numerics/types.h\ 190 ./shared/Numerics/constants.h\ 187 191 ./shared/Numerics/Verbosity.h\ 188 192 ./shared/Numerics/Verbosity.cpp\ 189 ./shared/Numerics/IsInputConverged.cpp\190 193 ./shared/Numerics/GaussPoints.h\ 191 194 ./shared/Numerics/GaussPoints.cpp\ … … 196 199 ./shared/Numerics/extrema.cpp\ 197 200 ./shared/Numerics/XZvectorsToCoordinateSystem.cpp\ 198 ./shared/Numerics/ UnitConversion.cpp\199 ./shared/Numerics/Opt ionsFromAnalysis.cpp\201 ./shared/Numerics/OptArgs.h\ 202 ./shared/Numerics/OptPars.h\ 200 203 ./shared/Exceptions/exceptions.h\ 201 204 ./shared/Exceptions/Exceptions.cpp\ … … 206 209 ./shared/Elements/Paterson.cpp\ 207 210 ./shared/Elements/Arrhenius.cpp\ 208 ./shared/Elements/GetVerticesCoordinates.cpp\209 ./shared/Elements/GetLocalDofList.cpp\210 ./shared/Elements/GetGlobalDofList.cpp\211 ./shared/Elements/GetNumberOfDofs.cpp\212 211 ./shared/Elements/PrintArrays.cpp\ 213 212 ./shared/Elements/PddSurfaceMassBalance.cpp\ … … 217 216 ./toolkits/metis/metisincludes.h\ 218 217 ./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\ 221 233 ./toolkits/triangle/triangleincludes.h\ 234 ./toolkits/objects/toolkitobjects.h\ 235 ./toolkits/objects/Matrix.h\ 236 ./toolkits/objects/Vector.h\ 237 ./toolkits/objects/Solver.h\ 222 238 ./toolkitsenums.h\ 223 239 ./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\231 240 ./modules/ModelProcessorx/ModelProcessorx.h\ 232 241 ./modules/ModelProcessorx/ModelProcessorx.cpp\ … … 242 251 ./modules/ModelProcessorx/CreateNumberNodeToElementConnectivity.cpp\ 243 252 ./modules/ModelProcessorx/CreateElementsVerticesAndMaterials.cpp\ 244 ./modules/Parse PetscOptionsx/ParsePetscOptionsx.h\245 ./modules/Parse PetscOptionsx/ParsePetscOptionsx.cpp\253 ./modules/ParseToolkitsOptionsx/ParseToolkitsOptionsx.h\ 254 ./modules/ParseToolkitsOptionsx/ParseToolkitsOptionsx.cpp\ 246 255 ./modules/NodesDofx/NodesDofx.h\ 247 256 ./modules/NodesDofx/NodesDofx.cpp\ … … 250 259 ./modules/VerticesDofx/VerticesDofx.h\ 251 260 ./modules/VerticesDofx/VerticesDofx.cpp\ 261 ./modules/VertexCoordinatesx/VertexCoordinatesx.h\ 262 ./modules/VertexCoordinatesx/VertexCoordinatesx.cpp\ 252 263 ./modules/OutputResultsx/OutputResultsx.h\ 253 264 ./modules/OutputResultsx/OutputResultsx.cpp\ … … 295 306 ./modules/Reduceloadx/Reduceloadx.h\ 296 307 ./modules/Reduceloadx/Reduceloadx.cpp\ 297 ./modules/EnumToStringx/EnumToStringx.cpp\298 ./modules/EnumToStringx/EnumToStringx.h\299 ./modules/StringToEnumx/StringToEnumx.cpp\300 ./modules/StringToEnumx/StringToEnumx.h\301 308 ./modules/ConstraintsStatex/ConstraintsStatex.cpp\ 302 309 ./modules/ConstraintsStatex/ConstraintsStatex.h\ … … 308 315 ./modules/Solverx/Solverx.cpp\ 309 316 ./modules/Solverx/Solverx.h\ 310 ./modules/Solverx/SolverxSeq.cpp\311 317 ./modules/VecMergex/VecMergex.cpp\ 312 318 ./modules/VecMergex/VecMergex.h\ … … 315 321 ./modules/InputToResultx/InputToResultx.cpp\ 316 322 ./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 ./sol vers/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\ 335 341 ./classes/RiftStruct.cpp\ 336 342 ./classes/RiftStruct.h 337 343 #}}} 338 344 #DAKOTA sources {{{ 339 dakota_sources = ./classes/dakota/DakotaPlugin.h\ 340 ./classes/dakota/DakotaPlugin.cpp\ 341 ./modules/InputUpdateFromDakotax/InputUpdateFromDakotax.h\ 345 dakota_sources = ./modules/InputUpdateFromDakotax/InputUpdateFromDakotax.h\ 342 346 ./modules/InputUpdateFromDakotax/InputUpdateFromDakotax.cpp\ 343 347 ./modules/InputUpdateFromVectorDakotax/InputUpdateFromVectorDakotax.h\ … … 348 352 ./modules/AverageOntoPartitionx/AverageOntoPartitionx.h\ 349 353 ./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 352 357 #}}} 353 358 #Transient sources {{{ 354 359 transient_sources = ./modules/ModelProcessorx/Transient/UpdateElementsTransient.cpp \ 355 ./solutions/transient_core.cpp360 ./analyses/transient_core.cpp 356 361 #}}} 357 362 #Steadystate sources {{{ 358 steadystate_sources = ./solutions/steadystate_core.cpp\ 359 ./solutions/steadystateconvergence.cpp 363 steadystate_sources = ./analyses/steadystate_core.cpp 360 364 #}}} 361 365 #Prognostic sources {{{ … … 364 368 ./modules/ModelProcessorx/Prognostic/CreateConstraintsPrognostic.cpp\ 365 369 ./modules/ModelProcessorx/Prognostic/CreateLoadsPrognostic.cpp\ 366 ./solutions/prognostic_core.cpp370 ./analyses/prognostic_core.cpp 367 371 #}}} 368 372 #Thermal sources {{{ … … 382 386 ./modules/ConstraintsStatex/ThermalIsPresent.cpp\ 383 387 ./modules/ResetConstraintsx/ThermalConstraintsReset.cpp \ 384 ./ solutions/thermal_core.cpp\385 ./ solutions/enthalpy_core.cpp\386 ./sol vers/solver_thermal_nonlinear.cpp388 ./analyses/thermal_core.cpp\ 389 ./analyses/enthalpy_core.cpp\ 390 ./solutionsequences/solutionsequence_thermal_nonlinear.cpp 387 391 #}}} 388 392 #Control sources {{{ … … 425 429 ./modules/RheologyBbarAbsGradientx/RheologyBbarAbsGradientx.cpp\ 426 430 ./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\ 429 433 ./shared/Numerics/BrentSearch.cpp\ 430 434 ./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 441 443 442 444 #}}} 443 445 #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 446 hydrology_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 450 463 #}}} 451 464 #Diagnostic sources {{{ … … 461 474 ./modules/ModelProcessorx/DiagnosticHutter/CreateNodesDiagnosticHutter.cpp \ 462 475 ./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 471 479 #}}} 472 480 #Balanced sources {{{ … … 474 482 ./modules/ModelProcessorx/Balancethickness/CreateNodesBalancethickness.cpp\ 475 483 ./modules/ModelProcessorx/Balancethickness/CreateConstraintsBalancethickness.cpp\ 476 ./modules/ModelProcessorx/Balancethickness/CreateLoadsBalancethickness.cpp\477 ./solutions/balancethickness_core.cpp \478 ./solutions/dummy_core.cpp484 ./modules/ModelProcessorx/Balancethickness/CreateLoadsBalancethickness.cpp\ 485 ./analyses/balancethickness_core.cpp \ 486 ./analyses/dummy_core.cpp 479 487 #}}} 480 488 #Slope sources {{{ … … 487 495 ./modules/ModelProcessorx/SurfaceSlope/CreateConstraintsSurfaceSlope.cpp\ 488 496 ./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 {{{ 501 gia_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 491 517 #}}} 492 518 #Groundingline sources {{{ … … 495 521 #}}} 496 522 #Rifts sources {{{ 497 rifts_sources = ./classes/ objects/Loads/Riftfront.cpp\498 ./classes/ objects/Loads/Riftfront.h\523 rifts_sources = ./classes/Loads/Riftfront.cpp\ 524 ./classes/Loads/Riftfront.h\ 499 525 ./modules/ConstraintsStatex/RiftConstraintsState.cpp 500 526 #}}} … … 505 531 threed_sources = ./classes/gauss/GaussPenta.h\ 506 532 ./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 517 541 #}}} 518 542 #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\ 543 bamg_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\ 569 594 ./shared/Bamg/Abs.h \ 570 595 ./shared/Bamg/BigPrimeNumber.h\ 571 596 ./shared/Bamg/BigPrimeNumber.cpp\ 572 597 ./shared/Bamg/BinaryRand.h \ 573 ./shared/Bamg/det.h \574 598 ./shared/Bamg/Exchange.h \ 575 599 ./shared/Bamg/extrema.h \ … … 584 608 #}}} 585 609 #Kriging sources {{{ 586 kriging_sources = ./ Container/Observations.h\587 ./ Container/Observations.cpp\610 kriging_sources = ./classes/kriging/Observations.h\ 611 ./classes/kriging/Observations.cpp\ 588 612 ./classes/kriging/Variogram.h \ 589 613 ./classes/kriging/GaussianVariogram.h\ … … 603 627 604 628 #For parallel kriging, only difference is ./modules/Krigingx/pKrigingx.cpp with no multithreading 605 pkriging_sources = ./ Container/Observations.h\606 ./ Container/Observations.cpp\629 pkriging_sources = ./classes/kriging/Observations.h\ 630 ./classes/kriging/Observations.cpp\ 607 631 ./classes/kriging/Variogram.h \ 608 632 ./classes/kriging/GaussianVariogram.h\ … … 637 661 ./modules/KMLOverlayx/KMLOverlayx.h\ 638 662 ./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 693 718 #}}} 694 719 #Petsc sources {{{ … … 719 744 ./toolkits/petsc/objects/PetscVec.h\ 720 745 ./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 {{{ 752 mumps_sources= ./toolkits/mumps\ 753 ./toolkits/mumps/mumpsincludes.h\ 754 ./toolkits/mumps/MpiDenseMumpsSolve.cpp 755 #}}} 756 #Gsl sources {{{ 757 gsl_sources= ./toolkits/gsl\ 758 ./toolkits/gsl/gslincludes.h\ 759 ./toolkits/gsl/DenseGslSolve.cpp 726 760 #}}} 727 761 #Mpi sources {{{ 728 762 mpi_sources= ./toolkits/mpi/mpiincludes.h\ 729 763 ./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 731 770 #}}} 732 771 #Metis sources {{{ … … 739 778 ./shared/Threads/PartitionRange.cpp\ 740 779 ./shared/Exp/exp.h\ 741 ./shared/Exp/IsInPoly.cpp\ 742 ./shared/Exp/IsInPolySerial.cpp\ 743 ./shared/Exp/ExpWrite.cpp\ 780 ./shared/Exp/exp.cpp\ 744 781 ./shared/TriMesh/trimesh.h\ 745 782 ./shared/TriMesh/AssociateSegmentToElement.cpp\ … … 762 799 ./modules/PointCloudFindNeighborsx/PointCloudFindNeighborsx.cpp\ 763 800 ./modules/PointCloudFindNeighborsx/PointCloudFindNeighborsxt.cpp\ 764 ./modules/Xy2llx/Xy2llx.h\765 ./modules/Xy2llx/Xy2llx.cpp\766 ./modules/Ll2xyx/Ll2xyx.h\767 ./modules/Ll2xyx/Ll2xyx.cpp\768 801 ./modules/InterpFromGridToMeshx/InterpFromGridToMeshx.cpp\ 769 802 ./modules/InterpFromGridToMeshx/InterpFromGridToMeshx.h\ … … 779 812 ./modules/HoleFillerx/HoleFillerx.cpp\ 780 813 ./modules/HoleFillerx/HoleFillerx.h\ 814 ./modules/EdgeDetectionx/EdgeDetectionx.cpp\ 815 ./modules/EdgeDetectionx/EdgeDetectionx.h\ 781 816 ./modules/AverageFilterx/AverageFilterx.cpp\ 782 817 ./modules/AverageFilterx/AverageFilterx.h\ … … 816 851 endif 817 852 853 if MUMPS 854 issm_sources += $(mumps_sources) 855 endif 856 857 if GSL 858 issm_sources += $(gsl_sources) 859 endif 860 818 861 if TRANSIENT 819 862 issm_sources += $(transient_sources) … … 832 875 endif 833 876 877 if GIA 878 issm_sources += $(gia_sources) 879 endif 880 834 881 if CONTROL 835 882 issm_sources += $(control_sources) … … 884 931 885 932 libISSMCore_a_SOURCES = $(issm_sources) 886 libISSMCore_a_CXXFLAGS = $(ALLCXXFLAGS) 933 libISSMCore_a_CXXFLAGS = $(ALLCXXFLAGS) $(DAKOTAFLAGS) 934 libISSMCore_a_FFLAGS = $(AM_FFLAGS) 887 935 888 936 if SHAREDLIBS 889 libISSM_la_SOURCES = solutions/issm.cpp937 libISSM_la_SOURCES = main/issm.cpp 890 938 libISSM_la_LIBADD = libISSMCore.la libISSMOverload.la 891 939 892 940 libISSMCore_la_SOURCES = $(issm_sources) 893 941 libISSMCore_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 942 libISSMCore_la_FFLAGS = $(AM_FFLAGS) 896 943 endif 897 944 … … 919 966 #}}} 920 967 #Overload library, to overload any non-standard symbols. {{{ 921 libISSMOverload_a_SOURCES = ./shared/String/stricmp.c 968 libISSMOverload_a_SOURCES = ./shared/String/stricmp.cpp\ 969 ./shared/String/ApiPrintf.cpp 970 922 971 libISSMOverload_a_CFLAGS = -fPIC -D_C_ $(COPTFLAGS) $(CFLAGS) 923 972 #}}} … … 944 993 endif 945 994 946 issm_SOURCES = solutions/issm.cpp995 issm_SOURCES = main/issm.cpp 947 996 issm_CXXFLAGS= -fPIC $(CXXFLAGS) $(CXXOPTFLAGS) $(COPTFLAGS) 948 997 949 998 if KRIGING 950 999 bin_PROGRAMS += kriging 951 kriging_SOURCES = solutions/kriging.cpp1000 kriging_SOURCES = main/kriging.cpp 952 1001 kriging_CXXFLAGS= -fPIC $(CXXFLAGS) $(CXXOPTFLAGS) $(COPTFLAGS) 953 1002 endif … … 980 1029 bin_PROGRAMS += issmRose.exe 981 1030 issmRose_exe_LDADD = ./libISSMRose.a $(LDADD) 982 issmRose_exe_SOURCES = solutions/issm.cpp1031 issmRose_exe_SOURCES = main/issm.cpp 983 1032 issmRose_exe_CXXFLAGS= -fPIC $(CXXOPTFLAGS) $(COPTFLAGS) 984 1033 LDADD += $(ADIC2LIB) -
issm/trunk/src/c/classes/DofIndexing.cpp
r13975 r15396 9 9 #endif 10 10 11 #include <stdio.h>12 11 #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" 18 20 19 21 /*DofIndexing constructors and destructor*/ … … 25 27 this->ssize = UNDEF; 26 28 this->clone = false; 29 this->active = true; 27 30 this->f_set = NULL; 28 31 this->s_set = NULL; … … 37 40 /*FUNCTION DofIndexing::DofIndexing(int gsize){{{*/ 38 41 DofIndexing::DofIndexing(int in_gsize){ 42 39 43 this->Init(in_gsize,NULL); 44 40 45 } 41 46 /*}}}*/ … … 43 48 DofIndexing::DofIndexing(DofIndexing* in){ //copy constructor 44 49 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; 49 55 50 56 if(this->gsize>0){ … … 93 99 void DofIndexing::Init(int in_gsize,int* in_doftype){ 94 100 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 */ 99 107 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*/ 107 118 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]; 114 126 } 115 127 } … … 128 140 this->fsize=size; 129 141 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; 132 147 } 133 148 else if(setenum==SsetEnum){ … … 136 151 this->ssize=size; 137 152 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; 140 158 } 141 159 else _error_("set of enum type " << EnumToStringx(setenum) << " not supported yet!"); … … 147 165 void DofIndexing::Echo(void){ 148 166 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"); 152 171 } 153 172 /*}}}*/ … … 157 176 int i; 158 177 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"); 166 186 for(i=0;i<gsize;i++){ 167 _print Line_(" dof " << i << ": " <<(f_set[i]?"true":"false")<< " " <<(s_set[i]?"true":"false"));168 } 169 170 _print String_(" 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 << "): |"); 171 191 for(i=0;i<this->gsize;i++){ 172 if(this->s_set[i])_print String_(" " << svalues[i] << " |");173 } 174 _print Line_("");192 if(this->s_set[i])_printf_(" " << svalues[i] << " |"); 193 } 194 _printf_("\n"); 175 195 176 196 if(doftype){ 177 _print String_(" doftype: |");197 _printf_(" doftype: |"); 178 198 for(i=0;i<gsize;i++){ 179 _print String_(" " << doftype[i] << " |");199 _printf_(" " << doftype[i] << " |"); 180 200 } 181 _print Line_("");182 } 183 else _print Line_(" doftype: NULL");184 185 _print String_(" g_doflist (" << this->gsize << "): |");201 _printf_("\n"); 202 } 203 else _printf_(" doftype: NULL\n"); 204 205 _printf_(" g_doflist (" << this->gsize << "): |"); 186 206 for(i=0;i<this->gsize;i++){ 187 _print String_(" " << gdoflist[i] << " |");188 } 189 _print Line_("");190 191 _print String_(" f_doflist (" << this->fsize << "): |");207 _printf_(" " << gdoflist[i] << " |"); 208 } 209 _printf_("\n"); 210 211 _printf_(" f_doflist (" << this->fsize << "): |"); 192 212 for(i=0;i<this->fsize;i++){ 193 _print String_(" " << fdoflist[i] << " |");194 } 195 _print Line_("");196 197 _print String_(" s_doflist (" << this->ssize << "): |");213 _printf_(" " << fdoflist[i] << " |"); 214 } 215 _printf_("\n"); 216 217 _printf_(" s_doflist (" << this->ssize << "): |"); 198 218 for(i=0;i<this->ssize;i++){ 199 _print String_(" " << sdoflist[i] << " |");200 } 201 _print Line_("");219 _printf_(" " << sdoflist[i] << " |"); 220 } 221 _printf_("\n"); 202 222 } 203 223 /*}}}*/ 224 /*FUNCTION DofIndexing::Deactivate{{{*/ 225 void 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{{{*/ 238 void 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 4 4 5 5 #ifndef _DOFINDEXING_H_ 6 #define 6 #define _DOFINDEXING_H_ 7 7 8 #include "../ include/include.h"8 #include "../shared/Numerics/types.h" 9 9 10 10 class DofIndexing{ … … 19 19 /*partitioning: */ 20 20 bool clone; //this node is replicated from another one 21 bool active; //Is this node active or inactive (all dofs are constrained) 21 22 22 23 /*boundary conditions sets: */ … … 48 49 /*DofIndexing management: {{{*/ 49 50 DofIndexing* Spawn(int* indices, int numindices); 51 void Activate(void); 52 void Deactivate(void); 50 53 /*}}}*/ 51 54 -
issm/trunk/src/c/classes/FemModel.cpp
r14310 r15396 1 /*!\file FemModel.c 1 /*!\file FemModel.cpp 2 2 * \brief: implementation of the FemModel object 3 3 */ … … 10 10 11 11 #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: {{{*/ 13 18 #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 /*}}}*/ 20 41 21 42 /*Object constructors and destructor*/ 22 /*FUNCTION FemModel::FemModel(int argc,char** argv ){{{*/43 /*FUNCTION FemModel::FemModel(int argc,char** argv,COMM incomm){{{*/ 23 44 FemModel::FemModel(int argc,char** argv,COMM incomm){ 24 45 … … 39 60 this->comm=incomm; 40 61 this->SetStaticComm(); 41 62 42 63 /*Now, initialize PETSC: */ 43 64 #ifdef _HAVE_PETSC_ … … 71 92 } 72 93 /*}}}*/ 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){{{*/ 95 FemModel::FemModel(char* rootpath, char* inputfilename, char* outputfilename, char* toolkitsfilename, char* lockfilename, const int in_solution_type,const int* analyses,const int nummodels){ 75 96 76 97 /*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); 78 99 79 100 } … … 97 118 this->parameters->FindParam(&lockfilename,LockFileNameEnum); 98 119 if (waitonlock>0){ 99 _p printLine_("write lock file:");120 _printf0_("write lock file:\n"); 100 121 WriteLockFile(lockfilename); 101 122 } … … 116 137 /*Before we delete the profiler, report statistics for this run: */ 117 138 profiler->Tag(Finish); //final tagging 118 _p printLine_("");119 _p printLine_(" "<<setw(40)<<left<<"FemModel initialization elapsed time:"<<profiler->DeltaTime(StartInit,FinishInit));120 _p printLine_(" "<<setw(40)<<left<<"Core solution elapsed time:"<<profiler->DeltaTime(StartCore,FinishCore));121 _p printLine_("");122 _p printLine_(" 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:" 123 144 <<profiler->DeltaTimeModHour(Start,Finish)<<" hrs " 124 145 <<profiler->DeltaTimeModMin(Start,Finish)<<" min " 125 146 <<profiler->DeltaTimeModSec(Start,Finish)<<" sec" 126 147 ); 127 _p printLine_("");148 _printf0_("\n"); 128 149 129 150 /*Now delete: */ 130 151 delete profiler; 131 152 132 153 /*Finalize PETSC for this model: */ 133 154 #ifdef _HAVE_PETSC_ 134 _p printLine_("closing Petsc");155 _printf0_("closing Petsc\n"); 135 156 PetscFinalize(); 136 157 #endif … … 143 164 void FemModel::Echo(void){ 144 165 145 _print Line_("FemModel echo:");146 _print Line_(" number of fem models: " << nummodels);147 _print Line_(" analysis_type_list:");148 for(int i=0;i<nummodels;i++)_print Line_(" " << i << ": " << EnumToStringx(analysis_type_list[i]));149 _print Line_(" current analysis_type:");150 _print Line_(" " << 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){{{*/ 176 void FemModel::InitFromFiles(char* rootpath, char* inputfilename, char* outputfilename, char* toolkitsfilename, char* lockfilename, const int in_solution_type,const int* analyses,const int nummodels){ 156 177 157 178 /*intermediary*/ … … 159 180 int analysis_type; 160 181 FILE *IOMODEL = NULL; 161 FILE * petscoptionsfid = NULL;182 FILE *toolkitsoptionsfid = NULL; 162 183 FILE *output_fid = NULL; 163 184 int my_rank; … … 187 208 for(i=0;i<nummodels;i++){ 188 209 189 if(VerboseMProcessor()) _p printLine_(" 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"); 190 211 analysis_type=analysis_type_list[i]; 191 212 this->SetCurrentConfiguration(analysis_type); 192 213 193 214 if(i==0){ 194 if(VerboseMProcessor()) _p printLine_(" creating vertex degrees of freedom");215 if(VerboseMProcessor()) _printf0_(" creating vertex PIDs\n"); 195 216 VerticesDofx(vertices,parameters); //only call once, we only have one set of vertices 196 217 } 197 218 198 if(VerboseMProcessor()) _p printLine_(" resolving node constraints");219 if(VerboseMProcessor()) _printf0_(" resolving node constraints\n"); 199 220 SpcNodesx(nodes,constraints,parameters,analysis_type); 200 221 201 if(VerboseMProcessor()) _p printLine_(" creating nodal degrees of freedom");222 if(VerboseMProcessor()) _printf0_(" creating nodal degrees of freedom\n"); 202 223 NodesDofx(nodes,parameters,analysis_type); 203 224 204 if(VerboseMProcessor()) _p printLine_(" configuring element and loads");225 if(VerboseMProcessor()) _printf0_(" configuring element and loads\n"); 205 226 ConfigureObjectsx(elements, loads, nodes, vertices, materials,parameters); 206 227 } … … 217 238 this->parameters->AddObject(new StringParam(LockFileNameEnum,lockfilename)); 218 239 219 /*Now, deal with petscoptions, which need to be put into the parameters dataset: */220 petscoptionsfid=pfopen(petscfilename,"r");221 Parse PetscOptionsx(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); 223 244 } 224 245 /*}}}*/ … … 226 247 void FemModel::OutputResults(void){ 227 248 228 _p printLine_("write results to disk:");249 _printf0_("write results to disk:\n"); 229 250 230 251 /*Just call the OutputResultsx module: */ … … 270 291 this->loads->SetCurrentConfiguration(elements, loads, nodes,vertices, materials,parameters); 271 292 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 } 279 298 280 299 } … … 298 317 void (*solutioncore)(FemModel*)=NULL; //core solution function pointer 299 318 300 _p printLine_("call computational core:");319 _printf0_("call computational core:\n"); 301 320 302 321 /*Retrieve solution_type from parameters: */ … … 324 343 solution_memory=profiler->Memory(FinishCore); 325 344 326 _p printLine_("Solution elapsed time : " << solution_time << " Seconds");327 _p printLine_("Solution elapsed flops : " << solution_flops << " Flops");328 _p printLine_("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 330 349 /*Add to results: */ 331 350 results->AddObject(new GenericExternalResult<IssmDouble>(results->Size()+1, ProfilingSolutionTimeEnum, solution_time, 1, 0)); 332 351 results->AddObject(new GenericExternalResult<IssmDouble>(results->Size()+1, ProfilingCurrentMemEnum, solution_memory, 1, 0)); 333 352 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 } 335 367 } 336 368 /*}}}*/ … … 638 670 639 671 /*Update element inputs*/ 640 InputUpdateFromVectorx(elements,nodes,vertices,loads,materials,parameters,vz,VzMeshEnum,Vertex Enum);672 InputUpdateFromVectorx(elements,nodes,vertices,loads,materials,parameters,vz,VzMeshEnum,VertexPIdEnum); 641 673 642 674 /*Free ressources:*/ 643 675 xDelete<IssmDouble>(thickness); 644 676 xDelete<IssmDouble>(bed); 645 xdelete(&vz);677 delete vz; 646 678 return 1; 647 679 } … … 649 681 void FemModel::UpdateConstraintsx(void){ /*{{{*/ 650 682 683 Element *element = NULL; 651 684 IssmDouble time; 652 int analysis_type;685 int analysis_type; 653 686 654 687 /*retrieve parameters: */ … … 657 690 658 691 /*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: */ 662 701 SpcNodesx(nodes,constraints,parameters,analysis_type); 663 702 … … 667 706 } 668 707 /*}}}*/ 669 void FemModel::Responsex(IssmDouble* responses,const char* response_descriptor, bool process_units,int weight_index){/*{{{*/708 void FemModel::Responsex(IssmDouble* responses,const char* response_descriptor,int weight_index){/*{{{*/ 670 709 671 710 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 /*}}}*/ 715 void FemModel::Responsex(IssmDouble* responses,int response_descriptor_enum,int weight_index){/*{{{*/ 678 716 679 717 switch (response_descriptor_enum){ 680 718 681 719 #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; 711 751 default: _error_("response descriptor \"" << EnumToStringx(response_descriptor_enum) << "\" not supported yet!"); break; 712 752 #else … … 718 758 /*}}}*/ 719 759 void FemModel::RequestedOutputsx(int* requested_outputs, int numoutputs){/*{{{*/ 720 721 760 722 761 int output_enum; … … 738 777 739 778 case IceVolumeEnum: 740 Responsex(&output_value,"IceVolume", false,0);779 Responsex(&output_value,"IceVolume",0); 741 780 results->AddObject(new GenericExternalResult<double>(results->Size()+1,IceVolumeEnum,reCast<IssmPDouble>(output_value),step,time)); 742 781 break; 743 782 case TotalSmbEnum: 744 Responsex(&output_value,"TotalSmb", false,0);783 Responsex(&output_value,"TotalSmb",0); 745 784 results->AddObject(new GenericExternalResult<double>(results->Size()+1,TotalSmbEnum,reCast<IssmPDouble>(output_value),step,time)); 746 785 break; 747 786 case MaxVelEnum: 748 Responsex(&output_value,"MaxVel", false,0);787 Responsex(&output_value,"MaxVel",0); 749 788 results->AddObject(new GenericExternalResult<double>(results->Size()+1,MaxVelEnum,reCast<IssmPDouble>(output_value),step,time)); 750 789 break; … … 763 802 void FemModel::RequestedDependentsx(void){/*{{{*/ 764 803 765 766 804 bool isautodiff = false; 767 805 IssmDouble output_value; … … 811 849 812 850 /*Display message*/ 813 if(VerboseModule()) _p printLine_(" Generating matrices");851 if(VerboseModule()) _printf0_(" Generating matrices\n"); 814 852 815 853 /*retrive parameters: */ … … 826 864 for (i=0;i<this->elements->Size();i++){ 827 865 element=dynamic_cast<Element*>(this->elements->GetObjectByOffset(i)); 828 element->CreateKMatrix(Kff_temp,NULL,NULL); 829 } 866 element->CreateKMatrix(Kff_temp,NULL); 867 } 868 830 869 for (i=0;i<this->loads->Size();i++){ 831 870 load=dynamic_cast<Load*>(this->loads->GetObjectByOffset(i)); … … 845 884 for (i=0;i<this->elements->Size();i++){ 846 885 element=dynamic_cast<Element*>(this->elements->GetObjectByOffset(i)); 847 element->CreateKMatrix(Kff,Kfs,df); 848 } 886 element->CreateKMatrix(Kff,Kfs); 887 } 888 849 889 for (i=0;i<this->loads->Size();i++){ 850 890 load=dynamic_cast<Load*>(this->loads->GetObjectByOffset(i)); … … 872 912 if(load->InAnalysis(configuration_type)) load->PenaltyCreatePVector(pf,kmax); 873 913 } 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); 874 920 } 875 921 … … 884 930 /*Assign output pointers: */ 885 931 if(pKff) *pKff=Kff; 886 else xdelete(&Kff);932 else delete Kff; 887 933 if(pKfs) *pKfs=Kfs; 888 else xdelete(&Kfs);934 else delete Kfs; 889 935 if(ppf) *ppf=pf; 890 else xdelete(&pf);936 else delete pf; 891 937 if(pdf) *pdf=df; 892 else xdelete(&df);938 else delete df; 893 939 if(pkmax) *pkmax=kmax; 894 940 } … … 927 973 /*}}}*/ 928 974 #ifdef _HAVE_RESPONSES_ 929 void FemModel::MassFluxx(IssmDouble* pmass_flux ,bool process_units){/*{{{*/975 void FemModel::MassFluxx(IssmDouble* pmass_flux){/*{{{*/ 930 976 931 977 int i,j; … … 963 1009 if (element->Id()==element_id){ 964 1010 /*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); 966 1012 break; 967 1013 } … … 987 1033 988 1034 }/*}}}*/ 989 void FemModel::MaxAbsVxx(IssmDouble* pmaxabsvx ,bool process_units){/*{{{*/1035 void FemModel::MaxAbsVxx(IssmDouble* pmaxabsvx){/*{{{*/ 990 1036 991 1037 int i; … … 998 1044 for(i=0;i<this->elements->Size();i++){ 999 1045 Element* element=(Element*)this->elements->GetObjectByOffset(i); 1000 element->MaxAbsVx(&element_maxabsvx ,process_units);1046 element->MaxAbsVx(&element_maxabsvx); 1001 1047 if(element_maxabsvx>maxabsvx) maxabsvx=element_maxabsvx; 1002 1048 } … … 1013 1059 1014 1060 }/*}}}*/ 1015 void FemModel::MaxAbsVyx(IssmDouble* pmaxabsvy ,bool process_units){/*{{{*/1061 void FemModel::MaxAbsVyx(IssmDouble* pmaxabsvy){/*{{{*/ 1016 1062 1017 1063 int i; … … 1024 1070 for(i=0;i<this->elements->Size();i++){ 1025 1071 Element* element=(Element*)this->elements->GetObjectByOffset(i); 1026 element->MaxAbsVy(&element_maxabsvy ,process_units);1072 element->MaxAbsVy(&element_maxabsvy); 1027 1073 if(element_maxabsvy>maxabsvy) maxabsvy=element_maxabsvy; 1028 1074 } … … 1039 1085 1040 1086 }/*}}}*/ 1041 void FemModel::MaxAbsVzx(IssmDouble* pmaxabsvz ,bool process_units){/*{{{*/1087 void FemModel::MaxAbsVzx(IssmDouble* pmaxabsvz){/*{{{*/ 1042 1088 1043 1089 int i; … … 1050 1096 for(i=0;i<this->elements->Size();i++){ 1051 1097 Element* element=(Element*)this->elements->GetObjectByOffset(i); 1052 element->MaxAbsVz(&element_maxabsvz ,process_units);1098 element->MaxAbsVz(&element_maxabsvz); 1053 1099 if(element_maxabsvz>maxabsvz) maxabsvz=element_maxabsvz; 1054 1100 } … … 1065 1111 1066 1112 }/*}}}*/ 1067 void FemModel::MaxVelx(IssmDouble* pmaxvel ,bool process_units){/*{{{*/1113 void FemModel::MaxVelx(IssmDouble* pmaxvel){/*{{{*/ 1068 1114 1069 1115 int i; … … 1076 1122 for(i=0;i<this->elements->Size();i++){ 1077 1123 Element* element=(Element*)this->elements->GetObjectByOffset(i); 1078 element->MaxVel(&element_maxvel ,process_units);1124 element->MaxVel(&element_maxvel); 1079 1125 if(element_maxvel>maxvel) maxvel=element_maxvel; 1080 1126 } … … 1091 1137 1092 1138 }/*}}}*/ 1093 void FemModel::MaxVxx(IssmDouble* pmaxvx ,bool process_units){/*{{{*/1139 void FemModel::MaxVxx(IssmDouble* pmaxvx){/*{{{*/ 1094 1140 1095 1141 int i; … … 1102 1148 for(i=0;i<this->elements->Size();i++){ 1103 1149 Element* element=(Element*)this->elements->GetObjectByOffset(i); 1104 element->MaxVx(&element_maxvx ,process_units);1150 element->MaxVx(&element_maxvx); 1105 1151 if(element_maxvx>maxvx) maxvx=element_maxvx; 1106 1152 } … … 1117 1163 1118 1164 }/*}}}*/ 1119 void FemModel::MaxVyx(IssmDouble* pmaxvy ,bool process_units){/*{{{*/1165 void FemModel::MaxVyx(IssmDouble* pmaxvy){/*{{{*/ 1120 1166 1121 1167 int i; … … 1128 1174 for(i=0;i<this->elements->Size();i++){ 1129 1175 Element* element=(Element*)this->elements->GetObjectByOffset(i); 1130 element->MaxVy(&element_maxvy ,process_units);1176 element->MaxVy(&element_maxvy); 1131 1177 if(element_maxvy>maxvy) maxvy=element_maxvy; 1132 1178 } … … 1143 1189 1144 1190 }/*}}}*/ 1145 void FemModel::MaxVzx(IssmDouble* pmaxvz ,bool process_units){/*{{{*/1191 void FemModel::MaxVzx(IssmDouble* pmaxvz){/*{{{*/ 1146 1192 1147 1193 int i; … … 1154 1200 for(i=0;i<this->elements->Size();i++){ 1155 1201 Element* element=(Element*)this->elements->GetObjectByOffset(i); 1156 element->MaxVz(&element_maxvz ,process_units);1202 element->MaxVz(&element_maxvz); 1157 1203 if(element_maxvz>maxvz) maxvz=element_maxvz; 1158 1204 } … … 1169 1215 1170 1216 }/*}}}*/ 1171 void FemModel::MinVelx(IssmDouble* pminvel ,bool process_units){/*{{{*/1217 void FemModel::MinVelx(IssmDouble* pminvel){/*{{{*/ 1172 1218 1173 1219 int i; … … 1180 1226 for(i=0;i<this->elements->Size();i++){ 1181 1227 Element* element=(Element*)this->elements->GetObjectByOffset(i); 1182 element->MinVel(&element_minvel ,process_units);1228 element->MinVel(&element_minvel); 1183 1229 if(element_minvel<minvel) minvel=element_minvel; 1184 1230 } … … 1195 1241 1196 1242 }/*}}}*/ 1197 void FemModel::MinVxx(IssmDouble* pminvx ,bool process_units){/*{{{*/1243 void FemModel::MinVxx(IssmDouble* pminvx){/*{{{*/ 1198 1244 1199 1245 int i; … … 1206 1252 for(i=0;i<this->elements->Size();i++){ 1207 1253 Element* element=(Element*)this->elements->GetObjectByOffset(i); 1208 element->MinVx(&element_minvx ,process_units);1254 element->MinVx(&element_minvx); 1209 1255 if(element_minvx<minvx) minvx=element_minvx; 1210 1256 } … … 1221 1267 1222 1268 }/*}}}*/ 1223 void FemModel::MinVyx(IssmDouble* pminvy ,bool process_units){/*{{{*/1269 void FemModel::MinVyx(IssmDouble* pminvy){/*{{{*/ 1224 1270 1225 1271 int i; … … 1232 1278 for(i=0;i<this->elements->Size();i++){ 1233 1279 Element* element=(Element*)this->elements->GetObjectByOffset(i); 1234 element->MinVy(&element_minvy ,process_units);1280 element->MinVy(&element_minvy); 1235 1281 if(element_minvy<minvy) minvy=element_minvy; 1236 1282 } … … 1247 1293 1248 1294 }/*}}}*/ 1249 void FemModel::MinVzx(IssmDouble* pminvz ,bool process_units){/*{{{*/1295 void FemModel::MinVzx(IssmDouble* pminvz){/*{{{*/ 1250 1296 1251 1297 int i; … … 1258 1304 for(i=0;i<this->elements->Size();i++){ 1259 1305 Element* element=(Element*)this->elements->GetObjectByOffset(i); 1260 element->MinVz(&element_minvz ,process_units);1306 element->MinVz(&element_minvz); 1261 1307 if(element_minvz<minvz) minvz=element_minvz; 1262 1308 } … … 1273 1319 1274 1320 }/*}}}*/ 1275 void FemModel::TotalSmbx(IssmDouble* pSmb ,bool process_units){/*{{{*/1321 void FemModel::TotalSmbx(IssmDouble* pSmb){/*{{{*/ 1276 1322 1277 1323 IssmDouble local_smb = 0; … … 1293 1339 1294 1340 }/*}}}*/ 1295 void FemModel::IceVolumex(IssmDouble* pV ,bool process_units){/*{{{*/1341 void FemModel::IceVolumex(IssmDouble* pV){/*{{{*/ 1296 1342 1297 1343 IssmDouble local_ice_volume = 0; … … 1313 1359 1314 1360 }/*}}}*/ 1315 void FemModel::ElementResponsex(IssmDouble* presponse,int response_enum ,bool process_units){/*{{{*/1361 void FemModel::ElementResponsex(IssmDouble* presponse,int response_enum){/*{{{*/ 1316 1362 1317 1363 int found=0; … … 1344 1390 /*Ok, we found the element, compute responseocity: */ 1345 1391 if(my_rank==cpu_found){ 1346 element->ElementResponse(&response,response_enum ,IuToExtEnum);1392 element->ElementResponse(&response,response_enum); 1347 1393 } 1348 1394 … … 1359 1405 #endif 1360 1406 #ifdef _HAVE_CONTROL_ 1361 void FemModel::BalancethicknessMisfitx(IssmDouble* presponse, bool process_units,int weight_index){/*{{{*/1407 void FemModel::BalancethicknessMisfitx(IssmDouble* presponse,int weight_index){/*{{{*/ 1362 1408 1363 1409 IssmDouble J = 0; … … 1366 1412 for(int i=0;i<this->elements->Size();i++){ 1367 1413 Element* element=dynamic_cast<Element*>(this->elements->GetObjectByOffset(i)); 1368 J+=element->BalancethicknessMisfit( process_units,weight_index);1414 J+=element->BalancethicknessMisfit(weight_index); 1369 1415 } 1370 1416 #ifdef _HAVE_MPI_ … … 1378 1424 1379 1425 }/*}}}*/ 1380 void FemModel::ThicknessAbsGradientx( IssmDouble* pJ, bool process_units, int weight_index){/*{{{*/ 1381 1426 void FemModel::ThicknessAbsGradientx( IssmDouble* pJ, int weight_index){/*{{{*/ 1382 1427 1383 1428 /*Intermediary*/ … … 1392 1437 for (i=0;i<elements->Size();i++){ 1393 1438 element=dynamic_cast<Element*>(elements->GetObjectByOffset(i)); 1394 J+=element->ThicknessAbsGradient( process_units,weight_index);1439 J+=element->ThicknessAbsGradient(weight_index); 1395 1440 } 1396 1441 … … 1408 1453 void FemModel::CostFunctionx(IssmDouble* pJ){/*{{{*/ 1409 1454 1410 1411 1455 /*Intermediary*/ 1412 1456 int num_responses; … … 1424 1468 J=0; 1425 1469 for(int i=0;i<num_responses;i++){ 1426 this->Responsex(&Jplus,EnumToStringx(responses[i]), false,i); //False means DO NOT process units1470 this->Responsex(&Jplus,EnumToStringx(responses[i]),i); 1427 1471 J+=Jplus; 1428 1472 } … … 1437 1481 void FemModel::DakotaResponsesx(double* d_responses,char** responses_descriptors,int numresponsedescriptors,int d_numresponses){/*{{{*/ 1438 1482 1439 1440 1483 int i,j; 1441 1484 int my_rank; 1442 bool process_units = true;1443 1485 1444 1486 /*intermediary: */ … … 1493 1535 parameters->SetParam(index,IndexEnum); 1494 1536 1495 this->Responsex(&femmodel_response,root, process_units,0);//0 is the index for weights1537 this->Responsex(&femmodel_response,root,0);//0 is the index for weights 1496 1538 1497 1539 if(my_rank==0){ … … 1512 1554 1513 1555 /*perfectly normal response function: */ 1514 this->Responsex(&femmodel_response,root, process_units,0);//0 is the weight index1556 this->Responsex(&femmodel_response,root,0);//0 is the weight index 1515 1557 1516 1558 if(my_rank==0){ … … 1527 1569 /*Synthesize echo: {{{*/ 1528 1570 if(my_rank==0){ 1529 _print String_(" responses: " << d_numresponses << ": ");1530 for(i=0;i<d_numresponses-1;i++)_print String_(d_responses[i] << "|");1531 _print String_(d_responses[d_numresponses-1]);1532 _print Line_("");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"); 1533 1575 } 1534 1576 /*}}}*/ … … 1537 1579 /*}}}*/ 1538 1580 #endif 1581 #ifdef _HAVE_GIA_ 1582 void 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_ 1599 void 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 /*}}}*/ 1662 void 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 8 8 /*Headers:*/ 9 9 /*{{{*/ 10 #include "./objects/Object.h"11 10 #include "../toolkits/toolkits.h" 12 11 class DataSet; … … 65 64 /*Modules*/ 66 65 #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); 83 82 #endif 84 83 #ifdef _HAVE_DAKOTA_ … … 87 86 void RequestedOutputsx(int* requested_outputs, int numoutputs); 88 87 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); 91 90 #ifdef _HAVE_CONTROL_ 92 91 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); 94 96 #endif 95 97 void SystemMatricesx(Matrix<IssmDouble>** pKff, Matrix<IssmDouble>** pKfs, Vector<IssmDouble>** ppf, Vector<IssmDouble>** pdf, IssmDouble* pkmax); … … 97 99 void UpdateConstraintsx(void); 98 100 int UpdateVertexPositionsx(void); 101 void ParEplMask(void); 102 void HydrologyTransferx(void); 103 void HydrologyEPLupdateDomainx(void); 99 104 }; 100 105 -
issm/trunk/src/c/classes/Hook.cpp
r13975 r15396 12 12 #include <string.h> 13 13 #include "./classes.h" 14 #include "../Container/Container.h" 15 #include "../EnumDefinitions/EnumDefinitions.h" 14 #include "../shared/Enum/Enum.h" 16 15 #include "../shared/shared.h" 17 #include "../include/include.h"18 16 19 17 /*Constructor/Destructors*/ … … 68 66 int i; 69 67 if (num){ 70 _print Line_(" Hook:");71 _print Line_(" num=" << this->num);72 _print String_(" ids: ");73 for (i=0;i<this->num;i++) _print String_(this->ids[i] << " ");74 _print Line_("");75 _print String_(" offsets: ");76 for (i=0;i<this->num;i++) _print String_(this->offsets[i] << " ");77 _print Line_("");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"); 78 76 } 79 77 else{ 80 _print Line_(" Hook: num=0");78 _printf_(" Hook: num=0 \n"); 81 79 } 82 80 } … … 87 85 int i; 88 86 if (num){ 89 _print Line_(" Hook:");90 _print Line_(" num=" << this->num);91 _print String_(" ids: ");92 for (i=0;i<this->num;i++) _print String_(this->ids[i] << " ");93 _print Line_("");94 _print String_(" offsets: ");95 for (i=0;i<this->num;i++) _print String_(this->offsets[i] << " ");96 _print Line_("");97 if (!objects) _print Line_(" 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"); 98 96 else{ 99 _print String_(" objects:\n ");97 _printf_(" objects:\n "); 100 98 for (i=0;i<this->num;i++){ 101 _print Line_(" object " << i);99 _printf_(" object " << i << "\n"); 102 100 if(objects[i]) objects[i]->DeepEcho(); 103 else _print Line_(" no object hooked yet (not configured)");101 else _printf_(" no object hooked yet (not configured)\n"); 104 102 } 105 103 } 106 104 } 107 105 else{ 108 _print Line_(" Hook: num=0");106 _printf_(" Hook: num=0 \n"); 109 107 } 110 108 } -
issm/trunk/src/c/classes/Hook.h
r13975 r15396 11 11 /*Headers:*/ 12 12 /*{{{*/ 13 #include "./objects/Object.h" 14 class DataSet; 13 #include "../datastructures/datastructures.h" 15 14 /*}}}*/ 16 15 -
issm/trunk/src/c/classes/IoModel.cpp
r13975 r15396 16 16 17 17 #include "./classes.h" 18 #include "../io/io.h" 19 #include "../Container/Parameters.h" 18 #include "../shared/io/io.h" 20 19 #include "../shared/shared.h" 21 #include "../include/include.h"22 20 23 21 /*FUNCTION IoModel::IoModel(){{{*/ … … 26 24 this->data=NULL; 27 25 this->independents=NULL; 26 this->independent_objects=NULL; 28 27 this->constants=NULL; 29 28 … … 31 30 this->my_nodes=NULL; 32 31 this->my_vertices=NULL; 32 33 33 this->singlenodetoelementconnectivity=NULL; 34 34 this->numbernodetoelementconnectivity=NULL; … … 65 65 this->my_nodes=NULL; 66 66 this->my_vertices=NULL; 67 67 68 this->singlenodetoelementconnectivity=NULL; 68 69 this->numbernodetoelementconnectivity=NULL; … … 83 84 for(int i=0;i<MaximumNumberOfEnums;i++){ 84 85 if(this->data[i]){ 85 _p printLine_("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"); 86 87 } 87 88 } … … 124 125 else{ 125 126 if(record_enum!=MaximumNumberOfEnums){ 126 _print Line_("");127 _print Line_("=========================================================================");128 _print Line_(" Enums in marshalled file are not compatible with compiled code");129 _print Line_("");130 _print Line_(" * If you are running ISSM on a remote cluster:");131 _print Line_(" make sure that you are using the same version of ISSM on your local");132 _print Line_(" machine and remote cluster (you might need to run svn update)");133 _print Line_(" * If you are running ISSM on your local machine:");134 _print Line_(" make sure that all the code is compiled (modules and executables)");135 _print Line_(" * If you are a developer and just added a new Enum:");136 _print Line_(" you might need to run ./Synchronize.sh in src/c/EnumDefinitions");137 _print Line_(" and recompile");138 _print Line_("=========================================================================");139 _print Line_("");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"); 140 141 _error_("Enums not consistent (See error message above)"); 141 142 } … … 204 205 void IoModel::DeclareIndependents(void){ 205 206 206 int 207 bool autodiff= false;208 int 207 int i; 208 bool autodiff = false; 209 int num_independent_objects; 209 210 210 211 int *names = NULL; 211 212 int *types = NULL; 212 213 213 int numberofvertices; 214 int dummy; 215 bool keep=false; 214 int dummy; 215 bool keep=false; 216 216 217 217 /*Initialize array detecting whether data[i] is an independent AD mode variable: */ … … 222 222 if(autodiff){ 223 223 224 this->FetchData(&numberofvertices,MeshNumberofverticesEnum);225 226 224 #ifdef _HAVE_ADOLC_ 227 228 /*Start trace: {{{*/ 225 /*Start trace*/ 229 226 this->FetchData(&keep,AutodiffKeepEnum); 230 227 if(keep)trace_on(1,1); 231 228 else trace_on(1); 232 229 233 /*}}}*/ 234 /*build dataset made of independent objects: {{{*/ 230 /*build dataset made of independent objects:*/ 235 231 this->independent_objects=new DataSet(); 236 232 this->FetchData(&num_independent_objects,AutodiffNumIndependentObjectsEnum); … … 244 240 245 241 IndependentObject* independent_object=NULL; 246 independent_object=new IndependentObject(names[i],types[i] ,numberofvertices);242 independent_object=new IndependentObject(names[i],types[i]); 247 243 248 244 /*add to independent_objects dataset:*/ … … 254 250 xDelete<int>(names); 255 251 xDelete<int>(types); 256 } /*}}}*/ 257 252 } 258 253 #else 259 254 /*if we asked for AD computations, we have a problem!: */ … … 337 332 338 333 /* 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"); 341 336 342 337 #ifdef _HAVE_MPI_ … … 685 680 int* integer_matrix=NULL; 686 681 int code=0; 687 int vector_type=0;688 682 689 683 /*recover my_rank:*/ … … 691 685 692 686 /*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); 694 688 695 689 if((code!=5) && (code!=6) && (code!=7))_error_("expecting a IssmDouble, integer or boolean matrix for enum " << EnumToStringx(data_enum)); … … 759 753 IssmPDouble* matrix=NULL; 760 754 int code=0; 761 int vector_type=0;762 755 763 756 /*recover my_rank:*/ … … 765 758 766 759 /*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); 768 761 if((code!=5) && (code!=6) && (code!=7))_error_("expecting a IssmDouble, integer or boolean matrix for enum " << EnumToStringx(data_enum)); 769 762 … … 1266 1259 1267 1260 int my_rank; 1268 int 1269 int 1261 int lastindex,index; 1262 int record_length; 1270 1263 1271 1264 /*recover my_rank:*/ … … 1287 1280 1288 1281 /*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"); 1290 1283 fseek(fid,record_length,SEEK_CUR); 1291 1284 lastindex=index; … … 1334 1327 /*Ok, we have found the correct string. Pass the record length, and read data type code: */ 1335 1328 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"); 1337 1330 1338 1331 /*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 } 1340 1335 found=1; 1341 1336 break; … … 1343 1338 else{ 1344 1339 /*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"); 1346 1341 /*skip: */ 1347 1342 fseek(fid,record_length,SEEK_CUR); -
issm/trunk/src/c/classes/IoModel.h
r13975 r15396 8 8 #define _IOMODEL_H 9 9 10 #include "../include/include.h" 11 #include "../EnumDefinitions/EnumDefinitions.h" 10 #include "../shared/Enum/Enum.h" 12 11 13 12 class Parameters; … … 24 23 IssmDouble **data; //this dataset holds temporary data, memory intensive. 25 24 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*/ 28 29 bool *my_elements; 29 30 bool *my_nodes; 30 31 int *my_vertices; 32 33 /*Connectivity tables*/ 31 34 int *singlenodetoelementconnectivity; 32 35 int *numbernodetoelementconnectivity; 33 36 34 37 /*Data to synchronize through low level object drivers: */ 35 int nodecounter; //keep track of how many nodes are being created in each analysis type36 int loadcounter; //keep track of how many loads are being created in each analysis type37 int constraintcounter; //keep track of how many constraints are being created in each analysis type38 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 38 41 39 42 /*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; 42 45 43 46 /*Methods*/ … … 67 70 void FetchData(Option **poption,int data_enum); 68 71 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.); 70 73 void LastIndex(int *pindex); 71 74 FILE* SetFilePointerToData(int* pcode,int* pvector_type, int data_enum); -
issm/trunk/src/c/classes/Patch.cpp
r13975 r15396 14 14 #include <math.h> 15 15 #include "./classes.h" 16 #include "../Container/Container.h"17 #include "../io/io.h"18 #include "../EnumDefinitions/EnumDefinitions.h"19 16 #include "../shared/shared.h" 20 #include "../include/include.h"21 17 22 18 /*Object constructors and destructors:*/ -
issm/trunk/src/c/classes/RiftStruct.cpp
r14310 r15396 4 4 5 5 #include "./classes.h" 6 #include "../ EnumDefinitions/EnumDefinitions.h"6 #include "../shared/Enum/Enum.h" 7 7 #include "../shared/shared.h" 8 #include "../include/include.h"9 8 10 9 /*RiftStruct constructors and destructor*/ -
issm/trunk/src/c/classes/classes.h
r13975 r15396 3 3 */ 4 4 5 #ifndef ALL_CLASSES_H_6 #define ALL_CLASSES_H_5 #ifndef _ALL_CLASSES_H_ 6 #define _ALL_CLASSES_H_ 7 7 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" 10 103 11 104 /*matrix: */ 12 105 #include "./matrix/matrixobjects.h" 13 14 /*bamg: */15 #include "./bamg/bamgobjects.h"16 106 17 107 /*gauss: */ … … 28 118 #include "./Update.h" 29 119 #include "./FemModel.h" 30 #include "./OptArgs.h" 31 #include "./OptPars.h" 32 #include "./AdolcEdf.h" 33 #include "./IssmComm.h" 120 #include "./GiaDeflectionCoreArgs.h" 34 121 #include "./RiftStruct.h" 35 122 -
issm/trunk/src/c/classes/gauss/GaussPenta.cpp
r13395 r15396 3 3 */ 4 4 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" 6 12 7 13 /*GaussPenta constructors and destructors:*/ … … 31 37 int numgauss_horiz; 32 38 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; 37 43 double *coords_vert = NULL; 38 44 double *weights_vert = NULL; … … 45 51 /*Allocate GaussPenta fields*/ 46 52 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); 52 58 53 59 /*Combine Horizontal and vertical points*/ … … 70 76 71 77 /*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); 75 81 xDelete<double>(coords_vert); 76 xDelete< double>(weights_horiz);82 xDelete<IssmDouble>(weights_horiz); 77 83 xDelete<double>(weights_vert); 78 84 } … … 91 97 92 98 /*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); 98 104 99 105 if(index1==0 && index2==3){ … … 145 151 146 152 /*compute z coordinate*/ 147 coords4=xNew< double>(numgauss);153 coords4=xNew<IssmDouble>(numgauss); 148 154 for(int i=0;i<numgauss;i++) coords4[i]=-1.0; 149 155 } … … 155 161 156 162 /*compute z coordinate*/ 157 coords4=xNew< double>(numgauss);163 coords4=xNew<IssmDouble>(numgauss); 158 164 for(int i=0;i<numgauss;i++) coords4[i]=1.0; 159 165 } … … 180 186 /*Allocate GaussPenta fields*/ 181 187 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); 187 193 188 194 /*Quads: get the gauss points using the product of two line rules */ … … 233 239 /*FUNCTION GaussPenta::~GaussPenta(){{{*/ 234 240 GaussPenta::~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); 240 246 } 241 247 /*}}}*/ … … 245 251 void GaussPenta::Echo(void){ 246 252 247 _print Line_("GaussPenta:");248 _print Line_(" numgauss: " << numgauss);253 _printf_("GaussPenta:\n"); 254 _printf_(" numgauss: " << numgauss << "\n"); 249 255 250 256 if (weights){ 251 _print String_(" weights = [");252 for(int i=0;i<numgauss;i++) _print Line_(" " << weights[i]);253 _print Line_("]");254 } 255 else _print Line_("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"); 256 262 if (coords1){ 257 _print String_(" coords1 = [");258 for(int i=0;i<numgauss;i++) _print Line_(" " << coords1[i]);259 _print Line_("]");260 } 261 else _print Line_("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"); 262 268 if (coords2){ 263 _print String_(" coords2 = [");264 for(int i=0;i<numgauss;i++) _print Line_(" " << coords2[i]);265 _print Line_("]");266 } 267 else _print Line_("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"); 268 274 if (coords3){ 269 _print String_(" coords3 = [");270 for(int i=0;i<numgauss;i++) _print Line_(" " << coords3[i]);271 _print Line_("]");272 } 273 else _print Line_("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"); 274 280 if (coords4){ 275 _print String_(" coords4 = [");276 for(int i=0;i<numgauss;i++) _print Line_(" " << coords4[i]);277 _print Line_("]");278 } 279 else _print Line_("coords4 = NULL");280 281 _print Line_(" weight = " << weight);282 _print Line_(" coord1 = " << coord1);283 _print Line_(" coord2 = " << coord2);284 _print Line_(" coord3 = " << coord3);285 _print Line_(" 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"); 286 292 287 293 } … … 355 361 if(index1==0 && index2==1 && index3==2){ 356 362 GaussLegendreTria(&numgauss,&coords1,&coords2,&coords3,&weights,order); 357 coords4=xNew< double>(numgauss);363 coords4=xNew<IssmDouble>(numgauss); 358 364 for(int i=0;i<numgauss;i++) coords4[i]=-1.0; 359 365 } -
issm/trunk/src/c/classes/gauss/GaussPenta.h
r13975 r15396 7 7 8 8 /*Headers:*/ 9 /*{{{*/ 10 #include "./../../shared/shared.h" 9 #include "../../shared/Numerics/types.h" 11 10 class GaussTria; 12 /*}}}*/13 11 14 12 class GaussPenta{ … … 16 14 private: 17 15 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; 23 21 24 22 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; 30 28 31 29 public: -
issm/trunk/src/c/classes/gauss/GaussTria.cpp
r13395 r15396 3 3 */ 4 4 5 #include "./gaussobjects.h" 5 #include "./GaussTria.h" 6 #include "../../shared/shared.h" 6 7 7 8 /*GaussTria constructors and destructors:*/ … … 42 43 IssmPDouble *seg_coords = NULL; 43 44 IssmPDouble *seg_weights = NULL; 45 IssmDouble a1,b1,c1,a2,b2,c2; 44 46 int i,index3; 45 47 … … 49 51 50 52 /*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 << " )"); 60 82 } 61 83 62 84 /*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 } 83 91 84 92 /*Initialize static fields as undefined*/ … … 93 101 } 94 102 /*}}}*/ 103 /*FUNCTION GaussTria::GaussTria(int index,double r1,double r2,int order) {{{*/ 104 GaussTria::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 /*}}}*/ 95 259 /*FUNCTION GaussTria::~GaussTria(){{{*/ 96 260 GaussTria::~GaussTria(){ 97 xDelete<Issm PDouble>(weights);98 xDelete<Issm PDouble>(coords1);99 xDelete<Issm PDouble>(coords2);100 xDelete<Issm PDouble>(coords3);261 xDelete<IssmDouble>(weights); 262 xDelete<IssmDouble>(coords1); 263 xDelete<IssmDouble>(coords2); 264 xDelete<IssmDouble>(coords3); 101 265 } 102 266 /*}}}*/ … … 106 270 void GaussTria::Echo(void){ 107 271 108 _print Line_("GaussTria:");109 _print Line_(" numgauss: " << numgauss);272 _printf_("GaussTria:\n"); 273 _printf_(" numgauss: " << numgauss << "\n"); 110 274 111 275 if (weights){ 112 _print String_(" weights = [");113 for(int i=0;i<numgauss;i++) _print Line_(" " << weights[i]);114 _print Line_("]");115 } 116 else _print Line_("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"); 117 281 if (coords1){ 118 _print String_(" coords1 = [");119 for(int i=0;i<numgauss;i++) _print Line_(" " << coords1[i]);120 _print Line_("]");121 } 122 else _print Line_("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"); 123 287 if (coords2){ 124 _print String_(" coords2 = [");125 for(int i=0;i<numgauss;i++) _print Line_(" " << coords2[i]);126 _print Line_("]");127 } 128 else _print Line_("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"); 129 293 if (coords3){ 130 _print String_(" coords3 = [");131 for(int i=0;i<numgauss;i++) _print Line_(" " << coords3[i]);132 _print Line_("]");133 } 134 else _print Line_("coords3 = NULL");135 136 _print Line_(" weight = " << weight);137 _print Line_(" coord1 = " << coord1);138 _print Line_(" coord2 = " << coord2);139 _print Line_(" 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"); 140 304 141 305 } … … 231 395 /*update static arrays*/ 232 396 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{{{*/ 406 void 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 } 235 420 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 } 238 431 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"); 245 433 } 246 434 -
issm/trunk/src/c/classes/gauss/GaussTria.h
r13975 r15396 7 7 8 8 /*Headers:*/ 9 /*{{{*/ 10 #include "./../../shared/shared.h" 11 /*}}}*/ 9 #include "../../shared/Numerics/types.h" 12 10 13 11 class GaussTria{ … … 15 13 private: 16 14 int numgauss; 17 Issm PDouble* weights;18 Issm PDouble* coords1;19 Issm PDouble* coords2;20 Issm PDouble* coords3;15 IssmDouble* weights; 16 IssmDouble* coords1; 17 IssmDouble* coords2; 18 IssmDouble* coords3; 21 19 22 20 public: 23 Issm PDouble weight;21 IssmDouble weight; 24 22 IssmDouble coord1; 25 23 IssmDouble coord2; … … 32 30 GaussTria(int order); 33 31 GaussTria(int index1,int index2,int order); 32 GaussTria(int index,IssmDouble r1, IssmDouble r2,bool maintlyfloating,int order); 34 33 ~GaussTria(); 35 34 … … 41 40 void GaussPoint(int ig); 42 41 void GaussVertex(int iv); 42 void GaussNode(int numnodes,int iv); 43 43 void GaussCenter(void); 44 44 void GaussEdgeCenter(int index1,int index2); -
issm/trunk/src/c/classes/kriging/ExponentialVariogram.cpp
r13975 r15396 9 9 #endif 10 10 11 #include <stdio.h> 12 #include <string.h> 13 #include "../objects/objects.h" 14 #include "../../EnumDefinitions/EnumDefinitions.h" 11 #include "../classes.h" 15 12 #include "../../shared/shared.h" 16 #include "../../include/include.h"17 13 18 14 /*ExponentialVariogram constructors and destructor*/ … … 51 47 /*FUNCTION ExponentialVariogram::Echo {{{*/ 52 48 void ExponentialVariogram::Echo(void){ 53 _print Line_("ExponentialVariogram");54 _print Line_(" nugget: " << this->nugget);55 _print Line_(" sill : " << this->sill);56 _print Line_(" 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"); 57 53 } 58 54 /*}}}*/ -
issm/trunk/src/c/classes/kriging/GaussianVariogram.cpp
r13975 r15396 9 9 #endif 10 10 11 #include <stdio.h> 12 #include <string.h> 13 #include "../objects/objects.h" 14 #include "../../EnumDefinitions/EnumDefinitions.h" 11 #include "../classes.h" 15 12 #include "../../shared/shared.h" 16 #include "../../include/include.h"17 13 18 14 /*GaussianVariogram constructors and destructor*/ … … 51 47 /*FUNCTION GaussianVariogram::Echo {{{*/ 52 48 void GaussianVariogram::Echo(void){ 53 _print Line_("GaussianVariogram");54 _print Line_(" nugget: " << this->nugget);55 _print Line_(" sill : " << this->sill);56 _print Line_(" 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"); 57 53 } 58 54 /*}}}*/ … … 93 89 gamma = (sill-nugget)*(1.-exp(-h2/(a*range*range))) + nugget; 94 90 95 //if(h2>1000*1000) _print Line_("gamma = " << gamma << " h= " << sqrt(h2));96 _print Line_("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"); 97 93 return gamma; 98 94 } -
issm/trunk/src/c/classes/kriging/Observation.cpp
r13975 r15396 4 4 5 5 #include <stdlib.h> 6 #include "../ objects/objects.h"6 #include "../classes.h" 7 7 8 8 /*Observation constructors and destructor*/ … … 35 35 void Observation::Echo(void){ 36 36 37 _print Line_("Observation");38 _print Line_(" index : " << this->index);39 _print Line_(" x : " << this->x);40 _print Line_(" y : " << this->y);41 _print Line_(" xi : "); printbinary(this->xi); _printLine_("");42 _print Line_(" yi : "); printbinary(this->yi); _printLine_("");43 _print Line_(" weight: " << this->weight);44 _print Line_(" 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"); 45 45 } 46 46 /*}}}*/ -
issm/trunk/src/c/classes/kriging/Observation.h
r13975 r15396 6 6 #define _OBSERVATION_H_ 7 7 8 #include "../ objects/Object.h"8 #include "../../datastructures/datastructures.h" 9 9 10 10 class Observation: public Object{ -
issm/trunk/src/c/classes/kriging/PowerVariogram.cpp
r13975 r15396 9 9 #endif 10 10 11 #include <stdio.h> 12 #include <string.h> 13 #include "../objects/objects.h" 14 #include "../../EnumDefinitions/EnumDefinitions.h" 11 #include "../classes.h" 15 12 #include "../../shared/shared.h" 16 #include "../../include/include.h"17 13 18 14 /*PowerVariogram constructors and destructor*/ … … 52 48 /*FUNCTION PowerVariogram::Echo {{{*/ 53 49 void PowerVariogram::Echo(void){ 54 _print Line_("PowerVariogram");55 _print Line_(" nugget: " << this->nugget);56 _print Line_(" slope : " << this->slope);57 _print Line_(" 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"); 58 54 } 59 55 /*}}}*/ … … 89 85 gamma = this->nugget + this->slope*pow(h,this->power); 90 86 91 //if(h>1000) _print Line_("gamma = " << gamma << " h=" << h);87 //if(h>1000) _printf_("gamma = " << gamma << " h=" << h << "\n"); 92 88 return gamma; 93 89 } -
issm/trunk/src/c/classes/kriging/Quadtree.cpp
r13975 r15396 1 #include "../ objects/objects.h"1 #include "../classes.h" 2 2 3 3 /*DOCUMENTATION What is a Quadtree? {{{ … … 297 297 void Quadtree::Echo(void){ 298 298 299 _print Line_("Quadtree:");300 _print Line_(" MaxDepth = " << this->MaxDepth);301 _print Line_(" NbQuadtreeBox = " << this->NbQuadtreeBox);302 _print Line_(" NbObs = " << this->NbObs);303 _print Line_(" 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"); 304 304 305 305 }/*}}}*/ … … 307 307 void Quadtree::DeepEcho(void){ 308 308 309 _print Line_("Quadtree:");310 _print Line_(" MaxDepth = " << this->MaxDepth);311 _print Line_(" NbQuadtreeBox = " << this->NbQuadtreeBox);312 _print Line_(" NbObs = " << this->NbObs);313 _print Line_(" 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"); 314 314 boxcontainer->Echo(); 315 315 … … 512 512 void Quadtree::QuadtreeBox::Echo(void){ 513 513 514 _print Line_("QuadtreeBox:");515 _print Line_(" nbitems = " << this->nbitems);516 _print Line_(" xcenter = " << this->xcenter);517 _print Line_(" ycenter = " << this->ycenter);518 _print Line_(" 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"); 519 519 520 520 }/*}}}*/ -
issm/trunk/src/c/classes/kriging/SphericalVariogram.cpp
r13975 r15396 9 9 #endif 10 10 11 #include <stdio.h> 12 #include <string.h> 13 #include "../objects/objects.h" 14 #include "../../EnumDefinitions/EnumDefinitions.h" 11 #include "../classes.h" 15 12 #include "../../shared/shared.h" 16 #include "../../include/include.h"17 13 18 14 /*SphericalVariogram constructors and destructor*/ … … 51 47 /*FUNCTION SphericalVariogram::Echo {{{*/ 52 48 void SphericalVariogram::Echo(void){ 53 _print Line_("SphericalVariogram");54 _print Line_(" nugget: " << this->nugget);55 _print Line_(" sill : " << this->sill);56 _print Line_(" 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"); 57 53 } 58 54 /*}}}*/ -
issm/trunk/src/c/classes/kriging/Variogram.h
r13395 r15396 6 6 #define _VARIOGRAM_H_ 7 7 8 #include "../ objects/Object.h"8 #include "../../datastructures/datastructures.h" 9 9 10 10 class Variogram: public Object{ -
issm/trunk/src/c/classes/kriging/krigingobjects.h
r13395 r15396 14 14 #include "./Quadtree.h" 15 15 #include "./Observation.h" 16 #include "./Observations.h" 16 17 17 18 #endif -
issm/trunk/src/c/classes/matrix/ElementMatrix.cpp
r13975 r15396 15 15 #include "../classes.h" 16 16 #include "../../shared/shared.h" 17 #include "../../Container/Container.h"18 #include "../../include/include.h"19 17 /*}}}*/ 20 18 … … 251 249 IssmDouble* localvalues=NULL; 252 250 251 /*Check that Kff has been alocated in debugging mode*/ 252 _assert_(Kff); 253 253 254 /*If Kfs is not provided, call the other function*/ 254 255 if(!Kfs){ … … 376 377 377 378 int i,j; 378 _print Line_("Element Matrix echo:");379 _print Line_(" nrows: " << this->nrows);380 _print Line_(" ncols: " << this->ncols);381 _print Line_(" dofsymmetrical: " << (dofsymmetrical?"true":"false"));382 383 _print Line_(" 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"); 384 385 for(i=0;i<nrows;i++){ 385 _print String_(setw(4) << right << i << ": ");386 for(j=0;j<ncols;j++) _print String_( " " << setw(11) << setprecision (5) << right << values[i*ncols+j]);387 _print Line_("");388 } 389 390 _print String_(" gglobaldoflist (" << gglobaldoflist << "): ");391 if(gglobaldoflist) for(i=0;i<nrows;i++) _print String_(" " << gglobaldoflist[i]); _printLine_("");392 393 _print Line_(" row_fsize: " << row_fsize);394 _print String_(" row_flocaldoflist (" << row_flocaldoflist << "): ");395 if(row_flocaldoflist) for(i=0;i<row_fsize;i++) _print String_(" " << row_flocaldoflist[i]); _printLine_("");396 _print String_(" row_fglobaldoflist (" << row_fglobaldoflist << "): ");397 if(row_fglobaldoflist) for(i=0;i<row_fsize;i++) _print String_(" " << row_fglobaldoflist[i]); _printLine_("");398 399 _print Line_(" row_ssize: " << row_ssize);400 _print String_(" row_slocaldoflist (" << row_slocaldoflist << "): ");401 if(row_slocaldoflist) for(i=0;i<row_ssize;i++) _print String_(" " << row_slocaldoflist[i]); _printLine_("");402 _print String_(" row_sglobaldoflist (" << row_sglobaldoflist << "): ");403 if(row_sglobaldoflist) for(i=0;i<row_ssize;i++) _print String_(" " << 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"); 404 405 405 406 if(!dofsymmetrical){ 406 _print Line_(" col_fsize: " << col_fsize);407 _print String_(" col_flocaldoflist (" << col_flocaldoflist << "): ");408 if(col_flocaldoflist) for(i=0;i<col_fsize;i++) _print String_(" " << col_flocaldoflist[i]); _printLine_("");409 _print String_(" col_fglobaldoflist (" << col_fglobaldoflist << "): ");410 if(col_fglobaldoflist) for(i=0;i<col_fsize;i++) _print String_(" " << col_fglobaldoflist[i]); _printLine_("");411 412 _print Line_(" col_ssize: " << col_ssize);413 _print String_(" col_slocaldoflist (" << col_slocaldoflist << "): ");414 if(col_slocaldoflist) for(i=0;i<col_ssize;i++) _print String_(" " << col_slocaldoflist[i]); _printLine_("");415 _print String_(" col_sglobaldoflist (" << col_sglobaldoflist << "): ");416 if(col_sglobaldoflist) for(i=0;i<col_ssize;i++) _print String_(" " << 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"); 417 418 } 418 419 } -
issm/trunk/src/c/classes/matrix/ElementMatrix.h
r13975 r15396 11 11 /*Headers:*/ 12 12 /*{{{*/ 13 #include "../ objects/Object.h"13 #include "../../datastructures/datastructures.h" 14 14 #include "../../toolkits/toolkits.h" 15 #include "../../ EnumDefinitions/EnumDefinitions.h"15 #include "../../shared/shared.h" 16 16 class Node; 17 17 template <class doublematrix> class Matrix; -
issm/trunk/src/c/classes/matrix/ElementVector.cpp
r13975 r15396 15 15 #include "../classes.h" 16 16 #include "../../shared/shared.h" 17 #include "../../Container/Container.h"18 #include "../../include/include.h"19 17 /*}}}*/ 20 18 … … 221 219 int i; 222 220 223 _print Line_("Element Vector echo:");224 _print Line_(" nrows: " << nrows);225 _print Line_(" values:");221 _printf_("Element Vector echo:\n"); 222 _printf_(" nrows: " << nrows << "\n"); 223 _printf_(" values:\n"); 226 224 for(i=0;i<nrows;i++){ 227 _print Line_(setw(4) << right << i << ": " << setw(10) << values[i]);228 } 229 230 _print String_(" gglobaldoflist (" << gglobaldoflist << "): ");231 if(gglobaldoflist) for(i=0;i<nrows;i++) _print String_(" " << gglobaldoflist[i] );232 _print Line_("");233 234 _print Line_(" fsize: " << fsize);235 _print String_(" flocaldoflist (" << flocaldoflist << "): ");236 if(flocaldoflist) for(i=0;i<fsize;i++) _print String_(" " << flocaldoflist[i] );237 _print Line_("");238 _print String_(" fglobaldoflist (" << fglobaldoflist << "): ");239 if(fglobaldoflist) for(i=0;i<fsize;i++) _print String_(" " << fglobaldoflist[i] );240 _print Line_("");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"); 241 239 } 242 240 /*}}}*/ -
issm/trunk/src/c/classes/matrix/ElementVector.h
r13975 r15396 11 11 /*Headers:*/ 12 12 /*{{{*/ 13 #include "../ objects/Object.h"13 #include "../../datastructures/datastructures.h" 14 14 #include "../../toolkits/toolkits.h" 15 #include "../../ EnumDefinitions/EnumDefinitions.h"15 #include "../../shared/shared.h" 16 16 class Node; 17 17 template <class doubletype> class Vector; -
issm/trunk/src/c/classes/matrix/matrixobjects.h
r13975 r15396 9 9 #include "./ElementMatrix.h" 10 10 #include "./ElementVector.h" 11 #include "./Vector.h"12 #include "./Matrix.h"13 11 14 12 #endif -
issm/trunk/src/c/modules/AverageOntoPartitionx/AverageOntoPartitionx.cpp
r13975 r15396 11 11 12 12 #include "./AverageOntoPartitionx.h" 13 #include "../../Container/Container.h"14 13 #include "../../shared/shared.h" 15 #include "../../include/include.h"16 #include "../../EnumDefinitions/EnumDefinitions.h"17 14 #include "../../toolkits/toolkits.h" 18 #include "../modules.h"19 15 20 16 void AverageOntoPartitionx(double** paverage, Elements* elements, Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,double* vertex_response){ … … 63 59 /*Free ressources:*/ 64 60 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; 68 64 69 65 /*Assign output pointers:*/ -
issm/trunk/src/c/modules/AverageOntoPartitionx/AverageOntoPartitionx.h
r13395 r15396 6 6 #define _AVERAGEONTOPARTITIONXX_H 7 7 8 #include "../../classes/objects/objects.h" 9 #include "../../Container/Container.h" 8 #include "../../classes/classes.h" 10 9 11 10 void 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 5 5 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 #include "../../ classes/bamg/bamgobjects.h"8 #include "../../bamg/bamgobjects.h" 10 9 11 10 using namespace bamg; -
issm/trunk/src/c/modules/BamgConvertMeshx/BamgConvertMeshx.h
r13395 r15396 6 6 #define _BAMGCONVERTMESHX_H 7 7 8 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 9 #include "../../bamg/bamgobjects.h" 9 10 10 11 /* local prototypes: */ -
issm/trunk/src/c/modules/BamgTriangulatex/BamgTriangulatex.cpp
r13395 r15396 5 5 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 9 #include "../../bamg/bamgobjects.h" 10 10 11 11 using namespace bamg; -
issm/trunk/src/c/modules/BamgTriangulatex/BamgTriangulatex.h
r13395 r15396 6 6 #define _BAMGTRIANGULATEX_H 7 7 8 #include "../../classes/ objects/objects.h"8 #include "../../classes/classes.h" 9 9 10 10 /* local prototypes: */ -
issm/trunk/src/c/modules/Bamgx/Bamgx.cpp
r13975 r15396 3 3 */ 4 4 #include "./Bamgx.h" 5 #include "../../ classes/bamg/bamgobjects.h"5 #include "../../bamg/bamgobjects.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 8 … … 41 40 42 41 //Step1: generate geometry Gh 43 if (verbosity>0) _print Line_("Construction of a mesh from a given geometry");44 if (verbosity>1) _print Line_(" Processing geometry...");42 if (verbosity>0) _printf_("Construction of a mesh from a given geometry\n"); 43 if (verbosity>1) _printf_(" Processing geometry...\n"); 45 44 Geometry Gh(bamggeom_in,bamgopts); 46 45 … … 50 49 51 50 //build metric using geometry 52 if (verbosity>1) _print Line_(" Generating Metric...");51 if (verbosity>1) _printf_(" Generating Metric...\n"); 53 52 for(i=0;i<Gh.nbv;i++){ 54 53 Metric M=Gh[i]; … … 60 59 61 60 //generate mesh 62 if (verbosity>1) _print Line_(" Generating Mesh...");61 if (verbosity>1) _printf_(" Generating Mesh...\n"); 63 62 Mesh Th(maxnbv,Gh,bamgopts); 64 63 … … 73 72 74 73 //Build output 75 if (verbosity>1) _print Line_(" Write Mesh...");74 if (verbosity>1) _printf_(" Write Mesh...\n"); 76 75 Th.WriteMesh(bamgmesh_out,bamgopts); 77 if (verbosity>1) _print Line_(" Write Geometry...");76 if (verbosity>1) _printf_(" Write Geometry...\n"); 78 77 Gh.WriteGeometry(bamggeom_out,bamgopts); 79 78 … … 87 86 88 87 // read background mesh 89 if (verbosity>0) _print Line_("Anisotropic mesh adaptation");90 if (verbosity>1) _print Line_(" 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"); 91 90 Mesh BTh(bamggeom_in,bamgmesh_in,bamgopts); 92 91 … … 100 99 //Generate initial metric 101 100 if (bamgopts->metric){ 102 if (verbosity>1) _print Line_(" Processing Metric...");101 if (verbosity>1) _printf_(" Processing Metric...\n"); 103 102 BTh.ReadMetric(bamgopts); 104 103 } 105 104 else { 106 if (verbosity>1) _print Line_(" Generating initial Metric...");105 if (verbosity>1) _printf_(" Generating initial Metric...\n"); 107 106 Metric Mhmax(bamgopts->hmax); 108 107 for (int iv=0;iv<BTh.nbv;iv++) BTh[iv].m = Mhmax; … … 111 110 //use present fields to generate metric if present 112 111 if (bamgopts->field){ 113 if (verbosity>1) _print Line_(" Merge metric with field provided...");112 if (verbosity>1) _printf_(" Merge metric with field provided...\n"); 114 113 BTh.AddMetric(bamgopts); 115 114 } … … 117 116 // change using hVertices if provided 118 117 if(bamgopts->hVertices && bamgopts->hVerticesSize[0]==BTh.nbv){ 119 if (verbosity>1) _print Line_(" Merging Metric with hVertices...");118 if (verbosity>1) _printf_(" Merging Metric with hVertices...\n"); 120 119 for (i=0;i<BTh.nbv;i++){ 121 120 if (!xIsNan<IssmPDouble>(bamgopts->hVertices[i])){ … … 127 126 // change using hminVertices if provided 128 127 if (bamgopts->hminVertices){ 129 if (verbosity>1) _print Line_(" Merging Metric with hminVertices...");128 if (verbosity>1) _printf_(" Merging Metric with hminVertices...\n"); 130 129 for (i=0;i<BTh.nbv;i++){ 131 130 if (!xIsNan<IssmPDouble>(bamgopts->hminVertices[i])){ … … 140 139 // change using hmaxVertices if provided 141 140 if (bamgopts->hmaxVertices){ 142 if (verbosity>1) _print Line_(" Merging Metric with hmaxVertices...");141 if (verbosity>1) _printf_(" Merging Metric with hmaxVertices...\n"); 143 142 for (i=0;i<BTh.nbv;i++){ 144 143 if (!xIsNan<IssmPDouble>(bamgopts->hmaxVertices[i])){ … … 164 163 165 164 //Build new mesh 166 if (verbosity>1) _print Line_(" Generating Mesh...");165 if (verbosity>1) _printf_(" Generating Mesh...\n"); 167 166 Thr=&BTh,Thb=0; 168 167 Mesh & Th( *(0 ? new Mesh(*Thr,&Thr->Gh,Thb,maxnbv) : new Mesh(maxnbv,BTh,bamgopts,bamgopts->KeepVertices))); … … 185 184 if(verbosity>0) { 186 185 if (Th.nbt-Th.nbtout-Th.nbq*2){ 187 _print Line_(" 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"); 188 187 } 189 188 if (Th.nbq ){ 190 _print Line_(" new number of quads = " << Th.nbq);189 _printf_(" new number of quads = " << Th.nbq << "\n"); 191 190 } 192 191 } 193 192 194 193 //Build output 195 if (verbosity>1) _print Line_(" Write Mesh...");194 if (verbosity>1) _printf_(" Write Mesh...\n"); 196 195 Th.WriteMesh(bamgmesh_out,bamgopts); 197 if (verbosity>1) _print Line_(" Write Geometry...");196 if (verbosity>1) _printf_(" Write Geometry...\n"); 198 197 Th.Gh.WriteGeometry(bamggeom_out,bamgopts); 199 if (verbosity>1) _print Line_(" Write Metric...");198 if (verbosity>1) _printf_(" Write Metric...\n"); 200 199 BTh.WriteMetric(bamgopts); 201 200 … … 207 206 208 207 /*No error return*/ 209 if (verbosity>1) _print Line_(" Exiting Bamg.");208 if (verbosity>1) _printf_(" Exiting Bamg.\n"); 210 209 return noerr; 211 210 -
issm/trunk/src/c/modules/Bamgx/Bamgx.h
r13395 r15396 6 6 #define _BAMGX_H 7 7 8 #include "../../ classes/bamg/bamgobjects.h"8 #include "../../bamg/bamgobjects.h" 9 9 10 10 /* local prototypes: */ -
issm/trunk/src/c/modules/CMakeLists.txt
r14310 r15396 29 29 add_subdirectory(InputArtificialNoisex) 30 30 add_subdirectory(InputControlUpdatex) 31 add_subdirectory(InputConvergencex)32 31 add_subdirectory(InputDuplicatex) 33 32 add_subdirectory(InputScalex) -
issm/trunk/src/c/modules/Chacox/Chacox.cpp
r13975 r15396 22 22 #ifdef _HAVE_CHACO_ //only works if Chaco library has been compiled in. 23 23 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 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(); */ 60 60 61 61 int i,tvwgt; … … 63 63 64 64 if (DEBUG_TRACE > 0) { 65 _print Line_("<Entering main>");65 _printf_("<Entering main>\n"); 66 66 } 67 67 68 68 if (PRINT_HEADERS) { 69 _print Line_("\n Chaco 2.0");70 _print Line_(" Sandia National Laboratories\n");69 _printf_("\n Chaco 2.0\n"); 70 _printf_(" Sandia National Laboratories\n\n"); 71 71 } 72 72 … … 74 74 params_file = fopen(PARAMS_FILENAME, "r"); 75 75 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); 78 77 } 79 78 … … 100 99 101 100 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); 104 102 tvwgt = 0; 105 103 for (i=0; i<nvtxs; i++) … … 109 107 tvwgt = nvtxs; 110 108 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]); 113 110 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]); 116 112 } 117 113 … … 122 118 else { 123 119 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]); 126 121 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]); 129 123 } 130 124 … … 155 149 for (i=0; i<start[nvtxs]; adjacency[i++]++); 156 150 157 printf("\n%s -- Calling Chaco interface:\n\n", 158 __FUNCT__); 151 printf("\n%s -- Calling Chaco interface:\n\n",__FUNCT__); 159 152 flag = interface(nvtxs, start, adjacency, 160 153 ((int)options[OPT_VWGTS] && vwgts ? vwgts : NULL), … … 166 159 global_method, local_method, rqi_flag, vmax, ndims, 167 160 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); 170 162 171 163 /* Reset adjacency matrix in case calling function needs it. */ … … 174 166 175 167 if (DEBUG_MEMORY > 0) { 176 _print Line_("");168 _printf_("\n"); 177 169 smalloc_stats(); 178 170 } … … 182 174 183 175 if (DEBUG_TRACE > 1) { 184 _print Line_("<Leaving main>");176 _printf_("<Leaving main>\n"); 185 177 } 186 178 -
issm/trunk/src/c/modules/Chacox/Chacox.h
r13975 r15396 32 32 #endif 33 33 34 #include "../../Container/Container.h" 35 #include "../../classes/objects/objects.h" 34 #include "../../classes/classes.h" 36 35 37 36 /* local prototypes: */ -
issm/trunk/src/c/modules/Chacox/input_parse.cpp
r13975 r15396 37 37 38 38 if (DEBUG_TRACE > 0) { 39 _print Line_("<Entering input_parse>");39 _printf_("<Entering input_parse>\n"); 40 40 } 41 41 42 42 if (PROMPT) { 43 _print Line_("Parallel machine architecture:");44 _print Line_(" (0) Hypercube");45 _print Line_(" (1) One-dimensional mesh");46 _print Line_(" (2) Two-dimensional mesh");47 _print Line_(" (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"); 48 48 } 49 49 *architecture = (int)options[OPT_ARCH]; 50 50 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); 53 52 return(-1); 54 53 } … … 56 55 /* Name output assignment file. */ 57 56 if (PROMPT) 58 _print String_("Assignment output file: ");57 _printf_("Assignment output file: "); 59 58 outassignname = NULL; 60 59 61 60 /* Name output results file. */ 62 61 if (PROMPT) 63 _print String_("File name for saving run results: ");62 _printf_("File name for saving run results: "); 64 63 outfilename = NULL; 65 64 … … 74 73 else { 75 74 if (PROMPT) { 76 _print Line_("Global partitioning method:");77 _print Line_(" (1) Multilevel-KL");78 _print Line_(" (2) Spectral");79 _print Line_(" (3) Inertial");80 _print Line_(" (4) Linear");81 _print Line_(" (5) Random");82 _print Line_(" (6) Scattered");83 _print Line_(" (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"); 84 83 } 85 84 *global_method = (int)options[OPT_GLOBAL]; 86 85 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); 89 87 return(-1); 90 88 } … … 93 91 if (*global_method == 7) { /* Name and open input assignment file. */ 94 92 if (PROMPT) 95 _print String_("Assignment input file: ");93 _printf_("Assignment input file: "); 96 94 } 97 95 98 96 else if (*global_method == 3) { 99 97 if (PROMPT) 100 _print String_("Geometry input file name: ");98 _printf_("Geometry input file name: "); 101 99 } 102 100 103 101 else if (*global_method == 2) { 104 102 if (PROMPT) { 105 _print Line_("Eigensolver:");106 _print Line_(" (1) Multilevel RQI/Symmlq");107 _print Line_(" (2) Lanczos");103 _printf_("Eigensolver:\n"); 104 _printf_(" (1) Multilevel RQI/Symmlq\n"); 105 _printf_(" (2) Lanczos\n"); 108 106 } 109 107 eigensolver = (int)options[OPT_RQI]; 110 108 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); 113 110 return(-1); 114 111 } … … 116 113 if (MATCH_TYPE == 5) { /* geometric matching */ 117 114 if (PROMPT) 118 _print String_("Geometry input file name: ");115 _printf_("Geometry input file name: "); 119 116 } 120 117 *rqi_flag = 1; 121 118 if (PROMPT) 122 _print String_("Number of vertices to coarsen down to: ");119 _printf_("Number of vertices to coarsen down to: "); 123 120 *vmax = (int)options[OPT_VMAX]; 124 121 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); 127 123 return(-1); 128 124 } … … 136 132 if (MATCH_TYPE == 5) { /* geometric matching */ 137 133 if (PROMPT) 138 _print String_("Geometry input file name: ");139 } 140 if (PROMPT) 141 _print String_("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: "); 142 138 *vmax = (int)options[OPT_VMAX]; 143 139 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); 146 141 return(-1); 147 142 } … … 167 162 else { 168 163 if (PROMPT) { 169 _print Line_("Local refinement method:");170 _print Line_(" (1) Kernighan-Lin");171 _print Line_(" (2) None");164 _printf_("Local refinement method:\n"); 165 _printf_(" (1) Kernighan-Lin\n"); 166 _printf_(" (2) None\n"); 172 167 } 173 168 *local_method = (int)options[OPT_LOCAL]; 174 169 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); 177 171 return(-1); 178 172 } … … 184 178 *ndims_tot = 0; 185 179 if (PROMPT) 186 _print String_("Total number of target hypercube dimensions: ");180 _printf_("Total number of target hypercube dimensions: "); 187 181 *ndims_tot = nparts[0]; 188 182 if (*ndims_tot < 1) { 189 _print Line_(" Number of divisions must be at least 1");183 _printf_(" Number of divisions must be at least 1\n"); 190 184 printf("%s -- Number of divisions %d must be at least 1.\n", 191 185 __FUNCT__,nparts[0]); … … 199 193 if (*architecture == 2) { 200 194 if (PROMPT) 201 _print String_("X and Y extent of of 2-D mesh: ");195 _printf_("X and Y extent of of 2-D mesh: "); 202 196 mesh_dims[0] = nparts[0]; 203 197 mesh_dims[1] = nparts[1]; … … 205 199 else if (*architecture == 3) { 206 200 if (PROMPT) 207 _print String_("X, Y and Z extent of 3-D mesh: ");201 _printf_("X, Y and Z extent of 3-D mesh: "); 208 202 mesh_dims[0] = nparts[0]; 209 203 mesh_dims[1] = nparts[1]; … … 212 206 else { /* Anything else => 1-D mesh */ 213 207 if (PROMPT) 214 _print String_("Size of 1-D mesh: ");208 _printf_("Size of 1-D mesh: "); 215 209 mesh_dims[0] = nparts[0]; 216 210 *architecture = 1; … … 226 220 else if (*nprocs <= 7) { 227 221 if (PROMPT) { 228 _print Line_("Partitioning dimension:");229 _print Line_(" (1) Bisection");230 _print Line_(" (2) Quadrisection");222 _printf_("Partitioning dimension: \n"); 223 _printf_(" (1) Bisection\n"); 224 _printf_(" (2) Quadrisection\n"); 231 225 } 232 226 *ndims = (int)options[OPT_NDIMS]; 233 227 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); 236 229 return(-1); 237 230 } … … 239 232 else { 240 233 if (PROMPT) { 241 _print Line_("Partitioning dimension:");242 _print Line_(" (1) Bisection");243 _print Line_(" (2) Quadrisection");244 _print Line_(" (3) Octasection");234 _printf_("Partitioning dimension: \n"); 235 _printf_(" (1) Bisection\n"); 236 _printf_(" (2) Quadrisection\n"); 237 _printf_(" (3) Octasection\n"); 245 238 } 246 239 *ndims = (int)options[OPT_NDIMS]; 247 240 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); 250 242 return(-1); 251 243 } -
issm/trunk/src/c/modules/ComputeBasalStressx/ComputeBasalStressx.cpp
r13975 r15396 6 6 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 8 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 9 12 10 void 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 6 6 #define _COMPUTEBASALSTRESSX_H 7 7 8 #include "../../classes/objects/objects.h" 9 #include "../../Container/Container.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* local prototypes: */ -
issm/trunk/src/c/modules/ComputeStrainRatex/ComputeStrainRatex.cpp
r13975 r15396 6 6 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 8 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 9 12 10 void 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 6 6 #define _COMPUTESTRAINRATEX_H 7 7 8 #include "../../classes/objects/objects.h" 9 #include "../../Container/Container.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* local prototypes: */ -
issm/trunk/src/c/modules/ConfigureObjectsx/ConfigureObjectsx.cpp
r13975 r15396 6 6 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 #include "../../io/io.h"10 8 #include "../../toolkits/toolkits.h" 11 #include "../../ EnumDefinitions/EnumDefinitions.h"9 #include "../../classes/classes.h" 12 10 13 11 int ConfigureObjectsx( Elements* elements, Loads* loads, Nodes* nodes, Vertices* vertices, Materials* materials,Parameters* parameters){ 14 12 15 13 /*Intermediary*/ 14 int i; 16 15 int noerr=1; 17 int i;18 Element* element=NULL;19 Load* load=NULL;20 Node* node=NULL;21 Material* material=NULL;22 16 int configuration_type; 17 Element *element = NULL; 18 Load *load = NULL; 19 Node *node = NULL; 20 Material *material = NULL; 23 21 24 22 /*Get analysis type: */ 25 23 parameters->FindParam(&configuration_type,ConfigurationTypeEnum); 26 24 27 if(VerboseMProcessor()) _p printLine_(" Configuring elements...");25 if(VerboseMProcessor()) _printf0_(" Configuring elements...\n"); 28 26 for (i=0;i<elements->Size();i++){ 29 27 element=dynamic_cast<Element*>(elements->GetObjectByOffset(i)); 30 element->Configure(elements,loads,nodes, materials,parameters);28 element->Configure(elements,loads,nodes,vertices,materials,parameters); 31 29 } 32 if(VerboseMProcessor()) _p printLine_(" Configuring loads...");30 if(VerboseMProcessor()) _printf0_(" Configuring loads...\n"); 33 31 for (i=0;i<loads->Size();i++){ 34 32 load=(Load*)loads->GetObjectByOffset(i); … … 37 35 } 38 36 } 39 if(VerboseMProcessor()) _p printLine_(" Configuring nodes...");37 if(VerboseMProcessor()) _printf0_(" Configuring nodes...\n"); 40 38 for (i=0;i<nodes->Size();i++){ 41 39 node=(Node*)nodes->GetObjectByOffset(i); … … 45 43 } 46 44 47 if(VerboseMProcessor()) _p printLine_(" Configuring materials...");45 if(VerboseMProcessor()) _printf0_(" Configuring materials...\n"); 48 46 for (i=0;i<materials->Size();i++){ 49 47 material=(Material*)materials->GetObjectByOffset(i); -
issm/trunk/src/c/modules/ConfigureObjectsx/ConfigureObjectsx.h
r4236 r15396 6 6 #define _CONFIGUREOBJECTSX_H 7 7 8 #include "../../ Container/Container.h"8 #include "../../classes/classes.h" 9 9 10 10 /* local prototypes: */ -
issm/trunk/src/c/modules/ConstraintsStatex/ConstraintsStateLocal.h
r13975 r15396 6 6 #define _CONSTRAINTSSTATELOCAL_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /*melting: */ -
issm/trunk/src/c/modules/ConstraintsStatex/ConstraintsStatex.cpp
r13975 r15396 6 6 #include "./ConstraintsStateLocal.h" 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 #include "../../io/io.h"10 8 #include "../../toolkits/toolkits.h" 11 #include "../../EnumDefinitions/EnumDefinitions.h"12 9 13 10 void ConstraintsStatex(int* pconverged, int* pnum_unstable_constraints, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads,Materials* materials, Parameters* parameters){ … … 20 17 21 18 /*Display message*/ 22 if(VerboseModule()) _p printLine_(" Constraining penalties");19 if(VerboseModule()) _printf0_(" Constraining penalties\n"); 23 20 24 21 /*recover parameters: */ … … 28 25 /*Do we have penalties linked to rifts? In this case, run our special rifts penalty 29 26 * management routine, otherwise, skip : */ 27 28 /*No constraints management by default!:*/ 29 num_unstable_constraints=0; 30 converged=1; 31 32 #ifdef _HAVE_RIFTS_ 30 33 if (RiftIsPresent(loads,analysis_type)){ 31 34 RiftConstraintsState(&converged,&num_unstable_constraints,loads,min_mechanical_constraints,analysis_type); 32 35 } 36 #endif 33 37 #ifdef _HAVE_THERMAL_ 34 elseif(ThermalIsPresent(loads,analysis_type)){38 if(ThermalIsPresent(loads,analysis_type)){ 35 39 ThermalConstraintsState(loads,&converged,&num_unstable_constraints,analysis_type); 36 40 } 37 41 #endif 38 else{39 /*Do nothing, no constraints management!:*/40 num_unstable_constraints=0;41 converged=1;42 }43 42 44 43 /*Assign output pointers: */ -
issm/trunk/src/c/modules/ConstraintsStatex/ConstraintsStatex.h
r13975 r15396 6 6 #define _CONSTRAINTSSTATEX_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* local prototypes: */ -
issm/trunk/src/c/modules/ConstraintsStatex/RiftConstraintsState.cpp
r13975 r15396 4 4 5 5 #include "./ConstraintsStateLocal.h" 6 #include "../../EnumDefinitions/EnumDefinitions.h"7 #include "../../include/include.h"8 #include "../../io/io.h"9 6 #include "../../shared/shared.h" 10 7 … … 54 51 } 55 52 else if(num_unstable_constraints<=min_mechanical_constraints){ 56 if(VerboseModule()) _p printLine_(" freezing constraints");53 if(VerboseModule()) _printf0_(" freezing constraints\n"); 57 54 RiftFreezeConstraints(loads,configuration_type); 58 55 } -
issm/trunk/src/c/modules/ContourToMeshx/ContourToMeshx.cpp
r13975 r15396 10 10 #include "./ContourToMeshx.h" 11 11 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) {12 int ContourToMeshx(double** pin_nod,double** pin_elem, double* index, double* x, double* y,Contours* contours,char* interptype,int nel,int nods, int edgevalue) { 13 13 14 14 /*Contour:*/ 15 double* in_nod_serial;16 15 double value; 17 16 … … 24 23 25 24 /*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); 30 29 31 30 /*initialize thread parameters: */ … … 40 39 LaunchThread(ContourToMeshxt,(void*)&gate,num); 41 40 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 48 41 /*Take care of the case where an element interpolation has been requested: */ 49 42 if ((strcmp(interptype,"element")==0) || (strcmp(interptype,"element and node")==0)){ 50 43 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; 53 46 } 54 47 } 55 48 } 56 57 /*Assemble vectors: */58 in_elem->Assemble();59 49 60 50 /*Assign output pointers: */ … … 62 52 *pin_elem=in_elem; 63 53 64 /*Free ressources:*/65 xDelete<double>(in_nod_serial);66 67 54 return 1; 68 55 } -
issm/trunk/src/c/modules/ContourToMeshx/ContourToMeshx.h
r13975 r15396 7 7 8 8 #include "../../shared/shared.h" 9 #include "../../classes/ objects/objects.h"9 #include "../../classes/classes.h" 10 10 11 11 /*threading: */ 12 12 typedef struct{ 13 13 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; 20 20 21 21 } ContourToMeshxThreadStruct; 22 22 23 23 /* 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);24 int ContourToMeshx(double** pin_nods,double** pin_elem, double* index, double* x, double* y,Contours* contours,char* interptype,int nel,int nods, int edgevalue); 25 25 26 26 void* ContourToMeshxt(void* vContourToMeshxThreadStruct); -
issm/trunk/src/c/modules/ContourToMeshx/ContourToMeshxt.cpp
r13975 r15396 26 26 27 27 /*Contour:*/ 28 DataSet* contours=NULL;28 Contours* contours=NULL; 29 29 30 30 /*parameters: */ … … 33 33 double* x=NULL; 34 34 double* y=NULL; 35 SeqVec<double>* in_nod=NULL;35 double* in_nod=NULL; 36 36 37 37 /*recover handle and gate: */ -
issm/trunk/src/c/modules/ContourToNodesx/ContourToNodesx.cpp
r13975 r15396 4 4 #include "./ContourToNodesx.h" 5 5 6 int ContourToNodesx( SeqVec<IssmPDouble>** pflags,double* x, double* y, int nods, Contour<IssmPDouble>** contours,int numcontours,int edgevalue){6 int ContourToNodesx(IssmPDouble** pflags,double* x, double* y, int nods, Contour<IssmPDouble>** contours,int numcontours,int edgevalue){ 7 7 8 8 int i; … … 15 15 16 16 /*output: */ 17 SeqVec<IssmPDouble>* flags=NULL;18 flags= new SeqVec<IssmPDouble>(nods);17 IssmPDouble* flags=NULL; 18 flags=xNew<IssmPDouble>(nods); 19 19 20 20 /*Loop through all contours: */ … … 27 27 } 28 28 29 /*Assemble vector: */30 flags->Assemble();31 32 29 /*Assign output pointers: */ 33 30 *pflags=flags; … … 35 32 } 36 33 37 int ContourToNodesx( SeqVec<IssmPDouble>** pflags,double* x, double* y, int nods, DataSet* contours, int edgevalue){34 int ContourToNodesx(IssmPDouble** pflags,double* x, double* y, int nods, Contours* contours, int edgevalue){ 38 35 39 36 /*Contour:*/ … … 43 40 44 41 /*output: */ 45 SeqVec<IssmPDouble>* flags=NULL;46 flags= new SeqVec<IssmPDouble>(nods);42 IssmPDouble* flags=NULL; 43 flags=xNewZeroInit<IssmPDouble>(nods); 47 44 48 45 /*Loop through all contours: */ … … 54 51 } 55 52 56 /*Assemble vector: */57 flags->Assemble();58 59 53 /*Assign output pointers: */ 60 54 *pflags=flags; -
issm/trunk/src/c/modules/ContourToNodesx/ContourToNodesx.h
r13395 r15396 7 7 8 8 #include "../../shared/shared.h" 9 #include "../../classes/ objects/objects.h"9 #include "../../classes/classes.h" 10 10 11 11 /* 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);12 int ContourToNodesx(IssmPDouble** pflags,double* x, double* y, int nods, Contour<IssmPDouble>** contours,int numcontours,int edgevalue); 13 int ContourToNodesx(IssmPDouble** pflags,double* x, double* y, int nods, Contours* contours, int edgevalue); 14 14 15 15 #endif /* _CONTOURTONODESX_H */ -
issm/trunk/src/c/modules/ControlInputGetGradientx/ControlInputGetGradientx.cpp
r13395 r15396 5 5 #include "./ControlInputGetGradientx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 #include "../../EnumDefinitions/EnumDefinitions.h"10 8 11 9 void 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 5 5 #define _CONTROLINPUTGETGRADIENTX_H 6 6 7 #include "../../classes/objects/objects.h" 8 #include "../../Container/Container.h" 7 #include "../../classes/classes.h" 9 8 10 9 void 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 5 5 #include "./ControlInputScaleGradientx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 #include "../../EnumDefinitions/EnumDefinitions.h"10 8 11 9 void 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 5 5 #define _CONTROLINPUTSSCALEGRADIENTX_H 6 6 7 #include "../../classes/objects/objects.h" 8 #include "../../Container/Container.h" 7 #include "../../classes/classes.h" 9 8 10 9 void 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 5 5 #include "./ControlInputSetGradientx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 #include "../../EnumDefinitions/EnumDefinitions.h"10 8 11 9 void 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 5 5 #define _CONTROLINPUTSSETGRADIENTX_H 6 6 7 #include "../../classes/objects/objects.h" 8 #include "../../Container/Container.h" 7 #include "../../classes/classes.h" 9 8 10 9 void 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 6 6 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 8 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 9 12 10 void CreateNodalConstraintsx( Vector<IssmDouble>** pys, Nodes* nodes,int configuration_type){ … … 16 14 /*output: */ 17 15 Vector<IssmDouble>* ys=NULL; 16 int ssize; 17 int slocalsize; 18 19 if(VerboseModule()) _printf0_(" Create nodal constraints\n"); 18 20 19 21 /*figure out how many dofs we have: */ 20 intssize=nodes->NumberOfDofs(configuration_type,SsetEnum);21 intslocalsize = nodes->NumberOfDofsLocal(configuration_type,SsetEnum);22 ssize=nodes->NumberOfDofs(configuration_type,SsetEnum); 23 slocalsize = nodes->NumberOfDofsLocal(configuration_type,SsetEnum); 22 24 23 25 /*allocate:*/ -
issm/trunk/src/c/modules/CreateNodalConstraintsx/CreateNodalConstraintsx.h
r13395 r15396 5 5 #define _CREATENODALCONSTRAINTSX_H 6 6 7 #include "../../Container/Container.h" 8 #include "../../classes/objects/objects.h" 7 #include "../../classes/classes.h" 9 8 10 9 /* local prototypes: */ -
issm/trunk/src/c/modules/Delta18oParameterizationx/Delta18oParameterizationx.cpp
r13975 r15396 5 5 #include "./Delta18oParameterizationx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 #include "../../io/io.h"9 7 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 8 12 9 void Delta18oParameterizationx(Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads,Materials* materials, Parameters* parameters){ -
issm/trunk/src/c/modules/Delta18oParameterizationx/Delta18oParameterizationx.h
r13395 r15396 6 6 #define _DELTA18OPARAMETERIZATIONX_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* local prototypes: */ -
issm/trunk/src/c/modules/DragCoefficientAbsGradientx/DragCoefficientAbsGradientx.cpp
r13975 r15396 6 6 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 8 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 9 12 void DragCoefficientAbsGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters, bool process_units,int weight_index){10 void DragCoefficientAbsGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,int weight_index){ 13 11 14 12 /*Intermediary*/ … … 23 21 for (i=0;i<elements->Size();i++){ 24 22 element=dynamic_cast<Element*>(elements->GetObjectByOffset(i)); 25 J+=element->DragCoefficientAbsGradient( process_units,weight_index);23 J+=element->DragCoefficientAbsGradient(weight_index); 26 24 } 27 25 -
issm/trunk/src/c/modules/DragCoefficientAbsGradientx/DragCoefficientAbsGradientx.h
r13395 r15396 6 6 #define _DRAGCOEFFABSGRADX_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* 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);11 void DragCoefficientAbsGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,int weight_index); 13 12 14 13 #endif -
issm/trunk/src/c/modules/ElementConnectivityx/ElementConnectivityx.cpp
r14067 r15396 11 11 12 12 #include "../../shared/shared.h" 13 #include "../../include/include.h"14 13 #include "../../toolkits/toolkits.h" 15 #include "../../EnumDefinitions/EnumDefinitions.h"16 14 17 15 int hascommondedge(int* element1,int* element2); -
issm/trunk/src/c/modules/Exp2Kmlx/Exp2Kmlx.cpp
r13975 r15396 5 5 #include "./Exp2Kmlx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h" 8 #include "../../io/io.h" 7 #include "../../kml/kmlobjects.h" 9 8 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 #include "../modules.h"12 9 13 10 int Exp2Kmlx(char* filexp,char* filkml,int sgn,bool holes){ … … 50 47 clock0=clock(); 51 48 time0 =time(NULL); 52 _p printString_("\nExp2Kmlx Module -- " << ctime(&time0));49 _printf0_("\nExp2Kmlx Module -- " << ctime(&time0)); 53 50 54 51 /*read exp file */ 55 52 56 if (! DomainOutlineRead(&nprof,&pnvert,&pprofx,&pprofy,&closed,filexp))53 if (!ExpRead(&nprof,&pnvert,&pprofx,&pprofy,&closed,filexp)) 57 54 _error_("Error reading exp file."); 58 _p printLine_("Exp2Kmlx -- Reading " << nprof << " exp profiles from file \"" << filexp << "\".");55 _printf0_("Exp2Kmlx -- Reading " << nprof << " exp profiles from file \"" << filexp << "\".\n"); 59 56 // for (i=0; i<nprof; i++) 60 // _print Line_("i=" << i << "; nvert=" << pnvert[i] << ", closed=" << closed[i]);57 // _printf_("i=" << i << "; nvert=" << pnvert[i] << ", closed=" << closed[i] << "\n"); 61 58 62 59 /* construct kml file */ … … 121 118 122 119 if (holes && nprof && (pnvert[0] <= 1 || pprofx[0][pnvert[0]-1] != pprofx[0][0] || pprofy[0][pnvert[0]-1] != pprofy[0][0])) { 123 _p printLine_("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"); 124 121 holes=false; 125 122 } … … 153 150 for (i=1; i<nprof; i++) { 154 151 if (pnvert[i] <= 1 || pprofx[i][pnvert[i]-1] != pprofx[i][0] || pprofy[i][pnvert[i]-1] != pprofy[i][0]) { 155 _p printLine_("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"); 156 153 continue; 157 154 } … … 275 272 /* write kml file */ 276 273 277 _p printLine_("Exp2Kmlx -- Writing kml document to file \"" << filkml << "\".");274 _printf0_("Exp2Kmlx -- Writing kml document to file \"" << filkml << "\".\n"); 278 275 fid=fopen(filkml,"w"); 279 276 fprintf(fid,"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); … … 290 287 clock1=clock(); 291 288 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"); 294 290 295 291 return(iret); -
issm/trunk/src/c/modules/Exp2Kmlx/Exp2Kmlx.h
r13395 r15396 7 7 8 8 #include <float.h> /* DBL_MAX */ 9 #include "../../Container/Container.h" 10 #include "../../classes/objects/objects.h" 9 #include "../../classes/classes.h" 11 10 12 11 /* local prototypes: */ -
issm/trunk/src/c/modules/GetSolutionFromInputsx/GetSolutionFromInputsx.cpp
r13975 r15396 5 5 #include "./GetSolutionFromInputsx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 #include "../../EnumDefinitions/EnumDefinitions.h"10 8 11 9 void GetSolutionFromInputsx( Vector<IssmDouble>** psolution, Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads, Materials* materials, Parameters* parameters){ … … 20 18 /*output: */ 21 19 Vector<IssmDouble>* solution=NULL; 20 21 if(VerboseModule()) _printf0_(" Get solution from inputs\n"); 22 22 23 23 /*retrive parameters: */ -
issm/trunk/src/c/modules/GetSolutionFromInputsx/GetSolutionFromInputsx.h
r13975 r15396 6 6 #define _GETSOLUTIONFROMINPUTSXX_H 7 7 8 #include "../../classes/objects/objects.h" 9 #include "../../Container/Container.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* local prototypes: */ -
issm/trunk/src/c/modules/GetVectorFromControlInputsx/GetVectorFromControlInputsx.cpp
r13975 r15396 5 5 #include "./GetVectorFromControlInputsx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 #include "../../EnumDefinitions/EnumDefinitions.h"10 8 11 9 void GetVectorFromControlInputsx(Vector<IssmDouble>** pvector, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,const char* data){ … … 48 46 49 47 /*Free ressources:*/ 50 xdelete(&vec_vector);48 delete vec_vector; 51 49 52 50 /*Assign output pointers:*/ -
issm/trunk/src/c/modules/GetVectorFromControlInputsx/GetVectorFromControlInputsx.h
r13975 r15396 5 5 #define _GETVECTORFROMCONTROLINPUTSXX_H 6 6 7 #include "../../classes/objects/objects.h" 8 #include "../../Container/Container.h" 7 #include "../../classes/classes.h" 9 8 10 9 /* local prototypes: */ -
issm/trunk/src/c/modules/GetVectorFromInputsx/GetVectorFromInputsx.cpp
r13975 r15396 5 5 #include "./GetVectorFromInputsx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 #include "../../EnumDefinitions/EnumDefinitions.h"10 8 11 9 void GetVectorFromInputsx( Vector<IssmDouble>** pvector, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters, int name, int type){ … … 53 51 54 52 /*Free ressources:*/ 55 xdelete(&vec_vector);53 delete vec_vector; 56 54 57 55 /*Assign output pointers:*/ -
issm/trunk/src/c/modules/GetVectorFromInputsx/GetVectorFromInputsx.h
r13975 r15396 5 5 #define _GETVECTORFROMINPUTSXX_H 6 6 7 #include "../../classes/objects/objects.h" 8 #include "../../Container/Container.h" 7 #include "../../classes/classes.h" 9 8 10 9 /* local prototypes: */ -
issm/trunk/src/c/modules/Gradjx/Gradjx.cpp
r13975 r15396 4 4 5 5 #include "./Gradjx.h" 6 #include "../modules.h"7 6 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 7 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 8 12 9 void Gradjx(Vector<IssmDouble>** pgradient,IssmDouble** pnorm_list, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters){ … … 49 46 for(i=0;i<num_controls;i++){ 50 47 gradient->AXPY(gradient_list[i],1.0); 51 xdelete(&gradient_list[i]);48 delete gradient_list[i]; 52 49 } 53 50 -
issm/trunk/src/c/modules/Gradjx/Gradjx.h
r13395 r15396 6 6 #define _GRADJX_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* local prototypes: */ -
issm/trunk/src/c/modules/GroundinglineMigrationx/GroundinglineMigrationx.cpp
r13975 r15396 4 4 5 5 #include "../../shared/shared.h" 6 #include "../../io/io.h"7 #include "../../include/include.h"8 6 #include "../../toolkits/toolkits.h" 9 #include "../../EnumDefinitions/EnumDefinitions.h" 10 #include "../../Container/Container.h" 7 #include "../../classes/classes.h" 11 8 #include "./GroundinglineMigrationx.h" 12 9 13 10 void GroundinglineMigrationx(Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads,Materials* materials, Parameters* parameters){ 14 11 15 int i,migration_style,analysis_type;16 IssmDouble *vertices_potentially_ungrounding = NULL;17 IssmDouble *vertices_ungrounding = NULL;18 IssmDouble *old_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; 21 18 22 if(VerboseModule()) _p printLine_(" Migrating grounding line");19 if(VerboseModule()) _printf0_(" Migrating grounding line\n"); 23 20 24 21 /*retrieve parameters: */ … … 27 24 28 25 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); 30 35 31 36 if(migration_style==SoftMigrationEnum){ 32 37 /*Create flag for grounded vertices above the hydrostatic equilibrium: */ 33 vertices_potentially_ungrounding=Potential SheetUngrounding(elements,vertices,parameters);38 vertices_potentially_ungrounding=PotentialUngrounding(elements,vertices,parameters); 34 39 35 40 /*propagate ice shelf into connex areas of the ice sheet that potentially want to unground: */ … … 42 47 43 48 /*Migrate grounding line : */ 44 for(i =0;i<elements->Size();i++){49 for(int i=0;i<elements->Size();i++){ 45 50 element=dynamic_cast<Element*>(elements->GetObjectByOffset(i)); 46 51 element->MigrateGroundingLine(old_floatingice,vertices_ungrounding); … … 48 53 49 54 /*free ressouces: */ 50 xdelete(&vec_old_floatingice);55 delete vec_old_floatingice; 51 56 xDelete<IssmDouble>(vertices_potentially_ungrounding); 52 57 xDelete<IssmDouble>(vertices_ungrounding); … … 81 86 } 82 87 /*%}}}*/ 83 /*FUNCTION Potential SheetUngrounding {{{*/84 IssmDouble* Potential SheetUngrounding(Elements* elements,Vertices* vertices,Parameters* parameters){88 /*FUNCTION PotentialUngrounding {{{*/ 89 IssmDouble* PotentialUngrounding(Elements* elements,Vertices* vertices,Parameters* parameters){ 85 90 86 91 int i,numberofvertices; … … 96 101 for(i=0;i<elements->Size();i++){ 97 102 element=dynamic_cast<Element*>(elements->GetObjectByOffset(i)); 98 element->Potential SheetUngrounding(vec_vertices_potentially_ungrounding);103 element->PotentialUngrounding(vec_vertices_potentially_ungrounding); 99 104 } 100 105 … … 104 109 105 110 /*free ressouces and return: */ 106 xdelete(&vec_vertices_potentially_ungrounding);111 delete vec_vertices_potentially_ungrounding; 107 112 return vertices_potentially_ungrounding; 108 113 } … … 150 155 element=dynamic_cast<Element*>(elements->GetObjectByOffset(i)); 151 156 if(reCast<int,IssmDouble>(elements_neighboring_floatingce[element->Sid()])){ 152 local_nflipped+=element->UpdatePotential SheetUngrounding(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); 153 158 } 154 159 } … … 157 162 #ifdef _HAVE_MPI_ 158 163 MPI_Allreduce(&local_nflipped,&nflipped,1,MPI_INT,MPI_SUM,IssmComm::GetComm()); 159 if(VerboseConvergence()) _p printLine_(" Additional number of vertices allowed to unground: " << nflipped);164 if(VerboseConvergence()) _printf0_(" Additional number of vertices allowed to unground: " << nflipped << "\n"); 160 165 #else 161 166 nflipped=local_nflipped; … … 167 172 168 173 /*Assemble and serialize:*/ 169 xdelete(&vec_elements_neighboring_floatingice);174 delete vec_elements_neighboring_floatingice; 170 175 nodes_on_floatingice=vec_nodes_on_floatingice->ToMPISerial(); 171 176 } 172 177 173 178 /*Free ressources:*/ 174 xdelete(&vec_nodes_on_floatingice);179 delete vec_nodes_on_floatingice; 175 180 xDelete<IssmDouble>(elements_neighboring_floatingce); 176 181 -
issm/trunk/src/c/modules/GroundinglineMigrationx/GroundinglineMigrationx.h
r13395 r15396 14 14 void GroundinglineMigrationx(Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads,Materials* materials, Parameters* parameters); 15 15 16 Vector<IssmDouble>* 17 IssmDouble* Potential SheetUngrounding(Elements* elements,Vertices* vertices,Parameters* parameters);16 Vector<IssmDouble>* CreateNodesOnFloatingIce(Nodes* nodes,int configuration_type); 17 IssmDouble* PotentialUngrounding(Elements* elements,Vertices* vertices,Parameters* parameters); 18 18 IssmDouble* PropagateFloatingiceToGroundedNeighbors(Elements* elements,Nodes* nodes,Vertices* vertices,Parameters* parameters,IssmDouble* vertices_potentially_ungrounding); 19 19 #endif /* _GROUNDINGLINEMIGRATIONX_H */ -
issm/trunk/src/c/modules/HoleFillerx/HoleFillerx.cpp
r13975 r15396 69 69 } 70 70 } 71 _print Line_( "");72 _print String_("Number of zeroes remaining: " << lines*samps-counter);71 _printf_( "" << "\n"); 72 _printf_("Number of zeroes remaining: " << lines*samps-counter); 73 73 fflush( stdout ); 74 74 #endif … … 88 88 } 89 89 // 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 _print String_( "\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 _print String_("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); 92 92 fflush( stdout ); 93 93 #endif … … 97 97 /***************** FIRST RUN *********************/ 98 98 /* 99 fprintf ( stdout, "First Application: " ); time(&t2); _print String_( ctime(&t2) );99 fprintf ( stdout, "First Application: " ); time(&t2); _printf_( ctime(&t2) ); 100 100 */ 101 101 for ( i = 0; i < lines; i++ ){ … … 268 268 269 269 #ifdef _DEBUG2_ 270 //_print Line_(temp << " " << elev << " " << range << "");270 //_printf_(temp << " " << elev << " " << range << " \n"); 271 271 #endif 272 272 … … 337 337 338 338 #ifdef _DEBUG2_ 339 _print String_( "\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 _print Line_("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"); 341 341 printf ( "\n"); 342 342 #endif -
issm/trunk/src/c/modules/InputArtificialNoisex/InputArtificialNoisex.cpp
r13975 r15396 5 5 #include "./InputArtificialNoisex.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 #include "../../EnumDefinitions/EnumDefinitions.h"10 8 11 9 void 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 6 6 #define _INPUTARTIFICIALNOISEX_H 7 7 8 #include "../../classes/objects/objects.h" 9 #include "../../Container/Container.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* local prototypes: */ -
issm/trunk/src/c/modules/InputControlUpdatex/InputControlUpdatex.cpp
r13975 r15396 5 5 #include "./InputControlUpdatex.h" 6 6 #include "../../shared/shared.h" 7 #include "../../ include/include.h"7 #include "../../classes/classes.h" 8 8 #include "../../toolkits/toolkits.h" 9 #include "../../EnumDefinitions/EnumDefinitions.h"10 9 11 10 void 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 6 6 #define _INPUTCONTROLUPDATEX_H 7 7 8 #include "../../ Container/Container.h"8 #include "../../classes/classes.h" 9 9 10 10 /* local prototypes: */ -
issm/trunk/src/c/modules/InputDuplicatex/InputDuplicatex.cpp
r13975 r15396 5 5 #include "./InputDuplicatex.h" 6 6 #include "../../shared/shared.h" 7 #include "../../ include/include.h"7 #include "../../classes/classes.h" 8 8 #include "../../toolkits/toolkits.h" 9 #include "../../EnumDefinitions/EnumDefinitions.h"10 9 11 10 void InputDuplicatex(Elements* elements,Nodes* nodes,Vertices* vertices,Loads* loads,Materials* materials,Parameters* parameters,int original_enum, int new_enum){ … … 19 18 for(i=0;i<materials->Size();i++){ 20 19 Material* material=(Material*)materials->GetObjectByOffset(i); 21 //material->InputDuplicate(original_enum,new_enum);20 material->InputDuplicate(original_enum,new_enum); 22 21 } 23 22 -
issm/trunk/src/c/modules/InputDuplicatex/InputDuplicatex.h
r13975 r15396 6 6 #define _INPUTDUPLICATEX_H 7 7 8 #include "../../ Container/Container.h"8 #include "../../classes/classes.h" 9 9 10 10 /* local prototypes: */ -
issm/trunk/src/c/modules/InputScalex/InputScalex.cpp
r13975 r15396 5 5 #include "./InputScalex.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 #include "../../ EnumDefinitions/EnumDefinitions.h"8 #include "../../classes/classes.h" 10 9 11 10 void 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 6 6 #define _SCALEINPUTX_H 7 7 8 #include "../../ Container/Container.h"8 #include "../../classes/classes.h" 9 9 10 10 /* local prototypes: */ -
issm/trunk/src/c/modules/InputToResultx/InputToResultx.cpp
r13975 r15396 5 5 #include "./InputToResultx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../ include/include.h"7 #include "../../classes/classes.h" 8 8 #include "../../toolkits/toolkits.h" 9 #include "../../EnumDefinitions/EnumDefinitions.h"10 9 11 10 void 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 6 6 #define _INPUTTORESULTX_H 7 7 8 #include "../../ Container/Container.h"8 #include "../../classes/classes.h" 9 9 10 10 /* local prototypes: */ -
issm/trunk/src/c/modules/InputUpdateFromConstantx/InputUpdateFromConstantx.cpp
r13975 r15396 5 5 #include "./InputUpdateFromConstantx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 #include "../../EnumDefinitions/EnumDefinitions.h"10 8 11 9 void InputUpdateFromConstantx( Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,bool constant, int name){ 12 10 13 11 int i; 12 if(VerboseModule()) _printf0_(" Input updates from constant\n"); 14 13 15 14 /*Elements and loads drive the update: */ … … 32 31 33 32 int i; 33 if(VerboseModule()) _printf0_(" Input updates from constant\n"); 34 34 35 35 /*Elements and loads drive the update: */ … … 52 52 53 53 int i; 54 if(VerboseModule()) _printf0_(" Input updates from constant\n"); 54 55 55 56 /*Elements and loads drive the update: */ -
issm/trunk/src/c/modules/InputUpdateFromConstantx/InputUpdateFromConstantx.h
r13975 r15396 6 6 #define _UPDATEINPUTSFROMCONSTANTXX_H 7 7 8 #include "../../classes/objects/objects.h" 9 #include "../../Container/Container.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* local prototypes: */ -
issm/trunk/src/c/modules/InputUpdateFromDakotax/InputUpdateFromDakotax.cpp
r13975 r15396 5 5 #include "./InputUpdateFromDakotax.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #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" 11 11 12 12 void 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 6 6 #define _INPUTUPDATEFROMDAKOTAXX_H 7 7 8 #include "../../classes/objects/objects.h" 9 #include "../../Container/Container.h" 8 #include "../../classes/classes.h" 10 9 11 10 void 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 5 5 #include "./InputUpdateFromMatrixDakotax.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 #include "../../EnumDefinitions/EnumDefinitions.h" 10 #include "../modules.h" 8 #include "../InputUpdateFromVectorDakotax/InputUpdateFromVectorDakotax.h" 11 9 12 10 void 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 6 6 #define _UPDATEINPUTSFROMMATRIXDAKOTAXX_H 7 7 8 #include "../../classes/objects/objects.h" 9 #include "../../Container/Container.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* local prototypes: */ -
issm/trunk/src/c/modules/InputUpdateFromSolutionx/InputUpdateFromSolutionx.cpp
r13975 r15396 5 5 #include "./InputUpdateFromSolutionx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 #include "../../EnumDefinitions/EnumDefinitions.h"10 8 11 9 void 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 6 6 #define _UPDATEINPUTSFROMSOLUTIONXX_H 7 7 8 #include "../../classes/objects/objects.h" 9 #include "../../Container/Container.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* local prototypes: */ -
issm/trunk/src/c/modules/InputUpdateFromVectorDakotax/InputUpdateFromVectorDakotax.cpp
r13975 r15396 5 5 #include "./InputUpdateFromVectorDakotax.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 #include "../../EnumDefinitions/EnumDefinitions.h"10 8 11 9 void 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 6 6 #define _UPDATEINPUTSFROMVECTORDAKOTAXX_H 7 7 8 #include "../../classes/objects/objects.h" 9 #include "../../Container/Container.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* local prototypes: */ -
issm/trunk/src/c/modules/InputUpdateFromVectorx/InputUpdateFromVectorx.cpp
r13975 r15396 5 5 #include "./InputUpdateFromVectorx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 #include "../../EnumDefinitions/EnumDefinitions.h"10 8 11 9 void 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 6 6 #define _UPDATEINPUTSFROMVECTORXX_H 7 7 8 #include "../../classes/objects/objects.h" 9 #include "../../Container/Container.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* local prototypes: */ -
issm/trunk/src/c/modules/InterpFromGridToMeshx/InterpFromGridToMeshx.cpp
r13975 r15396 12 12 #include "./InterpFromGridToMeshx.h" 13 13 #include "../../shared/shared.h" 14 #include "../../include/include.h" 15 #include "../../io/io.h" 14 #include "../../shared/io/io.h" 16 15 /*}}}*/ 17 16 18 17 /*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){18 int 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){ 20 19 21 20 /*output: */ 22 SeqVec<IssmPDouble>* data_mesh=NULL;21 IssmSeqVec<IssmPDouble>* data_mesh=NULL; 23 22 24 23 /*Intermediary*/ … … 46 45 47 46 /*Allocate output vector: */ 48 data_mesh=new SeqVec<IssmPDouble>(nods);47 data_mesh=new IssmSeqVec<IssmPDouble>(nods); 49 48 50 49 /*Find out what kind of coordinates (x_in,y_in) have been given is input*/ … … 88 87 /*launch the thread manager with InterpFromGridToMeshxt as a core: */ 89 88 LaunchThread(InterpFromGridToMeshxt,(void*)&gate,num); 90 _print Line_("\r interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");89 _printf_("\r interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%\n"); 91 90 92 91 /*Assign output pointers:*/ 93 92 *pdata_mesh=data_mesh; 93 return 1; 94 94 } 95 95 /*}}}*/ … … 126 126 double *y = gate->y; 127 127 int nods = gate->nods; 128 SeqVec<IssmPDouble>*data_mesh = gate->data_mesh;128 IssmSeqVec<IssmPDouble>*data_mesh = gate->data_mesh; 129 129 double *data = gate->data; 130 130 double default_value = gate->default_value; … … 141 141 142 142 if(debug && my_thread==0) 143 _print String_("\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<<"%"); 144 144 x_grid=*(x_mesh+i); 145 145 y_grid=*(y_mesh+i); … … 177 177 break; 178 178 default: 179 _print Line_("Interpolation " << EnumToStringx(interpenum) << " not supported yet");179 _printf_("Interpolation " << EnumToStringx(interpenum) << " not supported yet\n"); 180 180 return NULL; /*WARNING: no error because it would blow up the multithreading!*/ 181 181 } -
issm/trunk/src/c/modules/InterpFromGridToMeshx/InterpFromGridToMeshx.h
r13395 r15396 6 6 #define _INTERPFROMGRIDTOMESHX_H 7 7 8 #include "../../classes/ objects/objects.h"8 #include "../../classes/classes.h" 9 9 #include "../../toolkits/toolkits.h" 10 #include "../../ EnumDefinitions/EnumDefinitions.h"10 #include "../../shared/shared.h" 11 11 12 12 /*threading: */ … … 24 24 double* x_mesh; 25 25 double* y_mesh; 26 SeqVec<IssmPDouble>* data_mesh;26 IssmSeqVec<IssmPDouble>* data_mesh; 27 27 } InterpFromGridToMeshxThreadStruct; 28 28 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);29 int 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); 30 30 void* InterpFromGridToMeshxt(void* vInterpFromGridToMeshxThreadStruct); 31 31 bool 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 5 5 #include "./InterpFromMesh2dx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 #include "../../classes/ objects/objects.h"10 #include "../ modules.h"8 #include "../../classes/classes.h" 9 #include "../ContourToNodesx/ContourToNodesx.h" 11 10 12 int InterpFromMesh2dx( SeqVec<IssmPDouble>** pdata_prime,11 int InterpFromMesh2dx(IssmSeqVec<IssmPDouble>** pdata_prime, 13 12 double* index_data, double* x_data, double* y_data, int nods_data,int nels_data, double* data, int data_length, 14 13 double* x_prime, double* y_prime, int nods_prime, … … 16 15 17 16 /*Output*/ 18 SeqVec<IssmPDouble>* data_prime=NULL;17 IssmSeqVec<IssmPDouble>* data_prime=NULL; 19 18 20 19 /*Intermediary*/ … … 26 25 27 26 /*contours: */ 28 SeqVec<IssmPDouble> *vec_incontour = NULL;29 27 double *incontour = NULL; 30 28 … … 70 68 71 69 /*Initialize output*/ 72 data_prime=new SeqVec<IssmPDouble>(nods_prime);70 data_prime=new IssmSeqVec<IssmPDouble>(nods_prime); 73 71 if(num_default_values){ 74 72 if(num_default_values==1)for (i=0;i<nods_prime;i++) data_prime->SetValue(i,default_values[0],INS_VAL); … … 78 76 /*Build indices of contour: */ 79 77 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); 82 79 } 83 80 else{ … … 112 109 xDelete<double>(incontour); 113 110 *pdata_prime=data_prime; 111 return 1; 114 112 } -
issm/trunk/src/c/modules/InterpFromMesh2dx/InterpFromMesh2dx.h
r13975 r15396 6 6 #define _INTERPFROMMESH2DX_H 7 7 8 #include "../../classes/ objects/objects.h"8 #include "../../classes/classes.h" 9 9 #include "../../toolkits/toolkits.h" 10 10 … … 22 22 double ymin,ymax; 23 23 int nods_prime; 24 SeqVec<IssmPDouble> *data_prime;24 IssmSeqVec<IssmPDouble> *data_prime; 25 25 double *x_prime; 26 26 double *y_prime; … … 31 31 } InterpFromMesh2dxThreadStruct; 32 32 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,33 int 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, 34 34 double* default_values,int num_default_values,Contour<IssmPDouble>** contours,int numcontours); 35 35 -
issm/trunk/src/c/modules/InterpFromMesh2dx/InterpFromMesh2dxt.cpp
r13975 r15396 32 32 double ymax = gate->ymax; 33 33 int nods_prime = gate->nods_prime; 34 SeqVec<IssmPDouble>* data_prime = gate->data_prime;34 IssmSeqVec<IssmPDouble>* data_prime = gate->data_prime; 35 35 double *x_prime = gate->x_prime; 36 36 double *y_prime = gate->y_prime; … … 47 47 /*display current iteration*/ 48 48 if (debug && my_thread==0 && fmod((double)i,(double)100)==0) 49 _print String_("\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<<"%"); 50 50 51 51 /*if there is no point inside the domain, go to next iteration*/ … … 99 99 } 100 100 if(debug && my_thread==0) 101 _print Line_("\r interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");101 _printf_("\r interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%\n"); 102 102 return NULL; 103 103 } -
issm/trunk/src/c/modules/InterpFromMeshToGridx/InterpFromMeshToGridx.cpp
r13975 r15396 5 5 #include "./InterpFromMeshToGridx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 9 8 void 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) { … … 20 19 bool debug; 21 20 int xflip,yflip; 22 double area ,ymin;21 double area; 23 22 double area_1,area_2,area_3; 24 23 double x_tria_min,y_tria_min; … … 52 51 debug=(bool)((double)ncols*nlines*nels >= 5*pow(10.,10.)); 53 52 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 } 54 59 /*figure out if x or y are flipped*/ 55 60 if (xposting<0) xflip=1; … … 58 63 else yflip=0; 59 64 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;64 65 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 }71 66 72 67 /*Get extreme coordinates of the grid*/ 73 68 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]; 75 72 } 76 73 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]; 78 77 } 79 78 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]; 81 82 } 82 83 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]; 84 87 } 85 88 … … 89 92 /*display current iteration*/ 90 93 if (debug && fmod((double)n,(double)100)==0) 91 _print String_("\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<<"%"); 92 95 93 96 /*Get extrema coordinates of current elements*/ … … 169 172 } 170 173 if (debug) 171 _print Line_("\r interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");174 _printf_("\r interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%\n"); 172 175 173 176 /*Assign output pointers:*/ -
issm/trunk/src/c/modules/InterpFromMeshToMesh2dx/InterpFromMeshToMesh2dx.cpp
r13975 r15396 5 5 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 #include "../../classes/ objects/objects.h"10 #include "../ modules.h"8 #include "../../classes/classes.h" 9 #include "../../bamg/bamgobjects.h" 11 10 12 11 using namespace bamg; … … 69 68 /*Loop over output nodes*/ 70 69 for(i=0;i<N_interp;i++){ 71 //if(i%100==0) _print String_("\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.<<"%"); 72 71 73 72 if(isdefault){ … … 143 142 } 144 143 } 145 //if(N_interp>=100) _print Line_("\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"); 146 145 147 146 /*clean-up and return*/ -
issm/trunk/src/c/modules/InterpFromMeshToMesh3dx/InterpFromMeshToMesh3dx.cpp
r13395 r15396 5 5 #include "./InterpFromMeshToMesh3dx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 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) {8 int 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) { 10 9 11 10 /*Output*/ 12 SeqVec<IssmPDouble>* data_prime=NULL;11 IssmSeqVec<IssmPDouble>* data_prime=NULL; 13 12 14 13 /*Intermediary*/ … … 54 53 55 54 /*Initialize output*/ 56 data_prime=new SeqVec<IssmPDouble>(nods_prime);55 data_prime=new IssmSeqVec<IssmPDouble>(nods_prime); 57 56 for (i=0;i<nods_prime;i++) data_prime->SetValue(i,default_value,INS_VAL); 58 57 … … 62 61 /*display current iteration*/ 63 62 if (debug && fmod((double)i,(double)100)==0) 64 _print String_("\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<<"%"); 65 64 66 65 /*Get extrema coordinates of current elements*/ … … 133 132 } 134 133 if (debug) 135 _print Line_("\r interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");134 _printf_("\r interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%\n"); 136 135 137 136 /*Assign output pointers:*/ 138 137 *pdata_prime=data_prime; 138 return 1; 139 139 } -
issm/trunk/src/c/modules/InterpFromMeshToMesh3dx/InterpFromMeshToMesh3dx.h
r13395 r15396 7 7 8 8 #include "../../toolkits/toolkits.h" 9 #include "../../classes/ objects/objects.h"9 #include "../../classes/classes.h" 10 10 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);11 int 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); 12 12 13 13 #endif /* _INTERPFROMMESHTOMESH3DX_H */ -
issm/trunk/src/c/modules/IoModelToConstraintsx/IoModelToConstraintsx.cpp
r13975 r15396 5 5 #include "./IoModelToConstraintsx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../io/io.h"8 #include "../../include/include.h"9 7 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 8 12 9 void IoModelToConstraintsx(Constraints* constraints,IoModel* iomodel,int vector_enum,int analysis_type){ … … 14 11 /*intermediary: */ 15 12 int i,j; 13 IssmDouble yts; 16 14 bool transient = false; 17 15 FILE *fid = NULL; … … 30 28 /*Fetch parameters: */ 31 29 iomodel->Constant(&numberofvertices,MeshNumberofverticesEnum); 30 iomodel->Constant(&yts,ConstantsYtsEnum); 32 31 33 32 /*First of, find the record for the enum, and get code of data type: */ … … 67 66 times=xNew<IssmDouble>(N); 68 67 for(j=0;j<N;j++){ 69 times[j]=IssmDoublevector[(M-1)*N+j] ;68 times[j]=IssmDoublevector[(M-1)*N+j]*yts; 70 69 } 71 /*unit conversion: */72 UnitConversion(times,N,ExtToIuEnum,TimeEnum);73 70 74 71 /*Create constraints from x,y,z: */ -
issm/trunk/src/c/modules/IoModelToConstraintsx/IoModelToConstraintsx.h
r13395 r15396 5 5 #define _IOMODEL_TO_CONSTRAINTS_H_ 6 6 7 #include "../../Container/Container.h" 8 #include "../../classes/objects/objects.h" 7 #include "../../classes/classes.h" 9 8 10 9 /* local prototypes: */ -
issm/trunk/src/c/modules/KMLFileReadx/KMLFileReadx.cpp
r13975 r15396 4 4 #include "./KMLFileReadx.h" 5 5 #include "../../shared/shared.h" 6 #include "../../include/include.h"7 #include "../../io/io.h"8 6 #include "../../toolkits/toolkits.h" 9 #include "../../EnumDefinitions/EnumDefinitions.h"10 7 11 8 KML_Object* KMLFileReadx(FILE* fid){ … … 21 18 clock0=clock(); 22 19 time0 =time(NULL); 23 _p printString_("\nKMLFileReadx Module -- " << ctime(&time0));20 _printf0_("\nKMLFileReadx Module -- " << ctime(&time0)); 24 21 25 22 /* read kml file */ … … 43 40 } 44 41 45 // _p printLine_(kstr);42 // _printf0_(kstr << "\n"); 46 43 xDelete<char>(kstr); 47 44 } 48 45 49 46 if (kxml) { 50 _p printLine_("XML declaration:");47 _printf0_("XML declaration:\n"); 51 48 kxml->DeepEcho(" "); 52 49 delete kxml; 53 50 } 54 51 if (kdtd) { 55 _p printLine_("DTD declaration (not yet implemented):");52 _printf0_("DTD declaration (not yet implemented):\n"); 56 53 kdtd->DeepEcho(" "); 57 54 delete kdtd; … … 60 57 clock1=clock(); 61 58 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"); 64 60 65 61 return(kfil); -
issm/trunk/src/c/modules/KMLFileReadx/KMLFileReadx.h
r13395 r15396 7 7 8 8 #include <float.h> /* DBL_MAX */ 9 #include "../../Container/Container.h" 10 #include "../../classes/objects/objects.h" 9 #include "../../kml/kmlobjects.h" 11 10 12 11 /* local prototypes: */ -
issm/trunk/src/c/modules/KMLMeshWritex/KMLMeshWritex.cpp
r13395 r15396 4 4 #include "./KMLMeshWritex.h" 5 5 #include "../../shared/shared.h" 6 #include "../../include/include.h"7 #include "../../io/io.h"8 6 #include "../../toolkits/toolkits.h" 9 #include "../../EnumDefinitions/EnumDefinitions.h"10 7 11 8 void 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){ … … 29 26 clock0=clock(); 30 27 time0 =time(NULL); 31 _p printString_("\nKMLMeshWritex Module -- " << ctime(&time0));28 _printf0_("\nKMLMeshWritex Module -- " << ctime(&time0)); 32 29 33 30 /* construct kml document */ … … 83 80 84 81 if (cmap) { 85 _p printLine_("Writing " << mcmap << " Matlab colors as KML style templates.");82 _printf0_("Writing " << mcmap << " Matlab colors as KML style templates.\n"); 86 83 ipt=0; 87 84 for (i=0; i<mcmap; i++) { … … 118 115 119 116 if (!nodecon) { 120 _p printLine_("Creating the node connectivity table.");117 _printf0_("Creating the node connectivity table.\n"); 121 118 nncon=mxepg+1; 122 119 nodecon=xNewZeroInit<int>(mncon*nncon); … … 149 146 150 147 else if (mdata == mncon) { 151 _p printLine_("Averaging nodal data to element data.");148 _printf0_("Averaging nodal data to element data.\n"); 152 149 edata=xNewZeroInit<double>(melem*ndata); 153 150 edfree=true; … … 188 185 clock0a=clock(); 189 186 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"); 192 188 193 189 /* write kml file */ 194 190 195 _p printLine_("Writing kml document to file.");191 _printf0_("Writing kml document to file.\n"); 196 192 fprintf(fid,"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); 197 193 fprintf(fid,"<kml xmlns=\"http://www.opengis.net/kml/2.2\">\n"); … … 200 196 clock0b=clock(); 201 197 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"); 206 201 delete kdoc; 207 202 clock0c=clock(); 208 203 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"); 211 205 212 206 clock1=clock(); 213 207 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"); 216 209 217 210 return; … … 304 297 /* write each element as a polygon placemark */ 305 298 306 _p printLine_("Writing " << melem << " tria elements as KML polygons.");299 _printf0_("Writing " << melem << " tria elements as KML polygons.\n"); 307 300 308 301 for (i=0; i<melem; i++) { … … 356 349 357 350 // if (!(int)fmod((double)(i+1),1000)) 358 // _p printLine_(" " << (i+1) << " tria elements written.");351 // _printf0_(" " << (i+1) << " tria elements written.\n"); 359 352 } 360 _p printLine_(" " << melem << " tria elements written.");353 _printf0_(" " << melem << " tria elements written.\n"); 361 354 362 355 return(kfold); -
issm/trunk/src/c/modules/KMLMeshWritex/KMLMeshWritex.h
r13395 r15396 7 7 8 8 #include <float.h> /* DBL_MAX */ 9 #include "../../Container/Container.h" 10 #include "../../classes/objects/objects.h" 9 #include "../../kml/kmlobjects.h" 11 10 12 11 /* local prototypes: */ -
issm/trunk/src/c/modules/KMLOverlayx/KMLOverlayx.cpp
r13975 r15396 4 4 #include "./KMLOverlayx.h" 5 5 #include "../../shared/shared.h" 6 #include "../../include/include.h"7 #include "../../io/io.h"8 6 #include "../../toolkits/toolkits.h" 9 #include "../../ EnumDefinitions/EnumDefinitions.h"7 #include "../../kml/kmlobjects.h" 10 8 11 9 void KMLOverlayx(int* ierror, … … 28 26 clock0=clock(); 29 27 time0 =time(NULL); 30 _p printString_("\nKMLOverlayx Module -- " << ctime(&time0));28 _printf0_("\nKMLOverlayx Module -- " << ctime(&time0)); 31 29 32 30 /* construct kml file */ … … 81 79 /* write kml file */ 82 80 83 _p printLine_("Writing kml document to file.");81 _printf0_("Writing kml document to file.\n"); 84 82 fprintf(fid,"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); 85 83 kfile->Write(fid,indent); … … 89 87 clock1=clock(); 90 88 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"); 93 90 94 91 return; -
issm/trunk/src/c/modules/KMLOverlayx/KMLOverlayx.h
r13395 r15396 7 7 8 8 #include <float.h> /* DBL_MAX */ 9 #include "../../Container/Container.h" 10 #include "../../classes/objects/objects.h" 9 #include "../../classes/classes.h" 11 10 12 11 /* local prototypes: */ -
issm/trunk/src/c/modules/Kml2Expx/Kml2Expx.cpp
r13975 r15396 5 5 #include "./Kml2Expx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 #include "../../io/io.h"9 7 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h" 11 #include "../modules.h" 8 #include "../KMLFileReadx/KMLFileReadx.h" 12 9 13 10 int Kml2Expx(char* filkml,char* filexp, … … 38 35 clock0=clock(); 39 36 time0 =time(NULL); 40 _p printString_("\nKml2Expx Module -- " << ctime(&time0));37 _printf0_("\nKml2Expx Module -- " << ctime(&time0)); 41 38 42 39 /* read kml file */ … … 49 46 /* open exp file */ 50 47 51 _p printLine_("Writing exp profiles to file.");48 _printf0_("Writing exp profiles to file.\n"); 52 49 fido=fopen(filexp,"w"); 53 50 … … 64 61 clock1=clock(); 65 62 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"); 68 64 69 65 return(iret); -
issm/trunk/src/c/modules/Kml2Expx/Kml2Expx.h
r13395 r15396 7 7 8 8 #include <float.h> /* DBL_MAX */ 9 #include "../../Container/Container.h" 10 #include "../../classes/objects/objects.h" 9 #include "../../classes/classes.h" 11 10 12 11 /* local prototypes: */ -
issm/trunk/src/c/modules/Krigingx/Krigingx.cpp
r14310 r15396 5 5 #include "./Krigingx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 #include "../../classes/objects/objects.h" 10 #include "../../Container/Observations.h" 8 #include "../../classes/classes.h" 11 9 #include "../modules.h" 12 10 #ifdef _HAVE_GSL_ … … 85 83 observations->ObservationList(&x,&y,&data,&nobs); 86 84 87 _print Line_("Generation Delaunay Triangulation");85 _printf_("Generation Delaunay Triangulation\n"); 88 86 BamgTriangulatex(&index,&nel,x,y,nobs); 89 87 90 _print Line_("Interpolating");88 _printf_("Interpolating\n"); 91 89 xDelete<double>(predictions); 92 90 InterpFromMeshToMesh2dx(&predictions,index,x,y,nobs,nel,data,nobs,1,x_interp,y_interp,n_interp,options); … … 112 110 /*launch the thread manager with Krigingxt as a core: */ 113 111 LaunchThread(NearestNeighbort,(void*)&gate,num); 114 _print Line_("\r interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");112 _printf_("\r interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%\n"); 115 113 xDelete<int>(gate.numdone); 116 114 } … … 134 132 /*launch the thread manager with Krigingxt as a core: */ 135 133 LaunchThread(idwt,(void*)&gate,num); 136 _print Line_("\r interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");134 _printf_("\r interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%\n"); 137 135 xDelete<int>(gate.numdone); 138 136 } … … 156 154 /*launch the thread manager with Krigingxt as a core: */ 157 155 LaunchThread(v4t,(void*)&gate,num); 158 _print Line_("\r interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");156 _printf_("\r interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%\n"); 159 157 xDelete<int>(gate.numdone); 160 158 } … … 179 177 /*launch the thread manager with Krigingxt as a core: */ 180 178 LaunchThread(Krigingxt,(void*)&gate,num); 181 _print Line_("\r interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");179 _printf_("\r interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%\n"); 182 180 xDelete<int>(gate.numdone); 183 181 } … … 232 230 int alldone=numdone[0]; 233 231 for(int i=1;i<num_threads;i++) alldone+=numdone[i]; 234 _print String_("\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.<<"%"); 235 233 } 236 234 … … 279 277 int alldone=numdone[0]; 280 278 for(int i=1;i<num_threads;i++) alldone+=numdone[i]; 281 _print String_("\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.<<"%"); 282 280 } 283 281 … … 326 324 int alldone=numdone[0]; 327 325 for(int i=1;i<num_threads;i++) alldone+=numdone[i]; 328 _print String_("\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.<<"%"); 329 327 } 330 328 … … 371 369 int alldone=numdone[0]; 372 370 for(int i=1;i<num_threads;i++) alldone+=numdone[i]; 373 _print String_("\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.<<"%"); 374 372 } 375 373 -
issm/trunk/src/c/modules/Krigingx/Krigingx.h
r14310 r15396 6 6 #define _KRIGINGX_H 7 7 8 #include "../../classes/ objects/objects.h"8 #include "../../classes/classes.h" 9 9 #include "../../toolkits/toolkits.h" 10 10 -
issm/trunk/src/c/modules/Krigingx/pKrigingx.cpp
r13975 r15396 5 5 #include "./Krigingx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #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" 12 10 13 11 /*FUNCTION pKrigingx{{{*/ 14 12 int 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){ 15 13 14 #ifdef _HAVE_MPI_ 16 15 int num_procs; 17 16 int my_rank; … … 28 27 Observations *observations = NULL; 29 28 29 /*timing*/ 30 double start, finish; 31 double start_core, finish_core; 32 double start_init, finish_init; 33 30 34 /*Get my_rank: */ 31 35 my_rank=IssmComm::GetRank(); … … 33 37 34 38 /*Get some Options*/ 39 MPI_Barrier(MPI_COMM_WORLD); start=MPI_Wtime(); 35 40 options->Get(&radius,"searchradius",0.); 36 41 options->Get(&mindata,"mindata",1); … … 38 43 39 44 /*Process observation dataset*/ 45 MPI_Barrier(MPI_COMM_WORLD); start_init=MPI_Wtime(); 40 46 observations=new Observations(obs_list,obs_x,obs_y,obs_length,options); 47 MPI_Barrier(MPI_COMM_WORLD); finish_init=MPI_Wtime(); 41 48 42 49 /*Allocate output*/ … … 47 54 options->Get(&output,"output",(char*)"prediction"); 48 55 56 MPI_Barrier(MPI_COMM_WORLD); start_core=MPI_Wtime( ); 49 57 if(strcmp(output,"quadtree")==0){ 50 58 observations->QuadtreeColoring(predictions,x_interp,y_interp,n_interp); … … 60 68 /*partition loop across threads: */ 61 69 for(int idx=my_rank;idx<n_interp;idx+=num_procs){ 62 _p printLine_(" 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"); 63 71 observations->InterpolationKriging(&predictions[idx],&error[idx],x_interp[idx],y_interp[idx],radius,mindata,maxdata,variogram); 64 72 } 65 _p printLine_(" interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");73 _printf0_(" interpolation progress: "<<fixed<<setw(6)<<setprecision(4)<<100.<<"%\n"); 66 74 67 75 #ifdef _HAVE_MPI_ … … 74 82 #endif 75 83 } 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 } 76 99 else if(strcmp(output,"nearestneighbor")==0){ 77 100 78 101 /*partition loop across threads: */ 79 102 for(int idx=my_rank;idx<n_interp;idx+=num_procs){ 80 _p printLine_(" 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"); 81 104 observations->InterpolationNearestNeighbor(&predictions[idx],x_interp[idx],y_interp[idx],radius); 82 105 } 83 _p printLine_(" interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");106 _printf0_(" interpolation progress: "<<fixed<<setw(6)<<setprecision(4)<<100.<<"%\n"); 84 107 85 108 #ifdef _HAVE_MPI_ … … 95 118 /*partition loop across threads: */ 96 119 for(int idx=my_rank;idx<n_interp;idx+=num_procs){ 97 _p printLine_(" 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"); 98 121 observations->InterpolationIDW(&predictions[idx],x_interp[idx],y_interp[idx],radius,mindata,maxdata,power); 99 122 } 100 _p printLine_(" interpolation progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");123 _printf0_(" interpolation progress: "<<fixed<<setw(6)<<setprecision(4)<<100.<<"%\n"); 101 124 102 125 #ifdef _HAVE_MPI_ … … 109 132 _error_("output '" << output << "' not supported yet"); 110 133 } 134 MPI_Barrier(MPI_COMM_WORLD); finish_core=MPI_Wtime( ); 111 135 112 136 /*clean-up and Assign output pointer*/ … … 116 140 *ppredictions = predictions; 117 141 *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"); 118 147 return 1; 148 #else 149 _error_("MPI not available"); 150 #endif 119 151 }/*}}}*/ 120 152 void ProcessVariogram(Variogram **pvariogram,Options* options){/*{{{*/ -
issm/trunk/src/c/modules/Mergesolutionfromftogx/Mergesolutionfromftogx.cpp
r13975 r15396 4 4 5 5 #include "../VecMergex/VecMergex.h" 6 #include "../../ io/io.h"6 #include "../../shared/io/io.h" 7 7 #include "./Mergesolutionfromftogx.h" 8 8 … … 17 17 18 18 /*Display message*/ 19 if(VerboseModule()) _p printLine_(" Merging solution vector from fset to gset");19 if(VerboseModule()) _printf0_(" Merging solution vector from fset to gset\n"); 20 20 21 21 /*first, get gsize, fsize and ssize: */ -
issm/trunk/src/c/modules/Mergesolutionfromftogx/Mergesolutionfromftogx.h
r13975 r15396 6 6 #define _MERGESOLUTIONFROMFTOGX_H 7 7 8 #include "../../classes/ objects/objects.h"8 #include "../../classes/classes.h" 9 9 10 10 /* local prototypes: */ -
issm/trunk/src/c/modules/MeshPartitionx/MeshPartitionx.h
r13975 r15396 6 6 #define _MESHPARTITIONX_H 7 7 8 #include "../../include/include.h" 9 #include "../../EnumDefinitions/EnumDefinitions.h" 8 #include "../../shared/shared.h" 10 9 11 10 /* local prototypes: */ -
issm/trunk/src/c/modules/MeshProfileIntersectionx/MeshProfileIntersectionx.h
r14310 r15396 7 7 8 8 #include "../../shared/shared.h" 9 #include "../../classes/ objects/objects.h"9 #include "../../classes/classes.h" 10 10 11 11 /* local prototypes: */ -
issm/trunk/src/c/modules/ModelProcessorx/Autodiff/CreateParametersAutodiff.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #include "../../../toolkits/toolkits.h" 7 #include "../../../io/io.h"8 #include "../../../EnumDefinitions/EnumDefinitions.h"9 6 #include "../../../classes/classes.h" 10 7 #include "../../../shared/shared.h" 11 #include "../../../include/include.h"12 #include "../../Solverx/Solverx.h"13 8 #include "../ModelProcessorx.h" 14 9 -
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"4 1 #include "../../../toolkits/toolkits.h" 5 #include "../../../EnumDefinitions/EnumDefinitions.h"6 2 #include "../../../classes/classes.h" 7 3 #include "../../../shared/shared.h" 8 4 #include "../ModelProcessorx.h" 5 #include "../../IoModelToConstraintsx/IoModelToConstraintsx.h" 9 6 10 7 void CreateConstraintsBalancethickness(Constraints** pconstraints, IoModel* iomodel){ -
issm/trunk/src/c/modules/ModelProcessorx/Balancethickness/CreateLoadsBalancethickness.cpp
r13975 r15396 2 2 */ 3 3 4 #include "../../../Container/Container.h"5 4 #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" 9 6 #include "../../../shared/shared.h" 10 #include "../../../include/include.h"11 7 #include "../ModelProcessorx.h" 12 8 -
issm/trunk/src/c/modules/ModelProcessorx/Balancethickness/CreateNodesBalancethickness.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #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" 10 7 #include "../../../shared/shared.h" 11 #include "../../../include/include.h"12 8 #include "../../MeshPartitionx/MeshPartitionx.h" 13 9 #include "../ModelProcessorx.h" -
issm/trunk/src/c/modules/ModelProcessorx/Balancethickness/UpdateElementsBalancethickness.cpp
r13395 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #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" 11 7 #include "../../../shared/shared.h" 12 8 #include "../../MeshPartitionx/MeshPartitionx.h" 13 #include "../../../include/include.h"14 9 #include "../ModelProcessorx.h" 15 10 -
issm/trunk/src/c/modules/ModelProcessorx/BedSlope/CreateConstraintsBedSlope.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 #include "../../../io/io.h"7 5 #include "../../../toolkits/toolkits.h" 8 #include "../../../EnumDefinitions/EnumDefinitions.h" 9 #include "../../../classes/objects/objects.h" 6 #include "../../../classes/classes.h" 10 7 #include "../../../shared/shared.h" 11 8 #include "../ModelProcessorx.h" -
issm/trunk/src/c/modules/ModelProcessorx/BedSlope/CreateLoadsBedSlope.cpp
r13975 r15396 2 2 */ 3 3 4 #include "../../../Container/Container.h"5 #include "../../../io/io.h"6 4 #include "../../../toolkits/toolkits.h" 7 #include "../../../EnumDefinitions/EnumDefinitions.h" 8 #include "../../../classes/objects/objects.h" 5 #include "../../../classes/classes.h" 9 6 #include "../../../shared/shared.h" 10 #include "../../../include/include.h"11 7 #include "../ModelProcessorx.h" 12 8 -
issm/trunk/src/c/modules/ModelProcessorx/BedSlope/CreateNodesBedSlope.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 #include "../../../io/io.h"7 5 #include "../../../toolkits/toolkits.h" 8 #include "../../../EnumDefinitions/EnumDefinitions.h" 9 #include "../../../classes/objects/objects.h" 6 #include "../../../classes/classes.h" 10 7 #include "../../../shared/shared.h" 11 #include "../../../include/include.h"12 8 #include "../../MeshPartitionx/MeshPartitionx.h" 13 9 #include "../ModelProcessorx.h" -
issm/trunk/src/c/modules/ModelProcessorx/BedSlope/UpdateElementsBedSlope.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 #include "../../../modules/modules.h"7 5 #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" 11 7 #include "../../../shared/shared.h" 12 8 #include "../../MeshPartitionx/MeshPartitionx.h" 13 #include "../../../include/include.h"14 9 #include "../ModelProcessorx.h" 15 10 -
issm/trunk/src/c/modules/ModelProcessorx/Control/CreateParametersControl.cpp
r14310 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #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" 10 7 #include "../../../shared/shared.h" 11 #include "../../../include/include.h"12 8 #include "../ModelProcessorx.h" 13 9 -
issm/trunk/src/c/modules/ModelProcessorx/Control/UpdateElementsAndMaterialsControl.cpp
r14310 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #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" 11 7 #include "../../../shared/shared.h" 12 8 #include "../../MeshPartitionx/MeshPartitionx.h" 13 #include "../../../include/include.h"14 9 #include "../ModelProcessorx.h" 15 10 -
issm/trunk/src/c/modules/ModelProcessorx/CreateDataSets.cpp
r13975 r15396 9 9 #endif 10 10 11 #include "../../classes/ objects/objects.h"11 #include "../../classes/classes.h" 12 12 #include "../../shared/shared.h" 13 #include "../../include/include.h"14 #include "../../EnumDefinitions/EnumDefinitions.h"15 13 #include "./ModelProcessorx.h" 16 14 … … 56 54 57 55 #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); 63 73 break; 64 74 #endif … … 93 103 CreateLoadsBalancethickness(ploads,iomodel); 94 104 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); 95 114 break; 96 115 #endif -
issm/trunk/src/c/modules/ModelProcessorx/CreateElementsVerticesAndMaterials.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../Container/Container.h"6 5 #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" 10 7 #include "../../shared/shared.h" 11 8 #include "../MeshPartitionx/MeshPartitionx.h" 12 #include "../../include/include.h"13 9 #include "./ModelProcessorx.h" 14 10 … … 21 17 int numberofvertices; 22 18 bool control_analysis; 19 bool dakota_analysis; 23 20 24 21 /*DataSets: */ … … 32 29 iomodel->Constant(&numberofvertices,MeshNumberofverticesEnum); 33 30 iomodel->Constant(&control_analysis,InversionIscontrolEnum); 31 iomodel->Constant(&dakota_analysis,QmuIsdakotaEnum); 34 32 iomodel->Constant(&materials_type,MaterialsEnum); 35 33 … … 68 66 iomodel->FetchData(2,MaterialsRheologyBEnum,MaterialsRheologyNEnum); 69 67 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 } 70 74 break; 71 75 case MatdamageiceEnum: -
issm/trunk/src/c/modules/ModelProcessorx/CreateNumberNodeToElementConnectivity.cpp
r12706 r15396 10 10 11 11 #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" 14 14 #include "./ModelProcessorx.h" 15 15 -
issm/trunk/src/c/modules/ModelProcessorx/CreateParameters.cpp
r13975 r15396 9 9 #endif 10 10 11 #include "../../Container/Container.h"12 11 #include "../../toolkits/toolkits.h" 13 #include "../../EnumDefinitions/EnumDefinitions.h" 14 #include "../../classes/objects/objects.h" 12 #include "../../classes/classes.h" 15 13 #include "../../shared/shared.h" 16 14 #include "../MeshPartitionx/MeshPartitionx.h" 17 #include "../../io/io.h"18 15 #include "./ModelProcessorx.h" 19 16 … … 24 21 Parameters *parameters = NULL; 25 22 IssmDouble *requestedoutputs = NULL; 26 bool isdelta18o; 23 IssmDouble time; 24 bool ispdd,isdelta18o; 27 25 28 26 /*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; 40 38 /*}}}*/ 41 39 … … 76 74 parameters->AddObject(iomodel->CopyConstantObject(ConstantsReferencetemperatureEnum)); 77 75 parameters->AddObject(iomodel->CopyConstantObject(BalancethicknessStabilizationEnum)); 78 parameters->AddObject(iomodel->CopyConstantObject(HydrologyStabilizationEnum));79 76 parameters->AddObject(iomodel->CopyConstantObject(GroundinglineMeltingRateEnum)); 80 77 parameters->AddObject(iomodel->CopyConstantObject(ThermalMaxiterEnum)); … … 89 86 parameters->AddObject(iomodel->CopyConstantObject(MeshNumberofelementsEnum)); 90 87 parameters->AddObject(iomodel->CopyConstantObject(MeshNumberofverticesEnum)); 88 parameters->AddObject(iomodel->CopyConstantObject(MeshNumberoflayersEnum)); 91 89 parameters->AddObject(iomodel->CopyConstantObject(SettingsIoGatherEnum)); 92 90 parameters->AddObject(iomodel->CopyConstantObject(SettingsResultsAsPatchesEnum)); … … 96 94 parameters->AddObject(iomodel->CopyConstantObject(TransientIsthermalEnum)); 97 95 parameters->AddObject(iomodel->CopyConstantObject(TransientIsgroundinglineEnum)); 96 parameters->AddObject(iomodel->CopyConstantObject(TransientIsgiaEnum)); 98 97 parameters->AddObject(iomodel->CopyConstantObject(ThermalIsenthalpyEnum)); 99 98 parameters->AddObject(iomodel->CopyConstantObject(MaterialsRheologyLawEnum)); … … 105 104 parameters->AddObject(iomodel->CopyConstantObject(SurfaceforcingsIsdelta18oEnum)); 106 105 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 } 125 132 } 126 133 … … 129 136 parameters->AddObject(new IntParam(AnalysisTypeEnum,analysis_type)); 130 137 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 132 141 parameters->AddObject(new IntParam(StepEnum,1)); //start at time 0 by default for all solutions FIXME: to be deleted 133 142 … … 217 226 /*}}}*/ 218 227 228 /*Solution specific parameters (FIXME: extend to other params)*/ 229 #ifdef _HAVE_HYDROLOGY_ 230 CreateParametersHydrologyShreve(¶meters,iomodel,solution_type,analysis_type); 231 CreateParametersHydrologyDCInefficient(¶meters,iomodel,solution_type,analysis_type); 232 CreateParametersHydrologyDCEfficient(¶meters,iomodel,solution_type,analysis_type); 233 #endif 234 219 235 /*Before returning, create parameters in case we are running Qmu or control types runs: */ 220 236 #ifdef _HAVE_CONTROL_ … … 230 246 #endif 231 247 232 /*Go through all parameters, and convert units to SI: */233 parameters->UnitConversion(ExtToIuEnum);234 235 248 /*Assign output pointer: */ 236 249 *pparameters=parameters; -
issm/trunk/src/c/modules/ModelProcessorx/CreateSingleNodeToElementConnectivity.cpp
r12706 r15396 10 10 11 11 #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" 14 14 #include "./ModelProcessorx.h" 15 15 -
issm/trunk/src/c/modules/ModelProcessorx/Dakota/CreateParametersDakota.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #include "../../../toolkits/toolkits.h" 7 #include "../../../EnumDefinitions/EnumDefinitions.h" 8 #include "../../../classes/objects/objects.h" 6 #include "../../../classes/classes.h" 9 7 #include "../../../shared/shared.h" 10 #include "../../../io/io.h"11 #include "../../../include/include.h"12 8 #include "../../MeshPartitionx/MeshPartitionx.h" 13 9 #include "../ModelProcessorx.h" -
issm/trunk/src/c/modules/ModelProcessorx/DiagnosticHoriz/CreateConstraintsDiagnosticHoriz.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #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" 10 7 #include "../../../shared/shared.h" 11 8 #include "../ModelProcessorx.h" … … 91 88 timesx[j]=spcvx[(Mx-1)*Nx+j]; 92 89 } 93 /*unit conversion: */94 UnitConversion(timesx,Nx,ExtToIuEnum,TimeEnum);95 90 /*figure out times: */ 96 91 timesy=xNew<IssmDouble>(Ny); … … 98 93 timesy[j]=spcvy[(My-1)*Ny+j]; 99 94 } 100 /*unit conversion: */101 UnitConversion(timesy,Ny,ExtToIuEnum,TimeEnum);102 95 /*figure out times: */ 103 96 timesz=xNew<IssmDouble>(Nz); … … 105 98 timesz[j]=spcvz[(Mz-1)*Nz+j]; 106 99 } 107 /*unit conversion: */108 UnitConversion(timesz,Nz,ExtToIuEnum,TimeEnum);109 100 110 101 /*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 2 2 */ 3 3 4 #include "../../../Container/Container.h"5 4 #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" 9 6 #include "../../../shared/shared.h" 10 #include "../../../include/include.h"11 7 #include "../ModelProcessorx.h" 12 8 … … 154 150 155 151 /*Create Riffront loads for rifts: */ 152 #ifdef _HAVE_RIFTS_ 156 153 if(numrifts){ 157 154 iomodel->FetchData(&riftinfo,&numriftsegments,NULL,RiftsRiftstructEnum); … … 166 163 xDelete<IssmDouble>(riftinfo); 167 164 } 165 #endif 168 166 169 167 /*Assign output pointer: */ -
issm/trunk/src/c/modules/ModelProcessorx/DiagnosticHoriz/CreateNodesDiagnosticHoriz.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #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" 10 7 #include "../../../shared/shared.h" 11 8 #include "../../MeshPartitionx/MeshPartitionx.h" 12 #include "../../../include/include.h"13 9 #include "../ModelProcessorx.h" 14 10 … … 55 51 } 56 52 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 57 80 /*Clean fetched data: */ 58 81 iomodel->DeleteData(9,MeshVertexonbedEnum,MeshVertexonsurfaceEnum,FlowequationBordermacayealEnum,FlowequationBorderstokesEnum, -
issm/trunk/src/c/modules/ModelProcessorx/DiagnosticHoriz/UpdateElementsDiagnosticHoriz.cpp
r14310 r15396 8 8 #endif 9 9 10 #include "../../../Container/Container.h"11 #include "../../../modules/modules.h"12 10 #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" 16 12 #include "../../../shared/shared.h" 17 13 #include "../../MeshPartitionx/MeshPartitionx.h" 18 #include "../../../include/include.h"19 14 #include "../ModelProcessorx.h" 20 15 … … 69 64 iomodel->FetchDataToInput(elements,VxEnum); 70 65 iomodel->FetchDataToInput(elements,VyEnum); 66 iomodel->FetchDataToInput(elements,LoadingforceXEnum); 67 iomodel->FetchDataToInput(elements,LoadingforceYEnum); 71 68 if(materials_type==MatdamageiceEnum){ 72 69 iomodel->FetchDataToInput(elements,MaterialsRheologyZEnum); … … 79 76 iomodel->FetchDataToInput(elements,BasalforcingsMeltingRateEnum); 80 77 iomodel->FetchDataToInput(elements,FlowequationBorderstokesEnum); 78 iomodel->FetchDataToInput(elements,LoadingforceZEnum); 81 79 } 82 80 … … 90 88 elements->InputDuplicate(VxEnum,InversionVxObsEnum); 91 89 if(dakota_analysis)elements->InputDuplicate(VxEnum,QmuVxEnum); 92 90 93 91 #ifdef _HAVE_ANDROID_ 94 92 elements->InputDuplicate(FrictionCoefficientEnum,AndroidFrictionCoefficientEnum); -
issm/trunk/src/c/modules/ModelProcessorx/DiagnosticHutter/CreateConstraintsDiagnosticHutter.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #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" 10 7 #include "../../../shared/shared.h" 11 8 #include "../ModelProcessorx.h" -
issm/trunk/src/c/modules/ModelProcessorx/DiagnosticHutter/CreateLoadsDiagnosticHutter.cpp
r13975 r15396 2 2 */ 3 3 4 #include "../../../Container/Container.h"5 4 #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" 9 6 #include "../../../shared/shared.h" 10 #include "../../../include/include.h"11 7 #include "../ModelProcessorx.h" 12 8 -
issm/trunk/src/c/modules/ModelProcessorx/DiagnosticHutter/CreateNodesDiagnosticHutter.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #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" 10 7 #include "../../../shared/shared.h" 11 8 #include "../../MeshPartitionx/MeshPartitionx.h" 12 #include "../../../include/include.h"13 9 #include "../ModelProcessorx.h" 14 10 -
issm/trunk/src/c/modules/ModelProcessorx/DiagnosticHutter/UpdateElementsDiagnosticHutter.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #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" 11 7 #include "../../../shared/shared.h" 12 8 #include "../../MeshPartitionx/MeshPartitionx.h" 13 #include "../../../include/include.h"14 9 #include "../ModelProcessorx.h" 15 10 -
issm/trunk/src/c/modules/ModelProcessorx/DiagnosticVert/CreateConstraintsDiagnosticVert.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #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" 10 7 #include "../../../shared/shared.h" 11 8 #include "../ModelProcessorx.h" -
issm/trunk/src/c/modules/ModelProcessorx/DiagnosticVert/CreateLoadsDiagnosticVert.cpp
r13975 r15396 2 2 */ 3 3 4 #include "../../../Container/Container.h"5 4 #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" 9 6 #include "../../../shared/shared.h" 10 #include "../../../include/include.h"11 7 #include "../ModelProcessorx.h" 12 8 -
issm/trunk/src/c/modules/ModelProcessorx/DiagnosticVert/CreateNodesDiagnosticVert.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #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" 10 7 #include "../../../shared/shared.h" 11 8 #include "../../MeshPartitionx/MeshPartitionx.h" 12 #include "../../../include/include.h"13 9 #include "../ModelProcessorx.h" 14 10 -
issm/trunk/src/c/modules/ModelProcessorx/DiagnosticVert/UpdateElementsDiagnosticVert.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #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" 11 7 #include "../../../shared/shared.h" 12 8 #include "../../MeshPartitionx/MeshPartitionx.h" 13 #include "../../../include/include.h"14 9 #include "../ModelProcessorx.h" 15 10 -
issm/trunk/src/c/modules/ModelProcessorx/DistributeNumDofs.cpp
r13975 r15396 4 4 5 5 #include "../../shared/shared.h" 6 #include "../../include/include.h" 7 #include "../../EnumDefinitions/EnumDefinitions.h" 6 #include "../../classes/classes.h" 8 7 9 8 void DistributeNumDofs(DofIndexing* index,int analysis_type,IssmDouble* vertices_type){ … … 80 79 numdofs=1; 81 80 } 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){ 83 88 numdofs=1; 84 89 } … … 87 92 } 88 93 else if (analysis_type==PrognosticAnalysisEnum){ 94 numdofs=1; 95 } 96 else if (analysis_type==GiaAnalysisEnum){ 89 97 numdofs=1; 90 98 } -
issm/trunk/src/c/modules/ModelProcessorx/ElementsAndVerticesPartitioning.cpp
r13975 r15396 10 10 11 11 #include <string.h> 12 #include "../../classes/ objects/objects.h"12 #include "../../classes/classes.h" 13 13 #include "../../shared/shared.h" 14 #include "../../EnumDefinitions/EnumDefinitions.h"15 #include "../../io/io.h"16 #include "../../include/include.h"17 14 #include "../MeshPartitionx/MeshPartitionx.h" 18 15 #include "../ModelProcessorx/ModelProcessorx.h" -
issm/trunk/src/c/modules/ModelProcessorx/Enthalpy/CreateConstraintsEnthalpy.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 #include "../../../io/io.h"7 5 #include "../../../toolkits/toolkits.h" 8 #include "../../../EnumDefinitions/EnumDefinitions.h" 9 #include "../../../classes/objects/objects.h" 6 #include "../../../classes/classes.h" 10 7 #include "../../../shared/shared.h" 11 #include "../../../include/include.h"12 8 #include "../ModelProcessorx.h" 13 9 … … 79 75 times[j]=spcvector[(M-1)*N+j]; 80 76 } 81 /*unit conversion: */82 UnitConversion(times,N,ExtToIuEnum,TimeEnum);83 77 84 78 /*Create constraints from x,y,z: */ -
issm/trunk/src/c/modules/ModelProcessorx/Enthalpy/CreateLoadsEnthalpy.cpp
r13975 r15396 2 2 */ 3 3 4 #include "../../../Container/Container.h"5 4 #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" 9 6 #include "../../../shared/shared.h" 10 #include "../../../include/include.h"11 7 #include "../ModelProcessorx.h" 12 8 -
issm/trunk/src/c/modules/ModelProcessorx/Enthalpy/CreateNodesEnthalpy.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #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" 11 7 #include "../../../shared/shared.h" 12 8 #include "../../MeshPartitionx/MeshPartitionx.h" -
issm/trunk/src/c/modules/ModelProcessorx/Enthalpy/UpdateElementsEnthalpy.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #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" 11 7 #include "../../../shared/shared.h" 12 8 #include "../../MeshPartitionx/MeshPartitionx.h" 13 #include "../../../include/include.h"14 9 #include "../ModelProcessorx.h" 15 10 -
issm/trunk/src/c/modules/ModelProcessorx/Melting/CreateConstraintsMelting.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 #include "../../../io/io.h"7 5 #include "../../../toolkits/toolkits.h" 8 #include "../../../EnumDefinitions/EnumDefinitions.h" 9 #include "../../../classes/objects/objects.h" 6 #include "../../../classes/classes.h" 10 7 #include "../../../shared/shared.h" 11 8 #include "../ModelProcessorx.h" -
issm/trunk/src/c/modules/ModelProcessorx/Melting/CreateLoadsMelting.cpp
r13975 r15396 2 2 */ 3 3 4 #include "../../../Container/Container.h"5 4 #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" 9 6 #include "../../../shared/shared.h" 10 #include "../../../include/include.h"11 7 #include "../ModelProcessorx.h" 12 8 -
issm/trunk/src/c/modules/ModelProcessorx/Melting/CreateNodesMelting.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #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" 11 7 #include "../../../shared/shared.h" 12 8 #include "../../MeshPartitionx/MeshPartitionx.h" -
issm/trunk/src/c/modules/ModelProcessorx/Melting/UpdateElementsMelting.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #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" 11 7 #include "../../../shared/shared.h" 12 8 #include "../../MeshPartitionx/MeshPartitionx.h" 13 #include "../../../include/include.h"14 9 #include "../ModelProcessorx.h" 15 10 -
issm/trunk/src/c/modules/ModelProcessorx/ModelProcessorx.cpp
r13975 r15396 9 9 #endif 10 10 11 #include "../../classes/ objects/objects.h"11 #include "../../classes/classes.h" 12 12 #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" 18 14 19 15 void 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){ … … 45 41 SetVerbosityLevel(verbose); 46 42 43 if(VerboseMProcessor()) _printf0_(" starting model processor \n"); 44 47 45 for(i=0;i<nummodels;i++){ 48 46 49 47 analysis_type=analysis_type_list[i]; 50 48 51 /*Hack for trasient runs ( to be improved)*/49 /*Hack for trasient runs (FIXME: to be improved)*/ 52 50 if(solution_type==TransientSolutionEnum && analysis_type==ThermalAnalysisEnum && dim==2) continue; 53 51 if(solution_type==TransientSolutionEnum && analysis_type==MeltingAnalysisEnum && dim==2) continue; … … 67 65 if(solution_type==SteadystateSolutionEnum && analysis_type==EnthalpyAnalysisEnum && isenthalpy==false) continue; 68 66 69 if(VerboseMProcessor()) _p printLine_(" creating datasets for analysis " << EnumToStringx(analysis_type));67 if(VerboseMProcessor()) _printf0_(" creating datasets for analysis " << EnumToStringx(analysis_type) << "\n"); 70 68 CreateDataSets(&elements,&nodes,&vertices,&materials,&constraints,&loads,¶meters,iomodel,rootpath,solution_type,analysis_type,nummodels,i); 71 69 } 70 if(VerboseMProcessor()) _printf0_(" done with model processor \n"); 72 71 73 72 /*Free resources:*/ -
issm/trunk/src/c/modules/ModelProcessorx/ModelProcessorx.h
r13975 r15396 8 8 #define RIFTINFOSIZE 12 9 9 10 class DataSet; 11 class IoModel; 12 class Parameters; 13 class DofIndexing; 14 15 #include "../../io/io.h" 10 #include "../../classes/classes.h" 16 11 17 12 void 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); … … 21 16 void CreateElementsVerticesAndMaterials(Elements** pelements,Vertices** pvertices,Materials** pmaterials, IoModel* iomodel,const int nummodels); 22 17 void CreateParameters(Parameters** pparameters,IoModel* iomodel,char* rootpath,const int solution_type,int analysis_type,int analysis_counter); 18 void CreateParametersAutodiff(Parameters** pparameters,IoModel* iomodel,int solution_type,int analysis_type); 23 19 void CreateParametersControl(Parameters** pparameters,IoModel* iomodel,int solution_type,int analysis_type); 24 20 void 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); 21 void CreateParametersHydrologyShreve(Parameters** pparameters,IoModel* iomodel,int solution_type,int analysis_type); 22 void CreateParametersHydrologyDCInefficient(Parameters** pparameters,IoModel* iomodel,int solution_type,int analysis_type); 23 void CreateParametersHydrologyDCEfficient(Parameters** pparameters,IoModel* iomodel,int solution_type,int analysis_type); 26 24 void UpdateElementsAndMaterialsControl(Elements* elements,Materials* materials, IoModel* iomodel); 27 25 … … 45 43 void CreateLoadsDiagnosticHutter(Loads** ploads, IoModel* iomodel); 46 44 void UpdateElementsDiagnosticHutter(Elements* elements,IoModel* iomodel,int analysis_counter,int analysis_type); 45 46 #ifdef _HAVE_GIA_ 47 /*gia*/ 48 void CreateNodesGia(Nodes** pnodes,IoModel* iomodel); 49 void CreateConstraintsGia(Constraints** pconstraints,IoModel* iomodel); 50 void CreateLoadsGia(Loads** ploads, IoModel* iomodel); 51 void UpdateElementsGia(Elements* elements,IoModel* iomodel,int analysis_counter,int analysis_type); 52 #endif 47 53 48 54 /*bed slope*/ … … 70 76 void UpdateElementsEnthalpy(Elements* elements,IoModel* iomodel,int analysis_counter,int analysis_type); 71 77 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:*/ 79 void CreateNodesHydrologyShreve(Nodes** pnodes,IoModel* iomodel); 80 void CreateConstraintsHydrologyShreve(Constraints** pconstraints,IoModel* iomodel); 81 void CreateLoadsHydrologyShreve(Loads** ploads, IoModel* iomodel); 82 void UpdateElementsHydrologyShreve(Elements* elements,IoModel* iomodel,int analysis_counter,int analysis_type); 83 84 /*hydrology DC:*/ 85 void CreateNodesHydrologyDCInefficient(Nodes** pnodes,IoModel* iomodel); 86 void CreateConstraintsHydrologyDCInefficient(Constraints** pconstraints,IoModel* iomodel); 87 void CreateLoadsHydrologyDCInefficient(Loads** ploads, IoModel* iomodel); 88 void UpdateElementsHydrologyDCInefficient(Elements* elements,IoModel* iomodel,int analysis_counter,int analysis_type); 89 void CreateNodesHydrologyDCEfficient(Nodes** pnodes,IoModel* iomodel); 90 void CreateConstraintsHydrologyDCEfficient(Constraints** pconstraints,IoModel* iomodel); 91 void CreateLoadsHydrologyDCEfficient(Loads** ploads, IoModel* iomodel); 92 void UpdateElementsHydrologyDCEfficient(Elements* elements,IoModel* iomodel,int analysis_counter,int analysis_type); 77 93 78 94 /*melting:*/ -
issm/trunk/src/c/modules/ModelProcessorx/NodesPartitioning.cpp
r13975 r15396 10 10 11 11 #include <string.h> 12 #include "../../classes/ objects/objects.h"12 #include "../../classes/classes.h" 13 13 #include "../../shared/shared.h" 14 #include "../../EnumDefinitions/EnumDefinitions.h"15 #include "../../io/io.h"16 #include "../../include/include.h"17 14 #include "../MeshPartitionx/MeshPartitionx.h" 18 15 #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"3 1 #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" 7 3 #include "../../../shared/shared.h" 8 4 #include "../ModelProcessorx.h" 5 #include "../../IoModelToConstraintsx/IoModelToConstraintsx.h" 9 6 10 7 void CreateConstraintsPrognostic(Constraints** pconstraints, IoModel* iomodel){ -
issm/trunk/src/c/modules/ModelProcessorx/Prognostic/CreateLoadsPrognostic.cpp
r13975 r15396 2 2 */ 3 3 4 #include "../../../Container/Container.h"5 4 #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" 9 6 #include "../../../shared/shared.h" 10 #include "../../../include/include.h"11 7 #include "../ModelProcessorx.h" 12 8 -
issm/trunk/src/c/modules/ModelProcessorx/Prognostic/CreateNodesPrognostic.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #include "../../../toolkits/toolkits.h" 7 #include "../../../EnumDefinitions/EnumDefinitions.h" 8 #include "../../../classes/objects/objects.h" 6 #include "../../../classes/classes.h" 9 7 #include "../../../shared/shared.h" 10 #include "../../../io/io.h"11 8 #include "../../MeshPartitionx/MeshPartitionx.h" 12 #include "../../../include/include.h"13 9 #include "../ModelProcessorx.h" 14 10 -
issm/trunk/src/c/modules/ModelProcessorx/Prognostic/UpdateElementsPrognostic.cpp
r14310 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #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" 11 7 #include "../../../shared/shared.h" 12 8 #include "../../MeshPartitionx/MeshPartitionx.h" 13 #include "../../../include/include.h"14 9 #include "../ModelProcessorx.h" 15 10 … … 63 58 elements->InputDuplicate(ThicknessEnum,QmuThicknessEnum); 64 59 elements->InputDuplicate(SurfaceEnum,QmuSurfaceEnum); 60 elements->InputDuplicate(BasalforcingsMeltingRateEnum,QmuMeltingEnum); 61 elements->InputDuplicate(VxEnum,QmuVxEnum); 62 elements->InputDuplicate(VyEnum,QmuVyEnum); 65 63 } 66 64 … … 70 68 iomodel->FetchDataToInput(elements,PressureEnum); 71 69 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 } 72 76 } 73 77 if(issmbgradients){ -
issm/trunk/src/c/modules/ModelProcessorx/SortDataSets.cpp
r13975 r15396 9 9 #endif 10 10 11 #include "../../classes/ objects/objects.h"11 #include "../../classes/classes.h" 12 12 #include "../../shared/shared.h" 13 #include "../../include/include.h"14 #include "../../EnumDefinitions/EnumDefinitions.h"15 13 #include "./ModelProcessorx.h" 16 14 -
issm/trunk/src/c/modules/ModelProcessorx/SurfaceSlope/CreateConstraintsSurfaceSlope.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 #include "../../../io/io.h"7 5 #include "../../../toolkits/toolkits.h" 8 #include "../../../EnumDefinitions/EnumDefinitions.h" 9 #include "../../../classes/objects/objects.h" 6 #include "../../../classes/classes.h" 10 7 #include "../../../shared/shared.h" 11 8 #include "../ModelProcessorx.h" -
issm/trunk/src/c/modules/ModelProcessorx/SurfaceSlope/CreateLoadsSurfaceSlope.cpp
r13975 r15396 2 2 */ 3 3 4 #include "../../../Container/Container.h"5 #include "../../../io/io.h"6 4 #include "../../../toolkits/toolkits.h" 7 #include "../../../EnumDefinitions/EnumDefinitions.h" 8 #include "../../../classes/objects/objects.h" 5 #include "../../../classes/classes.h" 9 6 #include "../../../shared/shared.h" 10 #include "../../../include/include.h"11 7 #include "../ModelProcessorx.h" 12 8 -
issm/trunk/src/c/modules/ModelProcessorx/SurfaceSlope/CreateNodesSurfaceSlope.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 #include "../../../io/io.h"7 5 #include "../../../toolkits/toolkits.h" 8 #include "../../../EnumDefinitions/EnumDefinitions.h" 9 #include "../../../classes/objects/objects.h" 6 #include "../../../classes/classes.h" 10 7 #include "../../../shared/shared.h" 11 #include "../../../include/include.h"12 8 #include "../../MeshPartitionx/MeshPartitionx.h" 13 9 #include "../ModelProcessorx.h" -
issm/trunk/src/c/modules/ModelProcessorx/SurfaceSlope/UpdateElementsSurfaceSlope.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #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" 11 7 #include "../../../shared/shared.h" 12 8 #include "../../MeshPartitionx/MeshPartitionx.h" 13 #include "../../../include/include.h"14 9 #include "../ModelProcessorx.h" 15 10 -
issm/trunk/src/c/modules/ModelProcessorx/Thermal/CreateConstraintsThermal.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 #include "../../../modules/modules.h"7 #include "../../../io/io.h"8 5 #include "../../../toolkits/toolkits.h" 9 #include "../../../EnumDefinitions/EnumDefinitions.h" 10 #include "../../../classes/objects/objects.h" 6 #include "../../../classes/classes.h" 11 7 #include "../../../shared/shared.h" 12 8 #include "../ModelProcessorx.h" 9 #include "../../IoModelToConstraintsx/IoModelToConstraintsx.h" 13 10 14 11 void CreateConstraintsThermal(Constraints** pconstraints, IoModel* iomodel){ -
issm/trunk/src/c/modules/ModelProcessorx/Thermal/CreateLoadsThermal.cpp
r13975 r15396 2 2 */ 3 3 4 #include "../../../Container/Container.h"5 4 #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" 9 6 #include "../../../shared/shared.h" 10 #include "../../../include/include.h"11 7 #include "../ModelProcessorx.h" 12 8 … … 14 10 15 11 /*Intermediary*/ 16 int i; 17 int dim; 18 int numberofvertices; 19 Pengrid* pengrid = NULL; 12 int dim; 13 int numberofvertices; 14 Pengrid *pengrid = NULL; 20 15 21 16 /*Recover pointer: */ … … 36 31 CreateSingleNodeToElementConnectivity(iomodel); 37 32 38 for (i=0;i<numberofvertices;i++){33 for(int i=0;i<numberofvertices;i++){ 39 34 40 35 /*keep only this partition's nodes:*/ -
issm/trunk/src/c/modules/ModelProcessorx/Thermal/CreateNodesThermal.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #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" 11 7 #include "../../../shared/shared.h" 12 8 #include "../../MeshPartitionx/MeshPartitionx.h" -
issm/trunk/src/c/modules/ModelProcessorx/Thermal/UpdateElementsThermal.cpp
r13975 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 #include "../../../modules/modules.h"7 5 #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" 11 7 #include "../../../shared/shared.h" 12 8 #include "../../MeshPartitionx/MeshPartitionx.h" 13 #include "../../../include/include.h"14 9 #include "../ModelProcessorx.h" 15 10 … … 63 58 if(dakota_analysis){ 64 59 elements->InputDuplicate(TemperatureEnum,QmuTemperatureEnum); 60 elements->InputDuplicate(PressureEnum,QmuPressureEnum); 65 61 elements->InputDuplicate(BasalforcingsMeltingRateEnum,QmuMeltingEnum); 66 62 } 63 67 64 /*Free data: */ 68 65 iomodel->DeleteData(1,MeshElementsEnum); -
issm/trunk/src/c/modules/ModelProcessorx/Transient/UpdateElementsTransient.cpp
r13395 r15396 3 3 */ 4 4 5 #include "../../../Container/Container.h"6 5 #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" 11 7 #include "../../../shared/shared.h" 12 8 #include "../../MeshPartitionx/MeshPartitionx.h" 13 #include "../../../include/include.h"14 9 #include "../ModelProcessorx.h" 15 10 16 11 void 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 } 17 49 } -
issm/trunk/src/c/modules/ModelProcessorx/UpdateCounters.cpp
r13975 r15396 9 9 #endif 10 10 11 #include "../../classes/ objects/objects.h"11 #include "../../classes/classes.h" 12 12 #include "../../shared/shared.h" 13 #include "../../include/include.h"14 #include "../../EnumDefinitions/EnumDefinitions.h"15 13 #include "./ModelProcessorx.h" 16 14 -
issm/trunk/src/c/modules/NodalValuex/NodalValuex.cpp
r13975 r15396 6 6 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 8 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 9 12 void NodalValuex( IssmDouble* pnodalvalue, int natureofdataenum,Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters ,bool process_units){10 void NodalValuex( IssmDouble* pnodalvalue, int natureofdataenum,Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters){ 13 11 14 12 int my_rank; … … 31 29 for(i=0;i<elements->Size();i++){ 32 30 Element* element=dynamic_cast<Element*>(elements->GetObjectByOffset(i)); 33 found=element->NodalValue(&value,index,natureofdataenum ,process_units);31 found=element->NodalValue(&value,index,natureofdataenum); 34 32 if (found){ 35 33 cpu_found=my_rank; -
issm/trunk/src/c/modules/NodalValuex/NodalValuex.h
r13975 r15396 6 6 #define _NODALVALUEX_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* local prototypes: */ 12 void NodalValuex( IssmDouble* pnodalvalue, int natureofdataenum,Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters ,bool process_units);11 void NodalValuex( IssmDouble* pnodalvalue, int natureofdataenum,Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters); 13 12 14 13 #endif /* _NODALVALUEX_H */ -
issm/trunk/src/c/modules/NodeConnectivityx/NodeConnectivityx.cpp
r14310 r15396 14 14 15 15 #include "../../shared/shared.h" 16 #include "../../include/include.h"17 16 #include "../../toolkits/toolkits.h" 18 #include "../../EnumDefinitions/EnumDefinitions.h"19 17 20 18 void NodeConnectivityx(int** pconnectivity,int* pwidth,int* elements, int nels, int nods){ -
issm/trunk/src/c/modules/NodesDofx/NodesDofx.cpp
r13975 r15396 6 6 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 8 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 9 12 10 void NodesDofx(Nodes* nodes, Parameters* parameters,int configuration_type){ -
issm/trunk/src/c/modules/NodesDofx/NodesDofx.h
r13395 r15396 6 6 #define _NODESDOFX_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* local prototypes: */ -
issm/trunk/src/c/modules/Orthx/Orthx.h
r13975 r15396 6 6 #define _ORTHX_H 7 7 8 #include "../../classes/objects/objects.h" 9 #include "../../include/include.h" 8 #include "../../classes/classes.h" 10 9 #include "../../shared/shared.h" 11 10 -
issm/trunk/src/c/modules/OutputResultsx/OutputResultsx.cpp
r14310 r15396 12 12 #include <stdio.h> 13 13 #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" 17 16 18 17 void OutputResultsx(Elements* elements, Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,Results* results){ … … 39 38 40 39 /*We have results inside our elements, loads, etc ... Get them out of there, into the results dataset: */ 41 elements->ProcessResultsUnits();42 40 elements->ToResults(results,parameters); 43 41 elements->DeleteResults(); -
issm/trunk/src/c/modules/OutputResultsx/OutputResultsx.h
r13975 r15396 12 12 #endif 13 13 14 #include "../../ Container/Container.h"14 #include "../../classes/classes.h" 15 15 16 16 void 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 7 7 8 8 #include "../../shared/shared.h" 9 #include "../../include/include.h"10 9 #include "../../toolkits/toolkits.h" 11 #include "../../EnumDefinitions/EnumDefinitions.h"12 10 13 11 void OutputRiftsx( Vec* priftproperties, Loads* loads, int numrifts){ -
issm/trunk/src/c/modules/OutputRiftsx/OutputRiftsx.h
r13975 r15396 6 6 #define _OUTPUTRIFTSX_H 7 7 8 #include "../../ Container/Container.h"8 #include "../../classes/classes.h" 9 9 10 10 /* local prototypes: */ -
issm/trunk/src/c/modules/PointCloudFindNeighborsx/PointCloudFindNeighborsx.cpp
r13395 r15396 4 4 #include "./PointCloudFindNeighborsx.h" 5 5 6 int PointCloudFindNeighborsx( SeqVec<IssmPDouble>** pflags,double* x, double* y, int nods, double mindistance,double multithread){6 int PointCloudFindNeighborsx(IssmSeqVec<IssmPDouble>** pflags,double* x, double* y, int nods, double mindistance,double multithread){ 7 7 8 8 /*output: */ 9 SeqVec<IssmPDouble>* flags=NULL;10 flags=new SeqVec<IssmPDouble>(nods);9 IssmSeqVec<IssmPDouble>* flags=NULL; 10 flags=new IssmSeqVec<IssmPDouble>(nods); 11 11 12 12 /*threading: */ -
issm/trunk/src/c/modules/PointCloudFindNeighborsx/PointCloudFindNeighborsx.h
r13975 r15396 7 7 8 8 #include "../../shared/shared.h" 9 #include "../../classes/ objects/objects.h"9 #include "../../classes/classes.h" 10 10 11 11 /* local prototypes: */ 12 int PointCloudFindNeighborsx( SeqVec<IssmPDouble>** pflags,double* x, double* y, int nods, double mindistance,double multithread);12 int PointCloudFindNeighborsx(IssmSeqVec<IssmPDouble>** pflags,double* x, double* y, int nods, double mindistance,double multithread); 13 13 14 14 /*threading: */ … … 19 19 int nods; 20 20 double mindistance; 21 SeqVec<IssmPDouble>* flags;21 IssmSeqVec<IssmPDouble>* flags; 22 22 23 23 } PointCloudFindNeighborsThreadStruct; -
issm/trunk/src/c/modules/PointCloudFindNeighborsx/PointCloudFindNeighborsxt.cpp
r13975 r15396 17 17 int nods; 18 18 double mindistance; 19 SeqVec<IssmPDouble>* flags;19 IssmSeqVec<IssmPDouble>* flags; 20 20 21 21 /*recover handle and gate: */ … … 49 49 /*display current iteration*/ 50 50 if (my_thread==0 && fmod((double)i,(double)100)==0) 51 _print String_("\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<<"%"); 52 52 53 53 distance=mindistance+100; //make sure initialization respects min distance criterion. … … 70 70 } 71 71 if (my_thread==0) 72 _print Line_("\r loop progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%");72 _printf_("\r loop progress: "<<fixed<<setw(6)<<setprecision(2)<<100.<<"%\n"); 73 73 74 74 /*Free ressources:*/ -
issm/trunk/src/c/modules/PositiveDegreeDayx/PositiveDegreeDayx.cpp
r13975 r15396 5 5 #include "./PositiveDegreeDayx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 #include "../../io/io.h"9 7 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 8 12 9 void PositiveDegreeDayx(Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads,Materials* materials, Parameters* parameters){ … … 57 54 58 55 if (itm >= NPDMAX){ 59 _print Line_("increase NPDMAX in massBalance.cpp");56 _printf_("increase NPDMAX in massBalance.cpp\n"); 60 57 exit (1); 61 58 } … … 83 80 itm = reCast<int,IssmDouble>((PDCUT+2.*siglimc)/DT + 1.5); 84 81 if (itm >= NPDCMAX){ 85 _print Line_("'increase NPDCMAX in p35com'");82 _printf_("'increase NPDCMAX in p35com'\n"); 86 83 exit (1); 87 84 } -
issm/trunk/src/c/modules/PositiveDegreeDayx/PositiveDegreeDayx.h
r13395 r15396 6 6 #define _POSITIVEDEGREEDAYX_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* local prototypes: */ -
issm/trunk/src/c/modules/PropagateFlagsFromConnectivityx/PropagateFlagsFromConnectivityx.cpp
r13975 r15396 5 5 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 8 -
issm/trunk/src/c/modules/PropagateFlagsFromConnectivityx/PropagateFlagsFromConnectivityx.h
r13975 r15396 5 5 #define _PROPAGATEFLAGSFROMCONNECTIVITYX_H 6 6 7 #include "../../ Container/Container.h"7 #include "../../classes/classes.h" 8 8 9 9 /* local prototypes: */ -
issm/trunk/src/c/modules/Reduceloadx/Reduceloadx.cpp
r13975 r15396 10 10 11 11 #include "./Reduceloadx.h" 12 #include "../../ io/io.h"12 #include "../../shared/io/io.h" 13 13 14 14 void Reduceloadx( Vector<IssmDouble>* pf, Matrix<IssmDouble>* Kfs, Vector<IssmDouble>* y_s,bool flag_ys0){ … … 22 22 bool oldalloc = false; 23 23 24 if(VerboseModule()) _p printLine_(" Dirichlet lifting applied to load vector");24 if(VerboseModule()) _printf0_(" Dirichlet lifting applied to load vector\n"); 25 25 26 26 Kfs->GetSize(&global_m,&global_n); … … 54 54 55 55 /*Free ressources and return*/ 56 xdelete(&y_s0);57 xdelete(&Kfsy_s);56 delete y_s0; 57 delete Kfsy_s; 58 58 59 59 } -
issm/trunk/src/c/modules/Reduceloadx/Reduceloadx.h
r13395 r15396 6 6 #define _REDUCELOADX_H 7 7 8 #include "../../classes/ objects/objects.h"8 #include "../../classes/classes.h" 9 9 10 10 /* local prototypes: */ -
issm/trunk/src/c/modules/Reducevectorgtofx/Reducevectorgtofx.cpp
r13975 r15396 16 16 IssmDouble *ug_serial = NULL; 17 17 bool oldalloc = false; 18 19 if(VerboseModule()) _printf0_(" Reduce vector from g to f set\n"); 18 20 19 21 /*first figure out fsize: */ -
issm/trunk/src/c/modules/Reducevectorgtofx/Reducevectorgtofx.h
r13975 r15396 7 7 #define _REDUCEVECTORGTOFX_H 8 8 9 #include "../../classes/ objects/objects.h"9 #include "../../classes/classes.h" 10 10 11 11 /* local prototypes: */ -
issm/trunk/src/c/modules/Reducevectorgtosx/Reducevectorgtosx.h
r13975 r15396 7 7 #define _REDUCEVECTORGTOSX_H 8 8 9 #include "../../classes/ objects/objects.h"9 #include "../../classes/classes.h" 10 10 11 11 /* local prototypes: */ -
issm/trunk/src/c/modules/ResetConstraintsx/ResetConstraintsx.cpp
r13975 r15396 3 3 */ 4 4 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 5 11 #include "./ResetConstraintsx.h" 6 #include "../modules.h"7 12 #include "../../shared/shared.h" 8 #include "../../io/io.h"9 #include "../../include/include.h"10 13 #include "../../toolkits/toolkits.h" 11 #include "../ ../EnumDefinitions/EnumDefinitions.h"14 #include "../ConstraintsStatex/ConstraintsStatex.h" 12 15 13 16 void ResetConstraintsx(Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads,Materials* materials, Parameters* parameters){ … … 17 20 18 21 /*Display message*/ 19 if(VerboseModule()) _p printLine_(" Resetting penalties");22 if(VerboseModule()) _printf0_(" Resetting penalties\n"); 20 23 21 24 /*recover parameters: */ … … 24 27 /*Do we have penalties linked to rifts? In this case, run our special rifts penalty 25 28 * management routine, otherwise, skip : */ 29 #ifdef _HAVE_RIFTS_ 26 30 if (RiftIsPresent(loads,analysis_type)){ 27 31 _error_("rift constraints reset not supported yet!"); 28 32 } 29 else if(ThermalIsPresent(loads,analysis_type)){ 33 #endif 34 #ifdef _HAVE_THERMAL_ 35 if(ThermalIsPresent(loads,analysis_type)){ 30 36 ThermalConstraintsReset(loads,analysis_type); 31 37 } 32 else{ /*Do nothing, no constraints management!:*/}38 #endif 33 39 34 40 } -
issm/trunk/src/c/modules/ResetConstraintsx/ResetConstraintsx.h
r13975 r15396 6 6 #define _RESETCONSTRAINTSX_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* local prototypes: */ -
issm/trunk/src/c/modules/ResetCoordinateSystemx/ResetCoordinateSystemx.cpp
r13975 r15396 5 5 #include "./ResetCoordinateSystemx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 8 -
issm/trunk/src/c/modules/ResetCoordinateSystemx/ResetCoordinateSystemx.h
r13395 r15396 6 6 #define _RESETCOORDINATESYSTEMX_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* local prototypes: */ -
issm/trunk/src/c/modules/RheologyBbarAbsGradientx/RheologyBbarAbsGradientx.cpp
r13975 r15396 6 6 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 8 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 9 12 void RheologyBbarAbsGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters, bool process_units,int weight_index){10 void RheologyBbarAbsGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters, int weight_index){ 13 11 14 12 /*Intermediary*/ … … 23 21 for (i=0;i<elements->Size();i++){ 24 22 element=dynamic_cast<Element*>(elements->GetObjectByOffset(i)); 25 J+=element->RheologyBbarAbsGradient( process_units,weight_index);23 J+=element->RheologyBbarAbsGradient(weight_index); 26 24 } 27 25 -
issm/trunk/src/c/modules/RheologyBbarAbsGradientx/RheologyBbarAbsGradientx.h
r13395 r15396 6 6 #define _RHEOLOGYBBARGRADIENTX_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* 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);11 void RheologyBbarAbsGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,int weight_index); 13 12 14 13 #endif -
issm/trunk/src/c/modules/Scotchx/Scotchx.h
r13975 r15396 17 17 #include <stdio.h> 18 18 #include <string.h> 19 20 #include "../../Container/Container.h" 21 #include "../../classes/objects/objects.h" 19 #include "../../classes/classes.h" 22 20 23 21 #ifdef _HAVE_SCOTCH_ //only works if scotch library has been compiled in. -
issm/trunk/src/c/modules/SetControlInputsFromVectorx/SetControlInputsFromVectorx.cpp
r13975 r15396 5 5 #include "./SetControlInputsFromVectorx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 #include "../../EnumDefinitions/EnumDefinitions.h"10 8 11 9 void 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 5 5 #define _SETCONTROLINPUTSXFROMVECTOR_H 6 6 7 #include "../../classes/objects/objects.h" 8 #include "../../Container/Container.h" 7 #include "../../classes/classes.h" 9 8 10 9 /* local prototypes: */ -
issm/trunk/src/c/modules/Shp2Expx/Shp2Expx.cpp
r14283 r15396 5 5 #include "./Shp2Expx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 #include "../../io/io.h"9 7 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h" 11 #include "../modules.h" 8 #include "../../kml/kmlobjects.h" 12 9 13 10 int Shp2Expx(char* filshp,char* filexp){ … … 80 77 clock0=clock(); 81 78 time0 =time(NULL); 82 _p printString_("\nShp2Expx Module -- " << ctime(&time0));79 _printf0_("\nShp2Expx Module -- " << ctime(&time0)); 83 80 84 81 /* note that much of the following code is taken from shpdump.c in shapelib. */ … … 299 296 300 297 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"); 303 299 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"); 306 301 307 302 kpoint=new KML_Point(); … … 470 465 else { 471 466 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"); 474 468 continue; 475 469 } … … 519 513 520 514 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"); 523 516 524 517 /* create a multigeometry to hold all the points */ … … 563 556 564 557 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"); 567 559 continue; 568 560 } … … 571 563 572 564 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"); 575 566 } 576 567 } … … 585 576 /* open exp file */ 586 577 587 _p printLine_("Writing exp profiles to file.");578 _printf0_("Writing exp profiles to file.\n"); 588 579 fid=fopen(filexp,"w"); 589 580 … … 619 610 clock1=clock(); 620 611 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"); 623 613 624 614 return(iret); -
issm/trunk/src/c/modules/Shp2Expx/Shp2Expx.h
r14283 r15396 18 18 #endif 19 19 20 #include "../../Container/Container.h" 21 #include "../../classes/objects/objects.h" 20 #include "../../classes/classes.h" 22 21 23 22 /* local prototypes: */ -
issm/trunk/src/c/modules/Shp2Kmlx/Shp2Kmlx.cpp
r13975 r15396 5 5 #include "./Shp2Kmlx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 #include "../../io/io.h"9 7 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h" 11 #include "../modules.h" 8 #include "../../kml/kmlobjects.h" 12 9 13 10 int Shp2Kmlx(char* filshp,char* filkml, … … 68 65 clock0=clock(); 69 66 time0 =time(NULL); 70 _p printString_("\nShp2Kmlx Module -- " << ctime(&time0));67 _printf0_("\nShp2Kmlx Module -- " << ctime(&time0)); 71 68 72 69 /* note that much of the following code is taken from shpdump.c in shapelib. */ … … 287 284 288 285 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"); 291 287 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"); 294 289 295 290 kpoint=new KML_Point(); … … 458 453 else { 459 454 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"); 462 456 continue; 463 457 } … … 507 501 508 502 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"); 511 504 512 505 /* create a multigeometry to hold all the points */ … … 551 544 552 545 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"); 555 547 continue; 556 548 } … … 559 551 560 552 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"); 563 554 } 564 555 } … … 573 564 /* write kml file */ 574 565 575 _p printLine_("Writing kml document to file.");566 _printf0_("Writing kml document to file.\n"); 576 567 fid=fopen(filkml,"w"); 577 568 fprintf(fid,"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); … … 602 593 clock1=clock(); 603 594 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"); 606 596 607 597 return(iret); -
issm/trunk/src/c/modules/Shp2Kmlx/Shp2Kmlx.h
r13395 r15396 18 18 #endif 19 19 20 #include "../../Container/Container.h" 21 #include "../../classes/objects/objects.h" 20 #include "../../classes/classes.h" 22 21 23 22 /* local prototypes: */ -
issm/trunk/src/c/modules/SmbGradientsx/SmbGradientsx.cpp
r13975 r15396 5 5 #include "./SmbGradientsx.h" 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 #include "../../io/io.h"9 7 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 8 12 9 void SmbGradientsx(Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads,Materials* materials, Parameters* parameters){ -
issm/trunk/src/c/modules/SmbGradientsx/SmbGradientsx.h
r13395 r15396 6 6 #define _SMBGRADIENTSX_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* local prototypes: */ -
issm/trunk/src/c/modules/Solverx/CMakeLists.txt
r14310 r15396 5 5 # }}} 6 6 # 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) 7 set(CORE_SOURCES $ENV{ISSM_DIR}/src/c/modules/Solverx/Solverx.cpp PARENT_SCOPE) 9 8 # }}} -
issm/trunk/src/c/modules/Solverx/Solverx.cpp
r13975 r15396 2 2 * \brief solver 3 3 */ 4 5 #include "./Solverx.h"6 #include "../../shared/shared.h"7 #include "../../include/include.h"8 #include "../../io/io.h"9 4 10 5 #ifdef HAVE_CONFIG_H … … 14 9 #endif 15 10 11 #include "./Solverx.h" 12 #include "../../shared/shared.h" 13 16 14 void 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; 17 18 18 19 /*output: */ 19 20 Vector<IssmDouble> *uf=NULL; 20 21 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"); 24 23 25 /*Initialize vector: */26 uf=new Vector<IssmDouble>();24 /*Initialize solver: */ 25 solver=new Solver<IssmDouble>(Kff,pf,uf0,df,parameters); 27 26 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(); 45 29 46 /*Assign output pointers:*/ 30 /*clean up and assign output pointers:*/ 31 delete solver; 47 32 *puf=uf; 48 33 } -
issm/trunk/src/c/modules/Solverx/Solverx.h
r13975 r15396 12 12 #endif 13 13 14 #include "../../ classes/objects/objects.h"14 #include "../../toolkits/toolkits.h" 15 15 16 16 /* local prototypes: */ 17 17 void Solverx(Vector<IssmDouble>** puf, Matrix<IssmDouble>* Kff, Vector<IssmDouble>* pf, Vector<IssmDouble>* uf0,Vector<IssmDouble>* df, Parameters* parameters); 18 18 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 #endif24 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 #endif38 39 19 #endif /* _SOLVERX_H */ -
issm/trunk/src/c/modules/SpcNodesx/SpcNodesx.cpp
r13975 r15396 6 6 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 8 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 9 12 10 void SpcNodesx(Nodes* nodes,Constraints* constraints,Parameters* parameters, int analysis_type){ -
issm/trunk/src/c/modules/SpcNodesx/SpcNodesx.h
r13395 r15396 6 6 #define _SPCNODESX_H 7 7 8 #include "../../classes/objects/objects.h" 9 #include "../../Container/Container.h" 8 #include "../../classes/classes.h" 10 9 #include "../../toolkits/toolkits.h" 11 10 -
issm/trunk/src/c/modules/SurfaceAbsVelMisfitx/SurfaceAbsVelMisfitx.cpp
r13975 r15396 6 6 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 8 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 9 12 void SurfaceAbsVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters, bool process_units,int weight_index){10 void SurfaceAbsVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,int weight_index){ 13 11 14 12 /*Intermediary*/ … … 23 21 for (i=0;i<elements->Size();i++){ 24 22 element=dynamic_cast<Element*>(elements->GetObjectByOffset(i)); 25 J+=element->SurfaceAbsVelMisfit( process_units,weight_index);23 J+=element->SurfaceAbsVelMisfit(weight_index); 26 24 } 27 25 -
issm/trunk/src/c/modules/SurfaceAbsVelMisfitx/SurfaceAbsVelMisfitx.h
r13395 r15396 6 6 #define _SURFACEABSVELMISFITX_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* 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);11 void SurfaceAbsVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,int weight_index); 13 12 14 13 #endif -
issm/trunk/src/c/modules/SurfaceAreax/SurfaceAreax.cpp
r13975 r15396 6 6 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 8 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 9 #include "../InputUpdateFromConstantx/InputUpdateFromConstantx.h" 12 10 -
issm/trunk/src/c/modules/SurfaceAreax/SurfaceAreax.h
r13975 r15396 6 6 #define _SURFACEAREAX_H 7 7 8 #include "../../classes/objects/objects.h" 9 #include "../../Container/Container.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* local prototypes: */ -
issm/trunk/src/c/modules/SurfaceAverageVelMisfitx/SurfaceAverageVelMisfitx.cpp
r13975 r15396 6 6 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 8 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 9 #include "../SurfaceAreax/SurfaceAreax.h" 12 10 13 void SurfaceAverageVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters, bool process_units,int weight_index){11 void SurfaceAverageVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,int weight_index){ 14 12 15 13 /*Intermediary*/ … … 27 25 for (i=0;i<elements->Size();i++){ 28 26 element=dynamic_cast<Element*>(elements->GetObjectByOffset(i)); 29 J+=element->SurfaceAverageVelMisfit( process_units,weight_index);27 J+=element->SurfaceAverageVelMisfit(weight_index); 30 28 } 31 29 -
issm/trunk/src/c/modules/SurfaceAverageVelMisfitx/SurfaceAverageVelMisfitx.h
r13395 r15396 6 6 #define _SURFACEAVERAGEVELMISFITX_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* 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);11 void SurfaceAverageVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,int weight_index); 13 12 14 13 #endif -
issm/trunk/src/c/modules/SurfaceLogVelMisfitx/SurfaceLogVelMisfitx.cpp
r13975 r15396 6 6 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 8 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 9 12 void SurfaceLogVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters, bool process_units,int weight_index){10 void SurfaceLogVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,int weight_index){ 13 11 14 12 /*Intermediary*/ … … 23 21 for (i=0;i<elements->Size();i++){ 24 22 element=dynamic_cast<Element*>(elements->GetObjectByOffset(i)); 25 J+=element->SurfaceLogVelMisfit( process_units,weight_index);23 J+=element->SurfaceLogVelMisfit(weight_index); 26 24 } 27 25 -
issm/trunk/src/c/modules/SurfaceLogVelMisfitx/SurfaceLogVelMisfitx.h
r13395 r15396 6 6 #define _SURFACELOGVELMISFITX_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* 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);11 void SurfaceLogVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,int weight_index); 13 12 14 13 #endif -
issm/trunk/src/c/modules/SurfaceLogVxVyMisfitx/SurfaceLogVxVyMisfitx.cpp
r13975 r15396 6 6 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 8 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 9 12 void SurfaceLogVxVyMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters, bool process_units,int weight_index){10 void SurfaceLogVxVyMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,int weight_index){ 13 11 14 12 /*Intermediary*/ … … 23 21 for (i=0;i<elements->Size();i++){ 24 22 element=dynamic_cast<Element*>(elements->GetObjectByOffset(i)); 25 J+=element->SurfaceLogVxVyMisfit( process_units,weight_index);23 J+=element->SurfaceLogVxVyMisfit(weight_index); 26 24 } 27 25 -
issm/trunk/src/c/modules/SurfaceLogVxVyMisfitx/SurfaceLogVxVyMisfitx.h
r13395 r15396 6 6 #define _SURFACELOGVXVYMISFITX_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* 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);11 void SurfaceLogVxVyMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,int weight_index); 13 12 14 13 #endif -
issm/trunk/src/c/modules/SurfaceRelVelMisfitx/SurfaceRelVelMisfitx.cpp
r13975 r15396 6 6 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 8 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 9 12 void SurfaceRelVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters, bool process_units,int weight_index){10 void SurfaceRelVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,int weight_index){ 13 11 14 12 /*Intermediary*/ … … 23 21 for (i=0;i<elements->Size();i++){ 24 22 element=dynamic_cast<Element*>(elements->GetObjectByOffset(i)); 25 J+=element->SurfaceRelVelMisfit( process_units,weight_index);23 J+=element->SurfaceRelVelMisfit(weight_index); 26 24 } 27 25 -
issm/trunk/src/c/modules/SurfaceRelVelMisfitx/SurfaceRelVelMisfitx.h
r13395 r15396 6 6 #define _SURFACERELVELMISFITX_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* 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);11 void SurfaceRelVelMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,int weight_index); 13 12 14 13 #endif -
issm/trunk/src/c/modules/ThicknessAbsMisfitx/ThicknessAbsMisfitx.cpp
r13975 r15396 6 6 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 8 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 9 12 void ThicknessAbsMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters, bool process_units,int weight_index){10 void ThicknessAbsMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters, int weight_index){ 13 11 14 12 /*Intermediary*/ … … 23 21 for (i=0;i<elements->Size();i++){ 24 22 element=dynamic_cast<Element*>(elements->GetObjectByOffset(i)); 25 J+=element->ThicknessAbsMisfit( process_units,weight_index);23 J+=element->ThicknessAbsMisfit(weight_index); 26 24 } 27 25 -
issm/trunk/src/c/modules/ThicknessAbsMisfitx/ThicknessAbsMisfitx.h
r13395 r15396 6 6 #define _THICKNESSABSMISFITX_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* 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);11 void ThicknessAbsMisfitx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,int weight_index); 13 12 14 13 #endif -
issm/trunk/src/c/modules/ThicknessAcrossGradientx/ThicknessAcrossGradientx.cpp
r13975 r15396 6 6 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 8 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 9 12 void ThicknessAcrossGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters, bool process_units,int weight_index){10 void ThicknessAcrossGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,int weight_index){ 13 11 14 12 /*Intermediary*/ … … 23 21 for (i=0;i<elements->Size();i++){ 24 22 element=dynamic_cast<Element*>(elements->GetObjectByOffset(i)); 25 J+=element->ThicknessAcrossGradient( process_units,weight_index);23 J+=element->ThicknessAcrossGradient(weight_index); 26 24 } 27 25 -
issm/trunk/src/c/modules/ThicknessAcrossGradientx/ThicknessAcrossGradientx.h
r13395 r15396 6 6 #define _THICKNESSACROSSGRADIENT_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* 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);11 void ThicknessAcrossGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,int weight_index); 13 12 14 13 #endif -
issm/trunk/src/c/modules/ThicknessAlongGradientx/ThicknessAlongGradientx.cpp
r13975 r15396 6 6 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 8 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 9 12 void ThicknessAlongGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters, bool process_units,int weight_index){10 void ThicknessAlongGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,int weight_index){ 13 11 14 12 /*Intermediary*/ … … 23 21 for (i=0;i<elements->Size();i++){ 24 22 element=dynamic_cast<Element*>(elements->GetObjectByOffset(i)); 25 J+=element->ThicknessAlongGradient( process_units,weight_index);23 J+=element->ThicknessAlongGradient(weight_index); 26 24 } 27 25 -
issm/trunk/src/c/modules/ThicknessAlongGradientx/ThicknessAlongGradientx.h
r13395 r15396 6 6 #define _THICKNESSALONGGRADIENT_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* 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);11 void ThicknessAlongGradientx( IssmDouble* pJ, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials, Parameters* parameters,int weight_index); 13 12 14 13 #endif -
issm/trunk/src/c/modules/TriMeshProcessRiftsx/TriMeshProcessRiftsx.cpp
r14310 r15396 6 6 #include "../../classes/RiftStruct.h" 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 8 #include "../../toolkits/toolkits.h" 10 9 -
issm/trunk/src/c/modules/TriMeshx/TriMeshx.cpp
r14310 r15396 6 6 #include "./TriMeshx.h" 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 #include "../../io/io.h"10 8 #include "../../toolkits/toolkits.h" 11 #include "../../EnumDefinitions/EnumDefinitions.h"12 9 /*ANSI_DECLARATORS needed to call triangle library: */ 13 10 #if defined(_HAVE_TRIANGLE_) … … 22 19 /*}}}*/ 23 20 24 void TriMeshx( SeqMat<int>** pindex,SeqVec<IssmPDouble>** px,SeqVec<IssmPDouble>** py,SeqMat<int>** psegments,SeqVec<int>** psegmentmarkerlist,DataSet* domain,DataSet* rifts,double area){21 void TriMeshx(int** pindex,IssmPDouble** px,IssmPDouble** py,int** psegments,int** psegmentmarkerlist,int* pnels,int* pnods, int* pnsegs,Contours* domain,Contours* rifts,double area){ 25 22 26 23 #if !defined(_HAVE_TRIANGLE_) … … 31 28 32 29 /*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; 40 35 41 36 /*intermediary: */ … … 197 192 198 193 /*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; 208 202 #endif 209 203 } -
issm/trunk/src/c/modules/TriMeshx/TriMeshx.h
r14310 r15396 7 7 8 8 #include <string.h> 9 #include "../../Container/Container.h" 10 #include "../../classes/objects/objects.h" 9 #include "../../classes/classes.h" 11 10 12 11 /* 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 12 void TriMeshx(int** pindex,IssmPDouble** px,IssmPDouble** py,int** psegments,int** psegmentmarkerlist,int* pnels,int* pnods, int* pnseg,Contours* domain,Contours* rifts,double area); 15 13 #endif /* _TRIMESHX_H */ -
issm/trunk/src/c/modules/TriaSearchx/TriaSearchx.cpp
r13975 r15396 5 5 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 #include "../../classes/objects/objects.h" 10 #include "../modules.h" 8 #include "../../bamg/bamgobjects.h" 11 9 12 10 using namespace bamg; -
issm/trunk/src/c/modules/TriaSearchx/TriaSearchx.h
r13395 r15396 6 6 #define _TRIASEARCHX_H 7 7 8 #include "../../classes/ objects/objects.h"8 #include "../../classes/classes.h" 9 9 10 10 /* local prototypes: */ -
issm/trunk/src/c/modules/UpdateDynamicConstraintsx/UpdateDynamicConstraintsx.cpp
r13975 r15396 6 6 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 8 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 9 12 10 void UpdateDynamicConstraintsx(Constraints* constraints,Nodes* nodes,Parameters* parameters,Vector<IssmDouble>* yg){ -
issm/trunk/src/c/modules/UpdateDynamicConstraintsx/UpdateDynamicConstraintsx.h
r13395 r15396 6 6 #define _UPDATEDYNAMICCONSTRAINTSXX_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 void UpdateDynamicConstraintsx(Constraints* constraints,Nodes* nodes,Parameters* parameters,Vector<IssmDouble>* yg); -
issm/trunk/src/c/modules/VecMergex/VecMergex.cpp
r13975 r15396 6 6 7 7 #include "../../shared/shared.h" 8 #include "../../include/include.h"9 8 #include "../../toolkits/toolkits.h" 10 #include "../../EnumDefinitions/EnumDefinitions.h"11 9 void VecMergex(Vector<IssmDouble>* ug, Vector<IssmDouble>* uf, Nodes* nodes, Parameters* parameters, int SetEnum){ 12 10 -
issm/trunk/src/c/modules/VecMergex/VecMergex.h
r13395 r15396 6 6 #define _VECMERGEX_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* local prototypes: */ -
issm/trunk/src/c/modules/VerticesDofx/VerticesDofx.cpp
r13975 r15396 5 5 6 6 #include "../../shared/shared.h" 7 #include "../../include/include.h"8 7 #include "../../toolkits/toolkits.h" 9 #include "../../EnumDefinitions/EnumDefinitions.h"10 8 11 9 void VerticesDofx( Vertices* vertices, Parameters* parameters) { -
issm/trunk/src/c/modules/VerticesDofx/VerticesDofx.h
r13975 r15396 6 6 #define _VERTICESDOFX_H 7 7 8 #include "../../Container/Container.h" 9 #include "../../classes/objects/objects.h" 8 #include "../../classes/classes.h" 10 9 11 10 /* local prototypes: */ -
issm/trunk/src/c/modules/modules.h
r14310 r15396 25 25 #include "./DragCoefficientAbsGradientx/DragCoefficientAbsGradientx.h" 26 26 #include "./ElementConnectivityx/ElementConnectivityx.h" 27 #include "./EnumToStringx/EnumToStringx.h" 28 #include "./StringToEnumx/StringToEnumx.h" 27 #include "./EdgeDetectionx/EdgeDetectionx.h" 29 28 #include "./GetSolutionFromInputsx/GetSolutionFromInputsx.h" 30 29 #include "./GetVectorFromInputsx/GetVectorFromInputsx.h" 31 30 #include "./GetVectorFromControlInputsx/GetVectorFromControlInputsx.h" 31 #include "./GiaDeflectionCorex/GiaDeflectionCorex.h" 32 32 #include "./SetControlInputsFromVectorx/SetControlInputsFromVectorx.h" 33 33 #include "./Gradjx/Gradjx.h" … … 35 35 #include "./HoleFillerx/HoleFillerx.h" 36 36 #include "./InputControlUpdatex/InputControlUpdatex.h" 37 #include "./InputConvergencex/InputConvergencex.h"38 37 #include "./InputDuplicatex/InputDuplicatex.h" 39 38 #include "./InputScalex/InputScalex.h" … … 55 54 #include "./KMLMeshWritex/KMLMeshWritex.h" 56 55 #include "./KMLOverlayx/KMLOverlayx.h" 57 #include "./Xy2llx/Xy2llx.h"58 #include "./Ll2xyx/Ll2xyx.h"59 56 #include "./Exp2Kmlx/Exp2Kmlx.h" 60 57 #include "./Kml2Expx/Kml2Expx.h" … … 69 66 #include "./SurfaceAverageVelMisfitx/SurfaceAverageVelMisfitx.h" 70 67 #include "./ModelProcessorx/ModelProcessorx.h" 71 #include "./Parse PetscOptionsx/ParsePetscOptionsx.h"68 #include "./ParseToolkitsOptionsx/ParseToolkitsOptionsx.h" 72 69 #include "./NodalValuex/NodalValuex.h" 73 70 #include "./NodeConnectivityx/NodeConnectivityx.h" … … 100 97 #include "./UpdateDynamicConstraintsx/UpdateDynamicConstraintsx.h" 101 98 #include "./VerticesDofx/VerticesDofx.h" 99 #include "./VertexCoordinatesx/VertexCoordinatesx.h" 102 100 #include "./VecMergex/VecMergex.h" 103 101 #endif -
issm/trunk/src/c/shared/Bamg/BigPrimeNumber.cpp
r3913 r15396 1 #include "./BigPrimeNumber.h" 1 #include "./Abs.h" 2 #include "./extrema.h" 2 3 3 4 namespace bamg { -
issm/trunk/src/c/shared/Bamg/BigPrimeNumber.h
r3913 r15396 1 1 #ifndef _BIGPRIMENUMBER_H_ 2 2 #define _BIGPRIMENUMBER_H_ 3 4 #include "./Abs.h"5 #include "./extrema.h"6 3 7 4 namespace bamg { -
issm/trunk/src/c/shared/Bamg/HeapSort.h
r3913 r15396 3 3 4 4 /*Sort a list of size n*/ 5 template<class T> inline void HeapSort(T *c,long n){ 6 int l,j,r,i; 5 template<class T> inline void HeapSort(T *c,long n){ /*{{{*/ 6 7 /*Intermediaries*/ 8 int i,j,l,r; 7 9 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; 11 16 r=n; 17 c--; //the array must starts at 1 and not 0 18 19 /*Sorting algorithm*/ 12 20 for(;;){ 13 21 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 } 17 28 } 18 else crit = c[--l]; 29 else{ 30 crit = c[--l]; 31 } 19 32 j=l; 20 33 for(;;){ 21 i =j;22 j =2*j;23 if (j>r) 34 i = j; 35 j = 2*j; 36 if (j>r){c[i]=crit;break;} 24 37 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 -> stockthis large value in i(<j)26 else{c[i]=crit;break;} //c[j] < crit -> stockcrit 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) 27 40 } 28 41 } 29 42 } 43 /*}}}*/ 30 44 31 45 /*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; 46 template<class T> inline void HeapSort(int** porder,T* c,int n){ /*{{{*/ 47 48 /*Intermediaries*/ 49 int i,j,l,r; 34 50 T crit; 35 51 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]; 37 62 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*/ 43 65 for(;;){ 44 66 if(l<=1){ … … 63 85 } 64 86 } 65 } 87 }/*}}}*/ 66 88 67 89 #endif -
issm/trunk/src/c/shared/Bamg/OppositeAngle.h
r13395 r15396 2 2 #define _OPPOSITEANGLE_H_ 3 3 4 #include "../ ../classes/bamg/include.h"4 #include "../Numerics/constants.h" 5 5 6 6 /*Return the opposite angle modulo 2 Pi*/ 7 7 namespace bamg { 8 inline float OppositeAngle(float a){return a<0 ? fPi+a:a-fPi;}9 inline double OppositeAngle(double a){return a<0 ? P i+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;} 10 10 } 11 11 -
issm/trunk/src/c/shared/Bamg/shared.h
r13975 r15396 9 9 #include "BigPrimeNumber.h" 10 10 #include "BinaryRand.h" 11 #include "det.h"12 11 #include "Exchange.h" 13 12 #include "extrema.h" -
issm/trunk/src/c/shared/Elements/Arrhenius.cpp
r12706 r15396 3 3 */ 4 4 5 #include "./elements.h"6 5 #include <math.h> 6 #include "../Numerics/types.h" 7 #include "../Exceptions/exceptions.h" 7 8 8 9 IssmDouble Arrhenius(IssmDouble temperature,IssmDouble depth,IssmDouble n){ -
issm/trunk/src/c/shared/Elements/ComputeDelta18oTemperaturePrecipitation.cpp
r13395 r15396 5 5 6 6 #include "./elements.h" 7 #include "../Numerics/numerics.h" 7 8 8 9 void ComputeDelta18oTemperaturePrecipitation(IssmDouble Delta18oSurfacePresent, IssmDouble Delta18oSurfaceLgm, IssmDouble Delta18oSurfaceTime, -
issm/trunk/src/c/shared/Elements/Paterson.cpp
r13975 r15396 7 7 #include <math.h> 8 8 9 #include "../ ../include/include.h"9 #include "../Numerics/types.h" 10 10 11 11 IssmDouble Paterson(IssmDouble temperature){ -
issm/trunk/src/c/shared/Elements/PddSurfaceMassBalance.cpp
r13975 r15396 4 4 5 5 #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 8 IssmDouble 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){ 8 9 9 10 // output: 10 11 IssmDouble B; // surface mass balance, melt+accumulation 11 12 12 int iqj,imonth; 13 13 … … 20 20 IssmDouble sconv; //rhow_rain/rhoi / 12 months 21 21 22 IssmDouble lapser=6.5 /1000., sealev=0.; // lapse rate. degrees per meter. 7.5 lev's 99 paper, 9 Marshall 99 paper23 IssmDouble desfac = 0.5; // desert elevation factor24 IssmDouble s0p=0.; // should be set to elevation from precip source22 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 25 25 IssmDouble s0t=0.; // should be set to elevation from temperature source 26 26 IssmDouble st; // elevation between altitude of the temp record and current altitude … … 96 96 // gaussian=T_m, so ndd=-(Tsurf-pdd) 97 97 if (iqj>5 && iqj<9){ Tsum=Tsum+tstar;} 98 98 99 if (tstar >= siglim) {pdd = pdd + tstar*deltm;} 99 100 else if (tstar> -siglim){ … … 103 104 else{frzndd = frzndd - tstar*deltm; } 104 105 } // end of seasonal loop 105 106 106 //****************************************************************** 107 107 108 saccu = qm; 108 109 prect = qmp; // total precipitation during 1 year taking into account des. ef. -
issm/trunk/src/c/shared/Elements/PrintArrays.cpp
r14310 r15396 1 1 2 2 #include "./elements.h" 3 #include "../ ../include/macros.h"3 #include "../io/Print/Print.h" 4 4 using namespace std; 5 5 6 6 void printarray(IssmPDouble* array,int lines,int cols){ 7 _print Line_("");7 _printf_("\n"); 8 8 for(int i=0;i<lines;i++){ 9 _print String_(" [ ");10 for(int j=0;j<cols;j++) _print String_( " " << setw(11) << setprecision (5) << array[i*cols+j]);11 _print Line_(" ]");9 _printf_(" [ "); 10 for(int j=0;j<cols;j++) _printf_( " " << setw(11) << setprecision (5) << array[i*cols+j]); 11 _printf_(" ]\n"); 12 12 } 13 _print Line_("");13 _printf_("\n"); 14 14 } 15 15 void printsparsity(IssmPDouble* array,int lines,int cols){ 16 16 int count; 17 _print Line_("");17 _printf_("\n"); 18 18 for(int i=0;i<lines;i++){ 19 _print String_(" [ ");19 _printf_(" [ "); 20 20 count = 0; 21 21 for(int j=0;j<cols;j++){ 22 22 if(array[i*cols+j]!=0.0){ 23 _print String_( " X"); count++;23 _printf_( " X"); count++; 24 24 } 25 25 else 26 _print String_( " .");26 _printf_( " ."); 27 27 } 28 _print Line_(" ] "<<i<<" => "<<count);28 _printf_(" ] "<<i<<" => "<<count << "\n"); 29 29 } 30 _print Line_("");30 _printf_("\n"); 31 31 } 32 32 void printarray(int* array,int lines,int cols){ 33 _print Line_("");33 _printf_("\n"); 34 34 for(int i=0;i<lines;i++){ 35 _print String_(" [ ");36 for(int j=0;j<cols;j++) _print String_( " " << setw(11) << setprecision (5) << array[i*cols+j]);37 _print Line_(" ]");35 _printf_(" [ "); 36 for(int j=0;j<cols;j++) _printf_( " " << setw(11) << setprecision (5) << array[i*cols+j]); 37 _printf_(" ]\n"); 38 38 } 39 _print Line_("");39 _printf_("\n"); 40 40 } 41 41 void printarray(bool* array,int lines,int cols){ 42 _print Line_("");42 _printf_("\n"); 43 43 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"); 47 50 } 48 _print Line_("");51 _printf_("\n"); 49 52 } 50 53 void printbinary(int n){ … … 52 55 while (i>0) { 53 56 if (n&i) 54 _print String_("1");57 _printf_("1"); 55 58 else 56 _print String_("0");59 _printf_("0"); 57 60 i>>=1; 58 61 } -
issm/trunk/src/c/shared/Elements/elements.h
r14310 r15396 6 6 #define _SHARED_ELEMENTS_H_ 7 7 8 #include "../../classes/objects/objects.h" 9 #include "../../Container/Container.h" 10 class ElementMatrix; 11 class ElementVector; 8 #include "../Numerics/types.h" 12 9 13 10 IssmDouble Paterson(IssmDouble temperature); 14 11 IssmDouble Arrhenius(IssmDouble temperature,IssmDouble depth,IssmDouble n); 15 12 IssmDouble 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); 17 15 void ComputeDelta18oTemperaturePrecipitation(IssmDouble Delta18oSurfacePresent, IssmDouble Delta18oSurfaceLgm, IssmDouble Delta18oSurfaceTime, 18 16 IssmDouble Delta18oPresent, IssmDouble Delta18oLgm, IssmDouble Delta18oTime, … … 20 18 IssmDouble* TemperaturesLgm, IssmDouble* TemperaturesPresentday, 21 19 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 #endif38 20 39 21 /*Print arrays*/ -
issm/trunk/src/c/shared/Exceptions/Exceptions.cpp
r13975 r15396 9 9 #endif 10 10 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" 13 14 14 15 ErrorException::ErrorException(const string &what_arg){/*{{{*/ … … 41 42 42 43 if (function_name=="" || file_line==0){ //WINDOWS 43 _print String_("Error message: " << what());44 _printf_("Error message: " << what()); 44 45 } 45 46 else{ 46 47 if(num_procs==1){ 47 _print Line_("\n??? Error in ==> " << file_name.c_str() << ":" << file_line);48 _print Line_(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"); 49 50 } 50 51 else{ 51 _print Line_("\n[" << my_rank<< "] ??? Error using ==> " << file_name.c_str() << ":" << file_line);52 _print Line_( "[" << 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"); 53 54 } 54 55 } -
issm/trunk/src/c/shared/Exceptions/exceptions.h
r13975 r15396 7 7 */ 8 8 9 #ifndef MY_EXCEPTIONS_H_10 #define MY_EXCEPTIONS_H_9 #ifndef _MY_EXCEPTIONS_H_ 10 #define _MY_EXCEPTIONS_H_ 11 11 12 12 #include <exception> 13 13 #include <string> 14 #include <iostream> 15 #include <sstream> 16 #include <iomanip> 17 14 18 using namespace std; 15 19 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: */ 76 class ErrorException: public exception { /*{{{*/ 18 77 19 78 string what_str; … … 32 91 33 92 }; 93 /*}}}*/ 34 94 35 95 char* exprintf(const char* format,...); 96 36 97 #endif -
issm/trunk/src/c/shared/Exceptions/exprintf.cpp
r13975 r15396 8 8 #include <stdarg.h> 9 9 #include <stdio.h> 10 #include "../Alloc/xNewDelete.h" 11 #include "../Alloc/alloc.h" 10 #include "../MemOps/MemOps.h" 12 11 13 12 char* exprintf(const char* format,...){ -
issm/trunk/src/c/shared/Exp/exp.h
r14310 r15396 7 7 8 8 #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" 12 12 13 13 int IsInPolySerial(double* in,double* xc,double* yc,int numvertices,double* x,double* y,int nods, int edgevalue); 14 14 int ExpWrite(int nprof,int* profnvertices,double** pprofx,double** pprofy,char* domainname); 15 int ExpWrite(DataSet* contours,char* domainname);16 15 int pnpoly(int npol, double *xp, double *yp, double x, double y, int edgevalue); 17 16 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){ 17 template <class doubletype> int IsInPoly(doubletype* in,double* xc,double* yc,int numvertices,double* x,double* y,int i0,int i1, int edgevalue){ /*{{{*/ 21 18 22 19 int i; … … 40 37 41 38 //Get current value of value[i] -> do not change it if != 0 42 in->GetValue(&value,i);39 value=in[i]; 43 40 if (reCast<bool,doubletype>(value)){ 44 41 /*this vertex already is inside one of the contours, continue*/ … … 54 51 value=pnpoly(numvertices,xc,yc,x0,y0,edgevalue); 55 52 } 56 in ->SetValue(i,value,INS_VAL);53 in[i]=value; 57 54 } 58 55 return 1; 59 56 }/*}}}*/ 60 /*DomainOutlineRead{{{*/ 61 template <class doubletype> 62 int DomainOutlineRead(int* pnprof,int** pprofnvertices,doubletype*** ppprofx,doubletype*** ppprofy,bool** pclosed,char* domainname){ 57 template <class doubletype> int ExpRead(int* pnprof,int** pprofnvertices,doubletype*** ppprofx,doubletype*** ppprofy,bool** pclosed,char* domainname){ /*{{{*/ 63 58 64 59 /*indexing: */ … … 91 86 nprof=1; 92 87 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 } 99 102 /*check whether we are at the end of the file, otherwise, keep reading next profile:*/ 100 if 103 if(feof(fid)) break; 101 104 nprof++; 102 105 } … … 119 122 120 123 /*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); 124 130 125 131 /*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); 127 133 128 134 /*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); 130 137 131 138 /*Allocate vertices: */ … … 135 142 /*Read vertices: */ 136 143 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 } 138 147 } 139 148 … … 161 170 if(pclosed) *pclosed=closed; 162 171 else xDelete<bool>(closed); 163 } /*}}}*/ 164 /*DataSet* DomainOutlineRead(char* domainname){{{*/ 165 template <class doubletype> 166 DataSet* DomainOutlineRead(char* domainname){ 172 return 1; 167 173 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;192 174 } /*}}}*/ 193 175 -
issm/trunk/src/c/shared/Matrix/MatrixUtils.cpp
r13395 r15396 5 5 /*Headers*/ 6 6 /*{{{*/ 7 #include "./matrix.h"8 #include "../Exceptions/exceptions.h"9 #include "../Alloc/alloc.h"10 7 #include <stdio.h> 11 8 #include <sys/types.h> 12 9 #include <math.h> 13 10 #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" 16 15 /*}}}*/ 17 16 … … 206 205 pindx[ipiv]++; 207 206 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"); 210 208 211 209 /* switch rows to put pivot element on diagonal, noting that the … … 213 211 214 212 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"); 217 214 218 215 ipt=irow*ndim; … … 295 292 icol=pivrc2[j]; 296 293 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"); 299 295 300 296 ipt=0; -
issm/trunk/src/c/shared/Matrix/matrix.h
r12706 r15396 6 6 #define _MATRIXUTILS_H_ 7 7 8 #include "../ ../include/include.h"8 #include "../Numerics/types.h" 9 9 10 10 int 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 9 9 #endif 10 10 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"16 11 #include <float.h> 17 12 #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" 18 22 19 23 void BrentSearch(IssmDouble* psearch_scalar,IssmDouble* pJ,OptPars* optpars,IssmDouble (*f)(IssmDouble,OptArgs*), OptArgs* optargs){ … … 46 50 if (xIsNan<IssmDouble>(fxmin)) _error_("Function evaluation returned NaN"); 47 51 cout<<setprecision(5); 48 if(VerboseControl()) _p printLine_("");49 if(VerboseControl()) _p printLine_(" Iteration x f(x) Tolerance Procedure");50 if(VerboseControl()) _p printLine_("");51 if(VerboseControl()) _p printLine_(" 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"); 52 56 fxmax = (*f)(xmax,optargs); 53 57 if (xIsNan<IssmDouble>(fxmax)) _error_("Function evaluation returned NaN"); 54 if(VerboseControl()) _p printLine_(" 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"); 55 59 56 60 /*test if jump option activated and xmin==0*/ … … 89 93 /*4: print result*/ 90 94 if(VerboseControl()) 91 _p printLine_(" "<<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"); 92 96 if (!xIsNan<IssmDouble>(cm_jump) && (xmin==0) && ((fxbest/fxmin)<cm_jump)){ 93 if(VerboseControl()) _p printLine_(" 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"); 94 98 loop=false; 95 99 } … … 185 189 tol2=2.0*tol1; 186 190 if(VerboseControl()) 187 _p printLine_(" "<<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"); 189 193 190 194 /*Stop the optimization?*/ 191 195 if (sqrt(pow(xbest-xm,2)) < (tol2-0.5*(xmax-xmin))){ 192 if(VerboseControl()) _p printLine_(" optimization terminated: current x satisfies criteria 'tolx'=" << tolerance);196 if(VerboseControl()) _printf0_(" optimization terminated: current x satisfies criteria 'tolx'=" << tolerance << "\n"); 193 197 loop=false; 194 198 } 195 199 else if (iter>=maxiter){ 196 if(VerboseControl()) _p printLine_(" 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"); 197 201 loop=false; 198 202 } 199 203 else if (!xIsNan<IssmDouble>(cm_jump) && (xmin==0) && ((fxbest/fxmin)<cm_jump)){ 200 if(VerboseControl()) _p printLine_(" 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"); 201 205 loop=false; 202 206 } -
issm/trunk/src/c/shared/Numerics/CMakeLists.txt
r14310 r15396 9 9 $ENV{ISSM_DIR}/src/c/shared/Numerics/extrema.cpp 10 10 $ENV{ISSM_DIR}/src/c/shared/Numerics/GaussPoints.cpp 11 $ENV{ISSM_DIR}/src/c/shared/Numerics/IsInputConverged.cpp12 11 $ENV{ISSM_DIR}/src/c/shared/Numerics/isnan.cpp 13 12 $ENV{ISSM_DIR}/src/c/shared/Numerics/OptionsFromAnalysis.cpp 14 $ENV{ISSM_DIR}/src/c/shared/Numerics/UnitConversion.cpp15 13 $ENV{ISSM_DIR}/src/c/shared/Numerics/Verbosity.cpp 16 14 $ENV{ISSM_DIR}/src/c/shared/Numerics/XZvectorsToCoordinateSystem.cpp PARENT_SCOPE) -
issm/trunk/src/c/shared/Numerics/GaussPoints.cpp
r13395 r15396 1 1 /* 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"7 2 #include <math.h> 8 3 #include <float.h> 4 5 #include "./GaussPoints.h" 6 #include "../MemOps/MemOps.h" 7 #include "../Exceptions/exceptions.h" 8 #include "../Numerics/constants.h" 9 9 10 10 /*General Gauss points*/ … … 50 50 sizeof(wgt4 )/sizeof(IssmPDouble)}; 51 51 52 // _p printLine_("Gauss-Legendre recurrence coefficients ngaus=" << ngaus);52 // _printf0_("Gauss-Legendre recurrence coefficients ngaus=" << ngaus << "\n"); 53 53 *pxgaus =xNew<IssmPDouble>(ngaus); 54 54 *pxwgt =xNew<IssmPDouble>(ngaus); … … 88 88 }/*}}}*/ 89 89 /*FUNCTION GaussLegendreTria{{{*/ 90 void GaussLegendreTria( int* pngaus, Issm PDouble** pl1, IssmPDouble** pl2, IssmPDouble** pl3, IssmPDouble** pwgt, int iord ) {90 void GaussLegendreTria( int* pngaus, IssmDouble** pl1, IssmDouble** pl2, IssmDouble** pl3, IssmDouble** pwgt, int iord ) { 91 91 /*Gauss quadrature points for the triangle. 92 92 … … 413 413 0.116251915907597, 0.025734050548330, 0.025734050548330}; 414 414 /*}}}*/ 415 /* 415 /*p=13, npoint=37 {{{*/ 416 416 static IssmPDouble wgt13[]={ 417 417 0.090968907790622, 0.019537784619314, 0.019537784619314, … … 771 771 0.014663182224828}; 772 772 /*}}}*/ 773 /* 773 /*p=18, npoint=70 {{{*/ 774 774 775 775 static IssmPDouble wgt18[]={ … … 1138 1138 sizeof(wgt20)/sizeof(IssmPDouble)}; 1139 1139 1140 // _p printLine_("GaussLegendreTria: iord=" << iord);1140 // _printf0_("GaussLegendreTria: iord=" << iord << "\n"); 1141 1141 1142 1142 /* check to see if Gauss points need to be calculated */ … … 1149 1149 *pngaus=np[iord-1]; 1150 1150 1151 *pl1 =xNew<Issm PDouble>(*pngaus);1152 *pl2 =xNew<Issm PDouble>(*pngaus);1153 *pl3 =xNew<Issm PDouble>(*pngaus);1154 *pwgt =xNew<Issm PDouble>(*pngaus);1151 *pl1 =xNew<IssmDouble>(*pngaus); 1152 *pl2 =xNew<IssmDouble>(*pngaus); 1153 *pl3 =xNew<IssmDouble>(*pngaus); 1154 *pwgt =xNew<IssmDouble>(*pngaus); 1155 1155 1156 1156 for (i=0; i<*pngaus; i++) { … … 1167 1167 *pngaus=nigaus*nigaus; 1168 1168 1169 *pl1 =xNew<Issm PDouble>(*pngaus);1170 *pl2 =xNew<Issm PDouble>(*pngaus);1171 *pl3 =xNew<Issm PDouble>(*pngaus);1172 *pwgt =xNew<Issm PDouble>(*pngaus);1169 *pl1 =xNew<IssmDouble>(*pngaus); 1170 *pl2 =xNew<IssmDouble>(*pngaus); 1171 *pl3 =xNew<IssmDouble>(*pngaus); 1172 *pwgt =xNew<IssmDouble>(*pngaus); 1173 1173 1174 1174 /* get the gauss points in each direction */ … … 1198 1198 } 1199 1199 1200 // _p printLine_("GaussLegendreTria - ngaus=" << *pngaus);1200 // _printf0_("GaussLegendreTria - ngaus=" << *pngaus << "\n"); 1201 1201 // 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"); 1204 1203 1205 1204 return; … … 1397 1396 sizeof(wgt6 )/sizeof(IssmPDouble)}; 1398 1397 1399 // _p printLine_("GaussLegendreTetra: iord=" << iord);1398 // _printf0_("GaussLegendreTetra: iord=" << iord << "\n"); 1400 1399 1401 1400 /* check to see if Gauss points need to be calculated */ … … 1520 1519 sizeof(wgt5 )/sizeof(IssmPDouble)}; 1521 1520 1522 // _p printLine_("Gauss-Lobatto recurrence coefficients ngaus=" << ngaus);1521 // _printf0_("Gauss-Lobatto recurrence coefficients ngaus=" << ngaus << "\n"); 1523 1522 *pxgaus =xNew<IssmPDouble>(ngaus); 1524 1523 *pxwgt =xNew<IssmPDouble>(ngaus); -
issm/trunk/src/c/shared/Numerics/GaussPoints.h
r12706 r15396 3 3 */ 4 4 5 #include "../../ include/types.h"5 #include "../../shared/Numerics/types.h" 6 6 #ifndef _GAUSSPOINTS_H 7 7 #define _GAUSSPOINTS_H … … 10 10 void GaussLegendreLinear(IssmPDouble** pxgaus, IssmPDouble** pxwgt, int ngaus); 11 11 #define MAX_TRIA_SYM_ORD 20 12 void GaussLegendreTria(int* pngaus, Issm PDouble** pl1, IssmPDouble** pl2, IssmPDouble** pl3, IssmPDouble** pwgt, int iord);12 void GaussLegendreTria(int* pngaus, IssmDouble** pl1, IssmDouble** pl2, IssmDouble** pl3, IssmDouble** pwgt, int iord); 13 13 #define MAX_TETRA_SYM_ORD 6 14 14 void 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 9 9 #endif 10 10 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"16 11 #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" 17 21 18 22 void OptimalSearch(IssmDouble* psearch_scalar,IssmDouble* pJ,OptPars* optpars,IssmDouble (*f)(IssmDouble,OptArgs*), OptArgs* optargs){ … … 43 47 if (xIsNan<IssmDouble>(fx1)) _error_("Function evaluation returned NaN"); 44 48 cout<<setprecision(5); 45 if(VerboseControl()) _p printLine_("");46 if(VerboseControl()) _p printLine_(" Iteration x f(x) Tolerance");47 if(VerboseControl()) _p printLine_("");48 if(VerboseControl()) _p printLine_(" 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"); 49 53 50 54 //update tolerances … … 59 63 if (xIsNan<IssmDouble>(fx2)) _error_("Function evaluation returned NaN"); 60 64 if(VerboseControl()) 61 _p printLine_(" "<<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"); 62 66 63 67 //Stop the optimization? 64 68 if ((fabs(x2-x1)+seps)<tolerance || (fabs(fx2-fx1)+seps)<tolerance){ 65 if(VerboseControl()) _p printLine_(" " << "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"); 66 70 loop=false; 67 71 } 68 72 else if (iter>=maxiter){ 69 if(VerboseControl()) _p printLine_(" " << "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"); 70 74 loop=false; 71 75 } -
issm/trunk/src/c/shared/Numerics/Synchronize.sh
r13975 r15396 27 27 #endif 28 28 #include "./Verbosity.h" 29 #include "../../include/macros.h"30 29 #include "../Exceptions/exceptions.h" 31 30 /*}}}*/ -
issm/trunk/src/c/shared/Numerics/Verbosity.cpp
r13975 r15396 16 16 #endif 17 17 #include "./Verbosity.h" 18 #include "../../include/macros.h"19 18 #include "../Exceptions/exceptions.h" 20 19 /*}}}*/ -
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" 3 4 #include "../Exceptions/exceptions.h" 5 #include "../Numerics/types.h" 4 6 #include "./isnan.h" 5 #include <math.h>6 7 7 8 void XZvectorsToCoordinateSystem(IssmDouble* T,IssmDouble* xzvectors){ -
issm/trunk/src/c/shared/Numerics/cross.cpp
r13975 r15396 9 9 #endif 10 10 11 #include ". ./../include/include.h"11 #include "./types.h" 12 12 13 13 void cross(IssmDouble* result,IssmDouble* vector1,IssmDouble* vector2){ -
issm/trunk/src/c/shared/Numerics/cubic.cpp
r13395 r15396 1 1 #include <math.h> 2 2 3 #include "./numerics.h" 3 4 -
issm/trunk/src/c/shared/Numerics/extrema.cpp
r12706 r15396 9 9 #endif 10 10 11 #include ". ./../include/include.h"11 #include "./types.h" 12 12 13 13 IssmDouble min(IssmDouble a,IssmDouble b){ … … 27 27 else return b; 28 28 } 29 30 #ifdef _HAVE_ADOLC_ 31 IssmPDouble min(IssmPDouble a,IssmPDouble b){ 32 if (a<b)return a; 33 else return b; 34 } 35 IssmPDouble 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 7 7 #endif 8 8 9 #include "../../include/include.h"10 9 #include "isnan.h" 11 10 -
issm/trunk/src/c/shared/Numerics/isnan.h
r13975 r15396 24 24 25 25 #if defined(_HAVE_ADOLC_) && !defined(_WRAPPERS_) 26 #include "./types.h" 26 27 template <> int xIsNan<adouble> (const adouble& X); 27 28 #endif -
issm/trunk/src/c/shared/Numerics/numerics.h
r13395 r15396 6 6 #define _NUMERICS_H_ 7 7 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 8 14 #include "./Verbosity.h" 9 15 #include "./GaussPoints.h" 10 16 #include "./isnan.h" 11 17 #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" 18 22 19 23 IssmDouble min(IssmDouble a,IssmDouble b); 20 24 IssmDouble max(IssmDouble a,IssmDouble b); 25 26 #ifdef _HAVE_ADOLC_ 27 IssmPDouble min(IssmPDouble a,IssmPDouble b); 28 IssmPDouble max(IssmPDouble a,IssmPDouble b); 29 #endif 30 21 31 int min(int a,int b); 22 32 int max(int a,int b); … … 25 35 void OptimalSearch(IssmDouble *psearch_scalar,IssmDouble*pJ,OptPars*optpars,IssmDouble (*f)(IssmDouble,OptArgs*), OptArgs*optargs); 26 36 void 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);31 37 void XZvectorsToCoordinateSystem(IssmDouble *T,IssmDouble*xzvectors); 32 38 int 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 #endif36 39 37 40 #endif //ifndef _NUMERICS_H_ -
issm/trunk/src/c/shared/Numerics/recast.h
r13975 r15396 17 17 #if !defined(_HAVE_ADOLC_) || defined(_WRAPPERS_) 18 18 19 template<class To, class From> 20 To reCast(const From& from) { 19 template<class To, class From> To reCast(const From& from) { 21 20 return (To)from; 22 21 } 23 22 24 23 #else 24 #include "./types.h" 25 25 26 template<class To, class From> 27 struct ForPartialSpecialization { 26 template<class To, class From> struct ForPartialSpecialization { 28 27 static To reCast(const From& from ) { return (To) from;} 29 28 }; 30 29 31 template<class To, class From> 32 To reCast(const From& from) { 30 template<class To, class From> To reCast(const From& from) { 33 31 return ForPartialSpecialization<To,From>::reCast(from); 34 32 } … … 36 34 * partial specialization 37 35 */ 38 template<class To> 39 struct ForPartialSpecialization<To,adouble> { 36 template<class To> struct ForPartialSpecialization<To,adouble> { 40 37 static To reCast(const adouble& from ) { return (To) (from.getValue());} 41 38 }; -
issm/trunk/src/c/shared/Sorting/binary_search.cpp
r13975 r15396 9 9 #endif 10 10 11 #include "../Exceptions/exceptions.h" 11 12 #include <stdio.h> 12 13 … … 21 22 int *end = NULL; 22 23 int *mid = NULL; 24 25 _assert_(sorted_integers); 23 26 24 27 // point to beginning and end of the array -
issm/trunk/src/c/shared/String/DescriptorIndex.cpp
r13975 r15396 14 14 #include <string.h> 15 15 #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" 18 19 19 20 int 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 12 12 #endif 13 13 14 void ApiPrintf(const char* string); 15 14 16 #endif //ifndef _SHAREDSTRING_H_ -
issm/trunk/src/c/shared/Threads/LaunchThread.cpp
r14067 r15396 20 20 21 21 #include "./issm_threads.h" 22 #include "../ Alloc/xNewDelete.h"22 #include "../MemOps/MemOps.h" 23 23 #include "../Exceptions/exceptions.h" 24 #include "../../include/include.h"25 24 26 25 void LaunchThread(void* function(void*), void* gate,int num_threads){ -
issm/trunk/src/c/shared/TriMesh/SplitMeshForRifts.cpp
r14310 r15396 3 3 */ 4 4 #include "./trimesh.h" 5 #include "../Alloc/xNewDelete.h" 6 #include "../Alloc/alloc.h" 5 #include "../MemOps/MemOps.h" 7 6 8 7 int 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 7 7 #include "./trimesh.h" 8 8 #include "../Exceptions/exceptions.h" 9 #include "../Alloc/xNewDelete.h" 10 #include "../Alloc/alloc.h" 11 #include "../../include/include.h" 9 #include "../MemOps/MemOps.h" 12 10 13 11 #define RIFTPENALTYPAIRSWIDTH 8 -
issm/trunk/src/c/shared/shared.h
r13975 r15396 6 6 #define _SHARED_H_ 7 7 8 #include "./Alloc/alloc.h" 9 #include "./Alloc/xNewDelete.h" 8 #include "./MemOps/MemOps.h" 10 9 #include "./Bamg/shared.h" 11 10 #include "./Elements/elements.h" 11 #include "./Enum/Enum.h" 12 12 #include "./Exceptions/exceptions.h" 13 #include "./io/io.h" 13 14 #include "./Exp/exp.h" 14 15 #include "./Matrix/matrix.h" 15 #include "./MemOps/xMemCpy.h"16 16 #include "./Numerics/numerics.h" 17 17 #include "./Sorting/sorting.h" … … 19 19 #include "./Threads/issm_threads.h" 20 20 #include "./TriMesh/trimesh.h" 21 #include "./LatLong/latlong.h" 21 22 22 23 #endif -
issm/trunk/src/c/toolkits/issm/issmtoolkit.h
r13395 r15396 6 6 #define _ISSM_TOOLKIT_H_ 7 7 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 10 26 11 27 #endif -
issm/trunk/src/c/toolkits/mpi/mpiincludes.h
r13975 r15396 6 6 #define _MPI_INCLUDES_H_ 7 7 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 8 16 /*MPI includes: */ 9 17 #include <mpi.h> … … 11 19 /*Patches: */ 12 20 #include "./patches/mpipatches.h" 21 #endif 13 22 14 23 #endif -
issm/trunk/src/c/toolkits/mpi/patches/DetermineLocalSize.cpp
r13975 r15396 6 6 #include <math.h> 7 7 #include "../../../shared/shared.h" 8 #include "../../../include/types.h"9 8 10 9 int DetermineLocalSize(int global_size,COMM comm){ … … 25 24 MPI_Comm_rank(comm,&my_rank); 26 25 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 */ 27 34 28 35 /*We are not bound by any library, just use what seems most logical*/ -
issm/trunk/src/c/toolkits/mpi/patches/mpipatches.h
r13975 r15396 6 6 #define MPI_PATCHES_H_ 7 7 8 #include "../../../include/types.h" 8 #include "../../../shared/Numerics/types.h" 9 #include "../../../shared/io/Comm/Comm.h" 9 10 10 11 int DetermineLocalSize(int global_size,COMM comm); 12 int* DetermineRowRankFromLocalSize(int global_size,int localsize,COMM comm); 13 void GetOwnershipBoundariesFromRange(int* plower_row,int* pupper_row,int range,COMM comm); 14 int DetermineGlobalSize(int local_size,COMM comm); 11 15 12 16 #endif -
issm/trunk/src/c/toolkits/petsc/objects/PetscMat.cpp
r13975 r15396 93 93 MatInfo info; 94 94 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"); 102 103 } 103 104 /*}}}*/ … … 176 177 void PetscMat::SetValues(int m,int* idxm,int n,int* idxn,IssmDouble* values,InsMode mode){ 177 178 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"); 179 182 180 183 } -
issm/trunk/src/c/toolkits/petsc/objects/PetscMat.h
r13975 r15396 17 17 18 18 #include "../petscincludes.h" 19 #include "../../../ include/include.h"19 #include "../../../shared/Numerics/types.h" 20 20 21 21 /*}}}*/ -
issm/trunk/src/c/toolkits/petsc/objects/PetscVec.h
r13975 r15396 17 17 18 18 #include "../petscincludes.h" 19 #include "../../../include/include.h"20 19 21 20 /*}}}*/ -
issm/trunk/src/c/toolkits/petsc/objects/petscobjects.h
r13395 r15396 8 8 #include "./PetscMat.h" 9 9 #include "./PetscVec.h" 10 #include "./PetscSolver.h" 10 11 11 12 #endif -
issm/trunk/src/c/toolkits/petsc/patches/ISSMToPetscMatrixType.cpp
r13975 r15396 18 18 #include "../../../shared/shared.h" 19 19 20 constMatType ISSMToPetscMatrixType(MatrixType type){20 MatType ISSMToPetscMatrixType(MatrixType type){ 21 21 22 22 switch(type){ -
issm/trunk/src/c/toolkits/petsc/patches/NewMat.cpp
r13975 r15396 17 17 18 18 #include "../../../shared/shared.h" 19 #include "../../../include/include.h"20 19 #include "../../mpi/patches/mpipatches.h" 21 20 … … 92 91 93 92 #if _PETSC_MAJOR_ >= 3 94 #if def _HAVE_PETSCDEV_93 #if defined(_HAVE_PETSCDEV_) || _PETSC_MINOR_ >=4 95 94 MatType type; 96 95 #else -
issm/trunk/src/c/toolkits/petsc/patches/PetscOptionsDetermineSolverType.cpp
r13975 r15396 17 17 18 18 #include "../../../shared/shared.h" 19 #include "../../../include/include.h"20 19 21 20 void PetscOptionsDetermineSolverType(int* psolver_type){ -
issm/trunk/src/c/toolkits/petsc/patches/PetscOptionsInsertMultipleString.cpp
r13975 r15396 17 17 18 18 #include "../../../shared/shared.h" 19 #include "../../../include/include.h"20 19 21 20 void PetscOptionsInsertMultipleString(char* options_string){ -
issm/trunk/src/c/toolkits/petsc/patches/VecMerge.cpp
r13975 r15396 17 17 18 18 #include "../../../shared/shared.h" 19 #include "../../../include/include.h"20 19 21 20 void VecMerge(Vec A, Vec B, double* row_partition_vector,int row_partition_size){ -
issm/trunk/src/c/toolkits/petsc/patches/petscpatches.h
r13975 r15396 13 13 #include "./SolverEnum.h" 14 14 #include "../../toolkitsenums.h" 15 #include "../../../ include/types.h"15 #include "../../../shared/io/Comm/Comm.h" 16 16 17 17 class Parameters; … … 38 38 InsertMode ISSMToPetscInsertMode(InsMode mode); 39 39 NormType ISSMToPetscNormMode(NormMode mode); 40 constMatType ISSMToPetscMatrixType(MatrixType type);40 MatType ISSMToPetscMatrixType(MatrixType type); 41 41 42 42 void PetscMatrixToDoubleMatrix(double** pmatrix, int* prows, int* pcols,Mat matrix); -
issm/trunk/src/c/toolkits/plapack/patches/PlapackInvertMatrix.cpp
r13975 r15396 2 2 * \brief invert petsc matrix using Plapack 3 3 */ 4 #include "../../../include/include.h"5 4 6 5 /* petsc: */ -
issm/trunk/src/c/toolkits/toolkits.h
r13975 r15396 24 24 #endif 25 25 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_ 26 35 #include "./triangle/triangleincludes.h" 36 #endif 37 38 #include "./objects/toolkitobjects.h" 27 39 #include "./toolkitsenums.h" 28 40 #include "./issm/issmtoolkit.h" 41 #include "./ToolkitOptions.h" 29 42 #endif -
issm/trunk/src/c/toolkits/toolkitsenums.h
r11995 r15396 13 13 14 14 typedef enum {INS_VAL, ADD_VAL} InsMode; 15 typedef enum {NORM_INF,NORM_TWO } NormMode;15 typedef enum {NORM_INF,NORM_TWO,NORM_FROB} NormMode; 16 16 typedef enum {DENSE_SEQUENTIAL,SPARSE_SEQUENTIAL} MatrixType; 17 17 -
issm/trunk/src/dox/issm.dox
r14067 r15396 1 2 1 /** 3 2 \mainpage ISSM C/C++ Source Code Browser … … 11 10 12 11 These pages were automatically generated by <a href="http://www.doxygen.org/">doxygen</a>, 13 from comments inthe ISSM source code.12 from the ISSM source code. 14 13 15 14 Navigate the tabs above and browse through ISSM's … … 25 24 <B> Helpful Links </B> 26 25 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>. 28 27 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>. 30 31 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>. 32 33 Other documentation is also available including simple tutorials 33 34 and FAQ. … … 46 47 </th> 47 48 <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;">14 087</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> 49 50 </tr> 50 51 <tr> 51 <th bgcolor=#C6E2FF style="text-align:left;"> MATLAB </th><td bgcolor=#C6E2FF style="text-align:right;">9 45</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> 52 53 </tr> 53 54 <tr> 54 <th bgcolor=#FFFFFF style="text-align:left;"> C/C++ Header </th><td bgcolor=#FFFFFF style="text-align:right;">36 2</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> 55 56 </tr> 56 57 <tr> 57 <th bgcolor=#C6E2FF style="text-align:left;"> Python </th><td bgcolor=#C6E2FF style="text-align:right;">1 09</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> 58 59 </tr> 59 60 <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> 61 62 </tr> 62 63 <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> 64 65 </tr> 65 66 <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> 67 68 </tr> 68 69 <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> 70 71 </tr> 71 72 <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> 73 74 </tr> 74 75 <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> 76 77 </tr> 77 78 <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> 79 86 </tr> 80 87 </table> 81 88 82 <I> Copyright (C) 201 2</I>89 <I> Copyright (C) 2013 </I> 83 90 */ -
issm/trunk/src/m/Makefile.am
r13975 r15396 22 22 ./geometry/*.m \ 23 23 ./interp/*.m \ 24 ./ latlong/*.m \24 ./coordsystems/*.m \ 25 25 ./mech/*.m \ 26 26 ./mesh/*.m \ -
issm/trunk/src/m/boundaryconditions/SetIceSheetBC.m
r13975 r15396 16 16 md.diagnostic.spcvz(pos)=0; 17 17 md.diagnostic.referential=NaN*ones(md.mesh.numberofvertices,6); 18 md.diagnostic.loadingforce=0*ones(md.mesh.numberofvertices,3); 18 19 19 20 %Dirichlet Values -
issm/trunk/src/m/boundaryconditions/SetIceSheetBC.py
r13975 r15396 22 22 md.diagnostic.spcvz[pos]=0 23 23 md.diagnostic.referential=float('nan')*numpy.ones((md.mesh.numberofvertices,6)) 24 md.diagnostic.loadingforce=0*numpy.ones((md.mesh.numberofvertices,3)) 24 25 25 26 #Dirichlet Values -
issm/trunk/src/m/boundaryconditions/SetIceShelfBC.m
r13395 r15396 35 35 md.diagnostic.spcvz(pos)=0; 36 36 md.diagnostic.referential=NaN*ones(md.mesh.numberofvertices,6); 37 md.diagnostic.loadingforce=0*ones(md.mesh.numberofvertices,3); 37 38 38 39 %Dirichlet Values -
issm/trunk/src/m/boundaryconditions/SetIceShelfBC.py
r14310 r15396 39 39 md.diagnostic.spcvz[pos]=0 40 40 md.diagnostic.referential=float('nan')*numpy.ones((md.mesh.numberofvertices,6)) 41 md.diagnostic.loadingforce=0*numpy.ones((md.mesh.numberofvertices,3)) 41 42 42 43 #Dirichlet Values -
issm/trunk/src/m/boundaryconditions/SetMarineIceSheetBC.m
r13975 r15396 42 42 md.diagnostic.spcvz(pos)=0; 43 43 md.diagnostic.referential=NaN*ones(md.mesh.numberofvertices,6); 44 md.diagnostic.loadingforce=0*ones(md.mesh.numberofvertices,3); 44 45 45 46 %Dirichlet Values -
issm/trunk/src/m/boundaryconditions/SetMarineIceSheetBC.py
r14310 r15396 47 47 md.diagnostic.spcvz[pos]=0 48 48 md.diagnostic.referential=float('nan')*numpy.ones((md.mesh.numberofvertices,6)) 49 md.diagnostic.loadingforce=0*numpy.ones((md.mesh.numberofvertices,3)) 49 50 50 51 #Dirichlet Values -
issm/trunk/src/m/classes/autodiff.m
r14310 r15396 49 49 fielddisplay(obj,'driver','ADOLC driver (''fos_forward'' or ''fov_forward'')'); 50 50 end % }}} 51 function marshall(obj, fid) % {{{51 function marshall(obj,md,fid) % {{{ 52 52 53 53 WriteData(fid,'object',obj,'fieldname','isautodiff','format','Boolean'); -
issm/trunk/src/m/classes/autodiff.py
r13975 r15396 1 #module imports2 1 import numpy 3 2 from dependent import * … … 16 15 """ 17 16 18 #properties19 17 def __init__(self,*args): # {{{ 20 18 self.isautodiff = False … … 28 26 raise RuntimeError("constructor not supported") 29 27 # }}} 30 31 28 def __repr__(self): # {{{ 32 29 s =" automatic differentiation parameters:\n" … … 39 36 return s 40 37 # }}} 41 42 38 def setdefaultparameters(self): # {{{ 43 39 return self 44 40 # }}} 45 46 41 def checkconsistency(self,md,solution,analyses): # {{{ 47 42 … … 61 56 return md 62 57 # }}} 63 64 def marshall(self,fid): # {{{ 58 def marshall(self,md,fid): # {{{ 65 59 WriteData(fid,'object',self,'fieldname','isautodiff','format','Boolean') 66 60 WriteData(fid,'object',self,'fieldname','driver','format','String') … … 194 188 return 195 189 # }}} 196 -
issm/trunk/src/m/classes/balancethickness.m
r13395 r15396 29 29 if solution~=BalancethicknessSolutionEnum(), return; end 30 30 31 md = checkfield(md,'balancethickness.spcthickness' ,'forcing',1);31 md = checkfield(md,'balancethickness.spcthickness'); 32 32 md = checkfield(md,'balancethickness.thickening_rate','size',[md.mesh.numberofvertices 1],'NaN',1); 33 33 md = checkfield(md,'balancethickness.stabilization','size',[1 1],'values',[0 1 2 3]); … … 36 36 disp(sprintf(' balance thickness solution parameters:')); 37 37 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]'); 40 40 fielddisplay(obj,'stabilization','0: None, 1: SU, 2: MacAyeal''s artificial diffusivity, 3:DG'); 41 41 42 42 end % }}} 43 function marshall(obj,fid) % {{{ 43 function marshall(obj,md,fid) % {{{ 44 45 yts=365.0*24.0*3600.0; 46 44 47 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); 46 49 WriteData(fid,'object',obj,'fieldname','stabilization','format','Integer'); 47 50 end % }}} -
issm/trunk/src/m/classes/balancethickness.py
r14310 r15396 1 #module imports2 1 from fielddisplay import fielddisplay 3 2 from EnumDefinitions import * … … 13 12 """ 14 13 15 #properties 16 def __init__(self): 17 # {{{ Properties 14 def __init__(self): # {{{ 18 15 self.spcthickness = float('NaN') 19 16 self.thickening_rate = float('NaN') … … 24 21 25 22 #}}} 26 def __repr__(self): 27 # {{{ Display 23 def __repr__(self): # {{{ 28 24 29 25 string=' balance thickness solution parameters:' 30 26 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]')) 33 29 string="%s\n%s"%(string,fielddisplay(self,'stabilization',"0: None, 1: SU, 2: MacAyeal's artificial diffusivity, 3:DG")) 34 30 return string 35 31 #}}} 36 def setdefaultparameters(self): 37 # {{{setdefaultparameters 32 def setdefaultparameters(self): # {{{ 38 33 39 34 #Type of stabilization used … … 42 37 return self 43 38 #}}} 44 45 39 def checkconsistency(self,md,solution,analyses): # {{{ 46 40 #Early return … … 48 42 return md 49 43 50 md = checkfield(md,'balancethickness.spcthickness' ,'forcing',1)44 md = checkfield(md,'balancethickness.spcthickness') 51 45 md = checkfield(md,'balancethickness.thickening_rate','size',[md.mesh.numberofvertices],'NaN',1) 52 46 md = checkfield(md,'balancethickness.stabilization','size',[1],'values',[0,1,2,3]) … … 54 48 return md 55 49 # }}} 50 def marshall(self,md,fid): # {{{ 56 51 57 def marshall(self,fid): # {{{ 52 yts=365.0*24.0*3600.0 53 58 54 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) 60 56 WriteData(fid,'object',self,'fieldname','stabilization','format','Integer') 61 57 # }}} 62 -
issm/trunk/src/m/classes/bamggeom.py
r13975 r15396 32 32 raise TypeError("bamggeom constructor error message: unknown type of constructor call") 33 33 # }}} 34 35 34 def __repr__(self): # {{{ 36 35 s ="class '%s' object '%s' = \n" % (type(self),'self') … … 45 44 return s 46 45 # }}} 47 -
issm/trunk/src/m/classes/bamgmesh.py
r13975 r15396 40 40 raise TypeError("bamgmesh constructor error message: unknown type of constructor call") 41 41 # }}} 42 43 42 def __repr__(self): # {{{ 44 43 s ="class '%s' object '%s' = \n" % (type(self),'self') … … 61 60 return s 62 61 # }}} 63 -
issm/trunk/src/m/classes/basalforcings.m
r13395 r15396 38 38 disp(sprintf(' basal forcings parameters:')); 39 39 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]'); 42 42 fielddisplay(obj,'geothermalflux','geothermal heat flux [W/m^2]'); 43 43 44 44 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); 49 52 end % }}} 50 53 end -
issm/trunk/src/m/classes/basalforcings.py
r14310 r15396 1 #module imports2 1 from fielddisplay import fielddisplay 3 2 from EnumDefinitions import * 4 3 from checkfield import * 5 4 from WriteData import * 5 import numpy 6 6 7 7 class basalforcings(object): … … 13 13 """ 14 14 15 #properties 16 def __init__(self): 17 # {{{ Properties 15 def __init__(self): # {{{ 18 16 self.melting_rate = float('NaN') 19 17 self.melting_rate_correction = float('NaN') … … 24 22 25 23 #}}} 26 def __repr__(self): 27 # {{{ Display 24 def __repr__(self): # {{{ 28 25 string=" basal forcings parameters:" 29 26 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]")) 32 29 string="%s\n%s"%(string,fielddisplay(self,"geothermalflux","geothermal heat flux [W/m^2]")) 33 30 return string 34 31 #}}} 35 def setdefaultparameters(self): 36 # {{{setdefaultparameters 32 def setdefaultparameters(self): # {{{ 37 33 return self 38 34 #}}} 39 40 35 def checkconsistency(self,md,solution,analyses): # {{{ 41 36 … … 52 47 return md 53 48 # }}} 49 def marshall(self,md,fid): # {{{ 54 50 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) 59 56 # }}} 60 -
issm/trunk/src/m/classes/clusters/acenet.m
r13395 r15396 18 18 time=10; 19 19 % 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 directory21 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'; 22 22 %}}} 23 23 end … … 66 66 fprintf(fid,'#$ -cwd\n'); 67 67 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'); 69 69 fprintf(fid,'#$ -pe ompi* %i\n',cluster.np); 70 70 fprintf(fid,'#$ -j y\n'); -
issm/trunk/src/m/classes/clusters/cloud.m
r13975 r15396 54 54 fprintf(fid,'#!/bin/bash\n'); 55 55 if cluster.interactive 56 fprintf(fid,'source %s%s\n',cluster.codepath,'/../etc/environment.sh'); 56 57 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); 57 58 else 59 fprintf(fid,'source %s%s\n',cluster.codepath,'/../etc/environment.sh'); 58 60 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); 59 61 end … … 67 69 compressstring = [compressstring ' ' filelist{i}]; 68 70 end 69 if cluster.interactive,70 compressstring = [compressstring ' ' modelname '.errlog ' modelname '.outlog '];71 end72 71 system(compressstring); 73 72 73 if isempty(cluster.login), 74 error('cloud BuildQueueScript: login should be supplied!'); 75 end 74 76 disp('uploading input file and queueing script'); 75 77 issmstscpout(cluster.name,cluster.executionpath,cluster.login,{[dirname '.tar.gz']}); 76 78 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 80 88 issmstssh(cluster.name,cluster.login,launchcommand); 81 89 end %}}} -
issm/trunk/src/m/classes/clusters/discover.m
r13975 r15396 65 65 66 66 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'); 68 68 end 69 69 %now, check cluster.cpuspernode according to processor type -
issm/trunk/src/m/classes/clusters/generic.m
r13975 r15396 114 114 fid=fopen([modelname '.bat'],'w'); 115 115 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 else119 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); 121 121 end 122 122 fclose(fid); … … 178 178 function LaunchQueueJob(cluster,modelname,dirname,filelist)% {{{ 179 179 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 197 201 end %}}} 198 202 function Download(cluster,dirname,filelist)% {{{ -
issm/trunk/src/m/classes/clusters/generic.py
r13395 r15396 181 181 182 182 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) 185 185 issmssh(self.name,self.login,self.port,launchcommand) 186 186 # }}} -
issm/trunk/src/m/classes/clusters/greenplanet.m
r14067 r15396 18 18 executionpath=''; 19 19 interactive=0; 20 time=24*60; 20 21 end 21 22 properties (SetAccess=private) … … 61 62 if isempty(cluster.executionpath), md = checkmessage(md,'executionpath empty'); end 62 63 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); 63 90 end 64 91 %}}} -
issm/trunk/src/m/classes/clusters/pfe.m
r13395 r15396 60 60 function md = checkconsistency(cluster,md,solution,analyses) % {{{ 61 61 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]; 65 65 66 66 QueueRequirements(available_queues,queue_requirements_time,queue_requirements_np,cluster.queue,cluster.np,cluster.time) … … 118 118 fprintf(fid,'#PBS -e %s.errlog \n\n',modelname); 119 119 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'); 122 122 fprintf(fid,'module load math/intel_mkl_64_10.0.011\n\n'); 123 123 fprintf(fid,'export PATH="$PATH:."\n\n'); … … 164 164 fprintf(fid,'#PBS -l walltime=%i\n',cluster.time*60); %walltime is in seconds. 165 165 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); 167 167 fprintf(fid,'#PBS -m e\n'); 168 168 fprintf(fid,'#PBS -o %s.outlog \n',modelname); 169 169 fprintf(fid,'#PBS -e %s.errlog \n\n',modelname); 170 170 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'); 173 173 fprintf(fid,'module load math/intel_mkl_64_10.0.011\n\n'); 174 174 fprintf(fid,'export PATH="$PATH:."\n'); -
issm/trunk/src/m/classes/constants.m
r12706 r15396 33 33 function md = checkconsistency(obj,md,solution,analyses) % {{{ 34 34 35 md = checkfield(md,'constants.g','>',0,'size',[1 1]);35 % md = checkfield(md,'constants.g','>',0,'size',[1 1]); 36 36 md = checkfield(md,'constants.yts','>',0,'size',[1 1]); 37 37 md = checkfield(md,'constants.referencetemperature','size',[1 1]); … … 41 41 disp(sprintf(' constants parameters:')); 42 42 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]'); 46 46 47 47 end % }}} 48 function marshall(obj, fid) % {{{48 function marshall(obj,md,fid) % {{{ 49 49 WriteData(fid,'object',obj,'fieldname','g','format','Double'); 50 50 WriteData(fid,'object',obj,'fieldname','yts','format','Double'); -
issm/trunk/src/m/classes/constants.py
r14310 r15396 1 #module imports2 1 from fielddisplay import fielddisplay 3 2 from EnumDefinitions import * … … 13 12 """ 14 13 15 #properties 16 def __init__(self): 17 # {{{ Properties 14 def __init__(self): # {{{ 18 15 self.g = 0 19 16 self.yts = 0 … … 24 21 25 22 #}}} 26 def __repr__(self): 27 # {{{ Display 23 def __repr__(self): # {{{ 28 24 string=" constants parameters:" 29 25 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]")) 33 29 34 30 return string 35 31 #}}} 36 def setdefaultparameters(self): 37 # {{{setdefaultparameters 32 def setdefaultparameters(self): # {{{ 38 33 39 34 #acceleration due to gravity (m/s^2) … … 48 43 return self 49 44 #}}} 50 51 45 def checkconsistency(self,md,solution,analyses): # {{{ 52 46 … … 57 51 return md 58 52 # }}} 59 60 def marshall(self,fid): # {{{ 53 def marshall(self,md,fid): # {{{ 61 54 WriteData(fid,'object',self,'fieldname','g','format','Double') 62 55 WriteData(fid,'object',self,'fieldname','yts','format','Double') 63 56 WriteData(fid,'object',self,'fieldname','referencetemperature','format','Double') 64 57 # }}} 65 -
issm/trunk/src/m/classes/debug.m
r12706 r15396 30 30 31 31 end % }}} 32 function marshall(obj, fid) % {{{32 function marshall(obj,md,fid) % {{{ 33 33 WriteData(fid,'object',obj,'fieldname','profiling','format','Boolean'); 34 34 end % }}} -
issm/trunk/src/m/classes/debug.py
r14310 r15396 1 #module imports2 1 from fielddisplay import fielddisplay 3 2 from WriteData import * … … 11 10 """ 12 11 13 #properties 14 def __init__(self): 15 # {{{ Properties 12 def __init__(self): # {{{ 16 13 self.valgrind = False 17 14 self.gprof = False … … 22 19 23 20 #}}} 24 def __repr__(self): 25 # {{{ Display 21 def __repr__(self): # {{{ 26 22 string=" debug parameters:" 27 23 … … 31 27 return string 32 28 #}}} 33 34 def setdefaultparameters(self): 35 # {{{setdefaultparameters 29 def setdefaultparameters(self): # {{{ 36 30 return self 37 31 #}}} 38 39 def marshall(self,fid): # {{{ 32 def marshall(self,md,fid): # {{{ 40 33 WriteData(fid,'object',self,'fieldname','profiling','format','Boolean') 41 34 # }}} 42 -
issm/trunk/src/m/classes/dependent.py
r13975 r15396 47 47 self.segments=MeshProfileIntersection(mesh.elements,mesh.x,mesh.y,self.exp) 48 48 # }}} 49 50 49 def __repr__(self): # {{{ 51 50 s =" dependent variable:\n" … … 62 61 return s 63 62 # }}} 64 65 63 def setdefaultparameters(self): # {{{ 66 64 #do nothing 67 65 return self 68 66 # }}} 69 70 67 def checkconsistency(self,md,solution,analyses): # {{{ 71 68 if strcmpi(self.name,'MassFlux'): … … 83 80 return md 84 81 # }}} 85 86 82 def typetoscalar(self): # {{{ 87 83 if strcmpi(self.type,'scalar'): … … 92 88 return scalar 93 89 # }}} 94 -
issm/trunk/src/m/classes/diagnostic.m
r13975 r15396 23 23 rift_penalty_threshold = 0; 24 24 referential = NaN; 25 loadingforce = NaN; 25 26 requested_outputs = NaN; 26 27 end … … 76 77 md = checkfield(md,'diagnostic.reltol','size',[1 1]); 77 78 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]); 79 80 md = checkfield(md,'diagnostic.stokesreconditioning','size',[1 1],'NaN',1); 80 81 md = checkfield(md,'diagnostic.viscosity_overshoot','size',[1 1],'NaN',1); … … 87 88 md = checkfield(md,'diagnostic.maxiter','size',[1 1],'>=',1); 88 89 md = checkfield(md,'diagnostic.referential','size',[md.mesh.numberofvertices 6]); 90 md = checkfield(md,'diagnostic.loadingforce','size',[md.mesh.numberofvertices 3]); 89 91 if ~isempty(md.diagnostic.requested_outputs), 90 92 md = checkfield(md,'diagnostic.requested_outputs','size',[NaN 1]); … … 120 122 disp(sprintf('\n %s','Convergence criteria:')); 121 123 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'); 125 127 fielddisplay(obj,'maxiter','maximum number of nonlinear iterations'); 126 128 fielddisplay(obj,'viscosity_overshoot','over-shooting constant new=new+C*(new-old)'); 127 129 128 130 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)'); 133 135 134 136 disp(sprintf('\n %s','Rift options:')); … … 144 146 fielddisplay(obj,'stokesreconditioning','multiplier for incompressibility equation. Only for Stokes model'); 145 147 fielddisplay(obj,'referential','local referential'); 148 fielddisplay(obj,'loadingforce','loading force applied on each point [N/m^3]'); 146 149 fielddisplay(obj,'requested_outputs','additional outputs requested'); 147 150 148 151 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); 153 156 WriteData(fid,'object',obj,'fieldname','restol','format','Double'); 154 157 WriteData(fid,'object',obj,'fieldname','reltol','format','Double'); 155 158 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'); 157 160 WriteData(fid,'object',obj,'fieldname','stokesreconditioning','format','Double'); 158 161 WriteData(fid,'object',obj,'fieldname','viscosity_overshoot','format','Double'); … … 164 167 WriteData(fid,'object',obj,'fieldname','rift_penalty_threshold','format','Integer'); 165 168 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); 166 172 WriteData(fid,'object',obj,'fieldname','requested_outputs','format','DoubleMat','mattype',3); 167 173 -
issm/trunk/src/m/classes/diagnostic.py
r14310 r15396 1 #module imports2 1 import numpy 3 2 import sys … … 16 15 """ 17 16 18 #properties 19 def __init__(self): 20 # {{{ Properties 17 def __init__(self): # {{{ 21 18 self.spcvx = float('NaN') 22 19 self.spcvy = float('NaN') … … 36 33 self.rift_penalty_threshold = 0 37 34 self.referential = float('NaN') 35 self.loadingforce = float('NaN') 38 36 self.requested_outputs = float('NaN') 39 37 … … 42 40 43 41 #}}} 44 def __repr__(self): 45 # {{{ Display 42 def __repr__(self): # {{{ 46 43 47 44 string=' Diagnostic solution parameters:' 48 45 string="%s\n%s"%(string,' Convergence criteria:') 49 50 46 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")) 54 50 string="%s\n%s"%(string,fielddisplay(self,'maxiter','maximum number of nonlinear iterations')) 55 51 string="%s\n%s"%(string,fielddisplay(self,'viscosity_overshoot','over-shooting constant new=new+C*(new-old)')) 56 52 57 53 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')) 63 58 64 59 string="%s\n%s"%(string,'\n Rift options:') … … 74 69 string="%s\n%s"%(string,fielddisplay(self,'stokesreconditioning','multiplier for incompressibility equation. Only for Stokes model')) 75 70 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]')) 76 72 string="%s\n%s"%(string,fielddisplay(self,'requested_outputs','additional outputs requested')) 77 73 78 74 return string 79 75 #}}} 80 81 def setdefaultparameters(self): 82 # {{{setdefaultparameters 76 def setdefaultparameters(self): # {{{ 83 77 #maximum of non-linear iterations. 84 78 self.maxiter=100 … … 110 104 return self 111 105 #}}} 112 113 106 def checkconsistency(self,md,solution,analyses): # {{{ 114 107 … … 126 119 md = checkfield(md,'diagnostic.reltol','size',[1]) 127 120 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]) 129 122 md = checkfield(md,'diagnostic.stokesreconditioning','size',[1],'NaN',1) 130 123 md = checkfield(md,'diagnostic.viscosity_overshoot','size',[1],'NaN',1) … … 136 129 md = checkfield(md,'diagnostic.maxiter','size',[1],'>=',1) 137 130 md = checkfield(md,'diagnostic.referential','size',[md.mesh.numberofvertices,6]) 131 md = checkfield(md,'diagnostic.loadingforce','size',[md.mesh.numberofvertices,3]) 138 132 if not md.diagnostic.requested_outputs: 139 133 md = checkfield(md,'diagnostic.requested_outputs','size',[float('NaN'),1]) … … 166 160 return md 167 161 # }}} 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) 173 166 WriteData(fid,'object',self,'fieldname','restol','format','Double') 174 167 WriteData(fid,'object',self,'fieldname','reltol','format','Double') 175 168 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') 177 170 WriteData(fid,'object',self,'fieldname','stokesreconditioning','format','Double') 178 171 WriteData(fid,'object',self,'fieldname','viscosity_overshoot','format','Double') … … 184 177 WriteData(fid,'object',self,'fieldname','rift_penalty_threshold','format','Integer') 185 178 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()) 186 182 WriteData(fid,'object',self,'fieldname','requested_outputs','format','DoubleMat','mattype',3) 187 183 … … 193 189 WriteData(fid,'data',data,'enum',DiagnosticIcefrontEnum(),'format','DoubleMat','mattype',3) 194 190 # }}} 195 -
issm/trunk/src/m/classes/flaim.py
r13395 r15396 1 #module imports2 1 import numpy 3 2 from collections import OrderedDict … … 15 14 """ 16 15 17 #properties 18 def __init__(self): 19 # {{{ Properties 16 def __init__(self): # {{{ 20 17 self.targets = '' 21 18 self.tracks = '' … … 32 29 self.opt_niter = 30000 33 30 #}}} 34 def __repr__(self): 35 # {{{ Displa 31 def __repr__(self): # {{{ 36 32 string=' FLAIM - Flight Line Adaptation using Ice sheet Modeling:' 37 33 … … 61 57 return string 62 58 #}}} 63 64 59 def checkconsistency(self,md,solution,analyses): # {{{ 65 60 … … 76 71 return md 77 72 # }}} 78 -
issm/trunk/src/m/classes/flowequation.m
r13395 r15396 73 73 74 74 end % }}} 75 function marshall(obj, fid) % {{{75 function marshall(obj,md,fid) % {{{ 76 76 WriteData(fid,'object',obj,'fieldname','ismacayealpattyn','format','Boolean'); 77 77 WriteData(fid,'object',obj,'fieldname','ishutter','format','Boolean'); -
issm/trunk/src/m/classes/flowequation.py
r14310 r15396 1 #module imports2 1 import numpy 3 2 import copy … … 15 14 """ 16 15 17 #properties 18 def __init__(self): 19 # {{{ Properties 16 def __init__(self): # {{{ 20 17 21 18 self.ismacayealpattyn = 0 … … 33 30 34 31 #}}} 35 def __repr__(self): 36 # {{{ Display 32 def __repr__(self): # {{{ 37 33 string=' flow equation parameters:' 38 34 … … 48 44 return string 49 45 #}}} 50 51 def setdefaultparameters(self): 52 # {{{setdefaultparameters 46 def setdefaultparameters(self): # {{{ 53 47 return self 54 48 #}}} 55 56 49 def checkconsistency(self,md,solution,analyses): # {{{ 57 50 … … 80 73 return md 81 74 # }}} 82 83 def marshall(self,fid): # {{{ 75 def marshall(self,md,fid): # {{{ 84 76 WriteData(fid,'object',self,'fieldname','ismacayealpattyn','format','Boolean') 85 77 WriteData(fid,'object',self,'fieldname','ishutter','format','Boolean') … … 113 105 WriteData(fid,'data',data,'enum',FlowequationElementEquationEnum(),'format','DoubleMat','mattype',2) 114 106 # }}} 115 -
issm/trunk/src/m/classes/friction.m
r13395 r15396 37 37 fielddisplay(obj,'q','q exponent'); 38 38 end % }}} 39 function marshall(obj, fid) % {{{39 function marshall(obj,md,fid) % {{{ 40 40 WriteData(fid,'object',obj,'fieldname','coefficient','format','DoubleMat','mattype',1); 41 41 WriteData(fid,'object',obj,'fieldname','p','format','DoubleMat','mattype',2); -
issm/trunk/src/m/classes/friction.py
r14310 r15396 1 #module imports2 1 from fielddisplay import fielddisplay 3 2 from EnumDefinitions import * … … 13 12 """ 14 13 15 #properties 16 def __init__(self): 17 # {{{ Properties 14 def __init__(self): # {{{ 18 15 self.coefficient = float('NaN') 19 16 self.p = float('NaN') … … 24 21 25 22 #}}} 26 def __repr__(self): 27 # {{{ Display 23 def __repr__(self): # {{{ 28 24 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" 29 25 … … 33 29 return string 34 30 #}}} 35 36 def setdefaultparameters(self): 37 # {{{setdefaultparameters 31 def setdefaultparameters(self): # {{{ 38 32 return self 39 33 #}}} 40 41 34 def checkconsistency(self,md,solution,analyses): # {{{ 42 35 … … 51 44 return md 52 45 # }}} 53 54 def marshall(self,fid): # {{{ 46 def marshall(self,md,fid): # {{{ 55 47 WriteData(fid,'object',self,'fieldname','coefficient','format','DoubleMat','mattype',1) 56 48 WriteData(fid,'object',self,'fieldname','p','format','DoubleMat','mattype',2) 57 49 WriteData(fid,'object',self,'fieldname','q','format','DoubleMat','mattype',2) 58 50 # }}} 59 -
issm/trunk/src/m/classes/geometry.m
r13395 r15396 26 26 function md = checkconsistency(obj,md,solution,analyses) % {{{ 27 27 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 36 40 end 37 41 end % }}} … … 39 43 disp(sprintf(' geometry parameters:')); 40 44 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]'); 45 49 fielddisplay(obj,'hydrostatic_ratio','coefficient for ice shelves'' thickness correction: hydrostatic_ratio H_obs+ (1-hydrostatic_ratio) H_hydro'); 46 50 47 51 end % }}} 48 function marshall(obj, fid) % {{{52 function marshall(obj,md,fid) % {{{ 49 53 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); 51 55 WriteData(fid,'data',obj.bed,'format','DoubleMat','mattype',1,'enum',BedEnum()); 52 56 WriteData(fid,'data',obj.bathymetry,'format','DoubleMat','mattype',1,'enum',BathymetryEnum()); -
issm/trunk/src/m/classes/geometry.py
r14310 r15396 1 #module imports2 1 from fielddisplay import fielddisplay 3 2 from EnumDefinitions import * … … 13 12 """ 14 13 15 #properties 16 def __init__(self): 17 # {{{ Properties 14 def __init__(self): # {{{ 18 15 self.surface = float('NaN') 19 16 self.thickness = float('NaN') … … 26 23 27 24 #}}} 28 def __repr__(self): 29 # {{{ Display 25 def __repr__(self): # {{{ 30 26 31 27 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]')) 37 32 string="%s\n%s"%(string,fielddisplay(self,'hydrostatic_ratio','coefficient for ice shelves'' thickness correction: hydrostatic_ratio H_obs+ (1-hydrostatic_ratio) H_hydro')) 38 33 return string 39 34 #}}} 40 41 def setdefaultparameters(self): 42 # {{{setdefaultparameters 35 def setdefaultparameters(self): # {{{ 43 36 return self 44 37 #}}} 45 46 38 def checkconsistency(self,md,solution,analyses): # {{{ 47 39 48 40 md = checkfield(md,'geometry.surface' ,'NaN',1,'size',[md.mesh.numberofvertices]) 49 41 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) 51 43 if any((self.thickness-self.surface+self.bed)>10**-9): 52 44 md.checkmessage("equality thickness=surface-bed violated") … … 56 48 return md 57 49 # }}} 58 59 def marshall(self,fid): # {{{ 50 def marshall(self,md,fid): # {{{ 60 51 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) 62 53 WriteData(fid,'data',self.bed,'format','DoubleMat','mattype',1,'enum',BedEnum()) 63 54 WriteData(fid,'data',self.bathymetry,'format','DoubleMat','mattype',1,'enum',BathymetryEnum()) 64 55 WriteData(fid,'object',self,'fieldname','hydrostatic_ratio','format','DoubleMat','mattype',1) 65 56 # }}} 66 -
issm/trunk/src/m/classes/groundingline.m
r13975 r15396 1 % CONSTANTSclass definition1 %GROUNDINGLINE class definition 2 2 % 3 3 % Usage: … … 29 29 function md = checkconsistency(obj,md,solution,analyses) % {{{ 30 30 31 md = checkfield(md,'groundingline.migration','values',{'None' 'AgressiveMigration' 'SoftMigration' });31 md = checkfield(md,'groundingline.migration','values',{'None' 'AgressiveMigration' 'SoftMigration' 'SubelementMigration','SubelementMigration2'}); 32 32 33 33 if ~strcmp(obj.migration,'None'), … … 47 47 end % }}} 48 48 function disp(obj) % {{{ 49 disp(sprintf(' balance thickness solution parameters:')); 50 49 disp(sprintf(' grounding line migration parameters:')); 51 50 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]'); 53 52 54 53 end % }}} 55 function marshall(obj, fid) % {{{54 function marshall(obj,md,fid) % {{{ 56 55 WriteData(fid,'data',StringToEnum(obj.migration),'enum',GroundinglineMigrationEnum(),'format','Integer'); 57 56 WriteData(fid,'object',obj,'fieldname','melting_rate','format','Double'); -
issm/trunk/src/m/classes/groundingline.py
r14310 r15396 1 #module imports2 1 import numpy 3 2 from fielddisplay import fielddisplay … … 10 9 class groundingline(object): 11 10 """ 12 CONSTANTSclass definition11 GROUNDINGLINE class definition 13 12 14 13 Usage: … … 16 15 """ 17 16 18 #properties 19 def __init__(self): 20 # {{{ Properties 17 def __init__(self): # {{{ 21 18 self.migration='' 22 19 self.melting_rate=float('NaN') … … 26 23 27 24 #}}} 28 def __repr__(self): 29 # {{{ Display 30 string=' grounding line solution parameters:' 25 def __repr__(self): # {{{ 26 string=' grounding line migration parameters:' 31 27 32 28 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]')) 34 30 return string 35 31 #}}} 36 def setdefaultparameters(self): 37 # {{{setdefaultparameters 32 def setdefaultparameters(self): # {{{ 38 33 39 34 #Type of migration … … 45 40 return self 46 41 #}}} 47 48 42 def checkconsistency(self,md,solution,analyses): # {{{ 49 43 50 md = checkfield(md,'groundingline.migration','values',['None','AgressiveMigration','SoftMigration' ])44 md = checkfield(md,'groundingline.migration','values',['None','AgressiveMigration','SoftMigration','SubelementMigration','SubelementMigration2']) 51 45 52 46 if not strcmp(self.migration,'None'): … … 62 56 return md 63 57 # }}} 64 65 def marshall(self,fid): # {{{ 58 def marshall(self,md,fid): # {{{ 66 59 WriteData(fid,'data',StringToEnum(self.migration)[0],'enum',GroundinglineMigrationEnum(),'format','Integer') 67 60 WriteData(fid,'object',self,'fieldname','melting_rate','format','Double') 68 61 # }}} 69 -
issm/trunk/src/m/classes/independent.m
r13975 r15396 60 60 end 61 61 end % }}} 62 function scalar =typetoscalar(obj) % {{{62 function scalartype=typetoscalar(obj) % {{{ 63 63 if strcmpi(obj.type,'scalar'), 64 scalar =0;64 scalartype=0; 65 65 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!']); 67 70 end 68 71 end % }}} -
issm/trunk/src/m/classes/independent.py
r13975 r15396 30 30 self=options.AssignObjectFields(self) 31 31 # }}} 32 33 32 def __repr__(self): # {{{ 34 33 s =" independent variable:\n" … … 43 42 return s 44 43 # }}} 45 46 44 def setdefaultparameters(self): # {{{ 47 45 #do nothing 48 46 return self 49 47 # }}} 50 51 48 def checkconsistency(self,md,i,solution,analyses,driver): # {{{ 52 49 if not numpy.isnan(self.fos_forward_index): … … 65 62 return md 66 63 # }}} 67 68 64 def typetoscalar(self): # {{{ 69 65 if strcmpi(self.type,'scalar'): … … 74 70 return scalar 75 71 # }}} 76 -
issm/trunk/src/m/classes/initialization.m
r13395 r15396 12 12 pressure = NaN; 13 13 temperature = NaN; 14 surfacetemp = NaN; 15 basaltemp = NaN; 14 waterfraction = NaN; 15 sediment_head = NaN; 16 epl_head = NaN; 16 17 watercolumn = NaN; 17 waterfraction = NaN;18 18 end 19 19 methods … … 40 40 md = checkfield(md,'initialization.vy','NaN',1,'size',[md.mesh.numberofvertices 1]); 41 41 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, 46 43 md = checkfield(md,'initialization.vx','NaN',1,'size',[md.mesh.numberofvertices 1]); 47 44 md = checkfield(md,'initialization.vy','NaN',1,'size',[md.mesh.numberofvertices 1]); … … 60 57 md = checkfield(md,'initialization.waterfraction','>=',0,'size',[md.mesh.numberofvertices 1]); 61 58 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 62 76 end % }}} 63 77 function disp(obj) % {{{ 64 78 disp(sprintf(' initial field values:')); 65 79 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]'); 75 86 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]'); 76 90 77 91 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); 82 99 WriteData(fid,'data',obj.pressure,'format','DoubleMat','mattype',1,'enum',PressureEnum); 83 100 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); 84 104 WriteData(fid,'data',obj.watercolumn,'format','DoubleMat','mattype',1,'enum',WatercolumnEnum); 85 WriteData(fid,'data',obj.waterfraction,'format','DoubleMat','mattype',1,'enum',WaterfractionEnum);86 105 end % }}} 87 106 end -
issm/trunk/src/m/classes/initialization.py
r14310 r15396 1 #module imports2 1 import numpy 3 2 from fielddisplay import fielddisplay … … 14 13 """ 15 14 16 #properties 17 def __init__(self): 18 # {{{ Properties 15 def __init__(self): # {{{ 19 16 20 17 self.vx = float('NaN') … … 24 21 self.pressure = float('NaN') 25 22 self.temperature = float('NaN') 26 self.surfacetemp = float('NaN') 27 self.basaltemp = float('NaN') 23 self.waterfraction = float('NaN') 28 24 self.watercolumn = float('NaN') 29 self. waterfraction= float('NaN')25 self.sediment_head = float('NaN') 30 26 31 27 #set defaults … … 33 29 34 30 #}}} 35 def __repr__(self): 36 # {{{ Display 31 def __repr__(self): # {{{ 37 32 string=' initial field values:' 38 33 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]')) 48 40 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]')) 49 43 50 44 return string 51 45 #}}} 52 53 def setdefaultparameters(self): 54 # {{{setdefaultparameters 46 def setdefaultparameters(self): # {{{ 55 47 return self 56 48 #}}} 57 58 49 def checkconsistency(self,md,solution,analyses): # {{{ 59 50 if DiagnosticHorizAnalysisEnum() in analyses: … … 64 55 md = checkfield(md,'initialization.vx','NaN',1,'size',[md.mesh.numberofvertices]) 65 56 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])68 57 if BalancethicknessAnalysisEnum() in analyses: 69 58 md = checkfield(md,'initialization.vx','NaN',1,'size',[md.mesh.numberofvertices]) … … 80 69 if (EnthalpyAnalysisEnum() in analyses and md.thermal.isenthalpy) or solution==EnthalpySolutionEnum(): 81 70 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]) 83 73 return md 84 74 # }}} 75 def marshall(self,md,fid): # {{{ 85 76 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) 90 82 WriteData(fid,'data',self.pressure,'format','DoubleMat','mattype',1,'enum',PressureEnum()) 91 83 WriteData(fid,'data',self.temperature,'format','DoubleMat','mattype',1,'enum',TemperatureEnum()) 84 WriteData(fid,'data',self.waterfraction,'format','DoubleMat','mattype',1,'enum',WaterfractionEnum()) 92 85 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()) 94 87 # }}} 95 -
issm/trunk/src/m/classes/inversion.m
r14310 r15396 124 124 if solution==BalancethicknessSolutionEnum() 125 125 md = checkfield(md,'inversion.thickness_obs','size',[md.mesh.numberofvertices 1],'NaN',1); 126 elseif solution== WeakBalancethicknessSolutionEnum()126 elseif solution==BalancethicknessSoftSolutionEnum() 127 127 md = checkfield(md,'inversion.thickness_obs','size',[md.mesh.numberofvertices 1],'NaN',1); 128 128 else … … 134 134 disp(sprintf(' inversion parameters:')); 135 135 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''}'); 138 138 fielddisplay(obj,'nsteps','number of optimization searches'); 139 139 fielddisplay(obj,'cost_functions','indicate the type of response for each optimization step'); … … 146 146 fielddisplay(obj,'max_parameters','absolute maximum acceptable value of the inversed parameter on each vertex'); 147 147 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]'); 151 151 fielddisplay(obj,'thickness_obs','observed thickness [m]'); 152 152 disp('Available cost functions:'); … … 161 161 disp(' 503: ThicknessAbsGradient'); 162 162 end % }}} 163 function marshall(obj,fid) % {{{ 163 function marshall(obj,md,fid) % {{{ 164 165 yts=365.0*24.0*3600.0; 164 166 165 167 WriteData(fid,'object',obj,'fieldname','iscontrol','format','Boolean'); … … 176 178 WriteData(fid,'object',obj,'fieldname','step_threshold','format','DoubleMat','mattype',3); 177 179 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); 181 183 WriteData(fid,'object',obj,'fieldname','thickness_obs','format','DoubleMat','mattype',1); 182 184 -
issm/trunk/src/m/classes/inversion.py
r14310 r15396 1 #module imports2 1 import numpy 3 2 import copy … … 16 15 """ 17 16 18 #properties 19 def __init__(self): 20 # {{{ Properties 17 def __init__(self): # {{{ 21 18 self.iscontrol = 0 22 19 self.tao = 0 … … 43 40 44 41 #}}} 45 def __repr__(self): 46 # {{{ Display 42 def __repr__(self): # {{{ 47 43 string=' inversion parameters:' 48 44 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''}')) 51 47 string="%s\n%s"%(string,fielddisplay(self,'nsteps','number of optimization searches')) 52 48 string="%s\n%s"%(string,fielddisplay(self,'cost_functions','indicate the type of response for each optimization step')) … … 59 55 string="%s\n%s"%(string,fielddisplay(self,'max_parameters','absolute maximum acceptable value of the inversed parameter on each vertex')) 60 56 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]')) 64 60 string="%s\n%s"%(string,fielddisplay(self,'thickness_obs','observed thickness [m]')) 65 61 string="%s\n%s"%(string,'Available cost functions:') … … 75 71 return string 76 72 #}}} 77 78 73 def setdefaultparameters(self): # {{{ 79 74 … … 117 112 return self 118 113 #}}} 119 120 114 def checkconsistency(self,md,solution,analyses): # {{{ 121 115 … … 149 143 return md 150 144 # }}} 145 def marshall(self,md,fid): # {{{ 151 146 152 def marshall(self,fid): # {{{147 yts=365.0*24.0*3600.0 153 148 154 149 WriteData(fid,'object',self,'fieldname','iscontrol','format','Boolean') … … 166 161 WriteData(fid,'object',self,'fieldname','step_threshold','format','DoubleMat','mattype',3) 167 162 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) 171 166 WriteData(fid,'object',self,'fieldname','thickness_obs','format','DoubleMat','mattype',1) 172 167 … … 194 189 WriteData(fid,'data',num_cost_functions,'enum',InversionNumCostFunctionsEnum(),'format','Integer') 195 190 # }}} 196 -
issm/trunk/src/m/classes/mask.m
r14314 r15396 47 47 fielddisplay(obj,'vertexonrock','vertex on rock flags list'); 48 48 end % }}} 49 function marshall(obj, fid) % {{{49 function marshall(obj,md,fid) % {{{ 50 50 WriteData(fid,'object',obj,'fieldname','elementonfloatingice','format','BooleanMat','mattype',2); 51 51 WriteData(fid,'object',obj,'fieldname','elementongroundedice','format','BooleanMat','mattype',2); -
issm/trunk/src/m/classes/mask.py
r14310 r15396 1 #module imports2 1 from fielddisplay import fielddisplay 3 2 from EnumDefinitions import * … … 13 12 """ 14 13 15 #properties 16 def __init__(self): 17 # {{{ Properties 14 def __init__(self): # {{{ 18 15 self.elementonfloatingice = float('NaN') 19 16 self.elementongroundedice = float('NaN') … … 27 24 28 25 #}}} 29 def __repr__(self): 30 # {{{ Display 26 def __repr__(self): # {{{ 31 27 string=" masks:" 32 28 … … 39 35 return string 40 36 #}}} 41 42 def setdefaultparameters(self): 43 # {{{setdefaultparameters 37 def setdefaultparameters(self): # {{{ 44 38 return self 45 39 #}}} 46 47 40 def checkconsistency(self,md,solution,analyses): # {{{ 48 41 … … 56 49 return md 57 50 # }}} 58 59 def marshall(self,fid): # {{{ 51 def marshall(self,md,fid): # {{{ 60 52 WriteData(fid,'object',self,'fieldname','elementonfloatingice','format','BooleanMat','mattype',2) 61 53 WriteData(fid,'object',self,'fieldname','elementongroundedice','format','BooleanMat','mattype',2) … … 65 57 WriteData(fid,'object',self,'fieldname','vertexonwater','format','DoubleMat','mattype',1) 66 58 # }}} 67 -
issm/trunk/src/m/classes/matdamageice.m
r13395 r15396 21 21 rheology_Z = NaN; 22 22 rheology_law = ''; 23 24 %gia: 25 lithosphere_shear_modulus = 0.; 26 lithosphere_density = 0.; 27 mantle_shear_modulus = 0.; 28 mantle_density = 0.; 29 23 30 end 24 31 methods … … 79 86 %available: none, paterson and arrhenius 80 87 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 81 95 end % }}} 82 96 function md = checkconsistency(obj,md,solution,analyses) % {{{ … … 89 103 md = checkfield(md,'materials.rheology_Z','>',0,'size',[md.mesh.numberofvertices 1]); 90 104 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 91 113 end % }}} 92 114 function disp(obj) % {{{ … … 108 130 fielddisplay(obj,'rheology_Z','rheology multiplier'); 109 131 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 110 137 end % }}} 111 function marshall(obj, fid) % {{{138 function marshall(obj,md,fid) % {{{ 112 139 WriteData(fid,'enum',MaterialsEnum(),'data',MatdamageiceEnum(),'format','Integer'); 113 140 WriteData(fid,'object',obj,'class','materials','fieldname','rho_ice','format','Double'); … … 126 153 WriteData(fid,'object',obj,'class','materials','fieldname','rheology_Z','format','DoubleMat','mattype',1); 127 154 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 128 161 end % }}} 129 162 end -
issm/trunk/src/m/classes/matdamageice.py
r13975 r15396 1 #module imports2 1 from fielddisplay import fielddisplay 3 2 from EnumDefinitions import * … … 31 30 self.rheology_law = '' 32 31 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 33 38 if not len(args): 34 39 self.setdefaultparameters() … … 37 42 38 43 # }}} 44 def __repr__(self): # {{{ 45 s =' Materials:\n' 39 46 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 # }}} 40 69 def setdefaultparameters(self): # {{{ 41 70 … … 76 105 #available: none, paterson and arrhenius 77 106 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) 78 113 # }}} 79 80 114 def checkconsistency(self,md,solution,analyses): # {{{ 81 115 md = checkfield(md,'materials.rho_ice','>',0) … … 87 121 md = checkfield(md,'materials.rheology_Z','>',0,'size',[md.mesh.numberofvertices,1]) 88 122 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]); 89 127 90 128 return md 91 129 # }}} 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): # {{{ 116 131 WriteData(fid,'enum',MaterialsEnum(),'data',MatdamageiceEnum(),'format','Integer') 117 132 WriteData(fid,'object',self,'class','materials','fieldname','rho_ice','format','Double') … … 130 145 WriteData(fid,'object',self,'class','materials','fieldname','rheology_Z','format','DoubleMat','mattype',1) 131 146 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.); 132 152 # }}} 133 -
issm/trunk/src/m/classes/matice.m
r14310 r15396 20 20 rheology_n = NaN; 21 21 rheology_law = ''; 22 23 %gia: 24 lithosphere_shear_modulus = 0.; 25 lithosphere_density = 0.; 26 mantle_shear_modulus = 0.; 27 mantle_density = 0.; 28 22 29 end 23 30 methods … … 78 85 %available: none, paterson and arrhenius 79 86 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 80 94 end % }}} 81 95 function md = checkconsistency(obj,md,solution,analyses) % {{{ … … 87 101 md = checkfield(md,'materials.rheology_n','>',0,'size',[md.mesh.numberofelements 1]); 88 102 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 89 111 end % }}} 90 112 function disp(obj) % {{{ … … 105 127 fielddisplay(obj,'rheology_n','Glen''s flow law exponent'); 106 128 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]'); 107 133 end % }}} 108 function marshall(obj, fid) % {{{134 function marshall(obj,md,fid) % {{{ 109 135 WriteData(fid,'enum',MaterialsEnum(),'data',MaticeEnum(),'format','Integer'); 110 136 WriteData(fid,'object',obj,'class','materials','fieldname','rho_ice','format','Double'); … … 122 148 WriteData(fid,'object',obj,'class','materials','fieldname','rheology_n','format','DoubleMat','mattype',2); 123 149 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); 124 155 end % }}} 125 156 end -
issm/trunk/src/m/classes/matice.py
r14310 r15396 1 #module imports2 1 from fielddisplay import fielddisplay 3 2 from EnumDefinitions import * … … 14 13 """ 15 14 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. 33 36 34 37 self.setdefaultparameters() 35 38 #}}} 36 def __repr__(self): 37 # {{{ Display 39 def __repr__(self): # {{{ 38 40 string=" Materials:" 39 41 … … 52 54 string="%s\n%s"%(string,fielddisplay(self,"rheology_n","Glen's flow law exponent")) 53 55 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]")) 54 60 55 61 return string 56 62 #}}} 57 def setdefaultparameters(self): 58 # {{{setdefaultparameters 63 def setdefaultparameters(self): # {{{ 59 64 #ice density (kg/m^3) 60 65 self.rho_ice=917. … … 93 98 #available: none, paterson and arrhenius 94 99 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 95 107 return self 96 108 #}}} 97 98 109 def checkconsistency(self,md,solution,analyses): # {{{ 99 110 md = checkfield(md,'materials.rho_ice','>',0) … … 104 115 md = checkfield(md,'materials.rheology_n','>',0,'size',[md.mesh.numberofelements]) 105 116 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]); 106 121 return md 107 122 # }}} 108 109 def marshall(self,fid): # {{{ 123 def marshall(self,md,fid): # {{{ 110 124 WriteData(fid,'enum',MaterialsEnum(),'data',MaticeEnum(),'format','Integer'); 111 125 WriteData(fid,'object',self,'class','materials','fieldname','rho_ice','format','Double') … … 123 137 WriteData(fid,'object',self,'class','materials','fieldname','rheology_n','format','DoubleMat','mattype',2) 124 138 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.); 125 144 # }}} 126 -
issm/trunk/src/m/classes/mesh.m
r13975 r15396 45 45 extractedvertices = NaN 46 46 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% }}} 47 60 end 48 61 methods … … 129 142 fielddisplay(obj,'numberofelements2d','number of elements'); 130 143 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]'); 134 147 135 148 disp(sprintf('\n Elements and vertices of the extruded 3d mesh:')); … … 139 152 fielddisplay(obj,'numberofelements','number of elements'); 140 153 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]'); 145 158 fielddisplay(obj,'edges','edges of the 2d mesh (vertex1 vertex2 element1 element2)'); 146 159 fielddisplay(obj,'numberofedges','number of edges of the 2d mesh'); 147 160 148 161 disp(sprintf('\n Properties:')); 149 fielddisplay(obj,'dimension','mesh dimension (2d or 3d)');162 fielddisplay(obj,'dimension','mesh dimension'); 150 163 fielddisplay(obj,'numberoflayers','number of extrusion layers'); 151 164 fielddisplay(obj,'vertexonbed','lower vertices flags list'); … … 170 183 171 184 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]'); 174 187 fielddisplay(obj,'hemisphere','Indicate hemisphere ''n'' or ''s'' '); 175 188 end % }}} 176 function marshall(obj, fid) % {{{189 function marshall(obj,md,fid) % {{{ 177 190 WriteData(fid,'object',obj,'fieldname','x','format','DoubleMat','mattype',1); 178 191 WriteData(fid,'object',obj,'fieldname','y','format','DoubleMat','mattype',1); -
issm/trunk/src/m/classes/mesh.py
r14310 r15396 1 #module imports2 1 import numpy 3 2 from fielddisplay import fielddisplay … … 14 13 """ 15 14 16 #properties 17 def __init__(self): 18 # {{{ Properties 15 def __init__(self): # {{{ 19 16 self.x = float('NaN'); 20 17 self.y = float('NaN'); … … 61 58 62 59 #}}} 63 def __repr__(self): 64 # {{{ Display 60 def __repr__(self): # {{{ 65 61 string=" Mesh:" 66 62 … … 71 67 string="%s\n%s"%(string,fielddisplay(self,"numberofelements2d","number of elements")) 72 68 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]")) 76 72 77 73 string="%s\n%s"%(string,"\n\n Elements and vertices of the extruded 3d mesh:") … … 80 76 string="%s\n%s"%(string,fielddisplay(self,"numberofelements","number of elements")) 81 77 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]")) 86 82 string="%s\n%s"%(string,fielddisplay(self,"edges","edges of the 2d mesh (vertex1 vertex2 element1 element2)")) 87 83 string="%s\n%s"%(string,fielddisplay(self,"numberofedges","number of edges of the 2d mesh")) … … 110 106 111 107 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]")) 114 110 string="%s\n%s"%(string,fielddisplay(self,"hemisphere","Indicate hemisphere 'n' or 's'")) 115 111 return string 116 112 #}}} 117 118 def setdefaultparameters(self): 119 # {{{setdefaultparameters 113 def setdefaultparameters(self): # {{{ 120 114 121 115 #the connectivity is the averaged number of nodes linked to a … … 128 122 return self 129 123 #}}} 130 131 124 def checkconsistency(self,md,solution,analyses): # {{{ 132 125 … … 177 170 return md 178 171 # }}} 179 180 def marshall(self,fid): # {{{ 172 def marshall(self,md,fid): # {{{ 181 173 WriteData(fid,'object',self,'fieldname','x','format','DoubleMat','mattype',1) 182 174 WriteData(fid,'object',self,'fieldname','y','format','DoubleMat','mattype',1) … … 201 193 WriteData(fid,'object',self,'fieldname','numberofelements2d','format','Integer') 202 194 # }}} 203 -
issm/trunk/src/m/classes/miscellaneous.m
r13395 r15396 35 35 36 36 end % }}} 37 function marshall(obj, fid) % {{{37 function marshall(obj,md,fid) % {{{ 38 38 WriteData(fid,'object',obj,'fieldname','name','format','String'); 39 39 end % }}} -
issm/trunk/src/m/classes/miscellaneous.py
r14310 r15396 1 #module imports2 1 from collections import OrderedDict 3 2 from fielddisplay import fielddisplay … … 14 13 """ 15 14 16 #properties 17 def __init__(self): 18 # {{{ Properties 15 def __init__(self): # {{{ 19 16 self.notes = '' 20 17 self.name = '' … … 25 22 26 23 #}}} 27 def __repr__(self): 28 # {{{ Display 24 def __repr__(self): # {{{ 29 25 string=' miscellaneous parameters:' 30 26 … … 34 30 return string 35 31 #}}} 36 37 def setdefaultparameters(self): 38 # {{{setdefaultparameters 32 def setdefaultparameters(self): # {{{ 39 33 return self 40 34 #}}} 41 42 35 def checkconsistency(self,md,solution,analyses): # {{{ 43 36 md = checkfield(md,'miscellaneous.name','empty',1) 44 37 return md 45 38 # }}} 46 47 def marshall(self,fid): # {{{ 39 def marshall(self,md,fid): # {{{ 48 40 WriteData(fid,'object',self,'fieldname','name','format','String') 49 41 # }}} 50 -
issm/trunk/src/m/classes/model/model.m
r14310 r15396 25 25 verbose = 0; 26 26 settings = 0; 27 solver= 0;27 toolkits = 0; 28 28 cluster = 0; 29 29 … … 36 36 steadystate = 0; 37 37 transient = 0; 38 gia = 0; 38 39 39 40 autodiff = 0; … … 82 83 end 83 84 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); 88 93 end 89 94 … … 152 157 if ~isnan(md.initialization.temperature),md.initialization.temperature=DepthAverage(md,md.initialization.temperature);end; 153 158 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 154 163 %bedinfo and surface info 155 164 md.mesh.elementonbed=ones(md.mesh.numberofelements2d,1); … … 172 181 md.diagnostic.spcvz=project2d(md,md.diagnostic.spcvz,md.mesh.numberoflayers); 173 182 md.diagnostic.referential=project2d(md,md.diagnostic.referential,md.mesh.numberoflayers); 183 md.diagnostic.loadingforce=project2d(md,md.diagnostic.loadingforce,md.mesh.numberoflayers); 174 184 md.prognostic.spcthickness=project2d(md,md.prognostic.spcthickness,md.mesh.numberoflayers); 175 185 md.thermal.spctemperature=project2d(md,md.thermal.spctemperature,md.mesh.numberoflayers); … … 212 222 md.mask.elementonwater=project2d(md,md.mask.elementonwater,1); 213 223 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); 215 225 216 226 %lat long … … 718 728 md.balancethickness.spcthickness=project3d(md,'vector',md.balancethickness.spcthickness,'type','node'); 719 729 md.diagnostic.referential=project3d(md,'vector',md.diagnostic.referential,'type','node'); 730 md.diagnostic.loadingforce=project3d(md,'vector',md.diagnostic.loadingforce,'type','node'); 720 731 721 732 %in 3d, pressureload: [node1 node2 node3 node4 element] … … 746 757 md.geometry.surface=project3d(md,'vector',md.geometry.surface,'type','node'); 747 758 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'); 748 761 md.geometry.hydrostatic_ratio=project3d(md,'vector',md.geometry.hydrostatic_ratio,'type','node'); 749 762 md.geometry.bed=project3d(md,'vector',md.geometry.bed,'type','node'); … … 810 823 if isfield(structmd,'gridonwater'), md.mask.vertexonwater=structmd.gridonwater; end 811 824 if isfield(structmd,'gridonboundary'), md.mesh.vertexonboundary=structmd.gridonboundary; end 812 if isfield(structmd,'petscoptions') & ~isempty(structmd.petscoptions), md. solver=structmd.petscoptions; end825 if isfield(structmd,'petscoptions') & ~isempty(structmd.petscoptions), md.toolkits=structmd.petscoptions; end 813 826 if isfield(structmd,'g'), md.constants.g=structmd.g; end 814 827 if isfield(structmd,'yts'), md.constants.yts=structmd.yts; end … … 976 989 pos=find(~isnan(structmd.spcvz)); md.diagnostic.spcvz(pos)=structmd.spcvz(pos); 977 990 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 982 997 end 983 998 if isfield(structmd,'elements_type') & structmd.elements_type(end,end)>50, … … 1055 1070 end 1056 1071 1072 if ~isfield(structmd,'loadingforce'); 1073 md.diagnostic.loadingforce=0*ones(md.mesh.numberofvertices,3); 1074 end 1057 1075 end% }}} 1058 1076 function md = setdefaultparameters(md) % {{{ … … 1073 1091 md.flowequation = flowequation(); 1074 1092 md.debug = debug(); 1075 md.verbose = verbose( 'solution',true,'qmu',true,'control',true);1093 md.verbose = verbose(); 1076 1094 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(); 1083 1096 md.cluster = generic(); 1084 1097 md.balancethickness = balancethickness(); 1085 1098 md.diagnostic = diagnostic(); 1086 md.hydrology = hydrology ();1099 md.hydrology = hydrologyshreve(); 1087 1100 md.prognostic = prognostic(); 1088 1101 md.thermal = thermal(); 1089 1102 md.steadystate = steadystate(); 1090 1103 md.transient = transient(); 1104 md.gia = gia(); 1091 1105 md.autodiff = autodiff(); 1092 1106 md.flaim = flaim(); … … 1115 1129 disp(sprintf('%19s: %-22s -- %s','verbose' ,['[1x1 ' class(obj.verbose) ']'],'verbosity level in solve')); 1116 1130 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')); 1118 1132 disp(sprintf('%19s: %-22s -- %s','cluster' ,['[1x1 ' class(obj.cluster) ']'],'cluster parameters (number of cpus...)')); 1119 1133 disp(sprintf('%19s: %-22s -- %s','balancethickness',['[1x1 ' class(obj.balancethickness) ']'],'parameters for balancethickness solution')); … … 1125 1139 disp(sprintf('%19s: %-22s -- %s','steadystate' ,['[1x1 ' class(obj.steadystate) ']'],'parameters for steadystate solution')); 1126 1140 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')); 1127 1142 disp(sprintf('%19s: %-22s -- %s','autodiff' ,['[1x1 ' class(obj.autodiff) ']'],'automatic differentiation parameters')); 1128 1143 disp(sprintf('%19s: %-22s -- %s','flaim' ,['[1x1 ' class(obj.flaim) ']'],'flaim parameters')); … … 1134 1149 end % }}} 1135 1150 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) % {{{ 1141 1225 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 1150 1240 end % }}} 1151 1241 end -
issm/trunk/src/m/classes/model/model.py
r14310 r15396 18 18 from verbose import verbose 19 19 from settings import settings 20 from solver import solver20 from toolkits import toolkits 21 21 from generic import generic 22 22 from balancethickness import balancethickness 23 23 from diagnostic import diagnostic 24 24 from groundingline import groundingline 25 from hydrology import hydrology25 from hydrologyshreve import hydrologyshreve 26 26 from prognostic import prognostic 27 27 from thermal import thermal 28 28 from steadystate import steadystate 29 29 from transient import transient 30 from gia import gia 30 31 from autodiff import autodiff 31 32 from flaim import flaim … … 50 51 class model(object): 51 52 #properties 52 def __init__(self): 53 # {{{ Properties 53 def __init__(self):#{{{ 54 54 self.mesh = mesh() 55 55 self.mask = mask() … … 66 66 67 67 self.debug = debug() 68 self.verbose = verbose( 'solution',True,'qmu',True,'control',True)68 self.verbose = verbose() 69 69 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() 75 71 self.cluster = generic() 76 72 … … 78 74 self.diagnostic = diagnostic() 79 75 self.groundingline = groundingline() 80 self.hydrology = hydrology ()76 self.hydrology = hydrologyshreve() 81 77 self.prognostic = prognostic() 82 78 self.thermal = thermal() 83 79 self.steadystate = steadystate() 84 80 self.transient = transient() 81 self.gia = gia() 85 82 86 83 self.autodiff = autodiff() … … 94 91 self.private = private() 95 92 #}}} 96 97 93 def properties(self): # {{{ 98 94 # ordered list of properties since vars(self) is random … … 112 108 'verbose',\ 113 109 'settings',\ 114 ' solver',\110 'toolkits',\ 115 111 'cluster',\ 116 112 'balancethickness',\ … … 122 118 'steadystate',\ 123 119 'transient',\ 120 'gia',\ 124 121 'autodiff',\ 125 122 'flaim',\ … … 131 128 'private'] 132 129 # }}} 133 134 def __repr__(obj): 135 # {{{ Display 136 130 def __repr__(obj): #{{{ 137 131 #print "Here %s the number: %d" % ("is", 37) 138 132 string="%19s: %-22s -- %s" % ("mesh","[%s,%s]" % ("1x1",obj.mesh.__class__.__name__),"mesh properties") … … 151 145 string="%s\n%s" % (string,"%19s: %-22s -- %s" % ("verbose","[%s,%s]" % ("1x1",obj.verbose.__class__.__name__),"verbosity level in solve")) 152 146 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")) 154 148 string="%s\n%s" % (string,"%19s: %-22s -- %s" % ("cluster","[%s,%s]" % ("1x1",obj.cluster.__class__.__name__),"cluster parameters (number of cpus...)")) 155 149 string="%s\n%s" % (string,"%19s: %-22s -- %s" % ("balancethickness","[%s,%s]" % ("1x1",obj.balancethickness.__class__.__name__),"parameters for balancethickness solution")) … … 170 164 return string 171 165 # }}} 172 173 166 def checkmessage(self,string): # {{{ 174 167 print ("model not consistent: %s" % string) … … 176 169 return self 177 170 # }}} 178 179 171 def extract(md,area): # {{{ 180 172 """ … … 450 442 return md2 451 443 # }}} 452 453 444 def extrude(md,*args): # {{{ 454 445 """ … … 634 625 md.balancethickness.spcthickness=project3d(md,'vector',md.balancethickness.spcthickness,'type','node') 635 626 md.diagnostic.referential=project3d(md,'vector',md.diagnostic.referential,'type','node') 627 md.diagnostic.loadingforce=project3d(md,'vector',md.diagnostic.loadingforce,'type','node') 636 628 637 629 #in 3d, pressureload: [node1 node2 node3 node4 element] … … 657 649 md.geometry.surface=project3d(md,'vector',md.geometry.surface,'type','node') 658 650 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') 659 653 md.geometry.hydrostatic_ratio=project3d(md,'vector',md.geometry.hydrostatic_ratio,'type','node') 660 654 md.geometry.bed=project3d(md,'vector',md.geometry.bed,'type','node') … … 697 691 return md 698 692 # }}} 699 -
issm/trunk/src/m/classes/organizer.py
r13975 r15396 63 63 self.trunkprefix=trunkprefix 64 64 #}}} 65 66 65 def __repr__(self): # {{{ 67 66 s ="" … … 75 74 s+="%s\n" % " step #%2i: '%s'",step['id'],step['string'] 76 75 #}}} 77 78 76 def load(self,string): # {{{ 79 77 … … 93 91 return md 94 92 #}}} 95 96 93 def loadmodel(self,string): # {{{ 97 94 … … 118 115 raise IOerror("Could not find '%s'" % path) 119 116 #}}} 120 121 117 def perform(self,string): # {{{ 122 118 … … 153 149 return bool 154 150 #}}} 155 156 151 def savemodel(self,md): # {{{ 157 152 … … 174 169 savevars(name,'md',md) 175 170 #}}} 176 -
issm/trunk/src/m/classes/pairoptions.m
r14310 r15396 33 33 %check length of input 34 34 if mod((nargin-1),2), 35 error(' error: an even number of options is required')35 error('Invalid parameter/value pair arguments') 36 36 end 37 37 numoptions = (nargin-1)/2; -
issm/trunk/src/m/classes/pairoptions.py
r14310 r15396 11 11 """ 12 12 13 def __init__(self,*arg): 13 def __init__(self,*arg): # {{{ 14 14 self.functionname = '' 15 15 self.list = OrderedDict() … … 26 26 self.buildlist(*arg) 27 27 # }}} 28 29 def buildlist(self,*arg): # {{{30 """BUILDLIST - build list of objects from input"""31 32 #check length of input33 if len(arg) % 2:34 raise TypeError('error: an even number of options is required')35 numoptions = len(arg)/236 37 #go through arg and build list of objects38 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 it43 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] = value52 # }}}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] = value59 # }}}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 obj269 # }}}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 list79 #80 # %track the first occurrence of each option81 # [dummy lines]=unique(obj.list(:,1),'first');82 # clear dummy83 #84 # %warn user if requested85 # 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 # end91 # end92 # end93 #94 # %remove duplicates from the options list95 # obj.list=obj.list(lines,:);96 # end % }}}97 98 28 def __repr__(self): # {{{ 99 29 s=" functionname: '%s'\n" % self.functionname … … 111 41 return s 112 42 # }}} 43 def buildlist(self,*arg): # {{{ 44 """BUILDLIST - build list of objects from input""" 113 45 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 # }}} 114 86 def exist(self,field): # {{{ 115 87 """EXIST - check if the option exist""" … … 127 99 return False 128 100 # }}} 129 130 #def fieldoccurrences(self,field): #{{{131 # '''132 # FIELDOCCURRENCES - get number of occurrence of a field133 # '''134 #135 # #check input136 # if not isinstance(field,(str,unicode)):137 # raise TypeError("fieldoccurrences error message: field should be a string")138 139 # #get number of occurrence140 # # ??141 # #return num142 # #% }}}143 144 101 def getfieldvalue(self,field,default=None): # {{{ 145 102 """ … … 174 131 return value 175 132 # }}} 176 177 133 def removefield(self,field,warn): # {{{ 178 134 """ … … 196 152 print "removefield info: option '%s' has been removed from the list of options." % field 197 153 # }}} 198 199 def marshall(self,fid,firstindex): # {{{ 154 def marshall(self,md,fid,firstindex): # {{{ 200 155 201 156 for i,item in enumerate(self.list.iteritems()): … … 214 169 raise TypeError("Cannot marshall option '%s': format not supported yet." % name) 215 170 # }}} 216 -
issm/trunk/src/m/classes/planetmesh.m
r13975 r15396 1 % MESH class definition1 %PLANETMESH class definition 2 2 % 3 3 % Usage: … … 17 17 numberofelements = 0; 18 18 numberofvertices = 0; 19 20 lat = NaN21 long = NaN22 19 23 20 vertexconnectivity = NaN … … 64 61 md = checkfield(md,'planetmesh.numberofelements','>',0); 65 62 md = checkfield(md,'planetmesh.numberofvertices','>',0); 66 %no checks for numberofedges lat long and hemisphere67 63 if (md.planetmesh.dimension==2), 68 64 md = checkfield(md,'planetmesh.average_vertex_connectivity','>=',9,'message','''planetmesh.average_vertex_connectivity'' should be at least 9 in 2d'); … … 92 88 fielddisplay(obj,'numberofelements','number of elements'); 93 89 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]'); 101 97 102 98 disp(sprintf('\n Properties:')); … … 109 105 110 106 end % }}} 111 function marshall(obj, fid) % {{{107 function marshall(obj,md,fid) % {{{ 112 108 WriteData(fid,'object',obj,'fieldname','x','format','DoubleMat','mattype',1); 113 109 WriteData(fid,'object',obj,'fieldname','y','format','DoubleMat','mattype',1); -
issm/trunk/src/m/classes/plotoptions.m
r14310 r15396 45 45 %check length of input 46 46 if mod((nargin-1),2), 47 error(' buildlist error message: an even number of plotoptions is required')47 error('Invalid parameter/value pair arguments') 48 48 end 49 49 … … 52 52 numoptions = (nargin-1)/2; 53 53 rawlist=cell(numoptions,2); 54 counter=1; 54 55 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; 58 62 else 59 63 %option is not a string, ignore it 60 64 disp(['WARNING: option number ' num2str(i) ' is not a string, it will be ignored']); 61 rawlist( i,:)=[];65 rawlist(counter,:)=[]; 62 66 continue 63 67 end 64 68 end 65 66 %get figure number67 opt.figurenumber=getfieldvalue(rawoptions,'figure',1);68 69 69 70 %get number of data to be plotted … … 162 163 opt.list{i}=deleteduplicates(opt.list{i},1); 163 164 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 164 170 end 165 171 %}}} -
issm/trunk/src/m/classes/plotoptions.py
r13975 r15396 10 10 ''' 11 11 12 def __init__(self,*arg): 12 def __init__(self,*arg):# {{{ 13 13 self.numberofplots = 0 14 14 self.figurenumber = 1 … … 16 16 17 17 self.buildlist(*arg) 18 18 #}}} 19 19 def __repr__(self): #{{{ 20 20 s="\n" … … 38 38 #check length of input 39 39 if len(arg) % 2: 40 raise TypeError(' error: an even number of options is required')40 raise TypeError('Invalid parameter/value pair arguments') 41 41 42 42 #go through args and build list (like pairoptions) … … 54 54 #get figure number 55 55 self.figurenumber=rawoptions.getfieldvalue('figure',1) 56 rawoptions.removefield('figure',0) 56 57 57 58 #get number of subplots -
issm/trunk/src/m/classes/private.py
r13395 r15396 1 #module imports2 1 from collections import OrderedDict 3 2 from fielddisplay import fielddisplay … … 13 12 """ 14 13 15 #properties 16 def __init__(self): 17 # {{{ Properties 14 def __init__(self): # {{{ 18 15 self.isconsistent = True 19 16 self.runtimename = '' … … 25 22 26 23 #}}} 27 def __repr__(self): 28 # {{{ Display 24 def __repr__(self): # {{{ 29 25 string=' private parameters: do not change' 30 26 … … 35 31 return string 36 32 #}}} 37 38 def setdefaultparameters(self): 39 # {{{setdefaultparameters 33 def setdefaultparameters(self): # {{{ 40 34 return self 41 35 #}}} 42 43 36 def checkconsistency(self,md,solution,analyses): # {{{ 44 37 return md 45 38 # }}} 46 -
issm/trunk/src/m/classes/prognostic.m
r13975 r15396 53 53 function disp(obj) % {{{ 54 54 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]'); 57 57 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'); 59 59 60 60 disp(sprintf('\n %s','Penalty options:')); … … 64 64 65 65 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); 68 68 WriteData(fid,'object',obj,'fieldname','min_thickness','format','Double'); 69 69 WriteData(fid,'data',StringToEnum(obj.hydrostatic_adjustment),'format','Integer','enum',PrognosticHydrostaticAdjustmentEnum()); -
issm/trunk/src/m/classes/prognostic.py
r14310 r15396 1 #module imports2 1 from fielddisplay import fielddisplay 3 2 from EnumDefinitions import * … … 14 13 """ 15 14 16 #properties 17 def __init__(self): 18 # {{{ Properties 15 def __init__(self): # {{{ 19 16 self.spcthickness = float('NaN') 20 17 self.min_thickness = 0 … … 29 26 30 27 #}}} 31 def __repr__(self): 32 # {{{ Display 28 def __repr__(self): # {{{ 33 29 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]')) 36 32 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')) 38 34 string="%s\n%s"%(string,fielddisplay(self,'requested_outputs','additional outputs requested')) 39 35 40 36 return string 41 37 #}}} 42 43 def setdefaultparameters(self): 44 # {{{setdefaultparameters 38 def setdefaultparameters(self): # {{{ 45 39 46 40 #Type of stabilization to use 0:nothing 1:artificial_diffusivity 3:Discontinuous Galerkin … … 58 52 return self 59 53 #}}} 60 61 54 def checkconsistency(self,md,solution,analyses): # {{{ 62 55 … … 74 67 return md 75 68 # }}} 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) 79 71 WriteData(fid,'object',self,'fieldname','min_thickness','format','Double') 80 72 WriteData(fid,'data',StringToEnum(self.hydrostatic_adjustment)[0],'format','Integer','enum',PrognosticHydrostaticAdjustmentEnum()) … … 84 76 WriteData(fid,'object',self,'fieldname','requested_outputs','format','DoubleMat','mattype',3); 85 77 # }}} 86 -
issm/trunk/src/m/classes/qmu.m
r13975 r15396 140 140 141 141 end % }}} 142 function marshall(obj, fid) % {{{142 function marshall(obj,md,fid) % {{{ 143 143 WriteData(fid,'object',obj,'fieldname','isdakota','format','Boolean'); 144 144 if ~obj.isdakota, -
issm/trunk/src/m/classes/qmu.py
r13975 r15396 1 #module imports2 1 import numpy 3 2 from collections import OrderedDict … … 16 15 """ 17 16 18 #properties 19 def __init__(self): 20 # {{{ Properties 17 def __init__(self): # {{{ 21 18 self.isdakota = 0 22 19 self.variables = OrderedDict() … … 40 37 41 38 #}}} 42 43 def setdefaultparameters(self): 44 # {{{setdefaultparameters 39 def setdefaultparameters(self): # {{{ 45 40 return self 46 41 #}}} … … 139 134 return s 140 135 # }}} 141 def marshall(self, fid): # {{{136 def marshall(self,md,fid): # {{{ 142 137 WriteData(fid,'object',self,'fieldname','isdakota','format','Boolean') 143 138 if not self.isdakota: … … 156 151 WriteData(fid,'data',flag,'enum',QmuMassFluxSegmentsPresentEnum(),'format','Boolean'); 157 152 # }}} 158 -
issm/trunk/src/m/classes/qmu/@dakota_method/dmeth_params_write.m
r14310 r15396 350 350 param_write(fid,sbeg,'seed',' = ','\n',dm.params); 351 351 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) 353 354 param_write(fid,sbeg,'rng',' ','\n',dm.params); 354 355 end -
issm/trunk/src/m/classes/radaroverlay.m
r11995 r15396 26 26 27 27 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]'); 30 30 31 31 end % }}} -
issm/trunk/src/m/classes/radaroverlay.py
r14310 r15396 1 #module imports2 1 from fielddisplay import fielddisplay 3 2 … … 10 9 """ 11 10 12 #properties 13 def __init__(self): 14 # {{{ Properties 11 def __init__(self): # {{{ 15 12 self.pwr = float('NaN') 16 13 self.x = float('NaN') … … 21 18 22 19 #}}} 23 def __repr__(self): 24 # {{{ Display 20 def __repr__(self): # {{{ 25 21 string=' radaroverlay parameters:' 26 22 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]')) 29 25 return string 30 26 #}}} 31 32 def setdefaultparameters(self): 33 # {{{setdefaultparameters 27 def setdefaultparameters(self): # {{{ 34 28 return self 35 29 #}}} 36 -
issm/trunk/src/m/classes/results.py
r13975 r15396 17 17 pass 18 18 # }}} 19 20 19 def __repr__(self): # {{{ 21 20 s =" Model results:\n" … … 44 43 return s 45 44 # }}} 46 47 45 def setdefaultparameters(self): # {{{ 48 46 #do nothing 49 47 return self 50 48 # }}} 51 52 49 def checkconsistency(self,md,solution,analyses): # {{{ 53 50 return md 54 51 # }}} 55 56 def marshall(self,fid): # {{{ 52 def marshall(self,md,fid): # {{{ 57 53 pass 58 54 # }}} 59 -
issm/trunk/src/m/classes/rifts.m
r13975 r15396 54 54 55 55 end % }}} 56 function marshall(obj, fid) % {{{56 function marshall(obj,md,fid) % {{{ 57 57 58 58 %Process rift info -
issm/trunk/src/m/classes/rifts.py
r14310 r15396 1 #module imports2 1 import numpy 3 2 from fielddisplay import fielddisplay … … 15 14 """ 16 15 17 #properties 18 def __init__(self): 19 # {{{ Properties 16 def __init__(self): # {{{ 20 17 self.riftstruct = [] 21 18 self.riftproperties = [] … … 25 22 26 23 #}}} 27 def __repr__(self): 28 # {{{ Display 24 def __repr__(self): # {{{ 29 25 string=' rifts parameters:' 30 26 … … 33 29 return string 34 30 #}}} 35 36 def setdefaultparameters(self): 37 # {{{setdefaultparameters 31 def setdefaultparameters(self): # {{{ 38 32 return self 39 33 #}}} 40 41 34 def checkconsistency(self,md,solution,analyses): # {{{ 42 35 if (not self.riftstruct) or numpy.any(isnans(self.riftstruct)): … … 61 54 return md 62 55 # }}} 63 64 def marshall(self,fid): # {{{ 56 def marshall(self,md,fid): # {{{ 65 57 66 58 #Process rift info … … 90 82 WriteData(fid,'data',data,'enum',RiftsRiftstructEnum(),'format','DoubleMat','mattype',3) 91 83 # }}} 92 -
issm/trunk/src/m/classes/settings.m
r14310 r15396 11 11 output_frequency = 0; 12 12 waitonlock = 0; 13 upload_server = ''; 14 upload_path = ''; 15 upload_login = ''; 16 upload_port = 0; 17 upload_filename = ''; 18 13 19 end 14 20 methods … … 40 46 %0 to deactivate 41 47 obj.waitonlock=Inf; 48 49 %upload options: 50 upload_port = 0; 51 42 52 end % }}} 43 53 function md = checkconsistency(obj,md,solution,analyses) % {{{ … … 57 67 fielddisplay(obj,'results_as_patches','provide results as patches for each element (0 or 1)'); 58 68 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'); 60 75 61 76 end % }}} 62 function marshall(obj, fid) % {{{77 function marshall(obj,md,fid) % {{{ 63 78 WriteData(fid,'object',obj,'fieldname','io_gather','format','Boolean'); 64 79 WriteData(fid,'object',obj,'fieldname','lowmem','format','Boolean'); -
issm/trunk/src/m/classes/settings.py
r14310 r15396 1 #module imports2 1 from fielddisplay import fielddisplay 3 2 from EnumDefinitions import * … … 13 12 """ 14 13 15 #properties 16 def __init__(self): 17 # {{{ Properties 14 def __init__(self): # {{{ 18 15 self.io_gather = 0 19 16 self.lowmem = 0 … … 26 23 27 24 #}}} 28 def __repr__(self): 29 # {{{ Display 25 def __repr__(self): # {{{ 30 26 string=" general settings parameters:" 31 27 … … 37 33 return string 38 34 #}}} 39 40 def setdefaultparameters(self): 41 # {{{setdefaultparameters 35 def setdefaultparameters(self): # {{{ 42 36 43 37 #are we short in memory ? (0 faster but requires more memory) … … 61 55 return self 62 56 #}}} 63 64 57 def checkconsistency(self,md,solution,analyses): # {{{ 65 58 md = checkfield(md,'settings.io_gather','numel',[1],'values',[0,1]) … … 71 64 return md 72 65 # }}} 73 74 def marshall(self,fid): # {{{ 66 def marshall(self,md,fid): # {{{ 75 67 WriteData(fid,'object',self,'fieldname','io_gather','format','Boolean') 76 68 WriteData(fid,'object',self,'fieldname','lowmem','format','Boolean') … … 82 74 WriteData(fid,'enum',SettingsWaitonlockEnum(),'data',False,'format','Boolean'); 83 75 # }}} 84 -
issm/trunk/src/m/classes/steadystate.m
r13395 r15396 47 47 48 48 end % }}} 49 function marshall(obj, fid) % {{{49 function marshall(obj,md,fid) % {{{ 50 50 WriteData(fid,'object',obj,'fieldname','reltol','format','Double'); 51 51 WriteData(fid,'object',obj,'fieldname','maxiter','format','Integer'); -
issm/trunk/src/m/classes/steadystate.py
r13395 r15396 1 #module imports2 1 import numpy 3 2 from fielddisplay import fielddisplay … … 14 13 """ 15 14 16 #properties 17 def __init__(self): 18 # {{{ Properties 15 def __init__(self): # {{{ 19 16 self.reltol = 0 20 17 self.maxiter = 0 … … 25 22 26 23 #}}} 27 def __repr__(self): 28 # {{{ Display 24 def __repr__(self): # {{{ 29 25 string=' steadystate solution parameters:' 30 26 string="%s\n%s"%(string,fielddisplay(self,'reltol','relative tolerance criterion')) … … 33 29 return string 34 30 #}}} 35 36 def setdefaultparameters(self): 37 # {{{setdefaultparameters 31 def setdefaultparameters(self): # {{{ 38 32 39 33 #maximum of steady state iterations … … 45 39 return self 46 40 #}}} 47 48 41 def checkconsistency(self,md,solution,analyses): # {{{ 49 42 … … 60 53 return md 61 54 # }}} 62 63 def marshall(self,fid): # {{{ 55 def marshall(self,md,fid): # {{{ 64 56 WriteData(fid,'object',self,'fieldname','reltol','format','Double') 65 57 WriteData(fid,'object',self,'fieldname','maxiter','format','Integer') 66 58 WriteData(fid,'object',self,'fieldname','requested_outputs','format','DoubleMat','mattype',3) 67 59 # }}} 68 -
issm/trunk/src/m/classes/surfaceforcings.m
r14310 r15396 6 6 classdef surfaceforcings 7 7 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; 22 22 precipitations_presentday = NaN; 23 desfac = 0.5; 24 s0p = 0; 23 25 end 24 26 methods … … 37 39 obj.issmbgradients=0; 38 40 obj.isdelta18o=0; 39 41 obj.desfac=0.5; 42 obj.s0p=0; 40 43 end % }}} 41 44 function md = checkconsistency(obj,md,solution,analyses) % {{{ … … 45 48 md = checkfield(md,'surfaceforcings.issmbgradients','numel',[1],'values',[0 1]); 46 49 if(obj.ispdd) 50 md = checkfield(md,'surfaceforcings.desfac','<=',1,'numel',1); 51 md = checkfield(md,'surfaceforcings.s0p','>=',0,'numel',1); 47 52 if(obj.isdelta18o==0) 48 53 md = checkfield(md,'surfaceforcings.monthlytemperatures','forcing',1,'NaN',1); … … 71 76 disp(sprintf(' surface forcings parameters:')); 72 77 78 disp(sprintf('\n General parameters:')); 73 79 fielddisplay(obj,'mass_balance','surface mass balance [m/yr ice eq]'); 80 81 disp(sprintf('\n PDD and deltaO18 parameters:')); 74 82 fielddisplay(obj,'ispdd','is pdd activated (0 or 1, default is 0)'); 75 83 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'); 77 87 fielddisplay(obj,'precipitation','surface precipitation [m/yr water eq]'); 78 fielddisplay(obj,'temperatures_presentday','monthly present day surface temperatures [K elvin], required if pdd is activated and delta18o activated');79 fielddisplay(obj,'temperatures_lgm','monthly LGM surface temperatures [K elvin], 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'); 80 90 fielddisplay(obj,'precipitations_presentday','monthly surface precipitation [m/yr water eq], required if pdd is activated and delta18o activated'); 81 91 fielddisplay(obj,'delta18o','delta18o, required if pdd is activated and delta18o activated'); 82 92 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:')); 83 95 fielddisplay(obj,'issmbgradients','is smb gradients method activated (0 or 1, default is 0)'); 84 96 fielddisplay(obj,'href',' reference elevation from which deviation is used to calculate SMB adjustment in smb gradients method'); … … 88 100 89 101 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); 93 108 WriteData(fid,'object',obj,'fieldname','ispdd','format','Boolean'); 94 109 WriteData(fid,'object',obj,'fieldname','isdelta18o','format','Boolean'); 95 110 if obj.ispdd, 111 WriteData(fid,'object',obj,'fieldname','desfac','format','Double'); 112 WriteData(fid,'object',obj,'fieldname','s0p','format','Double'); 96 113 if obj.isdelta18o 97 114 WriteData(fid,'object',obj,'fieldname','temperatures_presentday','format','DoubleMat','mattype',1); … … 101 118 WriteData(fid,'object',obj,'fieldname','delta18o','format','DoubleMat','mattype',1); 102 119 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); 105 121 end 106 122 end 107 123 WriteData(fid,'object',obj,'fieldname','issmbgradients','format','Boolean'); 108 124 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); 113 129 end 114 130 -
issm/trunk/src/m/classes/surfaceforcings.py
r14310 r15396 1 #module imports2 1 from fielddisplay import fielddisplay 3 2 from EnumDefinitions import * … … 13 12 """ 14 13 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') 32 29 self.precipitations_presentday = float('NaN') 30 self.desfac = 0. 31 self.s0p = 0. 33 32 34 33 #set defaults … … 36 35 37 36 #}}} 38 def __repr__(self): 39 # {{{ Display 37 def __repr__(self): # {{{ 40 38 string=" surface forcings parameters:" 41 39 … … 43 41 string="%s\n%s"%(string,fielddisplay(self,'mass_balance','surface mass balance [m/yr ice eq]')) 44 42 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]')) 45 44 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')) 47 47 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 [K elvin], required if pdd is activated and delta18o activated'))49 string="%s\n%s"%(string,fielddisplay(self,'temperatures_lgm','monthly LGM surface temperatures [K elvin], 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')) 50 50 string="%s\n%s"%(string,fielddisplay(self,'precipitations_presentday','monthly surface precipitation [m/yr water eq], required if pdd is activated and delta18o activated')) 51 51 string="%s\n%s"%(string,fielddisplay(self,'delta18o','delta18o, required if pdd is activated and delta18o activated')) … … 59 59 return string 60 60 #}}} 61 def setdefaultparameters(self): 62 # {{{setdefaultparameters 61 def setdefaultparameters(self): # {{{ 63 62 64 63 #pdd method not used in default mode … … 66 65 self.issmbgradients=0 67 66 self.isdelta18o=0 67 self.desfac=0.5 68 self.s0p=0. 68 69 69 70 return self 70 71 #}}} 71 72 72 def checkconsistency(self,md,solution,analyses): # {{{ 73 73 … … 76 76 md = checkfield(md,'surfaceforcings.issmbgradients','numel',[1],'values',[0,1]) 77 77 if self.ispdd: 78 md = checkfield(md,'surfaceforcings.desfac','<=',1,'numel',[1]); 79 md = checkfield(md,'surfaceforcings.s0p','>=',0,'numel',[1]); 78 80 if not self.isdelta18o: 79 81 md = checkfield(md,'surfaceforcings.monthlytemperatures','forcing',1,'NaN',1) … … 98 100 return md 99 101 # }}} 102 def marshall(self,md,fid): # {{{ 100 103 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) 104 108 WriteData(fid,'object',self,'fieldname','ispdd','format','Boolean') 105 109 WriteData(fid,'object',self,'fieldname','isdelta18o','format','Boolean') 106 110 107 111 if self.ispdd: 112 WriteData(fid,'object',self,'fieldname','desfac','format','Double'); 113 WriteData(fid,'object',self,'fieldname','s0p','format','Double'); 108 114 if self.isdelta18o: 109 115 WriteData(fid,'object',self,'fieldname','temperatures_presentday','format','DoubleMat','mattype',1) … … 113 119 WriteData(fid,'object',self,'fieldname','delta18o','format','DoubleMat','mattype',1) 114 120 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) 117 122 118 123 WriteData(fid,'object',self,'fieldname','issmbgradients','format','Boolean') 119 124 120 125 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) 125 130 # }}} 126 -
issm/trunk/src/m/classes/taoinversion.m
r14310 r15396 1 % INVERSION class definition1 %TAOINVERSION class definition 2 2 % 3 3 % Usage: … … 83 83 if solution==BalancethicknessSolutionEnum() 84 84 md = checkfield(md,'inversion.thickness_obs','size',[md.mesh.numberofvertices 1],'NaN',1); 85 elseif solution== WeakBalancethicknessSolutionEnum()85 elseif solution==BalancethicknessSoftSolutionEnum() 86 86 md = checkfield(md,'inversion.thickness_obs','size',[md.mesh.numberofvertices 1],'NaN',1); 87 87 else … … 93 93 disp(sprintf(' taoinversion parameters:')); 94 94 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''}'); 97 97 fielddisplay(obj,'nsteps','number of optimization searches'); 98 98 fielddisplay(obj,'cost_functions','indicate the type of response for each optimization step'); … … 100 100 fielddisplay(obj,'min_parameters','absolute minimum acceptable value of the inversed parameter on each vertex'); 101 101 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]'); 105 105 fielddisplay(obj,'thickness_obs','observed thickness [m]'); 106 106 disp('Available cost functions:'); … … 115 115 disp(' 503: ThicknessAbsGradient'); 116 116 end % }}} 117 function marshall(obj, fid) % {{{117 function marshall(obj,md,fid) % {{{ 118 118 119 119 WriteData(fid,'object',obj,'class','inversion','fieldname','iscontrol','format','Boolean'); -
issm/trunk/src/m/classes/thermal.m
r13975 r15396 57 57 disp(sprintf(' Thermal solution parameters:')); 58 58 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'); 61 61 fielddisplay(obj,'maxiter','maximum number of non linear iterations'); 62 62 fielddisplay(obj,'penalty_lock','stabilize unstable thermal constraints that keep zigzagging after n iteration (default is 0, no stabilization)'); … … 65 65 66 66 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); 69 69 WriteData(fid,'object',obj,'fieldname','penalty_threshold','format','Integer'); 70 70 WriteData(fid,'object',obj,'fieldname','stabilization','format','Integer'); -
issm/trunk/src/m/classes/thermal.py
r14310 r15396 1 #module imports2 1 import numpy 3 2 from fielddisplay import fielddisplay … … 14 13 """ 15 14 16 #properties 17 def __init__(self): 18 # {{{ Properties 15 def __init__(self): # {{{ 19 16 self.spctemperature = float('NaN') 20 17 self.penalty_threshold = 0 … … 29 26 30 27 #}}} 31 def __repr__(self): 32 # {{{ Display 28 def __repr__(self): # {{{ 33 29 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')) 36 32 string="%s\n%s"%(string,fielddisplay(self,'maxiter','maximum number of non linear iterations')) 37 33 string="%s\n%s"%(string,fielddisplay(self,'penalty_lock','stabilize unstable thermal constraints that keep zigzagging after n iteration (default is 0, no stabilization)')) … … 40 36 return string 41 37 #}}} 42 43 def setdefaultparameters(self): 44 # {{{setdefaultparameters 38 def setdefaultparameters(self): # {{{ 45 39 46 40 #Number of unstable constraints acceptable … … 61 55 return self 62 56 #}}} 63 64 57 def checkconsistency(self,md,solution,analyses): # {{{ 65 58 … … 78 71 return md 79 72 # }}} 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) 83 75 WriteData(fid,'object',self,'fieldname','penalty_threshold','format','Integer') 84 76 WriteData(fid,'object',self,'fieldname','stabilization','format','Integer') … … 88 80 WriteData(fid,'object',self,'fieldname','isenthalpy','format','Boolean') 89 81 # }}} 90 -
issm/trunk/src/m/classes/timestepping.m
r14310 r15396 47 47 disp(sprintf(' timestepping parameters:')); 48 48 49 fielddisplay(obj,'start_time','simulation starting time [yr s]');50 fielddisplay(obj,'final_time','final time to stop the simulation [yr s]');51 fielddisplay(obj,'time_step','length of time steps [yr s]');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]'); 52 52 fielddisplay(obj,'time_adapt','use cfl condition to define time step ? (0 or 1) '); 53 53 fielddisplay(obj,'cfl_coefficient','coefficient applied to cfl condition'); 54 54 55 55 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); 60 63 WriteData(fid,'object',obj,'fieldname','time_adapt','format','Boolean'); 61 64 WriteData(fid,'object',obj,'fieldname','cfl_coefficient','format','Double'); -
issm/trunk/src/m/classes/timestepping.py
r14310 r15396 1 #module imports2 1 from fielddisplay import fielddisplay 3 2 from EnumDefinitions import * … … 13 12 """ 14 13 15 #properties 16 def __init__(self): 17 # {{{ Properties 14 def __init__(self): # {{{ 18 15 self.start_time = 0. 19 16 self.final_time = 0. … … 26 23 27 24 #}}} 28 def __repr__(self): 29 # {{{ Display 25 def __repr__(self): # {{{ 30 26 string=" timestepping parameters:" 31 string="%s\n%s"%(string,fielddisplay(self,"start_time","simulation starting time [yr s]"))32 string="%s\n%s"%(string,fielddisplay(self,"final_time","final time to stop the simulation [yr s]"))33 string="%s\n%s"%(string,fielddisplay(self,"time_step","length of time steps [yr s]"))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]")) 34 30 string="%s\n%s"%(string,fielddisplay(self,"time_adapt","use cfl condition to define time step ? (0 or 1) ")) 35 31 string="%s\n%s"%(string,fielddisplay(self,"cfl_coefficient","coefficient applied to cfl condition")) 36 32 return string 37 33 #}}} 38 39 def setdefaultparameters(self): 40 # {{{setdefaultparameters 34 def setdefaultparameters(self): # {{{ 41 35 42 36 #time between 2 time steps … … 52 46 return self 53 47 #}}} 54 55 48 def checkconsistency(self,md,solution,analyses): # {{{ 56 49 … … 65 58 return md 66 59 # }}} 60 def marshall(self,md,fid): # {{{ 67 61 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) 72 67 WriteData(fid,'object',self,'fieldname','time_adapt','format','Boolean') 73 68 WriteData(fid,'object',self,'fieldname','cfl_coefficient','format','Double') 74 69 # }}} 75 -
issm/trunk/src/m/classes/transient.m
r14067 r15396 10 10 isthermal = 0; 11 11 isgroundingline = 0; 12 isgia = 0; 12 13 requested_outputs = NaN; 13 14 end … … 28 29 obj.isthermal=1; 29 30 obj.isgroundingline=0; 31 obj.isgia=0; 30 32 31 33 end % }}} … … 39 41 md = checkfield(md,'transient.isthermal','numel',[1],'values',[0 1]); 40 42 md = checkfield(md,'transient.isgroundingline','numel',[1],'values',[0 1]); 43 md = checkfield(md,'transient.isgia','numel',[1],'values',[0 1]); 41 44 md = checkfield(md,'transient.requested_outputs','size',[NaN 1]); 42 45 … … 49 52 fielddisplay(obj,'isthermal','indicates if a thermal solution is used in the transient'); 50 53 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'); 51 55 fielddisplay(obj,'requested_outputs','list of additional outputs requested'); 52 56 53 57 end % }}} 54 function marshall(obj, fid) % {{{58 function marshall(obj,md,fid) % {{{ 55 59 WriteData(fid,'object',obj,'fieldname','isprognostic','format','Boolean'); 56 60 WriteData(fid,'object',obj,'fieldname','isdiagnostic','format','Boolean'); 57 61 WriteData(fid,'object',obj,'fieldname','isthermal','format','Boolean'); 58 62 WriteData(fid,'object',obj,'fieldname','isgroundingline','format','Boolean'); 63 WriteData(fid,'object',obj,'fieldname','isgia','format','Boolean'); 59 64 WriteData(fid,'object',obj,'fieldname','requested_outputs','format','DoubleMat','mattype',3); 60 65 end % }}} -
issm/trunk/src/m/classes/transient.py
r14067 r15396 1 #module imports2 1 from fielddisplay import fielddisplay 3 2 from EnumDefinitions import * … … 13 12 """ 14 13 15 #properties 16 def __init__(self): 17 # {{{ Properties 14 def __init__(self): # {{{ 18 15 self.isprognostic = False 19 16 self.isdiagnostic = False 20 17 self.isthermal = False 21 18 self.isgroundingline = False 19 self.isgia = False 22 20 self.requested_outputs = float('NaN') 23 21 … … 26 24 27 25 #}}} 28 def __repr__(self): 29 # {{{ Display 26 def __repr__(self): # {{{ 30 27 string=' transient solution parameters:' 31 28 string="%s\n%s"%(string,fielddisplay(self,'isprognostic','indicates if a prognostic solution is used in the transient')) … … 33 30 string="%s\n%s"%(string,fielddisplay(self,'isthermal','indicates if a thermal solution is used in the transient')) 34 31 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')) 35 33 string="%s\n%s"%(string,fielddisplay(self,'requested_outputs','list of additional outputs requested')) 36 34 return string 37 35 #}}} 38 39 def setdefaultparameters(self): 40 # {{{setdefaultparameters 36 def setdefaultparameters(self): # {{{ 41 37 42 38 #full analysis: Diagnostic, Prognostic and Thermal but no groundingline migration for now … … 45 41 self.isthermal=True 46 42 self.isgroundingline=False 43 self.isgia=False 47 44 48 45 return self 49 46 #}}} 50 51 47 def checkconsistency(self,md,solution,analyses): # {{{ 52 48 … … 59 55 md = checkfield(md,'transient.isthermal','numel',[1],'values',[0,1]) 60 56 md = checkfield(md,'transient.isgroundingline','numel',[1],'values',[0,1]) 57 md = checkfield(md,'transient.isgia','numel',[1],'values',[0,1]) 61 58 md = checkfield(md,'transient.requested_outputs','size',[float('NaN')]) 62 59 … … 64 61 return md 65 62 # }}} 66 67 def marshall(self,fid): # {{{ 63 def marshall(self,md,fid): # {{{ 68 64 WriteData(fid,'object',self,'fieldname','isprognostic','format','Boolean') 69 65 WriteData(fid,'object',self,'fieldname','isdiagnostic','format','Boolean') 70 66 WriteData(fid,'object',self,'fieldname','isthermal','format','Boolean') 71 67 WriteData(fid,'object',self,'fieldname','isgroundingline','format','Boolean') 68 WriteData(fid,'object',self,'fieldname','isgia','format','Boolean') 72 69 WriteData(fid,'object',self,'fieldname','requested_outputs','format','DoubleMat','mattype',3) 73 70 # }}} -
issm/trunk/src/m/classes/verbose.m
r13975 r15396 41 41 switch(nargin), 42 42 case 0, 43 %Don't do anything 43 verbose.solution=true; 44 verbose.qmu=true; 45 verbose.control=true; 44 46 case 1, 45 47 binary=varargin{1}; … … 124 126 end 125 127 %}}} 126 function marshall(obj, fid) % {{{128 function marshall(obj,md,fid) % {{{ 127 129 WriteData(fid,'data',VerboseToBinary(obj),'enum',VerboseEnum(),'format','Integer'); 128 130 end % }}} -
issm/trunk/src/m/classes/verbose.py
r13975 r15396 42 42 if not len(args): 43 43 #Don't do anything 44 self.solution=True; 45 self.qmu=True; 46 self.control=True; 44 47 pass 45 48 … … 69 72 raise TypeError("verbose supported field values are logicals only (True or False)") 70 73 # }}} 71 72 74 def __repr__(self): # {{{ 73 75 … … 86 88 return s 87 89 # }}} 88 89 90 def VerboseToBinary(self): # {{{ 90 91 … … 111 112 return binary 112 113 # }}} 113 114 114 def BinaryToVerbose(self,binary): # {{{ 115 115 … … 125 125 #ENDBIN2VERB 126 126 # }}} 127 128 127 def checkconsistency(self,md,solution,analyses): # {{{ 129 128 return md 130 129 # }}} 131 132 def marshall(self,fid): # {{{ 130 def marshall(self,md,fid): # {{{ 133 131 WriteData(fid,'data',self.VerboseToBinary(),'enum',VerboseEnum(),'format','Integer') 134 132 # }}} 135 -
issm/trunk/src/m/consistency/ismodelselfconsistent.m
r14310 r15396 69 69 analyses=[BalancethicknessAnalysisEnum()]; 70 70 71 case WeakBalancethicknessSolutionEnum(),71 case BalancethicknessSoftSolutionEnum(), 72 72 numanalyses=1; 73 73 analyses=[BalancethicknessAnalysisEnum()]; … … 81 81 analyses=[BedSlopeAnalysisEnum()]; 82 82 83 case GiaSolutionEnum(), 84 numanalyses=1; 85 analyses=[GiaAnalysisEnum()]; 86 83 87 case TransientSolutionEnum(), 84 88 numanalyses=9; … … 91 95 case HydrologySolutionEnum(), 92 96 numanalyses=3; 93 analyses=[BedSlopeAnalysisEnum();SurfaceSlopeAnalysisEnum();Hydrology AnalysisEnum()];97 analyses=[BedSlopeAnalysisEnum();SurfaceSlopeAnalysisEnum();HydrologyShreveAnalysisEnum();HydrologyDCInefficientAnalysisEnum();HydrologyDCEfficientAnalysisEnum()]; 94 98 95 99 otherwise -
issm/trunk/src/m/consistency/ismodelselfconsistent.py
r13395 r15396 42 42 analyses=[BedSlopeAnalysisEnum()] 43 43 44 elif solutiontype == GiaSolutionEnum(): 45 numanalyses=1 46 analyses=[GiaAnalysisEnum()] 47 44 48 elif solutiontype == TransientSolutionEnum(): 45 49 numanalyses=9 … … 52 56 elif solutiontype == HydrologySolutionEnum(): 53 57 numanalyses=3 54 analyses=[BedSlopeAnalysisEnum(),SurfaceSlopeAnalysisEnum(),Hydrology AnalysisEnum()]58 analyses=[BedSlopeAnalysisEnum(),SurfaceSlopeAnalysisEnum(),HydrologyShreveAnalysisEnum(),HydrologyDCInefficientAnalysisEnum(),HydrologyDCEfficientAnalysisEnum()] 55 59 56 60 else: -
issm/trunk/src/m/contrib/gslib/pkriging.m
r13975 r15396 6 6 7 7 options=pairoptions(varargin{:}); 8 cluster=getfieldvalue(options,'cluster',generic('np',1 0));8 cluster=getfieldvalue(options,'cluster',generic('np',1)); 9 9 options=removefield(options,'cluster',0); 10 10 name = ['krig' num2str(feature('GetPid'))]; … … 35 35 %Launch job on remote cluster 36 36 BuildKrigingQueueScript(cluster,name,'',1,0,0); %gather, valgrind, gprof 37 tic38 37 LaunchQueueJob(cluster,name,name,{[name '.bin'] [name '.queue']}); 39 toc 40 choice=input('Is the job successfully completed? (y/n)','s'); 38 39 %Call waitonlock 40 md=model; md.cluster=cluster; md.settings.waitonlock=Inf; 41 waitonlock(md) 42 43 %Download 41 44 Download(cluster,name,{[name '.outbin']}); 42 45 structure=parseresultsfromdisk([name '.outbin'],0); … … 50 53 51 54 %Process results 52 B=structure. AutodiffForward;55 B=structure.(EnumToString(0)); 53 56 B=reshape(B,size(x_interp,2),size(x_interp,1))'; 54 E=structure. AutodiffIsautodiff;57 E=structure.(EnumToString(1)); 55 58 E=reshape(E,size(x_interp,2),size(x_interp,1))'; -
issm/trunk/src/m/enum/AbsoluteEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AdjointBalancethicknessAnalysisEnum.m
r8287 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AdjointEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AdjointHorizAnalysisEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AdjointSolutionEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AdjointpEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AdjointxEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AdjointyEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AdjointzEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AdolcParamEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AgressiveMigrationEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AirEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AnalysisCounterEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AnalysisTypeEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AndroidFrictionCoefficientEnum.m
r14310 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ApproximationEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ArrheniusEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AutodiffDependentObjectIndicesEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AutodiffDependentObjectNamesEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AutodiffDependentObjectTypesEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AutodiffDependentObjectsEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AutodiffDriverEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AutodiffFosForwardIndexEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AutodiffFosReverseIndexEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AutodiffFovForwardIndicesEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AutodiffIndependentObjectNamesEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AutodiffIndependentObjectTypesEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AutodiffIndependentObjectsEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AutodiffIsautodiffEnum.m
r9902 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AutodiffJacobianEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AutodiffKeepEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AutodiffMassFluxSegmentsPresentEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AutodiffNumDependentObjectsEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AutodiffNumDependentsEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AutodiffNumIndependentObjectsEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AutodiffNumIndependentsEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/AutodiffXpEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BalancethicknessAnalysisEnum.m
r8287 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BalancethicknessMisfitEnum.m
r14310 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BalancethicknessSolutionEnum.m
r8287 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BalancethicknessSpcthicknessEnum.m
r9651 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BalancethicknessStabilizationEnum.m
r9651 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BalancethicknessThickeningRateEnum.m
r9651 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BasalFrictionEnum.m
r9110 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BasalforcingsGeothermalfluxEnum.m
r9612 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BasalforcingsMeltingRateCorrectionEnum.m
r9612 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BasalforcingsMeltingRateEnum.m
r9612 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BathymetryEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BedEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BedSlopeAnalysisEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BedSlopeSolutionEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BedSlopeXAnalysisEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BedSlopeXEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BedSlopeYAnalysisEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BedSlopeYEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BilinearInterpEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BoolElementResultEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BoolExternalResultEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BoolInputEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BoolParamEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/BoundaryEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ClosedEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ColinearEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ConfigurationTypeEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ConstantEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ConstantsGEnum.m
r9598 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ConstantsReferencetemperatureEnum.m
r9598 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ConstantsYtsEnum.m
r9598 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ConstraintsEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ContourEnum.m
r11995 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ControlInputEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ControlSteadyEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ConvergedEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DataSetParamEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DatasetInputEnum.m
r8592 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DebugProfilingEnum.m
r12706 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DependentObjectEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticAbstolEnum.m
r9679 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticHorizAnalysisEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticHutterAnalysisEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticIcefrontEnum.m
r9679 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticIsnewtonEnum.m
r11527 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticMaxiterEnum.m
r9679 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticNumRequestedOutputsEnum.m
r9679 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticPenaltyFactorEnum.m
r9679 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticReferentialEnum.m
r9679 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticReltolEnum.m
r9679 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticRequestedOutputsEnum.m
r9679 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticRestolEnum.m
r9679 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticRiftPenaltyLockEnum.m
r9679 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticRiftPenaltyThresholdEnum.m
r9679 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticShelfDampeningEnum.m
r9679 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticSolutionEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticSpcvxEnum.m
r9679 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticSpcvyEnum.m
r9679 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticSpcvzEnum.m
r9679 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticStokesreconditioningEnum.m
r9679 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticVertAnalysisEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticVertexPairingEnum.m
r9679 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DiagnosticViscosityOvershootEnum.m
r9679 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DofIndexingEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DoubleElementResultEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DoubleExternalResultEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DoubleInputEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DoubleMatArrayParamEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DoubleMatExternalResultEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DoubleMatParamEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DoubleParamEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DoubleVecParamEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/DragCoefficientAbsGradientEnum.m
r8609 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ElementEnum.m
r9547 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ElementResultEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/EnthalpyAnalysisEnum.m
r8484 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/EnthalpyEnum.m
r8484 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/EnthalpyPicardEnum.m
r8495 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/EnthalpySolutionEnum.m
r8484 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/EnumDefinitions.py
r14310 r15396 4 4 5 5 WARNING: DO NOT MODIFY THIS FILE 6 this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh7 Please read src/c/ EnumDefinitions/README for more information6 this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 7 Please read src/c/shared/Enum/README for more information 8 8 9 9 """ … … 13 13 AUTODIFFISAUTODIFFENUM - Enum of AutodiffIsautodiff 14 14 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 15 19 Usage: 16 20 macro=AutodiffIsautodiffEnum() … … 23 27 AUTODIFFNUMDEPENDENTSENUM - Enum of AutodiffNumDependents 24 28 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 25 33 Usage: 26 34 macro=AutodiffNumDependentsEnum() … … 33 41 AUTODIFFNUMDEPENDENTOBJECTSENUM - Enum of AutodiffNumDependentObjects 34 42 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 35 47 Usage: 36 48 macro=AutodiffNumDependentObjectsEnum() … … 43 55 AUTODIFFDEPENDENTOBJECTNAMESENUM - Enum of AutodiffDependentObjectNames 44 56 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 45 61 Usage: 46 62 macro=AutodiffDependentObjectNamesEnum() … … 53 69 AUTODIFFDEPENDENTOBJECTTYPESENUM - Enum of AutodiffDependentObjectTypes 54 70 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 55 75 Usage: 56 76 macro=AutodiffDependentObjectTypesEnum() … … 63 83 AUTODIFFDEPENDENTOBJECTINDICESENUM - Enum of AutodiffDependentObjectIndices 64 84 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 65 89 Usage: 66 90 macro=AutodiffDependentObjectIndicesEnum() … … 73 97 AUTODIFFDEPENDENTOBJECTSENUM - Enum of AutodiffDependentObjects 74 98 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 75 103 Usage: 76 104 macro=AutodiffDependentObjectsEnum() … … 83 111 AUTODIFFNUMINDEPENDENTSENUM - Enum of AutodiffNumIndependents 84 112 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 85 117 Usage: 86 118 macro=AutodiffNumIndependentsEnum() … … 93 125 AUTODIFFNUMINDEPENDENTOBJECTSENUM - Enum of AutodiffNumIndependentObjects 94 126 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 95 131 Usage: 96 132 macro=AutodiffNumIndependentObjectsEnum() … … 103 139 AUTODIFFINDEPENDENTOBJECTNAMESENUM - Enum of AutodiffIndependentObjectNames 104 140 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 105 145 Usage: 106 146 macro=AutodiffIndependentObjectNamesEnum() … … 113 153 AUTODIFFINDEPENDENTOBJECTTYPESENUM - Enum of AutodiffIndependentObjectTypes 114 154 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 115 159 Usage: 116 160 macro=AutodiffIndependentObjectTypesEnum() … … 123 167 AUTODIFFINDEPENDENTOBJECTSENUM - Enum of AutodiffIndependentObjects 124 168 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 125 173 Usage: 126 174 macro=AutodiffIndependentObjectsEnum() … … 133 181 AUTODIFFJACOBIANENUM - Enum of AutodiffJacobian 134 182 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 135 187 Usage: 136 188 macro=AutodiffJacobianEnum() … … 143 195 AUTODIFFXPENUM - Enum of AutodiffXp 144 196 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 145 201 Usage: 146 202 macro=AutodiffXpEnum() … … 153 209 AUTODIFFDRIVERENUM - Enum of AutodiffDriver 154 210 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 155 215 Usage: 156 216 macro=AutodiffDriverEnum() … … 163 223 AUTODIFFFOSFORWARDINDEXENUM - Enum of AutodiffFosForwardIndex 164 224 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 165 229 Usage: 166 230 macro=AutodiffFosForwardIndexEnum() … … 173 237 AUTODIFFFOVFORWARDINDICESENUM - Enum of AutodiffFovForwardIndices 174 238 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 175 243 Usage: 176 244 macro=AutodiffFovForwardIndicesEnum() … … 183 251 AUTODIFFFOSREVERSEINDEXENUM - Enum of AutodiffFosReverseIndex 184 252 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 185 257 Usage: 186 258 macro=AutodiffFosReverseIndexEnum() … … 193 265 AUTODIFFMASSFLUXSEGMENTSPRESENTENUM - Enum of AutodiffMassFluxSegmentsPresent 194 266 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 195 271 Usage: 196 272 macro=AutodiffMassFluxSegmentsPresentEnum() … … 203 279 AUTODIFFKEEPENUM - Enum of AutodiffKeep 204 280 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 205 285 Usage: 206 286 macro=AutodiffKeepEnum() … … 213 293 BALANCETHICKNESSSPCTHICKNESSENUM - Enum of BalancethicknessSpcthickness 214 294 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 215 299 Usage: 216 300 macro=BalancethicknessSpcthicknessEnum() … … 223 307 BALANCETHICKNESSSTABILIZATIONENUM - Enum of BalancethicknessStabilization 224 308 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 225 313 Usage: 226 314 macro=BalancethicknessStabilizationEnum() … … 233 321 BALANCETHICKNESSTHICKENINGRATEENUM - Enum of BalancethicknessThickeningRate 234 322 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 235 327 Usage: 236 328 macro=BalancethicknessThickeningRateEnum() … … 243 335 BASALFORCINGSGEOTHERMALFLUXENUM - Enum of BasalforcingsGeothermalflux 244 336 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 245 341 Usage: 246 342 macro=BasalforcingsGeothermalfluxEnum() … … 253 349 BASALFORCINGSMELTINGRATECORRECTIONENUM - Enum of BasalforcingsMeltingRateCorrection 254 350 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 255 355 Usage: 256 356 macro=BasalforcingsMeltingRateCorrectionEnum() … … 263 363 BASALFORCINGSMELTINGRATEENUM - Enum of BasalforcingsMeltingRate 264 364 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 265 369 Usage: 266 370 macro=BasalforcingsMeltingRateEnum() … … 273 377 BATHYMETRYENUM - Enum of Bathymetry 274 378 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 275 383 Usage: 276 384 macro=BathymetryEnum() … … 283 391 BEDENUM - Enum of Bed 284 392 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 285 397 Usage: 286 398 macro=BedEnum() … … 293 405 CONSTANTSGENUM - Enum of ConstantsG 294 406 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 295 411 Usage: 296 412 macro=ConstantsGEnum() … … 303 419 CONSTANTSREFERENCETEMPERATUREENUM - Enum of ConstantsReferencetemperature 304 420 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 305 425 Usage: 306 426 macro=ConstantsReferencetemperatureEnum() … … 313 433 CONSTANTSYTSENUM - Enum of ConstantsYts 314 434 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 315 439 Usage: 316 440 macro=ConstantsYtsEnum() … … 323 447 DEPENDENTOBJECTENUM - Enum of DependentObject 324 448 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 325 453 Usage: 326 454 macro=DependentObjectEnum() … … 333 461 DIAGNOSTICABSTOLENUM - Enum of DiagnosticAbstol 334 462 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 335 467 Usage: 336 468 macro=DiagnosticAbstolEnum() … … 343 475 DIAGNOSTICICEFRONTENUM - Enum of DiagnosticIcefront 344 476 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 345 481 Usage: 346 482 macro=DiagnosticIcefrontEnum() … … 353 489 DIAGNOSTICISNEWTONENUM - Enum of DiagnosticIsnewton 354 490 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 355 495 Usage: 356 496 macro=DiagnosticIsnewtonEnum() … … 363 503 DIAGNOSTICMAXITERENUM - Enum of DiagnosticMaxiter 364 504 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 365 509 Usage: 366 510 macro=DiagnosticMaxiterEnum() … … 373 517 DIAGNOSTICNUMREQUESTEDOUTPUTSENUM - Enum of DiagnosticNumRequestedOutputs 374 518 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 375 523 Usage: 376 524 macro=DiagnosticNumRequestedOutputsEnum() … … 383 531 DIAGNOSTICPENALTYFACTORENUM - Enum of DiagnosticPenaltyFactor 384 532 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 385 537 Usage: 386 538 macro=DiagnosticPenaltyFactorEnum() … … 393 545 DIAGNOSTICREFERENTIALENUM - Enum of DiagnosticReferential 394 546 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 395 551 Usage: 396 552 macro=DiagnosticReferentialEnum() … … 403 559 DIAGNOSTICRELTOLENUM - Enum of DiagnosticReltol 404 560 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 405 565 Usage: 406 566 macro=DiagnosticReltolEnum() … … 413 573 DIAGNOSTICREQUESTEDOUTPUTSENUM - Enum of DiagnosticRequestedOutputs 414 574 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 415 579 Usage: 416 580 macro=DiagnosticRequestedOutputsEnum() … … 423 587 DIAGNOSTICRESTOLENUM - Enum of DiagnosticRestol 424 588 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 425 593 Usage: 426 594 macro=DiagnosticRestolEnum() … … 433 601 DIAGNOSTICRIFTPENALTYLOCKENUM - Enum of DiagnosticRiftPenaltyLock 434 602 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 435 607 Usage: 436 608 macro=DiagnosticRiftPenaltyLockEnum() … … 443 615 DIAGNOSTICRIFTPENALTYTHRESHOLDENUM - Enum of DiagnosticRiftPenaltyThreshold 444 616 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 445 621 Usage: 446 622 macro=DiagnosticRiftPenaltyThresholdEnum() … … 453 629 DIAGNOSTICSHELFDAMPENINGENUM - Enum of DiagnosticShelfDampening 454 630 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 455 635 Usage: 456 636 macro=DiagnosticShelfDampeningEnum() … … 463 643 DIAGNOSTICSPCVXENUM - Enum of DiagnosticSpcvx 464 644 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 465 649 Usage: 466 650 macro=DiagnosticSpcvxEnum() … … 473 657 DIAGNOSTICSPCVYENUM - Enum of DiagnosticSpcvy 474 658 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 475 663 Usage: 476 664 macro=DiagnosticSpcvyEnum() … … 483 671 DIAGNOSTICSPCVZENUM - Enum of DiagnosticSpcvz 484 672 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 485 677 Usage: 486 678 macro=DiagnosticSpcvzEnum() … … 493 685 DIAGNOSTICSTOKESRECONDITIONINGENUM - Enum of DiagnosticStokesreconditioning 494 686 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 495 691 Usage: 496 692 macro=DiagnosticStokesreconditioningEnum() … … 503 699 DIAGNOSTICVERTEXPAIRINGENUM - Enum of DiagnosticVertexPairing 504 700 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 505 705 Usage: 506 706 macro=DiagnosticVertexPairingEnum() … … 513 713 DIAGNOSTICVISCOSITYOVERSHOOTENUM - Enum of DiagnosticViscosityOvershoot 514 714 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 515 719 Usage: 516 720 macro=DiagnosticViscosityOvershootEnum() … … 519 723 return StringToEnum('DiagnosticViscosityOvershoot')[0] 520 724 725 def 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 739 def 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 753 def 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 521 767 def FlowequationBordermacayealEnum(): 522 768 """ 523 769 FLOWEQUATIONBORDERMACAYEALENUM - Enum of FlowequationBordermacayeal 524 770 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 525 775 Usage: 526 776 macro=FlowequationBordermacayealEnum() … … 533 783 FLOWEQUATIONBORDERPATTYNENUM - Enum of FlowequationBorderpattyn 534 784 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 535 789 Usage: 536 790 macro=FlowequationBorderpattynEnum() … … 543 797 FLOWEQUATIONBORDERSTOKESENUM - Enum of FlowequationBorderstokes 544 798 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 545 803 Usage: 546 804 macro=FlowequationBorderstokesEnum() … … 553 811 FLOWEQUATIONELEMENTEQUATIONENUM - Enum of FlowequationElementEquation 554 812 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 555 817 Usage: 556 818 macro=FlowequationElementEquationEnum() … … 563 825 FLOWEQUATIONISHUTTERENUM - Enum of FlowequationIshutter 564 826 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 565 831 Usage: 566 832 macro=FlowequationIshutterEnum() … … 573 839 FLOWEQUATIONISL1L2ENUM - Enum of FlowequationIsl1l2 574 840 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 575 845 Usage: 576 846 macro=FlowequationIsl1l2Enum() … … 583 853 FLOWEQUATIONISMACAYEALPATTYNENUM - Enum of FlowequationIsmacayealpattyn 584 854 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 585 859 Usage: 586 860 macro=FlowequationIsmacayealpattynEnum() … … 593 867 FLOWEQUATIONISSTOKESENUM - Enum of FlowequationIsstokes 594 868 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 595 873 Usage: 596 874 macro=FlowequationIsstokesEnum() … … 603 881 FLOWEQUATIONVERTEXEQUATIONENUM - Enum of FlowequationVertexEquation 604 882 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 605 887 Usage: 606 888 macro=FlowequationVertexEquationEnum() … … 613 895 FRICTIONCOEFFICIENTENUM - Enum of FrictionCoefficient 614 896 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 615 901 Usage: 616 902 macro=FrictionCoefficientEnum() … … 623 909 FRICTIONPENUM - Enum of FrictionP 624 910 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 625 915 Usage: 626 916 macro=FrictionPEnum() … … 633 923 FRICTIONQENUM - Enum of FrictionQ 634 924 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 635 929 Usage: 636 930 macro=FrictionQEnum() … … 643 937 GEOMETRYHYDROSTATICRATIOENUM - Enum of GeometryHydrostaticRatio 644 938 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 645 943 Usage: 646 944 macro=GeometryHydrostaticRatioEnum() … … 649 947 return StringToEnum('GeometryHydrostaticRatio')[0] 650 948 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] 949 def 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 963 def 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 977 def 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 991 def 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 1005 def 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 1019 def 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 1033 def 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 1047 def 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 1061 def 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 1075 def 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 1089 def 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 1103 def 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 1117 def 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 1131 def 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 1145 def 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 1159 def 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 1173 def 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 1187 def 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 1201 def 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 1215 def 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 1229 def 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 1243 def 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 1257 def 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 1271 def 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 1285 def 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 1299 def 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 1313 def 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 1327 def 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 1341 def 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 1355 def 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 1369 def 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 1383 def 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 1397 def 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 1411 def 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 1425 def 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 1439 def 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 1453 def 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 1467 def 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 1481 def 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 1495 def 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] 720 1508 721 1509 def IndependentObjectEnum(): … … 723 1511 INDEPENDENTOBJECTENUM - Enum of IndependentObject 724 1512 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 725 1517 Usage: 726 1518 macro=IndependentObjectEnum() … … 733 1525 INVERSIONCONTROLPARAMETERSENUM - Enum of InversionControlParameters 734 1526 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 735 1531 Usage: 736 1532 macro=InversionControlParametersEnum() … … 739 1535 return StringToEnum('InversionControlParameters')[0] 740 1536 741 def InversionCostFunctionEnum():742 """743 INVERSIONCOSTFUNCTIONENUM - Enum of InversionCostFunction744 745 Usage:746 macro=InversionCostFunctionEnum()747 """748 749 return StringToEnum('InversionCostFunction')[0]750 751 1537 def InversionCostFunctionThresholdEnum(): 752 1538 """ 753 1539 INVERSIONCOSTFUNCTIONTHRESHOLDENUM - Enum of InversionCostFunctionThreshold 754 1540 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 755 1545 Usage: 756 1546 macro=InversionCostFunctionThresholdEnum() … … 763 1553 INVERSIONCOSTFUNCTIONSCOEFFICIENTSENUM - Enum of InversionCostFunctionsCoefficients 764 1554 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 765 1559 Usage: 766 1560 macro=InversionCostFunctionsCoefficientsEnum() … … 773 1567 INVERSIONCOSTFUNCTIONSENUM - Enum of InversionCostFunctions 774 1568 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 775 1573 Usage: 776 1574 macro=InversionCostFunctionsEnum() … … 783 1581 INVERSIONGRADIENTONLYENUM - Enum of InversionGradientOnly 784 1582 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 785 1587 Usage: 786 1588 macro=InversionGradientOnlyEnum() … … 793 1595 INVERSIONGRADIENTSCALINGENUM - Enum of InversionGradientScaling 794 1596 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 795 1601 Usage: 796 1602 macro=InversionGradientScalingEnum() … … 803 1609 INVERSIONISCONTROLENUM - Enum of InversionIscontrol 804 1610 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 805 1615 Usage: 806 1616 macro=InversionIscontrolEnum() … … 813 1623 INVERSIONTAOENUM - Enum of InversionTao 814 1624 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 815 1629 Usage: 816 1630 macro=InversionTaoEnum() … … 823 1637 INVERSIONINCOMPLETEADJOINTENUM - Enum of InversionIncompleteAdjoint 824 1638 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 825 1643 Usage: 826 1644 macro=InversionIncompleteAdjointEnum() … … 833 1651 INVERSIONMAXPARAMETERSENUM - Enum of InversionMaxParameters 834 1652 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 835 1657 Usage: 836 1658 macro=InversionMaxParametersEnum() … … 843 1665 INVERSIONMAXITERPERSTEPENUM - Enum of InversionMaxiterPerStep 844 1666 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 845 1671 Usage: 846 1672 macro=InversionMaxiterPerStepEnum() … … 853 1679 INVERSIONMINPARAMETERSENUM - Enum of InversionMinParameters 854 1680 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 855 1685 Usage: 856 1686 macro=InversionMinParametersEnum() … … 863 1693 INVERSIONNSTEPSENUM - Enum of InversionNsteps 864 1694 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 865 1699 Usage: 866 1700 macro=InversionNstepsEnum() … … 873 1707 INVERSIONNUMCONTROLPARAMETERSENUM - Enum of InversionNumControlParameters 874 1708 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 875 1713 Usage: 876 1714 macro=InversionNumControlParametersEnum() … … 883 1721 INVERSIONNUMCOSTFUNCTIONSENUM - Enum of InversionNumCostFunctions 884 1722 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 885 1727 Usage: 886 1728 macro=InversionNumCostFunctionsEnum() … … 893 1735 INVERSIONSTEPTHRESHOLDENUM - Enum of InversionStepThreshold 894 1736 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 895 1741 Usage: 896 1742 macro=InversionStepThresholdEnum() … … 903 1749 INVERSIONTHICKNESSOBSENUM - Enum of InversionThicknessObs 904 1750 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 905 1755 Usage: 906 1756 macro=InversionThicknessObsEnum() … … 913 1763 INVERSIONVELOBSENUM - Enum of InversionVelObs 914 1764 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 915 1769 Usage: 916 1770 macro=InversionVelObsEnum() … … 923 1777 INVERSIONVXOBSENUM - Enum of InversionVxObs 924 1778 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 925 1783 Usage: 926 1784 macro=InversionVxObsEnum() … … 933 1791 INVERSIONVYOBSENUM - Enum of InversionVyObs 934 1792 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 935 1797 Usage: 936 1798 macro=InversionVyObsEnum() … … 943 1805 INVERSIONVZOBSENUM - Enum of InversionVzObs 944 1806 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 945 1811 Usage: 946 1812 macro=InversionVzObsEnum() … … 953 1819 MASKELEMENTONFLOATINGICEENUM - Enum of MaskElementonfloatingice 954 1820 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 955 1825 Usage: 956 1826 macro=MaskElementonfloatingiceEnum() … … 963 1833 MASKELEMENTONGROUNDEDICEENUM - Enum of MaskElementongroundedice 964 1834 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 965 1839 Usage: 966 1840 macro=MaskElementongroundediceEnum() … … 973 1847 MASKELEMENTONWATERENUM - Enum of MaskElementonwater 974 1848 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 975 1853 Usage: 976 1854 macro=MaskElementonwaterEnum() … … 983 1861 MASKVERTEXONFLOATINGICEENUM - Enum of MaskVertexonfloatingice 984 1862 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 985 1867 Usage: 986 1868 macro=MaskVertexonfloatingiceEnum() … … 993 1875 MASKVERTEXONGROUNDEDICEENUM - Enum of MaskVertexongroundedice 994 1876 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 995 1881 Usage: 996 1882 macro=MaskVertexongroundediceEnum() … … 1003 1889 MASKVERTEXONWATERENUM - Enum of MaskVertexonwater 1004 1890 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 1005 1895 Usage: 1006 1896 macro=MaskVertexonwaterEnum() … … 1013 1903 MATERIALSBETAENUM - Enum of MaterialsBeta 1014 1904 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 1015 1909 Usage: 1016 1910 macro=MaterialsBetaEnum() … … 1023 1917 MATERIALSHEATCAPACITYENUM - Enum of MaterialsHeatcapacity 1024 1918 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 1025 1923 Usage: 1026 1924 macro=MaterialsHeatcapacityEnum() … … 1033 1931 MATERIALSLATENTHEATENUM - Enum of MaterialsLatentheat 1034 1932 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 1035 1937 Usage: 1036 1938 macro=MaterialsLatentheatEnum() … … 1043 1945 MATERIALSMELTINGPOINTENUM - Enum of MaterialsMeltingpoint 1044 1946 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 1045 1951 Usage: 1046 1952 macro=MaterialsMeltingpointEnum() … … 1053 1959 MATERIALSMIXEDLAYERCAPACITYENUM - Enum of MaterialsMixedLayerCapacity 1054 1960 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 1055 1965 Usage: 1056 1966 macro=MaterialsMixedLayerCapacityEnum() … … 1063 1973 MATERIALSRHEOLOGYBENUM - Enum of MaterialsRheologyB 1064 1974 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 1065 1979 Usage: 1066 1980 macro=MaterialsRheologyBEnum() … … 1073 1987 MATERIALSRHEOLOGYBBARENUM - Enum of MaterialsRheologyBbar 1074 1988 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 1075 1993 Usage: 1076 1994 macro=MaterialsRheologyBbarEnum() … … 1083 2001 MATERIALSRHEOLOGYLAWENUM - Enum of MaterialsRheologyLaw 1084 2002 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 1085 2007 Usage: 1086 2008 macro=MaterialsRheologyLawEnum() … … 1093 2015 MATERIALSRHEOLOGYNENUM - Enum of MaterialsRheologyN 1094 2016 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 1095 2021 Usage: 1096 2022 macro=MaterialsRheologyNEnum() … … 1103 2029 MATERIALSRHEOLOGYZENUM - Enum of MaterialsRheologyZ 1104 2030 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 1105 2035 Usage: 1106 2036 macro=MaterialsRheologyZEnum() … … 1113 2043 MATERIALSRHEOLOGYZBARENUM - Enum of MaterialsRheologyZbar 1114 2044 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 1115 2049 Usage: 1116 2050 macro=MaterialsRheologyZbarEnum() … … 1123 2057 MATERIALSRHOICEENUM - Enum of MaterialsRhoIce 1124 2058 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 1125 2063 Usage: 1126 2064 macro=MaterialsRhoIceEnum() … … 1133 2071 MATERIALSRHOWATERENUM - Enum of MaterialsRhoWater 1134 2072 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 1135 2077 Usage: 1136 2078 macro=MaterialsRhoWaterEnum() … … 1143 2085 MATERIALSRHOFRESHWATERENUM - Enum of MaterialsRhoFreshwater 1144 2086 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 1145 2091 Usage: 1146 2092 macro=MaterialsRhoFreshwaterEnum() … … 1153 2099 MATERIALSMUWATERENUM - Enum of MaterialsMuWater 1154 2100 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 1155 2105 Usage: 1156 2106 macro=MaterialsMuWaterEnum() … … 1163 2113 MATERIALSTHERMALEXCHANGEVELOCITYENUM - Enum of MaterialsThermalExchangeVelocity 1164 2114 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 1165 2119 Usage: 1166 2120 macro=MaterialsThermalExchangeVelocityEnum() … … 1173 2127 MATERIALSTHERMALCONDUCTIVITYENUM - Enum of MaterialsThermalconductivity 1174 2128 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 1175 2133 Usage: 1176 2134 macro=MaterialsThermalconductivityEnum() … … 1179 2137 return StringToEnum('MaterialsThermalconductivity')[0] 1180 2138 2139 def 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 2153 def 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 2167 def 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 2181 def 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 1181 2195 def MeshAverageVertexConnectivityEnum(): 1182 2196 """ 1183 2197 MESHAVERAGEVERTEXCONNECTIVITYENUM - Enum of MeshAverageVertexConnectivity 1184 2198 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 1185 2203 Usage: 1186 2204 macro=MeshAverageVertexConnectivityEnum() … … 1193 2211 MESHDIMENSIONENUM - Enum of MeshDimension 1194 2212 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 1195 2217 Usage: 1196 2218 macro=MeshDimensionEnum() … … 1203 2225 MESHEDGESENUM - Enum of MeshEdges 1204 2226 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 1205 2231 Usage: 1206 2232 macro=MeshEdgesEnum() … … 1213 2239 MESHELEMENTCONNECTIVITYENUM - Enum of MeshElementconnectivity 1214 2240 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 1215 2245 Usage: 1216 2246 macro=MeshElementconnectivityEnum() … … 1223 2253 MESHELEMENTONBEDENUM - Enum of MeshElementonbed 1224 2254 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 1225 2259 Usage: 1226 2260 macro=MeshElementonbedEnum() … … 1233 2267 MESHELEMENTONSURFACEENUM - Enum of MeshElementonsurface 1234 2268 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 1235 2273 Usage: 1236 2274 macro=MeshElementonsurfaceEnum() … … 1243 2281 MESHELEMENTS2DENUM - Enum of MeshElements2d 1244 2282 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 1245 2287 Usage: 1246 2288 macro=MeshElements2dEnum() … … 1253 2295 MESHELEMENTSENUM - Enum of MeshElements 1254 2296 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 1255 2301 Usage: 1256 2302 macro=MeshElementsEnum() … … 1263 2309 MESHLOWERELEMENTSENUM - Enum of MeshLowerelements 1264 2310 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 1265 2315 Usage: 1266 2316 macro=MeshLowerelementsEnum() … … 1273 2323 MESHNUMBEROFEDGESENUM - Enum of MeshNumberofedges 1274 2324 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 1275 2329 Usage: 1276 2330 macro=MeshNumberofedgesEnum() … … 1283 2337 MESHNUMBEROFELEMENTS2DENUM - Enum of MeshNumberofelements2d 1284 2338 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 1285 2343 Usage: 1286 2344 macro=MeshNumberofelements2dEnum() … … 1293 2351 MESHNUMBEROFELEMENTSENUM - Enum of MeshNumberofelements 1294 2352 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 1295 2357 Usage: 1296 2358 macro=MeshNumberofelementsEnum() … … 1303 2365 MESHNUMBEROFLAYERSENUM - Enum of MeshNumberoflayers 1304 2366 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 1305 2371 Usage: 1306 2372 macro=MeshNumberoflayersEnum() … … 1313 2379 MESHNUMBEROFVERTICES2DENUM - Enum of MeshNumberofvertices2d 1314 2380 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 1315 2385 Usage: 1316 2386 macro=MeshNumberofvertices2dEnum() … … 1323 2393 MESHNUMBEROFVERTICESENUM - Enum of MeshNumberofvertices 1324 2394 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 1325 2399 Usage: 1326 2400 macro=MeshNumberofverticesEnum() … … 1333 2407 MESHUPPERELEMENTSENUM - Enum of MeshUpperelements 1334 2408 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 1335 2413 Usage: 1336 2414 macro=MeshUpperelementsEnum() … … 1343 2421 MESHVERTEXONBEDENUM - Enum of MeshVertexonbed 1344 2422 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 1345 2427 Usage: 1346 2428 macro=MeshVertexonbedEnum() … … 1353 2435 MESHVERTEXONSURFACEENUM - Enum of MeshVertexonsurface 1354 2436 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 1355 2441 Usage: 1356 2442 macro=MeshVertexonsurfaceEnum() … … 1363 2449 MESHXENUM - Enum of MeshX 1364 2450 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 1365 2455 Usage: 1366 2456 macro=MeshXEnum() … … 1373 2463 MESHYENUM - Enum of MeshY 1374 2464 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 1375 2469 Usage: 1376 2470 macro=MeshYEnum() … … 1383 2477 MESHZENUM - Enum of MeshZ 1384 2478 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 1385 2483 Usage: 1386 2484 macro=MeshZEnum() … … 1393 2491 MISCELLANEOUSNAMEENUM - Enum of MiscellaneousName 1394 2492 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 1395 2497 Usage: 1396 2498 macro=MiscellaneousNameEnum() … … 1403 2505 PROGNOSTICHYDROSTATICADJUSTMENTENUM - Enum of PrognosticHydrostaticAdjustment 1404 2506 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 1405 2511 Usage: 1406 2512 macro=PrognosticHydrostaticAdjustmentEnum() … … 1413 2519 PROGNOSTICMINTHICKNESSENUM - Enum of PrognosticMinThickness 1414 2520 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 1415 2525 Usage: 1416 2526 macro=PrognosticMinThicknessEnum() … … 1423 2533 PROGNOSTICPENALTYFACTORENUM - Enum of PrognosticPenaltyFactor 1424 2534 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 1425 2539 Usage: 1426 2540 macro=PrognosticPenaltyFactorEnum() … … 1433 2547 PROGNOSTICSPCTHICKNESSENUM - Enum of PrognosticSpcthickness 1434 2548 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 1435 2553 Usage: 1436 2554 macro=PrognosticSpcthicknessEnum() … … 1443 2561 PROGNOSTICSTABILIZATIONENUM - Enum of PrognosticStabilization 1444 2562 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 1445 2567 Usage: 1446 2568 macro=PrognosticStabilizationEnum() … … 1453 2575 PROGNOSTICVERTEXPAIRINGENUM - Enum of PrognosticVertexPairing 1454 2576 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 1455 2581 Usage: 1456 2582 macro=PrognosticVertexPairingEnum() … … 1463 2589 PROGNOSTICNUMREQUESTEDOUTPUTSENUM - Enum of PrognosticNumRequestedOutputs 1464 2590 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 1465 2595 Usage: 1466 2596 macro=PrognosticNumRequestedOutputsEnum() … … 1473 2603 PROGNOSTICREQUESTEDOUTPUTSENUM - Enum of PrognosticRequestedOutputs 1474 2604 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 1475 2609 Usage: 1476 2610 macro=PrognosticRequestedOutputsEnum() … … 1483 2617 QMUISDAKOTAENUM - Enum of QmuIsdakota 1484 2618 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 1485 2623 Usage: 1486 2624 macro=QmuIsdakotaEnum() … … 1493 2631 MASSFLUXSEGMENTSENUM - Enum of MassFluxSegments 1494 2632 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 1495 2637 Usage: 1496 2638 macro=MassFluxSegmentsEnum() … … 1503 2645 MASSFLUXSEGMENTSPRESENTENUM - Enum of MassFluxSegmentsPresent 1504 2646 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 1505 2651 Usage: 1506 2652 macro=MassFluxSegmentsPresentEnum() … … 1513 2659 QMUMASSFLUXSEGMENTSPRESENTENUM - Enum of QmuMassFluxSegmentsPresent 1514 2660 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 1515 2665 Usage: 1516 2666 macro=QmuMassFluxSegmentsPresentEnum() … … 1523 2673 QMUNUMBEROFPARTITIONSENUM - Enum of QmuNumberofpartitions 1524 2674 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 1525 2679 Usage: 1526 2680 macro=QmuNumberofpartitionsEnum() … … 1533 2687 QMUNUMBEROFRESPONSESENUM - Enum of QmuNumberofresponses 1534 2688 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 1535 2693 Usage: 1536 2694 macro=QmuNumberofresponsesEnum() … … 1543 2701 QMUPARTITIONENUM - Enum of QmuPartition 1544 2702 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 1545 2707 Usage: 1546 2708 macro=QmuPartitionEnum() … … 1553 2715 QMURESPONSEDESCRIPTORSENUM - Enum of QmuResponsedescriptors 1554 2716 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 1555 2721 Usage: 1556 2722 macro=QmuResponsedescriptorsEnum() … … 1563 2729 QMUVARIABLEDESCRIPTORSENUM - Enum of QmuVariabledescriptors 1564 2730 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 1565 2735 Usage: 1566 2736 macro=QmuVariabledescriptorsEnum() … … 1569 2739 return StringToEnum('QmuVariabledescriptors')[0] 1570 2740 2741 def 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 1571 2755 def RiftsNumriftsEnum(): 1572 2756 """ 1573 2757 RIFTSNUMRIFTSENUM - Enum of RiftsNumrifts 1574 2758 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 1575 2763 Usage: 1576 2764 macro=RiftsNumriftsEnum() … … 1583 2771 RIFTSRIFTSTRUCTENUM - Enum of RiftsRiftstruct 1584 2772 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 1585 2777 Usage: 1586 2778 macro=RiftsRiftstructEnum() … … 1593 2785 SETTINGSIOGATHERENUM - Enum of SettingsIoGather 1594 2786 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 1595 2791 Usage: 1596 2792 macro=SettingsIoGatherEnum() … … 1603 2799 SETTINGSLOWMEMENUM - Enum of SettingsLowmem 1604 2800 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 1605 2805 Usage: 1606 2806 macro=SettingsLowmemEnum() … … 1613 2813 SETTINGSOUTPUTFREQUENCYENUM - Enum of SettingsOutputFrequency 1614 2814 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 1615 2819 Usage: 1616 2820 macro=SettingsOutputFrequencyEnum() … … 1623 2827 SETTINGSRESULTSASPATCHESENUM - Enum of SettingsResultsAsPatches 1624 2828 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 1625 2833 Usage: 1626 2834 macro=SettingsResultsAsPatchesEnum() … … 1633 2841 SETTINGSWAITONLOCKENUM - Enum of SettingsWaitonlock 1634 2842 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 1635 2847 Usage: 1636 2848 macro=SettingsWaitonlockEnum() … … 1643 2855 SURFACEFORCINGSDELTA18OENUM - Enum of SurfaceforcingsDelta18o 1644 2856 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 1645 2861 Usage: 1646 2862 macro=SurfaceforcingsDelta18oEnum() … … 1653 2869 SURFACEFORCINGSDELTA18OSURFACEENUM - Enum of SurfaceforcingsDelta18oSurface 1654 2870 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 1655 2875 Usage: 1656 2876 macro=SurfaceforcingsDelta18oSurfaceEnum() … … 1663 2883 SURFACEFORCINGSISDELTA18OENUM - Enum of SurfaceforcingsIsdelta18o 1664 2884 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 1665 2889 Usage: 1666 2890 macro=SurfaceforcingsIsdelta18oEnum() … … 1673 2897 SURFACEFORCINGSPRECIPITATIONSPRESENTDAYENUM - Enum of SurfaceforcingsPrecipitationsPresentday 1674 2898 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 1675 2903 Usage: 1676 2904 macro=SurfaceforcingsPrecipitationsPresentdayEnum() … … 1683 2911 SURFACEFORCINGSTEMPERATURESPRESENTDAYENUM - Enum of SurfaceforcingsTemperaturesPresentday 1684 2912 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 1685 2917 Usage: 1686 2918 macro=SurfaceforcingsTemperaturesPresentdayEnum() … … 1693 2925 SURFACEFORCINGSTEMPERATURESLGMENUM - Enum of SurfaceforcingsTemperaturesLgm 1694 2926 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 1695 2931 Usage: 1696 2932 macro=SurfaceforcingsTemperaturesLgmEnum() … … 1703 2939 DEBUGPROFILINGENUM - Enum of DebugProfiling 1704 2940 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 1705 2945 Usage: 1706 2946 macro=DebugProfilingEnum() … … 1713 2953 PROFILINGCURRENTMEMENUM - Enum of ProfilingCurrentMem 1714 2954 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 1715 2959 Usage: 1716 2960 macro=ProfilingCurrentMemEnum() … … 1723 2967 PROFILINGCURRENTFLOPSENUM - Enum of ProfilingCurrentFlops 1724 2968 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 1725 2973 Usage: 1726 2974 macro=ProfilingCurrentFlopsEnum() … … 1733 2981 PROFILINGSOLUTIONTIMEENUM - Enum of ProfilingSolutionTime 1734 2982 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 1735 2987 Usage: 1736 2988 macro=ProfilingSolutionTimeEnum() … … 1743 2995 MAXITERATIONCONVERGENCEFLAGENUM - Enum of MaxIterationConvergenceFlag 1744 2996 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 1745 3001 Usage: 1746 3002 macro=MaxIterationConvergenceFlagEnum() … … 1753 3009 STEADYSTATEMAXITERENUM - Enum of SteadystateMaxiter 1754 3010 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 1755 3015 Usage: 1756 3016 macro=SteadystateMaxiterEnum() … … 1763 3023 STEADYSTATENUMREQUESTEDOUTPUTSENUM - Enum of SteadystateNumRequestedOutputs 1764 3024 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 1765 3029 Usage: 1766 3030 macro=SteadystateNumRequestedOutputsEnum() … … 1773 3037 STEADYSTATERELTOLENUM - Enum of SteadystateReltol 1774 3038 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 1775 3043 Usage: 1776 3044 macro=SteadystateReltolEnum() … … 1783 3051 STEADYSTATEREQUESTEDOUTPUTSENUM - Enum of SteadystateRequestedOutputs 1784 3052 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 1785 3057 Usage: 1786 3058 macro=SteadystateRequestedOutputsEnum() … … 1793 3065 SURFACEENUM - Enum of Surface 1794 3066 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 1795 3071 Usage: 1796 3072 macro=SurfaceEnum() … … 1803 3079 SURFACEFORCINGSPRECIPITATIONENUM - Enum of SurfaceforcingsPrecipitation 1804 3080 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 1805 3085 Usage: 1806 3086 macro=SurfaceforcingsPrecipitationEnum() … … 1813 3093 SURFACEFORCINGSMASSBALANCEENUM - Enum of SurfaceforcingsMassBalance 1814 3094 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 1815 3099 Usage: 1816 3100 macro=SurfaceforcingsMassBalanceEnum() … … 1823 3107 SURFACEFORCINGSISPDDENUM - Enum of SurfaceforcingsIspdd 1824 3108 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 1825 3113 Usage: 1826 3114 macro=SurfaceforcingsIspddEnum() … … 1829 3117 return StringToEnum('SurfaceforcingsIspdd')[0] 1830 3118 3119 def 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 3133 def 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 1831 3147 def SurfaceforcingsIssmbgradientsEnum(): 1832 3148 """ 1833 3149 SURFACEFORCINGSISSMBGRADIENTSENUM - Enum of SurfaceforcingsIssmbgradients 1834 3150 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 1835 3155 Usage: 1836 3156 macro=SurfaceforcingsIssmbgradientsEnum() … … 1843 3163 SURFACEFORCINGSMONTHLYTEMPERATURESENUM - Enum of SurfaceforcingsMonthlytemperatures 1844 3164 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 1845 3169 Usage: 1846 3170 macro=SurfaceforcingsMonthlytemperaturesEnum() … … 1853 3177 SURFACEFORCINGSHREFENUM - Enum of SurfaceforcingsHref 1854 3178 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 1855 3183 Usage: 1856 3184 macro=SurfaceforcingsHrefEnum() … … 1863 3191 SURFACEFORCINGSSMBREFENUM - Enum of SurfaceforcingsSmbref 1864 3192 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 1865 3197 Usage: 1866 3198 macro=SurfaceforcingsSmbrefEnum() … … 1873 3205 SURFACEFORCINGSBPOSENUM - Enum of SurfaceforcingsBPos 1874 3206 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 1875 3211 Usage: 1876 3212 macro=SurfaceforcingsBPosEnum() … … 1883 3219 SURFACEFORCINGSBNEGENUM - Enum of SurfaceforcingsBNeg 1884 3220 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 1885 3225 Usage: 1886 3226 macro=SurfaceforcingsBNegEnum() … … 1893 3233 THERMALMAXITERENUM - Enum of ThermalMaxiter 1894 3234 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 1895 3239 Usage: 1896 3240 macro=ThermalMaxiterEnum() … … 1903 3247 THERMALPENALTYFACTORENUM - Enum of ThermalPenaltyFactor 1904 3248 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 1905 3253 Usage: 1906 3254 macro=ThermalPenaltyFactorEnum() … … 1913 3261 THERMALPENALTYLOCKENUM - Enum of ThermalPenaltyLock 1914 3262 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 1915 3267 Usage: 1916 3268 macro=ThermalPenaltyLockEnum() … … 1923 3275 THERMALPENALTYTHRESHOLDENUM - Enum of ThermalPenaltyThreshold 1924 3276 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 1925 3281 Usage: 1926 3282 macro=ThermalPenaltyThresholdEnum() … … 1933 3289 THERMALSPCTEMPERATUREENUM - Enum of ThermalSpctemperature 1934 3290 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 1935 3295 Usage: 1936 3296 macro=ThermalSpctemperatureEnum() … … 1943 3303 THERMALSTABILIZATIONENUM - Enum of ThermalStabilization 1944 3304 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 1945 3309 Usage: 1946 3310 macro=ThermalStabilizationEnum() … … 1953 3317 THERMALISENTHALPYENUM - Enum of ThermalIsenthalpy 1954 3318 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 1955 3323 Usage: 1956 3324 macro=ThermalIsenthalpyEnum() … … 1959 3327 return StringToEnum('ThermalIsenthalpy')[0] 1960 3328 3329 def 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 3343 def 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 1961 3357 def ThicknessEnum(): 1962 3358 """ 1963 3359 THICKNESSENUM - Enum of Thickness 1964 3360 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 1965 3365 Usage: 1966 3366 macro=ThicknessEnum() … … 1973 3373 TIMESTEPPINGSTARTTIMEENUM - Enum of TimesteppingStartTime 1974 3374 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 1975 3379 Usage: 1976 3380 macro=TimesteppingStartTimeEnum() … … 1983 3387 TIMESTEPPINGFINALTIMEENUM - Enum of TimesteppingFinalTime 1984 3388 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 1985 3393 Usage: 1986 3394 macro=TimesteppingFinalTimeEnum() … … 1993 3401 TIMESTEPPINGCFLCOEFFICIENTENUM - Enum of TimesteppingCflCoefficient 1994 3402 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 1995 3407 Usage: 1996 3408 macro=TimesteppingCflCoefficientEnum() … … 2003 3415 TIMESTEPPINGTIMEADAPTENUM - Enum of TimesteppingTimeAdapt 2004 3416 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 2005 3421 Usage: 2006 3422 macro=TimesteppingTimeAdaptEnum() … … 2013 3429 TIMESTEPPINGTIMESTEPENUM - Enum of TimesteppingTimeStep 2014 3430 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 2015 3435 Usage: 2016 3436 macro=TimesteppingTimeStepEnum() … … 2023 3443 TRANSIENTISDIAGNOSTICENUM - Enum of TransientIsdiagnostic 2024 3444 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 2025 3449 Usage: 2026 3450 macro=TransientIsdiagnosticEnum() … … 2033 3457 TRANSIENTISGROUNDINGLINEENUM - Enum of TransientIsgroundingline 2034 3458 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 2035 3463 Usage: 2036 3464 macro=TransientIsgroundinglineEnum() … … 2043 3471 TRANSIENTISPROGNOSTICENUM - Enum of TransientIsprognostic 2044 3472 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 2045 3477 Usage: 2046 3478 macro=TransientIsprognosticEnum() … … 2053 3485 TRANSIENTISTHERMALENUM - Enum of TransientIsthermal 2054 3486 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 2055 3491 Usage: 2056 3492 macro=TransientIsthermalEnum() … … 2059 3495 return StringToEnum('TransientIsthermal')[0] 2060 3496 3497 def 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 2061 3511 def TransientNumRequestedOutputsEnum(): 2062 3512 """ 2063 3513 TRANSIENTNUMREQUESTEDOUTPUTSENUM - Enum of TransientNumRequestedOutputs 2064 3514 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 2065 3519 Usage: 2066 3520 macro=TransientNumRequestedOutputsEnum() … … 2073 3527 TRANSIENTREQUESTEDOUTPUTSENUM - Enum of TransientRequestedOutputs 2074 3528 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 2075 3533 Usage: 2076 3534 macro=TransientRequestedOutputsEnum() … … 2083 3541 SOLUTIONTYPEENUM - Enum of SolutionType 2084 3542 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 2085 3547 Usage: 2086 3548 macro=SolutionTypeEnum() … … 2093 3555 ANALYSISTYPEENUM - Enum of AnalysisType 2094 3556 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 2095 3561 Usage: 2096 3562 macro=AnalysisTypeEnum() … … 2103 3569 CONFIGURATIONTYPEENUM - Enum of ConfigurationType 2104 3570 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 2105 3575 Usage: 2106 3576 macro=ConfigurationTypeEnum() … … 2113 3583 ADJOINTBALANCETHICKNESSANALYSISENUM - Enum of AdjointBalancethicknessAnalysis 2114 3584 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 2115 3589 Usage: 2116 3590 macro=AdjointBalancethicknessAnalysisEnum() … … 2123 3597 ADJOINTHORIZANALYSISENUM - Enum of AdjointHorizAnalysis 2124 3598 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 2125 3603 Usage: 2126 3604 macro=AdjointHorizAnalysisEnum() … … 2133 3611 ADJOINTSOLUTIONENUM - Enum of AdjointSolution 2134 3612 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 2135 3617 Usage: 2136 3618 macro=AdjointSolutionEnum() … … 2143 3625 ANALYSISCOUNTERENUM - Enum of AnalysisCounter 2144 3626 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 2145 3631 Usage: 2146 3632 macro=AnalysisCounterEnum() … … 2149 3635 return StringToEnum('AnalysisCounter')[0] 2150 3636 3637 def 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 3651 def 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 2151 3665 def BalancethicknessAnalysisEnum(): 2152 3666 """ 2153 3667 BALANCETHICKNESSANALYSISENUM - Enum of BalancethicknessAnalysis 2154 3668 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 2155 3673 Usage: 2156 3674 macro=BalancethicknessAnalysisEnum() … … 2163 3681 BALANCETHICKNESSSOLUTIONENUM - Enum of BalancethicknessSolution 2164 3682 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 2165 3687 Usage: 2166 3688 macro=BalancethicknessSolutionEnum() … … 2169 3691 return StringToEnum('BalancethicknessSolution')[0] 2170 3692 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] 3693 def 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 3707 def 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] 2190 3720 2191 3721 def BedSlopeAnalysisEnum(): … … 2193 3723 BEDSLOPEANALYSISENUM - Enum of BedSlopeAnalysis 2194 3724 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 2195 3729 Usage: 2196 3730 macro=BedSlopeAnalysisEnum() … … 2203 3737 BEDSLOPESOLUTIONENUM - Enum of BedSlopeSolution 2204 3738 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 2205 3743 Usage: 2206 3744 macro=BedSlopeSolutionEnum() … … 2213 3751 BEDSLOPEXANALYSISENUM - Enum of BedSlopeXAnalysis 2214 3752 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 2215 3757 Usage: 2216 3758 macro=BedSlopeXAnalysisEnum() … … 2223 3765 BEDSLOPEYANALYSISENUM - Enum of BedSlopeYAnalysis 2224 3766 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 2225 3771 Usage: 2226 3772 macro=BedSlopeYAnalysisEnum() … … 2233 3779 DIAGNOSTICHORIZANALYSISENUM - Enum of DiagnosticHorizAnalysis 2234 3780 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 2235 3785 Usage: 2236 3786 macro=DiagnosticHorizAnalysisEnum() … … 2243 3793 DIAGNOSTICHUTTERANALYSISENUM - Enum of DiagnosticHutterAnalysis 2244 3794 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 2245 3799 Usage: 2246 3800 macro=DiagnosticHutterAnalysisEnum() … … 2253 3807 DIAGNOSTICSOLUTIONENUM - Enum of DiagnosticSolution 2254 3808 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 2255 3813 Usage: 2256 3814 macro=DiagnosticSolutionEnum() … … 2263 3821 DIAGNOSTICVERTANALYSISENUM - Enum of DiagnosticVertAnalysis 2264 3822 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 2265 3827 Usage: 2266 3828 macro=DiagnosticVertAnalysisEnum() … … 2273 3835 ENTHALPYANALYSISENUM - Enum of EnthalpyAnalysis 2274 3836 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 2275 3841 Usage: 2276 3842 macro=EnthalpyAnalysisEnum() … … 2283 3849 ENTHALPYSOLUTIONENUM - Enum of EnthalpySolution 2284 3850 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 2285 3855 Usage: 2286 3856 macro=EnthalpySolutionEnum() … … 2293 3863 FLAIMANALYSISENUM - Enum of FlaimAnalysis 2294 3864 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 2295 3869 Usage: 2296 3870 macro=FlaimAnalysisEnum() … … 2303 3877 FLAIMSOLUTIONENUM - Enum of FlaimSolution 2304 3878 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 2305 3883 Usage: 2306 3884 macro=FlaimSolutionEnum() … … 2309 3887 return StringToEnum('FlaimSolution')[0] 2310 3888 2311 def HydrologyAnalysisEnum(): 2312 """ 2313 HYDROLOGYANALYSISENUM - Enum of HydrologyAnalysis 2314 2315 Usage: 2316 macro=HydrologyAnalysisEnum() 2317 """ 2318 2319 return StringToEnum('HydrologyAnalysis')[0] 3889 def 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 3903 def 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 3917 def 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] 2320 3930 2321 3931 def HydrologySolutionEnum(): … … 2323 3933 HYDROLOGYSOLUTIONENUM - Enum of HydrologySolution 2324 3934 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 2325 3939 Usage: 2326 3940 macro=HydrologySolutionEnum() … … 2333 3947 MELTINGANALYSISENUM - Enum of MeltingAnalysis 2334 3948 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 2335 3953 Usage: 2336 3954 macro=MeltingAnalysisEnum() … … 2339 3957 return StringToEnum('MeltingAnalysis')[0] 2340 3958 2341 def NoneAnalysisEnum():2342 """2343 NONEANALYSISENUM - Enum of NoneAnalysis2344 2345 Usage:2346 macro=NoneAnalysisEnum()2347 """2348 2349 return StringToEnum('NoneAnalysis')[0]2350 2351 3959 def PrognosticAnalysisEnum(): 2352 3960 """ 2353 3961 PROGNOSTICANALYSISENUM - Enum of PrognosticAnalysis 2354 3962 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 2355 3967 Usage: 2356 3968 macro=PrognosticAnalysisEnum() … … 2363 3975 PROGNOSTICSOLUTIONENUM - Enum of PrognosticSolution 2364 3976 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 2365 3981 Usage: 2366 3982 macro=PrognosticSolutionEnum() … … 2373 3989 STEADYSTATESOLUTIONENUM - Enum of SteadystateSolution 2374 3990 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 2375 3995 Usage: 2376 3996 macro=SteadystateSolutionEnum() … … 2383 4003 SURFACESLOPEANALYSISENUM - Enum of SurfaceSlopeAnalysis 2384 4004 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 2385 4009 Usage: 2386 4010 macro=SurfaceSlopeAnalysisEnum() … … 2393 4017 SURFACESLOPESOLUTIONENUM - Enum of SurfaceSlopeSolution 2394 4018 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 2395 4023 Usage: 2396 4024 macro=SurfaceSlopeSolutionEnum() … … 2403 4031 SURFACESLOPEXANALYSISENUM - Enum of SurfaceSlopeXAnalysis 2404 4032 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 2405 4037 Usage: 2406 4038 macro=SurfaceSlopeXAnalysisEnum() … … 2413 4045 SURFACESLOPEYANALYSISENUM - Enum of SurfaceSlopeYAnalysis 2414 4046 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 2415 4051 Usage: 2416 4052 macro=SurfaceSlopeYAnalysisEnum() … … 2423 4059 THERMALANALYSISENUM - Enum of ThermalAnalysis 2424 4060 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 2425 4065 Usage: 2426 4066 macro=ThermalAnalysisEnum() … … 2433 4073 THERMALSOLUTIONENUM - Enum of ThermalSolution 2434 4074 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 2435 4079 Usage: 2436 4080 macro=ThermalSolutionEnum() … … 2443 4087 TRANSIENTSOLUTIONENUM - Enum of TransientSolution 2444 4088 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 2445 4093 Usage: 2446 4094 macro=TransientSolutionEnum() … … 2449 4097 return StringToEnum('TransientSolution')[0] 2450 4098 4099 def 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 4113 def 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 2451 4127 def ApproximationEnum(): 2452 4128 """ 2453 4129 APPROXIMATIONENUM - Enum of Approximation 2454 4130 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 2455 4135 Usage: 2456 4136 macro=ApproximationEnum() … … 2463 4143 NONEAPPROXIMATIONENUM - Enum of NoneApproximation 2464 4144 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 2465 4149 Usage: 2466 4150 macro=NoneApproximationEnum() … … 2473 4157 HUTTERAPPROXIMATIONENUM - Enum of HutterApproximation 2474 4158 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 2475 4163 Usage: 2476 4164 macro=HutterApproximationEnum() … … 2483 4171 MACAYEALAPPROXIMATIONENUM - Enum of MacAyealApproximation 2484 4172 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 2485 4177 Usage: 2486 4178 macro=MacAyealApproximationEnum() … … 2493 4185 MACAYEALPATTYNAPPROXIMATIONENUM - Enum of MacAyealPattynApproximation 2494 4186 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 2495 4191 Usage: 2496 4192 macro=MacAyealPattynApproximationEnum() … … 2503 4199 MACAYEALSTOKESAPPROXIMATIONENUM - Enum of MacAyealStokesApproximation 2504 4200 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 2505 4205 Usage: 2506 4206 macro=MacAyealStokesApproximationEnum() … … 2513 4213 L1L2APPROXIMATIONENUM - Enum of L1L2Approximation 2514 4214 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 2515 4219 Usage: 2516 4220 macro=L1L2ApproximationEnum() … … 2523 4227 PATTYNAPPROXIMATIONENUM - Enum of PattynApproximation 2524 4228 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 2525 4233 Usage: 2526 4234 macro=PattynApproximationEnum() … … 2533 4241 PATTYNSTOKESAPPROXIMATIONENUM - Enum of PattynStokesApproximation 2534 4242 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 2535 4247 Usage: 2536 4248 macro=PattynStokesApproximationEnum() … … 2543 4255 STOKESAPPROXIMATIONENUM - Enum of StokesApproximation 2544 4256 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 2545 4261 Usage: 2546 4262 macro=StokesApproximationEnum() … … 2553 4269 CONSTRAINTSENUM - Enum of Constraints 2554 4270 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 2555 4275 Usage: 2556 4276 macro=ConstraintsEnum() … … 2563 4283 LOADSENUM - Enum of Loads 2564 4284 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 2565 4289 Usage: 2566 4290 macro=LoadsEnum() … … 2573 4297 MATERIALSENUM - Enum of Materials 2574 4298 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 2575 4303 Usage: 2576 4304 macro=MaterialsEnum() … … 2583 4311 NODESENUM - Enum of Nodes 2584 4312 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 2585 4317 Usage: 2586 4318 macro=NodesEnum() … … 2589 4321 return StringToEnum('Nodes')[0] 2590 4322 4323 def 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 2591 4337 def ParametersEnum(): 2592 4338 """ 2593 4339 PARAMETERSENUM - Enum of Parameters 2594 4340 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 2595 4345 Usage: 2596 4346 macro=ParametersEnum() … … 2603 4353 VERTICESENUM - Enum of Vertices 2604 4354 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 2605 4359 Usage: 2606 4360 macro=VerticesEnum() … … 2613 4367 RESULTSENUM - Enum of Results 2614 4368 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 2615 4373 Usage: 2616 4374 macro=ResultsEnum() … … 2623 4381 GENERICPARAMENUM - Enum of GenericParam 2624 4382 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 2625 4387 Usage: 2626 4388 macro=GenericParamEnum() … … 2633 4395 ADOLCPARAMENUM - Enum of AdolcParam 2634 4396 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 2635 4401 Usage: 2636 4402 macro=AdolcParamEnum() … … 2643 4409 BOOLINPUTENUM - Enum of BoolInput 2644 4410 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 2645 4415 Usage: 2646 4416 macro=BoolInputEnum() … … 2653 4423 BOOLPARAMENUM - Enum of BoolParam 2654 4424 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 2655 4429 Usage: 2656 4430 macro=BoolParamEnum() … … 2663 4437 CONTOURENUM - Enum of Contour 2664 4438 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 2665 4443 Usage: 2666 4444 macro=ContourEnum() … … 2673 4451 CONTROLINPUTENUM - Enum of ControlInput 2674 4452 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 2675 4457 Usage: 2676 4458 macro=ControlInputEnum() … … 2683 4465 DATASETINPUTENUM - Enum of DatasetInput 2684 4466 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 2685 4471 Usage: 2686 4472 macro=DatasetInputEnum() … … 2693 4479 DOFINDEXINGENUM - Enum of DofIndexing 2694 4480 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 2695 4485 Usage: 2696 4486 macro=DofIndexingEnum() … … 2703 4493 DOUBLEINPUTENUM - Enum of DoubleInput 2704 4494 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 2705 4499 Usage: 2706 4500 macro=DoubleInputEnum() … … 2713 4507 DATASETPARAMENUM - Enum of DataSetParam 2714 4508 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 2715 4513 Usage: 2716 4514 macro=DataSetParamEnum() … … 2723 4521 DOUBLEMATARRAYPARAMENUM - Enum of DoubleMatArrayParam 2724 4522 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 2725 4527 Usage: 2726 4528 macro=DoubleMatArrayParamEnum() … … 2733 4535 DOUBLEMATPARAMENUM - Enum of DoubleMatParam 2734 4536 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 2735 4541 Usage: 2736 4542 macro=DoubleMatParamEnum() … … 2743 4549 DOUBLEPARAMENUM - Enum of DoubleParam 2744 4550 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 2745 4555 Usage: 2746 4556 macro=DoubleParamEnum() … … 2753 4563 DOUBLEVECPARAMENUM - Enum of DoubleVecParam 2754 4564 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 2755 4569 Usage: 2756 4570 macro=DoubleVecParamEnum() … … 2763 4577 ELEMENTENUM - Enum of Element 2764 4578 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 2765 4583 Usage: 2766 4584 macro=ElementEnum() … … 2773 4591 ELEMENTRESULTENUM - Enum of ElementResult 2774 4592 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 2775 4597 Usage: 2776 4598 macro=ElementResultEnum() … … 2783 4605 EXTERNALRESULTENUM - Enum of ExternalResult 2784 4606 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 2785 4611 Usage: 2786 4612 macro=ExternalResultEnum() … … 2793 4619 FILEPARAMENUM - Enum of FileParam 2794 4620 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 2795 4625 Usage: 2796 4626 macro=FileParamEnum() … … 2803 4633 HOOKENUM - Enum of Hook 2804 4634 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 2805 4639 Usage: 2806 4640 macro=HookEnum() … … 2813 4647 ICEFRONTENUM - Enum of Icefront 2814 4648 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 2815 4653 Usage: 2816 4654 macro=IcefrontEnum() … … 2823 4661 INPUTENUM - Enum of Input 2824 4662 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 2825 4667 Usage: 2826 4668 macro=InputEnum() … … 2833 4675 INTINPUTENUM - Enum of IntInput 2834 4676 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 2835 4681 Usage: 2836 4682 macro=IntInputEnum() … … 2843 4689 INTPARAMENUM - Enum of IntParam 2844 4690 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 2845 4695 Usage: 2846 4696 macro=IntParamEnum() … … 2853 4703 INTVECPARAMENUM - Enum of IntVecParam 2854 4704 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 2855 4709 Usage: 2856 4710 macro=IntVecParamEnum() … … 2863 4717 TRANSIENTPARAMENUM - Enum of TransientParam 2864 4718 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 2865 4723 Usage: 2866 4724 macro=TransientParamEnum() … … 2869 4727 return StringToEnum('TransientParam')[0] 2870 4728 4729 def 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 2871 4743 def MacAyeal2dIceFrontEnum(): 2872 4744 """ 2873 4745 MACAYEAL2DICEFRONTENUM - Enum of MacAyeal2dIceFront 2874 4746 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 2875 4751 Usage: 2876 4752 macro=MacAyeal2dIceFrontEnum() … … 2883 4759 MACAYEAL3DICEFRONTENUM - Enum of MacAyeal3dIceFront 2884 4760 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 2885 4765 Usage: 2886 4766 macro=MacAyeal3dIceFrontEnum() … … 2893 4773 MATICEENUM - Enum of Matice 2894 4774 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 2895 4779 Usage: 2896 4780 macro=MaticeEnum() … … 2903 4787 MATDAMAGEICEENUM - Enum of Matdamageice 2904 4788 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 2905 4793 Usage: 2906 4794 macro=MatdamageiceEnum() … … 2913 4801 MATPARENUM - Enum of Matpar 2914 4802 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 2915 4807 Usage: 2916 4808 macro=MatparEnum() … … 2923 4815 NODEENUM - Enum of Node 2924 4816 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 2925 4821 Usage: 2926 4822 macro=NodeEnum() … … 2933 4829 NUMERICALFLUXENUM - Enum of Numericalflux 2934 4830 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 2935 4835 Usage: 2936 4836 macro=NumericalfluxEnum() … … 2939 4839 return StringToEnum('Numericalflux')[0] 2940 4840 4841 def 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 2941 4855 def ParamEnum(): 2942 4856 """ 2943 4857 PARAMENUM - Enum of Param 2944 4858 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 2945 4863 Usage: 2946 4864 macro=ParamEnum() … … 2953 4871 L1L2ICEFRONTENUM - Enum of L1L2IceFront 2954 4872 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 2955 4877 Usage: 2956 4878 macro=L1L2IceFrontEnum() … … 2963 4885 PATTYNICEFRONTENUM - Enum of PattynIceFront 2964 4886 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 2965 4891 Usage: 2966 4892 macro=PattynIceFrontEnum() … … 2973 4899 PENGRIDENUM - Enum of Pengrid 2974 4900 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 2975 4905 Usage: 2976 4906 macro=PengridEnum() … … 2983 4913 PENPAIRENUM - Enum of Penpair 2984 4914 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 2985 4919 Usage: 2986 4920 macro=PenpairEnum() … … 2993 4927 PENTAENUM - Enum of Penta 2994 4928 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 2995 4933 Usage: 2996 4934 macro=PentaEnum() … … 3003 4941 PENTAP1INPUTENUM - Enum of PentaP1Input 3004 4942 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 3005 4947 Usage: 3006 4948 macro=PentaP1InputEnum() … … 3013 4955 PROFILERENUM - Enum of Profiler 3014 4956 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 3015 4961 Usage: 3016 4962 macro=ProfilerEnum() … … 3023 4969 MATRIXPARAMENUM - Enum of MatrixParam 3024 4970 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 3025 4975 Usage: 3026 4976 macro=MatrixParamEnum() … … 3029 4979 return StringToEnum('MatrixParam')[0] 3030 4980 4981 def 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 3031 4995 def VectorParamEnum(): 3032 4996 """ 3033 4997 VECTORPARAMENUM - Enum of VectorParam 3034 4998 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 3035 5003 Usage: 3036 5004 macro=VectorParamEnum() … … 3043 5011 RIFTFRONTENUM - Enum of Riftfront 3044 5012 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 3045 5017 Usage: 3046 5018 macro=RiftfrontEnum() … … 3049 5021 return StringToEnum('Riftfront')[0] 3050 5022 5023 def 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 3051 5037 def SegmentEnum(): 3052 5038 """ 3053 5039 SEGMENTENUM - Enum of Segment 3054 5040 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 3055 5045 Usage: 3056 5046 macro=SegmentEnum() … … 3063 5053 SEGMENTRIFTFRONTENUM - Enum of SegmentRiftfront 3064 5054 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 3065 5059 Usage: 3066 5060 macro=SegmentRiftfrontEnum() … … 3073 5067 SPCDYNAMICENUM - Enum of SpcDynamic 3074 5068 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 3075 5073 Usage: 3076 5074 macro=SpcDynamicEnum() … … 3083 5081 SPCSTATICENUM - Enum of SpcStatic 3084 5082 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 3085 5087 Usage: 3086 5088 macro=SpcStaticEnum() … … 3093 5095 SPCTRANSIENTENUM - Enum of SpcTransient 3094 5096 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 3095 5101 Usage: 3096 5102 macro=SpcTransientEnum() … … 3103 5109 STOKESICEFRONTENUM - Enum of StokesIceFront 3104 5110 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 3105 5115 Usage: 3106 5116 macro=StokesIceFrontEnum() … … 3113 5123 STRINGARRAYPARAMENUM - Enum of StringArrayParam 3114 5124 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 3115 5129 Usage: 3116 5130 macro=StringArrayParamEnum() … … 3123 5137 STRINGPARAMENUM - Enum of StringParam 3124 5138 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 3125 5143 Usage: 3126 5144 macro=StringParamEnum() … … 3133 5151 TRIAENUM - Enum of Tria 3134 5152 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 3135 5157 Usage: 3136 5158 macro=TriaEnum() … … 3139 5161 return StringToEnum('Tria')[0] 3140 5162 3141 def TriaP1InputEnum(): 3142 """ 3143 TRIAP1INPUTENUM - Enum of TriaP1Input 3144 3145 Usage: 3146 macro=TriaP1InputEnum() 3147 """ 3148 3149 return StringToEnum('TriaP1Input')[0] 5163 def 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] 3150 5176 3151 5177 def VertexEnum(): … … 3153 5179 VERTEXENUM - Enum of Vertex 3154 5180 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 3155 5185 Usage: 3156 5186 macro=VertexEnum() … … 3159 5189 return StringToEnum('Vertex')[0] 3160 5190 5191 def 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 5205 def 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 3161 5219 def AirEnum(): 3162 5220 """ 3163 5221 AIRENUM - Enum of Air 3164 5222 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 3165 5227 Usage: 3166 5228 macro=AirEnum() … … 3173 5235 ICEENUM - Enum of Ice 3174 5236 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 3175 5241 Usage: 3176 5242 macro=IceEnum() … … 3183 5249 MELANGEENUM - Enum of Melange 3184 5250 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 3185 5255 Usage: 3186 5256 macro=MelangeEnum() … … 3193 5263 WATERENUM - Enum of Water 3194 5264 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 3195 5269 Usage: 3196 5270 macro=WaterEnum() … … 3203 5277 CLOSEDENUM - Enum of Closed 3204 5278 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 3205 5283 Usage: 3206 5284 macro=ClosedEnum() … … 3213 5291 FREEENUM - Enum of Free 3214 5292 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 3215 5297 Usage: 3216 5298 macro=FreeEnum() … … 3223 5305 OPENENUM - Enum of Open 3224 5306 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 3225 5311 Usage: 3226 5312 macro=OpenEnum() … … 3233 5319 ADJOINTPENUM - Enum of Adjointp 3234 5320 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 3235 5325 Usage: 3236 5326 macro=AdjointpEnum() … … 3243 5333 ADJOINTXENUM - Enum of Adjointx 3244 5334 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 3245 5339 Usage: 3246 5340 macro=AdjointxEnum() … … 3253 5347 ADJOINTYENUM - Enum of Adjointy 3254 5348 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 3255 5353 Usage: 3256 5354 macro=AdjointyEnum() … … 3263 5361 ADJOINTZENUM - Enum of Adjointz 3264 5362 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 3265 5367 Usage: 3266 5368 macro=AdjointzEnum() … … 3273 5375 BALANCETHICKNESSMISFITENUM - Enum of BalancethicknessMisfit 3274 5376 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 3275 5381 Usage: 3276 5382 macro=BalancethicknessMisfitEnum() … … 3283 5389 BEDSLOPEXENUM - Enum of BedSlopeX 3284 5390 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 3285 5395 Usage: 3286 5396 macro=BedSlopeXEnum() … … 3293 5403 BEDSLOPEYENUM - Enum of BedSlopeY 3294 5404 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 3295 5409 Usage: 3296 5410 macro=BedSlopeYEnum() … … 3303 5417 BOUNDARYENUM - Enum of Boundary 3304 5418 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 3305 5423 Usage: 3306 5424 macro=BoundaryEnum() … … 3313 5431 CONSTANTENUM - Enum of Constant 3314 5432 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 3315 5437 Usage: 3316 5438 macro=ConstantEnum() … … 3323 5445 CONVERGEDENUM - Enum of Converged 3324 5446 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 3325 5451 Usage: 3326 5452 macro=ConvergedEnum() … … 3329 5455 return StringToEnum('Converged')[0] 3330 5456 3331 def ExtToIuEnum():3332 """3333 EXTTOIUENUM - Enum of ExtToIu3334 3335 Usage:3336 macro=ExtToIuEnum()3337 """3338 3339 return StringToEnum('ExtToIu')[0]3340 3341 5457 def FillEnum(): 3342 5458 """ 3343 5459 FILLENUM - Enum of Fill 3344 5460 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 3345 5465 Usage: 3346 5466 macro=FillEnum() … … 3353 5473 FRACTIONINCREMENTENUM - Enum of FractionIncrement 3354 5474 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 3355 5479 Usage: 3356 5480 macro=FractionIncrementEnum() … … 3363 5487 FRICTIONENUM - Enum of Friction 3364 5488 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 3365 5493 Usage: 3366 5494 macro=FrictionEnum() … … 3373 5501 GROUNDINGLINEMELTINGRATEENUM - Enum of GroundinglineMeltingRate 3374 5502 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 3375 5507 Usage: 3376 5508 macro=GroundinglineMeltingRateEnum() … … 3383 5515 INTERNALENUM - Enum of Internal 3384 5516 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 3385 5521 Usage: 3386 5522 macro=InternalEnum() … … 3389 5525 return StringToEnum('Internal')[0] 3390 5526 3391 def IuToExtEnum():3392 """3393 IUTOEXTENUM - Enum of IuToExt3394 3395 Usage:3396 macro=IuToExtEnum()3397 """3398 3399 return StringToEnum('IuToExt')[0]3400 3401 5527 def MassFluxEnum(): 3402 5528 """ 3403 5529 MASSFLUXENUM - Enum of MassFlux 3404 5530 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 3405 5535 Usage: 3406 5536 macro=MassFluxEnum() … … 3413 5543 MAXPENETRATIONENUM - Enum of MaxPenetration 3414 5544 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 3415 5549 Usage: 3416 5550 macro=MaxPenetrationEnum() … … 3423 5557 MELTINGOFFSETENUM - Enum of MeltingOffset 3424 5558 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 3425 5563 Usage: 3426 5564 macro=MeltingOffsetEnum() … … 3433 5571 MISFITENUM - Enum of Misfit 3434 5572 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 3435 5577 Usage: 3436 5578 macro=MisfitEnum() … … 3443 5585 NUMBERNODETOELEMENTCONNECTIVITYENUM - Enum of NumberNodeToElementConnectivity 3444 5586 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 3445 5591 Usage: 3446 5592 macro=NumberNodeToElementConnectivityEnum() … … 3453 5599 PRESSUREENUM - Enum of Pressure 3454 5600 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 3455 5605 Usage: 3456 5606 macro=PressureEnum() … … 3463 5613 PRESSUREPICARDENUM - Enum of PressurePicard 3464 5614 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 3465 5619 Usage: 3466 5620 macro=PressurePicardEnum() … … 3473 5627 QMUPRESSUREENUM - Enum of QmuPressure 3474 5628 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 3475 5633 Usage: 3476 5634 macro=QmuPressureEnum() … … 3483 5641 QMUVXENUM - Enum of QmuVx 3484 5642 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 3485 5647 Usage: 3486 5648 macro=QmuVxEnum() … … 3493 5655 QMUVYENUM - Enum of QmuVy 3494 5656 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 3495 5661 Usage: 3496 5662 macro=QmuVyEnum() … … 3503 5669 QMUVZENUM - Enum of QmuVz 3504 5670 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 3505 5675 Usage: 3506 5676 macro=QmuVzEnum() … … 3513 5683 QMUTHICKNESSENUM - Enum of QmuThickness 3514 5684 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 3515 5689 Usage: 3516 5690 macro=QmuThicknessEnum() … … 3523 5697 QMUBEDENUM - Enum of QmuBed 3524 5698 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 3525 5703 Usage: 3526 5704 macro=QmuBedEnum() … … 3533 5711 QMUSURFACEENUM - Enum of QmuSurface 3534 5712 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 3535 5717 Usage: 3536 5718 macro=QmuSurfaceEnum() … … 3543 5725 QMUMELTINGENUM - Enum of QmuMelting 3544 5726 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 3545 5731 Usage: 3546 5732 macro=QmuMeltingEnum() … … 3549 5735 return StringToEnum('QmuMelting')[0] 3550 5736 5737 def 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 5751 def 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 5765 def 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 3551 5779 def AndroidFrictionCoefficientEnum(): 3552 5780 """ 3553 5781 ANDROIDFRICTIONCOEFFICIENTENUM - Enum of AndroidFrictionCoefficient 3554 5782 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 3555 5787 Usage: 3556 5788 macro=AndroidFrictionCoefficientEnum() … … 3563 5795 RESETPENALTIESENUM - Enum of ResetPenalties 3564 5796 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 3565 5801 Usage: 3566 5802 macro=ResetPenaltiesEnum() … … 3573 5809 SEGMENTONICESHELFENUM - Enum of SegmentOnIceShelf 3574 5810 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 3575 5815 Usage: 3576 5816 macro=SegmentOnIceShelfEnum() … … 3583 5823 SURFACEABSVELMISFITENUM - Enum of SurfaceAbsVelMisfit 3584 5824 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 3585 5829 Usage: 3586 5830 macro=SurfaceAbsVelMisfitEnum() … … 3593 5837 SURFACEAREAENUM - Enum of SurfaceArea 3594 5838 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 3595 5843 Usage: 3596 5844 macro=SurfaceAreaEnum() … … 3603 5851 SURFACEAVERAGEVELMISFITENUM - Enum of SurfaceAverageVelMisfit 3604 5852 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 3605 5857 Usage: 3606 5858 macro=SurfaceAverageVelMisfitEnum() … … 3613 5865 SURFACELOGVELMISFITENUM - Enum of SurfaceLogVelMisfit 3614 5866 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 3615 5871 Usage: 3616 5872 macro=SurfaceLogVelMisfitEnum() … … 3623 5879 SURFACELOGVXVYMISFITENUM - Enum of SurfaceLogVxVyMisfit 3624 5880 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 3625 5885 Usage: 3626 5886 macro=SurfaceLogVxVyMisfitEnum() … … 3633 5893 SURFACERELVELMISFITENUM - Enum of SurfaceRelVelMisfit 3634 5894 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 3635 5899 Usage: 3636 5900 macro=SurfaceRelVelMisfitEnum() … … 3643 5907 SURFACESLOPEXENUM - Enum of SurfaceSlopeX 3644 5908 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 3645 5913 Usage: 3646 5914 macro=SurfaceSlopeXEnum() … … 3653 5921 SURFACESLOPEYENUM - Enum of SurfaceSlopeY 3654 5922 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 3655 5927 Usage: 3656 5928 macro=SurfaceSlopeYEnum() … … 3663 5935 TEMPERATUREENUM - Enum of Temperature 3664 5936 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 3665 5941 Usage: 3666 5942 macro=TemperatureEnum() … … 3673 5949 TEMPERATUREOLDENUM - Enum of TemperatureOld 3674 5950 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 3675 5955 Usage: 3676 5956 macro=TemperatureOldEnum() … … 3683 5963 TEMPERATUREPICARDENUM - Enum of TemperaturePicard 3684 5964 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 3685 5969 Usage: 3686 5970 macro=TemperaturePicardEnum() … … 3689 5973 return StringToEnum('TemperaturePicard')[0] 3690 5974 3691 def TemperatureSurfaceEnum():3692 """3693 TEMPERATURESURFACEENUM - Enum of TemperatureSurface3694 3695 Usage:3696 macro=TemperatureSurfaceEnum()3697 """3698 3699 return StringToEnum('TemperatureSurface')[0]3700 3701 def TemperatureBasalEnum():3702 """3703 TEMPERATUREBASALENUM - Enum of TemperatureBasal3704 3705 Usage:3706 macro=TemperatureBasalEnum()3707 """3708 3709 return StringToEnum('TemperatureBasal')[0]3710 3711 5975 def ThicknessAbsMisfitEnum(): 3712 5976 """ 3713 5977 THICKNESSABSMISFITENUM - Enum of ThicknessAbsMisfit 3714 5978 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 3715 5983 Usage: 3716 5984 macro=ThicknessAbsMisfitEnum() … … 3719 5987 return StringToEnum('ThicknessAbsMisfit')[0] 3720 5988 3721 def TypeEnum():3722 """3723 TYPEENUM - Enum of Type3724 3725 Usage:3726 macro=TypeEnum()3727 """3728 3729 return StringToEnum('Type')[0]3730 3731 5989 def VelEnum(): 3732 5990 """ 3733 5991 VELENUM - Enum of Vel 3734 5992 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 3735 5997 Usage: 3736 5998 macro=VelEnum() … … 3743 6005 VELOCITYENUM - Enum of Velocity 3744 6006 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 3745 6011 Usage: 3746 6012 macro=VelocityEnum() … … 3753 6019 VXAVERAGEENUM - Enum of VxAverage 3754 6020 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 3755 6025 Usage: 3756 6026 macro=VxAverageEnum() … … 3763 6033 VXENUM - Enum of Vx 3764 6034 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 3765 6039 Usage: 3766 6040 macro=VxEnum() … … 3773 6047 VXPICARDENUM - Enum of VxPicard 3774 6048 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 3775 6053 Usage: 3776 6054 macro=VxPicardEnum() … … 3783 6061 VYAVERAGEENUM - Enum of VyAverage 3784 6062 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 3785 6067 Usage: 3786 6068 macro=VyAverageEnum() … … 3793 6075 VYENUM - Enum of Vy 3794 6076 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 3795 6081 Usage: 3796 6082 macro=VyEnum() … … 3803 6089 VYPICARDENUM - Enum of VyPicard 3804 6090 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 3805 6095 Usage: 3806 6096 macro=VyPicardEnum() … … 3813 6103 VZENUM - Enum of Vz 3814 6104 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 3815 6109 Usage: 3816 6110 macro=VzEnum() … … 3823 6117 VZMACAYEALENUM - Enum of VzMacAyeal 3824 6118 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 3825 6123 Usage: 3826 6124 macro=VzMacAyealEnum() … … 3833 6131 VZPATTYNENUM - Enum of VzPattyn 3834 6132 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 3835 6137 Usage: 3836 6138 macro=VzPattynEnum() … … 3843 6145 VZPICARDENUM - Enum of VzPicard 3844 6146 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 3845 6151 Usage: 3846 6152 macro=VzPicardEnum() … … 3853 6159 VZSTOKESENUM - Enum of VzStokes 3854 6160 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 3855 6165 Usage: 3856 6166 macro=VzStokesEnum() … … 3863 6173 VXMESHENUM - Enum of VxMesh 3864 6174 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 3865 6179 Usage: 3866 6180 macro=VxMeshEnum() … … 3873 6187 VYMESHENUM - Enum of VyMesh 3874 6188 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 3875 6193 Usage: 3876 6194 macro=VyMeshEnum() … … 3883 6201 VZMESHENUM - Enum of VzMesh 3884 6202 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 3885 6207 Usage: 3886 6208 macro=VzMeshEnum() … … 3893 6215 ENTHALPYENUM - Enum of Enthalpy 3894 6216 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 3895 6221 Usage: 3896 6222 macro=EnthalpyEnum() … … 3903 6229 ENTHALPYPICARDENUM - Enum of EnthalpyPicard 3904 6230 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 3905 6235 Usage: 3906 6236 macro=EnthalpyPicardEnum() … … 3913 6243 THICKNESSABSGRADIENTENUM - Enum of ThicknessAbsGradient 3914 6244 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 3915 6249 Usage: 3916 6250 macro=ThicknessAbsGradientEnum() … … 3923 6257 THICKNESSALONGGRADIENTENUM - Enum of ThicknessAlongGradient 3924 6258 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 3925 6263 Usage: 3926 6264 macro=ThicknessAlongGradientEnum() … … 3933 6271 THICKNESSACROSSGRADIENTENUM - Enum of ThicknessAcrossGradient 3934 6272 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 3935 6277 Usage: 3936 6278 macro=ThicknessAcrossGradientEnum() … … 3943 6285 STEPRESPONSESENUM - Enum of StepResponses 3944 6286 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 3945 6291 Usage: 3946 6292 macro=StepResponsesEnum() … … 3953 6299 INTMATPARAMENUM - Enum of IntMatParam 3954 6300 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 3955 6305 Usage: 3956 6306 macro=IntMatParamEnum() … … 3963 6313 RHEOLOGYBBARABSGRADIENTENUM - Enum of RheologyBbarAbsGradient 3964 6314 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 3965 6319 Usage: 3966 6320 macro=RheologyBbarAbsGradientEnum() … … 3973 6327 DRAGCOEFFICIENTABSGRADIENTENUM - Enum of DragCoefficientAbsGradient 3974 6328 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 3975 6333 Usage: 3976 6334 macro=DragCoefficientAbsGradientEnum() … … 3983 6341 TRANSIENTINPUTENUM - Enum of TransientInput 3984 6342 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 3985 6347 Usage: 3986 6348 macro=TransientInputEnum() … … 3993 6355 WATERFRACTIONENUM - Enum of Waterfraction 3994 6356 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 3995 6361 Usage: 3996 6362 macro=WaterfractionEnum() … … 4003 6369 WATERCOLUMNENUM - Enum of Watercolumn 4004 6370 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 4005 6375 Usage: 4006 6376 macro=WatercolumnEnum() … … 4013 6383 BASALFRICTIONENUM - Enum of BasalFriction 4014 6384 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 4015 6389 Usage: 4016 6390 macro=BasalFrictionEnum() … … 4023 6397 VISCOUSHEATINGENUM - Enum of ViscousHeating 4024 6398 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 4025 6403 Usage: 4026 6404 macro=ViscousHeatingEnum() … … 4033 6411 QMUTEMPERATUREENUM - Enum of QmuTemperature 4034 6412 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 4035 6417 Usage: 4036 6418 macro=QmuTemperatureEnum() … … 4043 6425 HYDROLOGYWATERVXENUM - Enum of HydrologyWaterVx 4044 6426 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 4045 6431 Usage: 4046 6432 macro=HydrologyWaterVxEnum() … … 4053 6439 HYDROLOGYWATERVYENUM - Enum of HydrologyWaterVy 4054 6440 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 4055 6445 Usage: 4056 6446 macro=HydrologyWaterVyEnum() … … 4063 6453 STRESSTENSORENUM - Enum of StressTensor 4064 6454 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 4065 6459 Usage: 4066 6460 macro=StressTensorEnum() … … 4073 6467 STRESSTENSORXXENUM - Enum of StressTensorxx 4074 6468 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 4075 6473 Usage: 4076 6474 macro=StressTensorxxEnum() … … 4083 6481 STRESSTENSORXYENUM - Enum of StressTensorxy 4084 6482 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 4085 6487 Usage: 4086 6488 macro=StressTensorxyEnum() … … 4093 6495 STRESSTENSORXZENUM - Enum of StressTensorxz 4094 6496 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 4095 6501 Usage: 4096 6502 macro=StressTensorxzEnum() … … 4103 6509 STRESSTENSORYYENUM - Enum of StressTensoryy 4104 6510 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 4105 6515 Usage: 4106 6516 macro=StressTensoryyEnum() … … 4113 6523 STRESSTENSORYZENUM - Enum of StressTensoryz 4114 6524 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 4115 6529 Usage: 4116 6530 macro=StressTensoryzEnum() … … 4123 6537 STRESSTENSORZZENUM - Enum of StressTensorzz 4124 6538 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 4125 6543 Usage: 4126 6544 macro=StressTensorzzEnum() … … 4129 6547 return StringToEnum('StressTensorzz')[0] 4130 6548 6549 def 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 6563 def 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 6577 def 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 4131 6591 def P0Enum(): 4132 6592 """ 4133 6593 P0ENUM - Enum of P0 4134 6594 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 4135 6599 Usage: 4136 6600 macro=P0Enum() … … 4143 6607 P1ENUM - Enum of P1 4144 6608 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 4145 6613 Usage: 4146 6614 macro=P1Enum() … … 4153 6621 P1DGENUM - Enum of P1DG 4154 6622 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 4155 6627 Usage: 4156 6628 macro=P1DGEnum() … … 4159 6631 return StringToEnum('P1DG')[0] 4160 6632 6633 def 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 6647 def 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 4161 6661 def SaveResultsEnum(): 4162 6662 """ 4163 6663 SAVERESULTSENUM - Enum of SaveResults 4164 6664 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 4165 6669 Usage: 4166 6670 macro=SaveResultsEnum() … … 4173 6677 BOOLELEMENTRESULTENUM - Enum of BoolElementResult 4174 6678 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 4175 6683 Usage: 4176 6684 macro=BoolElementResultEnum() … … 4183 6691 BOOLEXTERNALRESULTENUM - Enum of BoolExternalResult 4184 6692 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 4185 6697 Usage: 4186 6698 macro=BoolExternalResultEnum() … … 4193 6705 DOUBLEELEMENTRESULTENUM - Enum of DoubleElementResult 4194 6706 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 4195 6711 Usage: 4196 6712 macro=DoubleElementResultEnum() … … 4203 6719 DOUBLEEXTERNALRESULTENUM - Enum of DoubleExternalResult 4204 6720 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 4205 6725 Usage: 4206 6726 macro=DoubleExternalResultEnum() … … 4213 6733 DOUBLEMATEXTERNALRESULTENUM - Enum of DoubleMatExternalResult 4214 6734 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 4215 6739 Usage: 4216 6740 macro=DoubleMatExternalResultEnum() … … 4219 6743 return StringToEnum('DoubleMatExternalResult')[0] 4220 6744 4221 def DoubleVecExternalResultEnum():4222 """4223 DOUBLEVECEXTERNALRESULTENUM - Enum of DoubleVecExternalResult4224 4225 Usage:4226 macro=DoubleVecExternalResultEnum()4227 """4228 4229 return StringToEnum('DoubleVecExternalResult')[0]4230 4231 6745 def IntExternalResultEnum(): 4232 6746 """ 4233 6747 INTEXTERNALRESULTENUM - Enum of IntExternalResult 4234 6748 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 4235 6753 Usage: 4236 6754 macro=IntExternalResultEnum() … … 4243 6761 JENUM - Enum of J 4244 6762 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 4245 6767 Usage: 4246 6768 macro=JEnum() … … 4253 6775 PATCHENUM - Enum of Patch 4254 6776 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 4255 6781 Usage: 4256 6782 macro=PatchEnum() … … 4263 6789 PATCHNODESENUM - Enum of PatchNodes 4264 6790 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 4265 6795 Usage: 4266 6796 macro=PatchNodesEnum() … … 4273 6803 PATCHVERTICESENUM - Enum of PatchVertices 4274 6804 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 4275 6809 Usage: 4276 6810 macro=PatchVerticesEnum() … … 4283 6817 PENTAP1ELEMENTRESULTENUM - Enum of PentaP1ElementResult 4284 6818 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 4285 6823 Usage: 4286 6824 macro=PentaP1ElementResultEnum() … … 4289 6827 return StringToEnum('PentaP1ElementResult')[0] 4290 6828 4291 def PetscVecExternalResultEnum():4292 """4293 PETSCVECEXTERNALRESULTENUM - Enum of PetscVecExternalResult4294 4295 Usage:4296 macro=PetscVecExternalResultEnum()4297 """4298 4299 return StringToEnum('PetscVecExternalResult')[0]4300 4301 6829 def StringExternalResultEnum(): 4302 6830 """ 4303 6831 STRINGEXTERNALRESULTENUM - Enum of StringExternalResult 4304 6832 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 4305 6837 Usage: 4306 6838 macro=StringExternalResultEnum() … … 4313 6845 STEPENUM - Enum of Step 4314 6846 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 4315 6851 Usage: 4316 6852 macro=StepEnum() … … 4323 6859 TIMEENUM - Enum of Time 4324 6860 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 4325 6865 Usage: 4326 6866 macro=TimeEnum() … … 4333 6873 TRIAP1ELEMENTRESULTENUM - Enum of TriaP1ElementResult 4334 6874 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 4335 6879 Usage: 4336 6880 macro=TriaP1ElementResultEnum() … … 4343 6887 WATERCOLUMNOLDENUM - Enum of WaterColumnOld 4344 6888 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 4345 6893 Usage: 4346 6894 macro=WaterColumnOldEnum() … … 4353 6901 MINVELENUM - Enum of MinVel 4354 6902 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 4355 6907 Usage: 4356 6908 macro=MinVelEnum() … … 4363 6915 MAXVELENUM - Enum of MaxVel 4364 6916 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 4365 6921 Usage: 4366 6922 macro=MaxVelEnum() … … 4373 6929 MINVXENUM - Enum of MinVx 4374 6930 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 4375 6935 Usage: 4376 6936 macro=MinVxEnum() … … 4383 6943 MAXVXENUM - Enum of MaxVx 4384 6944 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 4385 6949 Usage: 4386 6950 macro=MaxVxEnum() … … 4393 6957 MAXABSVXENUM - Enum of MaxAbsVx 4394 6958 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 4395 6963 Usage: 4396 6964 macro=MaxAbsVxEnum() … … 4403 6971 MINVYENUM - Enum of MinVy 4404 6972 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 4405 6977 Usage: 4406 6978 macro=MinVyEnum() … … 4413 6985 MAXVYENUM - Enum of MaxVy 4414 6986 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 4415 6991 Usage: 4416 6992 macro=MaxVyEnum() … … 4423 6999 MAXABSVYENUM - Enum of MaxAbsVy 4424 7000 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 4425 7005 Usage: 4426 7006 macro=MaxAbsVyEnum() … … 4433 7013 MINVZENUM - Enum of MinVz 4434 7014 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 4435 7019 Usage: 4436 7020 macro=MinVzEnum() … … 4443 7027 MAXVZENUM - Enum of MaxVz 4444 7028 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 4445 7033 Usage: 4446 7034 macro=MaxVzEnum() … … 4453 7041 MAXABSVZENUM - Enum of MaxAbsVz 4454 7042 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 4455 7047 Usage: 4456 7048 macro=MaxAbsVzEnum() … … 4463 7055 ICEVOLUMEENUM - Enum of IceVolume 4464 7056 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 4465 7061 Usage: 4466 7062 macro=IceVolumeEnum() … … 4473 7069 TOTALSMBENUM - Enum of TotalSmb 4474 7070 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 4475 7075 Usage: 4476 7076 macro=TotalSmbEnum() … … 4479 7079 return StringToEnum('TotalSmb')[0] 4480 7080 4481 def RelativeEnum():4482 """4483 RELATIVEENUM - Enum of Relative4484 4485 Usage:4486 macro=RelativeEnum()4487 """4488 4489 return StringToEnum('Relative')[0]4490 4491 7081 def AbsoluteEnum(): 4492 7082 """ 4493 7083 ABSOLUTEENUM - Enum of Absolute 4494 7084 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 4495 7089 Usage: 4496 7090 macro=AbsoluteEnum() … … 4503 7097 INCREMENTALENUM - Enum of Incremental 4504 7098 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 4505 7103 Usage: 4506 7104 macro=IncrementalEnum() … … 4513 7111 AGRESSIVEMIGRATIONENUM - Enum of AgressiveMigration 4514 7112 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 4515 7117 Usage: 4516 7118 macro=AgressiveMigrationEnum() … … 4523 7125 NONEENUM - Enum of None 4524 7126 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 4525 7131 Usage: 4526 7132 macro=NoneEnum() … … 4533 7139 SOFTMIGRATIONENUM - Enum of SoftMigration 4534 7140 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 4535 7145 Usage: 4536 7146 macro=SoftMigrationEnum() … … 4539 7149 return StringToEnum('SoftMigration')[0] 4540 7150 7151 def 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 7165 def 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 7179 def 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 4541 7193 def StokesSolverEnum(): 4542 7194 """ 4543 7195 STOKESSOLVERENUM - Enum of StokesSolver 4544 7196 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 4545 7201 Usage: 4546 7202 macro=StokesSolverEnum() … … 4553 7209 ADJOINTENUM - Enum of Adjoint 4554 7210 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 4555 7215 Usage: 4556 7216 macro=AdjointEnum() … … 4563 7223 COLINEARENUM - Enum of Colinear 4564 7224 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 4565 7229 Usage: 4566 7230 macro=ColinearEnum() … … 4573 7237 CONTROLSTEADYENUM - Enum of ControlSteady 4574 7238 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 4575 7243 Usage: 4576 7244 macro=ControlSteadyEnum() … … 4583 7251 FSETENUM - Enum of Fset 4584 7252 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 4585 7257 Usage: 4586 7258 macro=FsetEnum() … … 4593 7265 GRADIENT1ENUM - Enum of Gradient1 4594 7266 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 4595 7271 Usage: 4596 7272 macro=Gradient1Enum() … … 4603 7279 GRADIENT2ENUM - Enum of Gradient2 4604 7280 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 4605 7285 Usage: 4606 7286 macro=Gradient2Enum() … … 4613 7293 GRADIENT3ENUM - Enum of Gradient3 4614 7294 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 4615 7299 Usage: 4616 7300 macro=Gradient3Enum() … … 4623 7307 GRADIENTENUM - Enum of Gradient 4624 7308 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 4625 7313 Usage: 4626 7314 macro=GradientEnum() … … 4633 7321 GROUNDINGLINEMIGRATIONENUM - Enum of GroundinglineMigration 4634 7322 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 4635 7327 Usage: 4636 7328 macro=GroundinglineMigrationEnum() … … 4643 7335 GSETENUM - Enum of Gset 4644 7336 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 4645 7341 Usage: 4646 7342 macro=GsetEnum() … … 4653 7349 INDEXENUM - Enum of Index 4654 7350 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 4655 7355 Usage: 4656 7356 macro=IndexEnum() … … 4663 7363 INDEXEDENUM - Enum of Indexed 4664 7364 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 4665 7369 Usage: 4666 7370 macro=IndexedEnum() … … 4673 7377 INTERSECTENUM - Enum of Intersect 4674 7378 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 4675 7383 Usage: 4676 7384 macro=IntersectEnum() … … 4683 7391 NODALENUM - Enum of Nodal 4684 7392 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 4685 7397 Usage: 4686 7398 macro=NodalEnum() … … 4693 7405 OLDGRADIENTENUM - Enum of OldGradient 4694 7406 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 4695 7411 Usage: 4696 7412 macro=OldGradientEnum() … … 4703 7419 OUTPUTFILEPOINTERENUM - Enum of OutputFilePointer 4704 7420 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 4705 7425 Usage: 4706 7426 macro=OutputFilePointerEnum() … … 4713 7433 OUTPUTFILENAMEENUM - Enum of OutputFileName 4714 7434 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 4715 7439 Usage: 4716 7440 macro=OutputFileNameEnum() … … 4723 7447 LOCKFILENAMEENUM - Enum of LockFileName 4724 7448 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 4725 7453 Usage: 4726 7454 macro=LockFileNameEnum() … … 4729 7457 return StringToEnum('LockFileName')[0] 4730 7458 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] 7459 def 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 7473 def 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] 4750 7486 4751 7487 def QmuErrNameEnum(): … … 4753 7489 QMUERRNAMEENUM - Enum of QmuErrName 4754 7490 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 4755 7495 Usage: 4756 7496 macro=QmuErrNameEnum() … … 4763 7503 QMUINNAMEENUM - Enum of QmuInName 4764 7504 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 4765 7509 Usage: 4766 7510 macro=QmuInNameEnum() … … 4773 7517 QMUOUTNAMEENUM - Enum of QmuOutName 4774 7518 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 4775 7523 Usage: 4776 7524 macro=QmuOutNameEnum() … … 4783 7531 REGULARENUM - Enum of Regular 4784 7532 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 4785 7537 Usage: 4786 7538 macro=RegularEnum() … … 4793 7545 SCALEDENUM - Enum of Scaled 4794 7546 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 4795 7551 Usage: 4796 7552 macro=ScaledEnum() … … 4803 7559 SEPARATEENUM - Enum of Separate 4804 7560 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 4805 7565 Usage: 4806 7566 macro=SeparateEnum() … … 4813 7573 SSETENUM - Enum of Sset 4814 7574 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 4815 7579 Usage: 4816 7580 macro=SsetEnum() … … 4823 7587 VERBOSEENUM - Enum of Verbose 4824 7588 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 4825 7593 Usage: 4826 7594 macro=VerboseEnum() … … 4833 7601 TRIANGLEINTERPENUM - Enum of TriangleInterp 4834 7602 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 4835 7607 Usage: 4836 7608 macro=TriangleInterpEnum() … … 4843 7615 BILINEARINTERPENUM - Enum of BilinearInterp 4844 7616 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 4845 7621 Usage: 4846 7622 macro=BilinearInterpEnum() … … 4853 7629 NEARESTINTERPENUM - Enum of NearestInterp 4854 7630 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 4855 7635 Usage: 4856 7636 macro=NearestInterpEnum() … … 4863 7643 XYENUM - Enum of XY 4864 7644 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 4865 7649 Usage: 4866 7650 macro=XYEnum() … … 4873 7657 XYZPENUM - Enum of XYZP 4874 7658 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 4875 7663 Usage: 4876 7664 macro=XYZPEnum() … … 4879 7667 return StringToEnum('XYZP')[0] 4880 7668 7669 def 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 7683 def 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 7697 def 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 7711 def 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 4881 7725 def OptionEnum(): 4882 7726 """ 4883 7727 OPTIONENUM - Enum of Option 4884 7728 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 4885 7733 Usage: 4886 7734 macro=OptionEnum() … … 4893 7741 GENERICOPTIONENUM - Enum of GenericOption 4894 7742 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 4895 7747 Usage: 4896 7748 macro=GenericOptionEnum() … … 4903 7755 OPTIONCELLENUM - Enum of OptionCell 4904 7756 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 4905 7761 Usage: 4906 7762 macro=OptionCellEnum() … … 4913 7769 OPTIONCHARENUM - Enum of OptionChar 4914 7770 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 4915 7775 Usage: 4916 7776 macro=OptionCharEnum() … … 4923 7783 OPTIONSTRUCTENUM - Enum of OptionStruct 4924 7784 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 4925 7789 Usage: 4926 7790 macro=OptionStructEnum() … … 4933 7797 OPTIONDOUBLEENUM - Enum of OptionDouble 4934 7798 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 4935 7803 Usage: 4936 7804 macro=OptionDoubleEnum() … … 4943 7811 OPTIONLOGICALENUM - Enum of OptionLogical 4944 7812 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 4945 7817 Usage: 4946 7818 macro=OptionLogicalEnum() … … 4953 7825 PATERSONENUM - Enum of Paterson 4954 7826 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 4955 7831 Usage: 4956 7832 macro=PatersonEnum() … … 4963 7839 ARRHENIUSENUM - Enum of Arrhenius 4964 7840 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 4965 7845 Usage: 4966 7846 macro=ArrheniusEnum() … … 4973 7853 MAXIMUMNUMBEROFENUMS - Enum of MaximumNumberOfEnums 4974 7854 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 4975 7859 Usage: 4976 7860 macro=MaximumNumberOfEnums() 4977 7861 """ 4978 7862 4979 return 4964980 7863 return 560 7864 -
issm/trunk/src/m/enum/ExternalResultEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/FileParamEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/FillEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/FlaimAnalysisEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/FlaimSolutionEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/FlowequationBordermacayealEnum.m
r9661 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/FlowequationBorderpattynEnum.m
r9661 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/FlowequationBorderstokesEnum.m
r9661 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/FlowequationElementEquationEnum.m
r9661 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/FlowequationIshutterEnum.m
r9661 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/FlowequationIsl1l2Enum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/FlowequationIsmacayealpattynEnum.m
r9661 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/FlowequationIsstokesEnum.m
r9661 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/FlowequationVertexEquationEnum.m
r9661 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/FractionIncrementEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/FreeEnum.m
r9547 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/FrictionCoefficientEnum.m
r9610 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/FrictionEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/FrictionPEnum.m
r9610 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/FrictionQEnum.m
r9610 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/FsetEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/GenericOptionEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/GenericParamEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/GeometryHydrostaticRatioEnum.m
r9691 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/Gradient1Enum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/Gradient2Enum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/Gradient3Enum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/GradientEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/GroundinglineMeltingRateEnum.m
r9401 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/GroundinglineMigrationEnum.m
r9346 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/GsetEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/HookEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/HutterApproximationEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/HydrologySolutionEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/HydrologyWaterVxEnum.m
r9271 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/HydrologyWaterVyEnum.m
r9271 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/IceEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/IceVolumeEnum.m
r10141 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/IcefrontEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/IncrementalEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/IndependentObjectEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/IndexEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/IndexedEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InputEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/IntExternalResultEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/IntInputEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/IntMatParamEnum.m
r8602 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/IntParamEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/IntVecParamEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InternalEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/IntersectEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InversionControlParametersEnum.m
r9681 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InversionCostFunctionThresholdEnum.m
r9681 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InversionCostFunctionsCoefficientsEnum.m
r9681 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InversionCostFunctionsEnum.m
r9681 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InversionGradientOnlyEnum.m
r9681 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InversionGradientScalingEnum.m
r9681 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InversionIncompleteAdjointEnum.m
r11527 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InversionIscontrolEnum.m
r9681 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InversionMaxParametersEnum.m
r9681 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InversionMaxiterPerStepEnum.m
r9681 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InversionMinParametersEnum.m
r9681 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InversionNstepsEnum.m
r9681 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InversionNumControlParametersEnum.m
r9681 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InversionNumCostFunctionsEnum.m
r9681 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InversionStepThresholdEnum.m
r9681 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InversionTaoEnum.m
r11527 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InversionThicknessObsEnum.m
r9681 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InversionVelObsEnum.m
r9681 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InversionVxObsEnum.m
r9681 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InversionVyObsEnum.m
r9681 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/InversionVzObsEnum.m
r9681 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/JEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/L1L2ApproximationEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/L1L2IceFrontEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/LoadsEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/LockFileNameEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MacAyeal2dIceFrontEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MacAyeal3dIceFrontEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MacAyealApproximationEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MacAyealPattynApproximationEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MacAyealStokesApproximationEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaskElementonfloatingiceEnum.m
r9643 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaskElementongroundediceEnum.m
r9643 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaskElementonwaterEnum.m
r9643 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaskVertexonfloatingiceEnum.m
r9643 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaskVertexongroundediceEnum.m
r9643 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaskVertexonwaterEnum.m
r9643 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MassFluxEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MassFluxSegmentsEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MassFluxSegmentsPresentEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MatdamageiceEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaterialsBetaEnum.m
r9638 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaterialsEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaterialsHeatcapacityEnum.m
r9636 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaterialsLatentheatEnum.m
r9636 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaterialsMeltingpointEnum.m
r9636 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaterialsMixedLayerCapacityEnum.m
r9636 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaterialsMuWaterEnum.m
r10565 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaterialsRheologyBEnum.m
r9636 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaterialsRheologyBbarEnum.m
r9636 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaterialsRheologyLawEnum.m
r9636 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaterialsRheologyNEnum.m
r9636 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaterialsRheologyZEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaterialsRheologyZbarEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaterialsRhoFreshwaterEnum.m
r12301 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaterialsRhoIceEnum.m
r9636 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaterialsRhoWaterEnum.m
r9636 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaterialsThermalExchangeVelocityEnum.m
r9636 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaterialsThermalconductivityEnum.m
r9636 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaticeEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MatparEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MatrixParamEnum.m
r11995 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaxAbsVxEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaxAbsVyEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaxAbsVzEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaxIterationConvergenceFlagEnum.m
r12329 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaxPenetrationEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaxVelEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaxVxEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaxVyEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaxVzEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MaximumNumberOfEnums.m
r14310 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: 9 9 % macro=MaximumNumberOfEnums() 10 10 11 macro= 496;11 macro=560; -
issm/trunk/src/m/enum/MelangeEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeltingAnalysisEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeltingOffsetEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeshAverageVertexConnectivityEnum.m
r9705 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeshDimensionEnum.m
r9719 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeshEdgesEnum.m
r9733 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeshElementconnectivityEnum.m
r9728 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeshElementonbedEnum.m
r9729 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeshElementonsurfaceEnum.m
r9729 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeshElements2dEnum.m
r9733 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeshElementsEnum.m
r9733 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeshLowerelementsEnum.m
r9728 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeshNumberofedgesEnum.m
r9725 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeshNumberofelements2dEnum.m
r9725 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeshNumberofelementsEnum.m
r9725 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeshNumberoflayersEnum.m
r9725 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeshNumberofvertices2dEnum.m
r9725 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeshNumberofverticesEnum.m
r9725 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeshUpperelementsEnum.m
r9728 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeshVertexonbedEnum.m
r9729 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeshVertexonsurfaceEnum.m
r9729 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeshXEnum.m
r9734 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeshYEnum.m
r9734 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MeshZEnum.m
r9734 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MinVelEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MinVxEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MinVyEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MinVzEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MiscellaneousNameEnum.m
r9625 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/MisfitEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/NearestInterpEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/NodalEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/NodeEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/NodesEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/NoneAnalysisEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/NoneApproximationEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/NoneEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/NumberNodeToElementConnectivityEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/NumericalfluxEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/OldGradientEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/OpenEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/OptionCellEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/OptionCharEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/OptionDoubleEnum.m
r9547 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/OptionEnum.m
r9547 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/OptionLogicalEnum.m
r9547 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/OptionStructEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/OutputFileNameEnum.m
r14310 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/OutputFilePointerEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/P0Enum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/P1DGEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/P1Enum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ParamEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ParametersEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PatchEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PatchNodesEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PatchVerticesEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PatersonEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PattynApproximationEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PattynIceFrontEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PattynStokesApproximationEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PengridEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PenpairEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PentaEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PentaP1ElementResultEnum.m
r11527 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PentaP1InputEnum.m
r11527 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PressureEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PressurePicardEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ProfilerEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ProfilingCurrentFlopsEnum.m
r12706 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ProfilingCurrentMemEnum.m
r12706 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ProfilingSolutionTimeEnum.m
r12706 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PrognosticAnalysisEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PrognosticHydrostaticAdjustmentEnum.m
r9642 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PrognosticMinThicknessEnum.m
r11237 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PrognosticNumRequestedOutputsEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PrognosticPenaltyFactorEnum.m
r9642 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PrognosticRequestedOutputsEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PrognosticSolutionEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PrognosticSpcthicknessEnum.m
r9642 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PrognosticStabilizationEnum.m
r9642 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/PrognosticVertexPairingEnum.m
r9642 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/QmuBedEnum.m
r10981 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/QmuErrNameEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/QmuInNameEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/QmuIsdakotaEnum.m
r9650 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/QmuMassFluxSegmentsPresentEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/QmuMeltingEnum.m
r10981 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/QmuNumberofpartitionsEnum.m
r9650 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/QmuNumberofresponsesEnum.m
r9650 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/QmuOutNameEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/QmuPartitionEnum.m
r9650 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/QmuPressureEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/QmuResponsedescriptorsEnum.m
r9650 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/QmuSurfaceEnum.m
r10981 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/QmuTemperatureEnum.m
r9131 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/QmuThicknessEnum.m
r10981 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/QmuVariabledescriptorsEnum.m
r9650 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/QmuVxEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/QmuVyEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/QmuVzEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/RegularEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ResetPenaltiesEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ResultsEnum.m
r9547 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/RheologyBbarAbsGradientEnum.m
r8609 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/RiftfrontEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/RiftsNumriftsEnum.m
r9619 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/RiftsRiftstructEnum.m
r9619 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SaveResultsEnum.m
r11995 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ScaledEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SegmentEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SegmentOnIceShelfEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SegmentRiftfrontEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SeparateEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SettingsIoGatherEnum.m
r9622 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SettingsLowmemEnum.m
r9622 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SettingsOutputFrequencyEnum.m
r9702 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SettingsResultsAsPatchesEnum.m
r10981 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SettingsWaitonlockEnum.m
r9702 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SoftMigrationEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SolutionTypeEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SpcDynamicEnum.m
r9286 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SpcStaticEnum.m
r9285 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SpcTransientEnum.m
r9285 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SsetEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SteadystateMaxiterEnum.m
r9677 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SteadystateNumRequestedOutputsEnum.m
r9679 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SteadystateReltolEnum.m
r9677 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SteadystateRequestedOutputsEnum.m
r9677 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SteadystateSolutionEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/StepEnum.m
r11995 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/StepResponsesEnum.m
r8602 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/StokesApproximationEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/StokesIceFrontEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/StokesSolverEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/StressTensorEnum.m
r11237 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/StressTensorxxEnum.m
r11237 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/StressTensorxyEnum.m
r11237 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/StressTensorxzEnum.m
r11237 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/StressTensoryyEnum.m
r11237 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/StressTensoryzEnum.m
r11237 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/StressTensorzzEnum.m
r11237 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/StringArrayParamEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/StringExternalResultEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/StringParamEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceAbsVelMisfitEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceAreaEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceAverageVelMisfitEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceLogVelMisfitEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceLogVxVyMisfitEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceRelVelMisfitEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceSlopeAnalysisEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceSlopeSolutionEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceSlopeXAnalysisEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceSlopeXEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceSlopeYAnalysisEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceSlopeYEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceforcingsBNegEnum.m
r12706 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceforcingsBPosEnum.m
r12706 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceforcingsDelta18oEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceforcingsDelta18oSurfaceEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceforcingsHrefEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceforcingsIsdelta18oEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceforcingsIspddEnum.m
r12295 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceforcingsIssmbgradientsEnum.m
r12706 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceforcingsMassBalanceEnum.m
r9610 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceforcingsMonthlytemperaturesEnum.m
r12301 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceforcingsPrecipitationEnum.m
r11527 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceforcingsPrecipitationsPresentdayEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceforcingsSmbrefEnum.m
r13975 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceforcingsTemperaturesLgmEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/SurfaceforcingsTemperaturesPresentdayEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TemperatureEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TemperatureOldEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TemperaturePicardEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ThermalAnalysisEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ThermalIsenthalpyEnum.m
r11527 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ThermalMaxiterEnum.m
r9632 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ThermalPenaltyFactorEnum.m
r9632 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ThermalPenaltyLockEnum.m
r9632 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ThermalPenaltyThresholdEnum.m
r9632 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ThermalSolutionEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ThermalSpctemperatureEnum.m
r9632 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ThermalStabilizationEnum.m
r9632 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ThicknessAbsGradientEnum.m
r8582 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ThicknessAbsMisfitEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ThicknessAcrossGradientEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ThicknessAlongGradientEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ThicknessEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TimeEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TimesteppingCflCoefficientEnum.m
r9628 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TimesteppingFinalTimeEnum.m
r9628 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TimesteppingStartTimeEnum.m
r11995 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TimesteppingTimeAdaptEnum.m
r9628 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TimesteppingTimeStepEnum.m
r9628 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TotalSmbEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TransientInputEnum.m
r8802 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TransientIsdiagnosticEnum.m
r9678 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TransientIsgroundinglineEnum.m
r9678 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TransientIsprognosticEnum.m
r9678 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TransientIsthermalEnum.m
r9678 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TransientNumRequestedOutputsEnum.m
r9679 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TransientParamEnum.m
r13395 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TransientRequestedOutputsEnum.m
r9678 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TransientSolutionEnum.m
r8430 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TriaEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TriaP1ElementResultEnum.m
r11527 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/TriangleInterpEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/VectorParamEnum.m
r11995 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/VelEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/VelocityEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/VerboseEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/VertexEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/VerticesEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/ViscousHeatingEnum.m
r9110 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/VxAverageEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/VxEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/VxMeshEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/VxPicardEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/VyAverageEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/VyEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/VyMeshEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/VyPicardEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/VzEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/VzMacAyealEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/VzMeshEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/VzPattynEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/VzPicardEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/VzStokesEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/WaterColumnOldEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/WaterEnum.m
r8222 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/WatercolumnEnum.m
r8926 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/WaterfractionEnum.m
r8926 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/XYEnum.m
r10565 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/enum/XYZPEnum.m
r10565 r15396 3 3 % 4 4 % WARNING: DO NOT MODIFY THIS FILE 5 % this file has been automatically generated by src/c/ EnumDefinitions/Synchronize.sh6 % Please read src/c/ EnumDefinitions/README for more information5 % this file has been automatically generated by src/c/shared/Enum/Synchronize.sh 6 % Please read src/c/shared/Enum/README for more information 7 7 % 8 8 % Usage: -
issm/trunk/src/m/exp/expcreateprofile.m
r13975 r15396 12 12 13 13 %Get root of filename 14 [path root ext ver]=fileparts(filename);14 [path root ext]=fileparts(filename); 15 15 16 16 %Get profile -
issm/trunk/src/m/exp/expflip.m
r13975 r15396 6 6 % 7 7 8 a=expread(domainname ,1);8 a=expread(domainname); 9 9 10 10 for i=1:length(a), -
issm/trunk/src/m/exp/exptool.m
r13975 r15396 1 1 function exptool(newfile,varargin) 2 %EXP MASTER- allow to create, modify, add, cut, .. segments of domain outline together2 %EXPTOOL - allow to create, modify, add, cut, .. segments of domain outline together 3 3 % 4 4 % this routine is used to create, modify, cut,... an Argus file (.exp) -
issm/trunk/src/m/exp/flowlines.m
r14310 r15396 38 38 39 39 %check seed points 40 %tria=TriaSearch(index,x,y,x0,y0);41 tria=tsearch(x,y,index,x0,y0);40 tria=TriaSearch(index,x,y,x0,y0); 41 %tria=tsearch(x,y,index,x0,y0); 42 42 pos=find(isnan(tria)); 43 43 x0(pos)=[]; … … 70 70 %find current triangle 71 71 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)); 74 74 75 75 %check that the point is actually inside a triangle of the mesh … … 112 112 113 113 %same process but reverse (vel=-vel) to have a vcomplete flow line 114 queue=[]; 114 115 counter=1; 115 116 X=x0; Y=y0; … … 120 121 %find current triangle 121 122 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)); 124 125 125 126 %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 )1 function [sx,sy,s]=slope(md,surf) 2 2 %SLOPE - compute the surface slope 3 3 % 4 4 % Usage: 5 5 % [sx,sy,s]=slope(md) 6 % [sx,sy,s]=slope(md,md.results.TransientSolution(1).Surface) 6 7 7 8 %load some variables (it is much faster if the variab;es are loaded from md once for all) … … 18 19 end 19 20 21 if nargin==1, 22 surf=md.geometry.surface; 23 end 20 24 %compute nodal functions coefficients N(x,y)=alpha x + beta y + gamma 21 25 [alpha beta]=GetNodalFunctionsCoeff(index,x,y); 22 26 23 27 summation=[1;1;1]; 24 sx=( md.geometry.surface(index).*alpha)*summation;25 sy=( md.geometry.surface(index).*beta)*summation;28 sx=(surf(index).*alpha)*summation; 29 sy=(surf(index).*beta)*summation; 26 30 s=sqrt(sx.^2+sy.^2); 27 31 -
issm/trunk/src/m/mesh/ProfileProjectOntoMesh.m
r13395 r15396 53 53 % (profile may start and/or end externally and/or cross holes in the model) 54 54 55 ind=find(node_in_element(:, 9)>0);55 ind=find(node_in_element(:,end)>0); 56 56 newx=newx(ind,:); 57 57 newy=newy(ind,:); -
issm/trunk/src/m/mesh/bamg.m
r13975 r15396 19 19 % to apply several fields, use one column per field 20 20 % - gradation : maximum ratio between two adjacent edges 21 % - Hessiantype : 0 -> use double P2 projection (default)21 % - Hessiantype : 0 -> use double L2 projection (default) 22 22 % 1 -> use Green formula 23 23 % - 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 46 46 47 47 end 48 -
issm/trunk/src/m/miscellaneous/normcdf_issm.m
r14310 r15396 7 7 8 8 end 9 -
issm/trunk/src/m/miscellaneous/normfit_issm.m
r14310 r15396 4 4 function [muhat,sigmahat,muci,sigmaci]=normfit_issm(x,alpha) 5 5 6 % remove any NaN 6 if ~exist('alpha','var') 7 alpha=0.05; 8 end 7 9 8 x=x(~isnan(x(:))); 9 n=length(x); 10 % check for any NaN in any columns 11 12 if ~any(any((isnan(x)))) 10 13 11 14 % explicitly calculate the moments 12 15 13 muhat =mean(x);14 sigmahat=std(x);16 muhat =mean(x); 17 sigmahat=std(x); 15 18 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 19 43 end 20 prob=1.-alpha/2.;21 44 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); 32 58 end 33 59 end 34 60 35 61 end 36 -
issm/trunk/src/m/miscellaneous/norminv_issm.m
r14310 r15396 7 7 8 8 end 9 -
issm/trunk/src/m/miscellaneous/prctile_issm.m
r14310 r15396 36 36 % check for any NaN in any columns 37 37 38 if ~any( isnan(x))38 if ~any(any((isnan(x)))) 39 39 x=sort(x,1); 40 40 n=size(x,1); … … 85 85 86 86 end 87 -
issm/trunk/src/m/os/dakotaversion.m
r14310 r15396 20 20 tline=fgets(fid); 21 21 if ~ischar(tline), break, end 22 if strncmp(tline,'#define DAKOTA_VERSION',22),23 DAKOTA_VERSION=strtrim(strrep(tline(2 4:end),'"',''));22 if strncmp(tline,'#define _DAKOTA_VERSION_',24), 23 DAKOTA_VERSION=strtrim(strrep(tline(26:end),'"','')); 24 24 end 25 25 end -
issm/trunk/src/m/os/dakotaversion.py
r14310 r15396 25 25 26 26 for tline in fid: 27 if strncmp(tline,'#define DAKOTA_VERSION',22):28 DAKOTA_VERSION=tline[2 3:].replace('"','').strip()27 if strncmp(tline,'#define _DAKOTA_VERSION_',24): 28 DAKOTA_VERSION=tline[25:].replace('"','').strip() 29 29 break 30 30 -
issm/trunk/src/m/os/issmscpout.m
r13975 r15396 1 function issmscpout(host,path,login,port,packages )1 function issmscpout(host,path,login,port,packages,varargin) 2 2 %ISSMSCPOUT send packages to a host, using scp on unix, and pscp on windows 3 3 % 4 % usage: issmscpout(host,path, packages)4 % usage: issmscpout(host,path,login,port,packages) 5 5 % 6 6 % … … 8 8 %get hostname 9 9 hostname=oshostname(); 10 11 %are we dis-allowing symbolic links? 12 if nargin==6, 13 no_symlinks=1; 14 else 15 no_symlinks=0; 16 end 10 17 11 18 %if hostname and host are the same, do a simple copy … … 16 23 eval(['cd ' path]) 17 24 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 19 30 eval(['cd ' here]); 20 31 end -
issm/trunk/src/m/os/oshostname.m
r13975 r15396 7 7 8 8 if ispc(), 9 [status,hostname]=system('hostname | sed ''s/-//g''');9 [status,hostname]=system('hostname'); 10 10 if status, 11 11 error('oshostname error message: could not run hostname command on windows os'); -
issm/trunk/src/m/parameterization/contourenvelope.m
r14310 r15396 138 138 end 139 139 segments=segments(1:count-1,:); 140 -
issm/trunk/src/m/plot/applyoptions.m
r14310 r15396 243 243 filename=(getfieldvalue(options,'expdisp')); 244 244 style=(getfieldvalue(options,'expstyle')); 245 linewidth=(getfieldvalue(options,'linewidth',1)); 245 246 for i=1:length(getfieldvalue(options,'expdisp')), 246 247 filenamei=filename{i}; 247 248 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)); 249 255 end 250 256 … … 350 356 %box off 351 357 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']); 353 359 [A.x A.y]=ll2xy(A.x,A.y,+1,45,70); 354 360 A.x = A.x(1:30:end); 355 361 A.y = A.y(1:30:end); 356 362 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']); 358 364 else 359 365 error('applyoptions error message: hemisphere not defined'); … … 434 440 %get current plot position 435 441 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 439 443 X1=getfieldvalue(options,'insetx',xlim); 440 444 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 494 end -
issm/trunk/src/m/plot/colormaps/demmap.m
r14310 r15396 1 function cmap = demmap(ncolors,minZ,maxZ );1 function cmap = demmap(ncolors,minZ,maxZ,varargin); 2 2 %DEMMAP - concatenate sea and land color depending on zmin and zmax 3 3 % 4 4 % 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'); 6 11 12 %Input checks 7 13 if nargin<3, 8 14 help landseacolor 9 error('3 arguments necessary'); 15 error('3 or 4 arguments necessary'); 16 elseif nargin>4, 17 help landseacolor 18 error('3 or 4 arguments necessary'); 10 19 end 11 20 12 if minZ == maxZ; 13 maxZ = minZ+1; 21 if nargin==4, 22 colorscheme = varargin{1}; 23 if ~ischar(colorscheme), error('color scheme should be a string'); end 24 else 25 colorscheme = 'dem'; 14 26 end 15 27 … … 60 72 61 73 clim = [cmn cmx]; 62 cmap = [seacolor(nsea);landcolor(nland).^1.3]; 74 75 if strcmpi(colorscheme,'dem'), 76 cmap = [seacolor(nsea);landcolor(nland).^1.3]; 77 elseif strcmpi(colorscheme,'ibcao'); 78 cmap = ibcao(nsea,nland); 79 end -
issm/trunk/src/m/plot/colormaps/getcolormap.m
r14067 r15396 23 23 map = jet(256); 24 24 map = map(128:end,:); 25 elseif 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 25 34 elseif strcmpi(map,'redblue'), 26 map = hsv( 256);35 map = hsv(128); 27 36 map = rgb2hsv(map); 28 37 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; 31 40 map = hsv2rgb(map); 32 41 elseif strcmpi(map,'Rignot'), -
issm/trunk/src/m/plot/colormaps/seacolor.m
r14310 r15396 56 56 end 57 57 y = interp1(1:l,J,linspace(1,l,n),'*linear'); 58 -
issm/trunk/src/m/plot/curvedarrow.m
r13975 r15396 24 24 %compute some values out of (x1,y1) and (x2,y2) 25 25 length=distance*angle; 26 26 27 27 if exist(options,'widthratio'), 28 28 widthratio=getfieldvalue(options,'widthratio'); … … 57 57 m=-m; 58 58 end 59 59 60 60 if exist(options,'arrowlength'), 61 61 d=arrowlength; … … 63 63 d=abs((distance*angle)*ratio); 64 64 end 65 65 66 66 %G is d distance from middle of E and F: 67 67 G=(E+F)/2+d*m; -
issm/trunk/src/m/plot/plot_gridded.m
r14310 r15396 53 53 54 54 %shading interp; 55 h=imagesc(xlim,ylim,data_grid);set(gca,'YDir','normal'); 55 if 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); 58 else 59 h=imagesc(xlim,ylim,data_grid); 60 end 61 axis xy 56 62 57 63 %last step: mesh gridded? -
issm/trunk/src/m/plot/plot_manager.m
r13975 r15396 157 157 158 158 %Figure out if this is a semi-transparent plot. 159 if exist(options,'googlemaps'), 160 plot_googlemaps(md,data,options,nlines,ncols,i); 161 return; 162 end 163 164 %Figure out if this is a semi-transparent plot. 159 165 if exist(options,'gridded'), 160 166 plot_gridded(md,data,options,nlines,ncols,i); … … 179 185 180 186 %standard plot: 181 subplot(nlines,ncols,i); 187 if exist(options,'asymsubplot') 188 id=getfieldvalue(options,'asymsubplot',i); 189 subplot(nlines,ncols,id); 190 else 191 subplot(nlines,ncols,i); 192 end 182 193 183 194 %plot unit -
issm/trunk/src/m/plot/plot_streamlines.m
r13395 r15396 18 18 %initialize flowpath 19 19 streamlines=getfieldvalue(options,'streamlines'); 20 edgecolor=getfieldvalue(options,'streamlines_color','y'); 20 21 if ischar(streamlines) & strcmpi(streamlines,'on'); 21 22 streamlines=60; … … 38 39 hold on 39 40 for 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); 41 42 end -
issm/trunk/src/m/plot/plot_transient_movie.m
r13975 r15396 65 65 function apply_options_movie(md,options,titlestring) 66 66 %apply options 67 options= addfielddefault(options,'title',titlestring);67 options=changefieldvalue(options,'title',titlestring); 68 68 options=addfielddefault(options,'colorbar',1); 69 69 applyoptions(md,[],options); -
issm/trunk/src/m/plot/plotdoc.m
r13395 r15396 115 115 disp(' ''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)'); 116 116 disp(' ''expstyle'': marker style for expdisp plot (use a cell of strings if more than one)'); 117 disp(' ''linewidth'': line width for expdisp plot ');117 disp(' ''linewidth'': line width for expdisp plot (use a cell of strings if more than one)'); 118 118 disp(' ''border'': size of display border (in pixels). active only for overlay plots'); 119 119 disp(' ''text'': print string, use a cell of strings if more than one'); -
issm/trunk/src/m/plot/plotmodel.m
r14310 r15396 8 8 subplotwidth=ceil(sqrt(options.numberofplots)); 9 9 10 %Get figure number and number of plots 11 figurenumber=options.figurenumber; 12 numberofplots=options.numberofplots; 13 10 14 %if nlines and ncols specified, then bypass. 11 15 if exist(options.list{1},'nlines'), 12 16 nlines=getfieldvalue(options.list{1},'nlines'); 13 17 else 14 nlines= subplotwidth;18 nlines=ceil(numberofplots/subplotwidth); 15 19 end 16 20 … … 25 29 error('plotmodel error message: nlines and ncols need to be specified together, or not at all'); 26 30 end 27 28 %Get figure number and number of plots29 figurenumber=options.figurenumber;30 numberofplots=options.numberofplots;31 31 32 32 %go through subplots -
issm/trunk/src/m/plot/scaleruler.m
r13395 r15396 6 6 7 7 %get options 8 structure=getfieldvalue(options,'scaleruler'); 9 fontsize=getfieldvalue(options,'scaleruler_fontsize',16); 8 structure = getfieldvalue(options,'scaleruler'); 9 fontcolor = getfieldvalue(options,'fontcolor','k'); 10 fontweight = getfieldvalue(options,'fontweight','n'); 11 fontsize = getfieldvalue(options,'scaleruler_fontsize',16); 10 12 11 13 %Go through structure and fill missing arguments … … 14 16 end 15 17 16 %retrieve north arrowparameters17 x0 =structure(1);18 y0 =structure(2);19 lengthscale =structure(3);20 widthscale =structure(4);21 numberofticks =structure(5);18 %retrieve scale parameters 19 x0 = structure(1); 20 y0 = structure(2); 21 lengthscale = structure(3); 22 widthscale = structure(4); 23 numberofticks = structure(5); 22 24 23 %initialize some coordinates 24 unitlength=lengthscale/(numberofticks -1); 25 flag=-1; 25 %If only one tick, just draw a rectangle 26 if 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); 30 else 31 %initialize some coordinates 32 unitlength=lengthscale/(numberofticks -1); 33 flag=-1; 26 34 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; 53 38 54 39 %Text 55 40 xt=Bu(1); 56 41 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 59 68 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'); 60 76 end 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 7 7 %Regular subplot 8 8 if ~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 11 17 end 12 18 -
issm/trunk/src/m/solve/WriteData.m
r13975 r15396 24 24 format = getfieldvalue(options,'format'); 25 25 mattype = getfieldvalue(options,'mattype',0); %only required for matrices 26 forcinglength = getfieldvalue(options,'forcinglength',-1); 26 27 27 28 %Process sparse matrices 28 29 if issparse(data), 29 30 data=full(data); 31 end 32 33 %Scale data if necesarry 34 if 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 30 41 end 31 42 -
issm/trunk/src/m/solve/WriteData.py
r14067 r15396 35 35 format = options.getfieldvalue('format') 36 36 mattype = options.getfieldvalue('mattype',0) #only required for matrices 37 forcinglength = options.getfieldvalue('forcinglength',-1) 37 38 38 39 #Process sparse matrices … … 40 41 # data=full(data); 41 42 # 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 42 55 43 56 #Step 1: write the enum to identify this record uniquely -
issm/trunk/src/m/solve/loadresultsfromcluster.m
r13395 r15396 51 51 else 52 52 delete([md.miscellaneous.name '.bin']); 53 delete([md.miscellaneous.name '. petsc']);53 delete([md.miscellaneous.name '.toolkits']); 54 54 if ~ispc(), 55 55 delete([md.miscellaneous.name '.queue']); -
issm/trunk/src/m/solve/loadresultsfromcluster.py
r13395 r15396 52 52 else: 53 53 os.remove(md.miscellaneous.name+'.bin') 54 os.remove(md.miscellaneous.name+'. petsc')54 os.remove(md.miscellaneous.name+'.toolkits') 55 55 if not ispc(): 56 56 os.remove(md.miscellaneous.name+'.queue') -
issm/trunk/src/m/solve/marshall.m
r13975 r15396 25 25 26 26 %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'}), 28 28 continue; 29 29 end … … 36 36 %Marshall current object 37 37 %disp(['marshalling ' field '...']); 38 marshall(md.(field), fid);38 marshall(md.(field),md,fid); 39 39 end 40 40 -
issm/trunk/src/m/solve/marshall.py
r13395 r15396 31 31 32 32 #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']: 34 34 continue 35 35 … … 40 40 #Marshall current object 41 41 #print "marshalling %s ..." % field 42 exec("md.%s.marshall( fid)" % field)42 exec("md.%s.marshall(md,fid)" % field) 43 43 44 44 #close file -
issm/trunk/src/m/solve/parseresultsfromdisk.m
r13975 r15396 42 42 43 43 %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 45 50 46 51 end … … 124 129 125 130 %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 127 137 128 138 end … … 163 173 end 164 174 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 165 201 result.fieldname=fieldname; 166 202 result.time=time; 167 203 result.step=step; 168 204 result.field=field; 205 169 206 end 170 207 % }}} -
issm/trunk/src/m/solve/parseresultsfromdisk.py
r14310 r15396 66 66 return results 67 67 # }}} 68 69 68 def parseresultsfromdiskiosplit(filename): # {{{ 70 69 """ … … 155 154 return results 156 155 # }}} 157 158 156 def ReadData(fid): # {{{ 159 157 """ … … 187 185 raise TypeError("cannot read data of type %d" % type) 188 186 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 189 212 result=OrderedDict() 190 213 result['fieldname']=fieldname … … 198 221 return result 199 222 # }}} 200 201 223 def ReadDataDimensions(fid): # {{{ 202 224 """ … … 240 262 return result 241 263 # }}} 242 -
issm/trunk/src/m/solve/process_solve_options.m
r14310 r15396 11 11 if ~ismember(solution_type,[DiagnosticSolutionEnum(),PrognosticSolutionEnum(),ThermalSolutionEnum(),... 12 12 SteadystateSolutionEnum(),TransientSolutionEnum(),EnthalpySolutionEnum(),... 13 BalancethicknessSolutionEnum(), WeakBalancethicknessSolutionEnum(),BedSlopeSolutionEnum(),...14 SurfaceSlopeSolutionEnum(),HydrologySolutionEnum(),FlaimSolutionEnum() ]),13 BalancethicknessSolutionEnum(),BalancethicknessSoftSolutionEnum(),BedSlopeSolutionEnum(),... 14 SurfaceSlopeSolutionEnum(),HydrologySolutionEnum(),FlaimSolutionEnum(),GiaSolutionEnum()]), 15 15 error(['process_solve_options error message: solution_type ' EnumToString(solution_type) ' not supported yet!']); 16 16 end -
issm/trunk/src/m/solve/process_solve_options.py
r13395 r15396 20 20 if solution_type not in (DiagnosticSolutionEnum(),PrognosticSolutionEnum(),ThermalSolutionEnum(),\ 21 21 SteadystateSolutionEnum(),TransientSolutionEnum(),EnthalpySolutionEnum(),\ 22 BalancethicknessSolutionEnum(),BedSlopeSolutionEnum(),SurfaceSlopeSolutionEnum(),HydrologySolutionEnum(),FlaimSolutionEnum()): 22 BalancethicknessSolutionEnum(),BedSlopeSolutionEnum(),SurfaceSlopeSolutionEnum(),\ 23 HydrologySolutionEnum(),FlaimSolutionEnum(),GiaSolutionEnum()): 23 24 raise ValueError("process_solve_options error message: solution_type '%s' not supported yet!" % EnumToString(solution_type)[0]) 24 25 outoptions['solution_type']=solution_type -
issm/trunk/src/m/solve/solve.m
r13975 r15396 68 68 end 69 69 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 end75 76 70 %Write all input files 77 71 marshall(md); % bin file 78 PetscFile(md.solver,[md.miscellaneous.name '.petsc']); % petscfile72 ToolkitsFile(md.toolkits,[md.miscellaneous.name '.toolkits']); % toolkits file 79 73 BuildQueueScript(cluster,md.private.runtimename,md.miscellaneous.name,md.private.solution,md.settings.io_gather,md.debug.valgrind,md.debug.gprof); % queue file 80 74 … … 88 82 %Launch job 89 83 modelname = md.miscellaneous.name; 90 filelist = {[modelname '.bin '] [modelname '.petsc '] [modelname '.queue ']}; 84 filelist = {[modelname '.bin '] [modelname '.toolkits ']}; 85 if ispc, 86 filelist{end+1}=[modelname '.bat ']; 87 else 88 filelist{end+1}=[modelname '.queue ']; 89 end 90 91 91 if md.qmu.isdakota, 92 92 filelist{end+1} = [modelname '.qmu.in']; … … 101 101 102 102 %wait on lock 103 if md.settings.waitonlock>0,104 % we wait for the done file105 islock=waitonlock(md);106 if islock==0, %no results to be loaded107 disp('The results must be loaded manually with md=loadresultsfromcluster(md).');108 else %load results109 disp('loading results from cluster');103 if 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 110 110 md=loadresultsfromcluster(md); 111 111 end 112 elseif 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); 117 elseif md.settings.waitonlock==0, 118 disp('Model results must be loaded manually with md=loadresultsfromcluster(md);'); 112 119 end 113 120 -
issm/trunk/src/m/solve/solve.py
r13395 r15396 80 80 #Write all input files 81 81 marshall(md) # bin file 82 md. solver.PetscFile(md.miscellaneous.name+'.petsc') # petscfile82 md.toolkits.ToolkitsFile(md.miscellaneous.name+'.toolkits') # toolkits file 83 83 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=189 84 90 85 #Stop here if batch mode … … 96 91 #Launch job 97 92 modelname = md.miscellaneous.name 98 filelist = [modelname+'.bin ',modelname+'. petsc',modelname+'.queue ']93 filelist = [modelname+'.bin ',modelname+'.toolkits ',modelname+'.queue '] 99 94 if md.qmu.isdakota: 100 95 filelist.append(modelname+'.qmu.in') -
issm/trunk/src/m/solve/waitonlock.m
r13975 r15396 1 function flag=waitonlock(md)1 function ispresent=waitonlock(md) 2 2 %WAITONLOCK - wait for a file 3 3 % 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. 5 7 % If the time limit given in input is exceeded, return 0 6 8 % … … 8 10 % flag=waitonlock(md) 9 11 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 15 executionpath = md.cluster.executionpath; 16 timelimit = md.settings.waitonlock; 17 cluster = md.cluster; 18 lockfilename = [executionpath '/' md.private.runtimename '/' md.miscellaneous.name '.lock']; 19 logfilename = [executionpath '/' md.private.runtimename '/' md.miscellaneous.name '.outlog']; 20 21 %If we are using the generic cluster in interactive mode, job is already complete 22 if isa(cluster,'generic') & cluster.interactive 23 %We are in interactive mode, no need to check for job completion 24 ispresent=1; 25 return; 16 26 end 17 timelimit=md.settings.waitonlock;18 filename=[executionpath '/' md.private.runtimename '/' md.miscellaneous.name '.lock'];19 27 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 29 time=0; ispresent=0; time0=clock; 30 disp(['waiting for ' lockfilename ' hold on... (Ctrl+C to exit)']) 22 31 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 33 if ~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']; 28 41 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']; 59 43 end 60 44 end 45 46 %loop till file .lock exist or time is up 47 while (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 60 end 61 62 %build output 63 if (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']); 67 end -
issm/trunk/src/m/solvers/asmoptions.m
r13975 r15396 10 10 11 11 %default asm options 12 asm.toolkit='petsc'; 12 13 asm.mat_type=getfieldvalue(options,'mat_type','aij'); 13 14 asm.ksp_type=getfieldvalue(options,'ksp_type','gmres'); -
issm/trunk/src/m/solvers/asmoptions.py
r13395 r15396 12 12 arguments=pairoptions(*args) 13 13 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]]; 15 15 16 16 #now, go through our arguments, and write over default options. -
issm/trunk/src/m/solvers/iluasmoptions.m
r13975 r15396 10 10 11 11 %default iluasm options 12 iluasm.toolkit='petsc'; 12 13 iluasm.mat_type=getfieldvalue(options,'mat_type','aij'); 13 14 iluasm.ksp_type=getfieldvalue(options,'ksp_type','gmres'); -
issm/trunk/src/m/solvers/iluasmoptions.py
r13395 r15396 15 15 16 16 #default iluasm options 17 iluasm['toolkit']='petsc' 17 18 iluasm['mat_type']=options.getfieldvalue('mat_type','aij') 18 19 iluasm['ksp_type']=options.getfieldvalue('ksp_type','gmres') -
issm/trunk/src/m/solvers/jacobiasmoptions.m
r13975 r15396 10 10 11 11 %default jacobiasm options 12 jacobiasm.toolkit='petsc'; 12 13 jacobiasm.mat_type=getfieldvalue(options,'mat_type','aij'); 13 14 jacobiasm.ksp_type=getfieldvalue(options,'ksp_type','gmres'); -
issm/trunk/src/m/solvers/jacobiasmoptions.py
r13395 r15396 12 12 arguments=pairoptions(*args) 13 13 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]]; 15 15 16 16 #now, go through our arguments, and write over default options. -
issm/trunk/src/m/solvers/jacobicgoptions.m
r13975 r15396 10 10 11 11 %default jacobiasm options 12 jacobicg.toolkit='petsc'; 12 13 jacobicg.mat_type=getfieldvalue(options,'mat_type','aij'); 13 14 jacobicg.ksp_type=getfieldvalue(options,'ksp_type','cg'); -
issm/trunk/src/m/solvers/jacobicgoptions.py
r13395 r15396 12 12 arguments=pairoptions(*args) 13 13 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]]; 15 15 16 16 #now, go through our arguments, and write over default options. -
issm/trunk/src/m/solvers/matlaboptions.m
r13975 r15396 10 10 11 11 %default matlab options 12 maltab.toolkit='petsc'; 12 13 maltab.ksp_type='matlab'; -
issm/trunk/src/m/solvers/matlaboptions.py
r13395 r15396 12 12 arguments=pairoptions(*args) 13 13 14 options=[[' ksp_type','matlab']];14 options=[['toolkit','petsc'],['ksp_type','matlab']]; 15 15 16 16 #now, go through our arguments, and write over default options. -
issm/trunk/src/m/solvers/mumpsoptions.m
r13395 r15396 12 12 PETSC_VERSION=petscversion(); 13 13 if PETSC_VERSION==2, 14 mumps.toolkit='petsc'; 14 15 mumps.mat_type=getfieldvalue(options,'mat_type','aijmumps'); 15 16 mumps.ksp_type=getfieldvalue(options,'ksp_type','preonly'); … … 19 20 end 20 21 if PETSC_VERSION==3, 22 mumps.toolkit='petsc'; 21 23 mumps.mat_type=getfieldvalue(options,'mat_type','mpiaij'); 22 24 mumps.ksp_type=getfieldvalue(options,'ksp_type','preonly'); -
issm/trunk/src/m/solvers/mumpsoptions.py
r13395 r15396 18 18 PETSC_VERSION=petscversion() 19 19 if PETSC_VERSION==2: 20 mumps['toolkit']='petsc' 20 21 mumps['mat_type']=options.getfieldvalue('mat_type','aijmumps') 21 22 mumps['ksp_type']=options.getfieldvalue('ksp_type','preonly') … … 24 25 mumps['pc_factor_shift_positive_definite']=options.getfieldvalue('pc_factor_shift_positive_definite','true') 25 26 if PETSC_VERSION==3: 27 mumps['toolkit']='petsc' 26 28 mumps['mat_type']=options.getfieldvalue('mat_type','mpiaij') 27 29 mumps['ksp_type']=options.getfieldvalue('ksp_type','preonly') -
issm/trunk/src/m/solvers/soroptions.m
r13975 r15396 10 10 11 11 %default sor options 12 sor.toolkit='petsc'; 12 13 sor.mat_type=getfieldvalue(options,'mat_type','aij'); 13 14 sor.ksp_type=getfieldvalue(options,'ksp_type','cg'); -
issm/trunk/src/m/solvers/soroptions.py
r13395 r15396 12 12 arguments=pairoptions(*args) 13 13 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]]; 15 15 16 16 #now, go through our arguments, and write over default options. -
issm/trunk/src/m/solvers/stokesoptions.m
r13395 r15396 15 15 end 16 16 if PETSC_VERSION==3, 17 stokes.toolkit='petsc'; 17 18 stokes.mat_type=getfieldvalue(options,'mat_type','mpiaij'); 18 19 stokes.ksp_max_it=getfieldvalue(options,'ksp_max_it',1000); -
issm/trunk/src/m/solvers/stokesoptions.py
r13395 r15396 19 19 raise RuntimeError('stokesoptions error message: multi-physics options not supported in Petsc 2') 20 20 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'],\ 22 22 ['fieldsplit_0_pc_type','hypre'],['fieldsplit_0_ksp_type','gmres'],['fieldsplit_0_pc_hypre_type','boomerang'],\ 23 23 ['fieldsplit_1_pc_type','jacobi'],['fieldsplit_1_ksp_type','preonly'],['issm_option_solver','stokes']] -
issm/trunk/src/wrappers/AverageFilter/AverageFilter.cpp
r13236 r15396 13 13 14 14 void AverageFilterUsage(void){/*{{{*/ 15 _print Line_(" AverageFilter usage:");16 _print Line_(" [image_out]=AverageFilter(image_in,pixels);\n");17 _print Line_(" where:");18 _print Line_(" image_in in double format");19 _print Line_(" pixels: characteristic size of smoothing");20 _print Line_(" image_out in double format");21 _print Line_("");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"); 22 22 }/*}}}*/ 23 23 WRAPPER(AverageFilter){ … … 30 30 int smooth; 31 31 32 33 32 /* output: */ 34 mxArray* pfield=NULL;35 33 double* imageout=NULL; 36 34 int imageout_rows,imageout_cols; … … 45 43 FetchData(&imagein,&imagein_rows,&imagein_cols,IMAGEIN); 46 44 FetchData(&smooth,SMOOTH); 47 45 48 46 /*Run core hole filler routine: */ 49 47 AverageFilterx( &imageout,imagein,imagein_rows,imagein_cols,smooth); … … 52 50 WriteData(IMAGEOUT,imageout,imagein_rows,imagein_cols); 53 51 52 /*free ressources: */ 53 xDelete<double>(imagein); 54 xDelete<double>(imageout); 55 54 56 /*end module: */ 55 57 MODULEEND(); -
issm/trunk/src/wrappers/AverageFilter/AverageFilter.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ -
issm/trunk/src/wrappers/BamgConvertMesh/BamgConvertMesh.cpp
r13243 r15396 5 5 6 6 void BamgConvertMeshUsage(void){/*{{{*/ 7 _p printString_("BAMGCONVERTMESH - convert [x y index] to a bamg geom and mesh geom");8 _p printLine_("");9 _p printLine_(" Usage:");10 _p printLine_(" [bamggeom bamgmesh]=BamgConvertMesh(index,x,y);");11 _p printLine_(" index: index of the mesh");12 _p printLine_(" x,y: coordinates of the nodes");13 _p printLine_("");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"); 14 14 }/*}}}*/ 15 15 WRAPPER(BamgConvertMesh){ … … 54 54 55 55 /*Clean up*/ 56 xDelete<int>(index); 57 xDelete<double>(x); 58 xDelete<double>(y); 56 59 delete bamggeom; 57 60 delete bamgmesh; -
issm/trunk/src/wrappers/BamgConvertMesh/BamgConvertMesh.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h" 24 #include "../../c/io/io.h" 23 #include "../../c/shared/io/io.h" 25 24 26 25 #undef __FUNCT__ -
issm/trunk/src/wrappers/BamgMesher/BamgMesher.cpp
r13287 r15396 5 5 6 6 void BamgMesherUsage(void){/*{{{*/ 7 _p printLine_("");8 _p printLine_(" usage: [bamgmesh,bamggeom]=" << __FUNCT__ << "(bamgmesh,bamggeom,bamgoptions);");9 _p printLine_("");7 _printf0_("\n"); 8 _printf0_(" usage: [bamgmesh,bamggeom]=" << __FUNCT__ << "(bamgmesh,bamggeom,bamgoptions)\n"); 9 _printf0_("\n"); 10 10 }/*}}}*/ 11 11 WRAPPER(BamgMesher){ 12 12 13 13 /*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; 19 19 20 20 /*Boot module*/ -
issm/trunk/src/wrappers/BamgMesher/BamgMesher.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ -
issm/trunk/src/wrappers/BamgTriangulate/BamgTriangulate.cpp
r13236 r15396 5 5 6 6 void BamgTriangulateUsage(void){/*{{{*/ 7 _p printString_("BAMGTRIANGULATE - Delaunay Triangulation of a list of points");8 _p printLine_("");9 _p printLine_(" Usage:");10 _p printLine_(" index=BamgTriangulate(x,y);");11 _p printLine_(" index: index of the triangulation");12 _p printLine_(" x,y: coordinates of the nodes");13 _p printLine_("");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"); 14 14 }/*}}}*/ 15 15 WRAPPER(BamgTriangulate){ … … 20 20 int x_cols; 21 21 int y_rows,y_cols; 22 int nods;22 int nods; 23 23 24 24 /*Output*/ … … 36 36 37 37 /*Input datasets: */ 38 if (verbose) _print Line_("Fetching inputs");38 if (verbose) _printf_("Fetching inputs\n"); 39 39 FetchData(&x,&nods,&x_cols,XHANDLE); 40 40 FetchData(&y,&y_rows,&y_cols,YHANDLE); … … 46 46 47 47 /* Run core computations: */ 48 if (verbose) _print Line_("Call core");48 if (verbose) _printf_("Call core\n"); 49 49 BamgTriangulatex(&index,&nels,x,y,nods); 50 50 … … 52 52 WriteData(INDEX,index,nels,3); 53 53 54 /*Clean up*/ 55 xDelete<int>(index); 56 xDelete<double>(x); 57 xDelete<double>(y); 58 54 59 /*end module: */ 55 60 MODULEEND(); -
issm/trunk/src/wrappers/BamgTriangulate/BamgTriangulate.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ -
issm/trunk/src/wrappers/Chaco/Chaco.cpp
r13250 r15396 12 12 13 13 void ChacoUsage(void){/*{{{*/ 14 _p printLine_("");15 _p printLine_("Usage: [assgn] = Chaco(A,vwgts,ewgts,x,y,z,options,nparts,goal);");16 _p printLine_("");14 _printf0_("\n"); 15 _printf0_("Usage: [assgn] = Chaco(A,vwgts,ewgts,x,y,z,options,nparts,goal);\n"); 16 _printf0_("\n"); 17 17 }/*}}}*/ 18 18 WRAPPER(Chaco){ 19 19 20 20 int i; 21 21 int nterms; … … 83 83 nparts=xNew<int>(1); nparts[0]=npart; //weird Chacox interface ain't it? 84 84 FetchData(&goal,&nterms,GOAL_IN); 85 85 86 86 /*Some debugging print: {{{*/ 87 87 #ifdef _DEBUG_ 88 _print Line_("nvtxs: " << nvtxs);89 _print String_("options: [");90 for(i=0;i<10;i++)_print String_(options[i] << "|");91 _print Line_("]");92 _print Line_("start:");93 for (i=0; i<nvtxs+1;i++)_print String_(start[i] << " ");94 _print Line_("");95 _print Line_("adjacency:");96 for (i=0; i<mxGetNzmax(A_IN);i++)_print String_("" <<adjacency[i]<< " ");i++)97 _print Line_("");98 _print Line_("nedges: " << nedges << " " << ewgts);99 if(ewgts) for (i = 0; i < nedges; i++)_print String_(ewgts[i] << " ");100 _print Line_("");101 _print Line_("vwgts:");102 for (i = 0; i < nvtxs; i++)_print String_(vwgts[i] << " ");103 _print Line_("");104 _print Line_("nparts: " << nparts[0]);105 _print Line_("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"); 106 106 #endif 107 107 /*}}}*/ 108 108 109 109 /*Allocate output: */ 110 110 assignment = xNewZeroInit<short>(nvtxs); 111 111 112 112 /*Call core: */ 113 113 Chacox(nvtxs, start, adjacency, vwgts, ewgts, x, y, z, assignment, options, nparts, goal); -
issm/trunk/src/wrappers/Chaco/Chaco.h
r13749 r15396 18 18 19 19 /*headers*/ 20 #include "../bindings.h" /*Should always come first to avoid python's warnings*/ 20 21 #include <stdio.h> 21 22 #include <string.h> /* strcasecmp */ 22 23 #include <time.h> /* clock,time,difftime */ 23 #include "../../c/ include/globals.h"24 #include "../../c/main/globals.h" 24 25 #include "../../c/modules/modules.h" 25 #include "../../c/Container/Container.h"26 26 #include "../../c/shared/shared.h" 27 #include "../bindings.h"28 27 29 28 #undef __FUNCT__ -
issm/trunk/src/wrappers/ContourToMesh/ContourToMesh.cpp
r13447 r15396 3 3 are inside this contour. 4 4 */ 5 5 6 6 #include "./ContourToMesh.h" 7 7 8 8 void ContourToMeshUsage(void){/*{{{*/ 9 _print Line_("CONTOURTOMESH - Flag the elements or nodes inside a contour");10 _print Line_("");11 _print Line_(" Usage:");12 _print Line_(" [in_nod,in_elem]=ContourToMesh(index,x,y,contourname,interptype,edgevalue)\n");13 _print Line_("");14 _print Line_(" index,x,y: mesh triangulation.");15 _print Line_(" contourname: name of .exp file containing the contours.");16 _print Line_(" interptype: string definining type of interpolation ('element', or 'node').");17 _print Line_(" edgevalue: integer (0, 1 or 2) defining the value associated to the nodes on the edges of the polygons.");18 _print Line_(" in_nod: vector of flags (0 or 1), of size nods if interptype is set to 'node' or 'element and node',");19 _print Line_(" or of size 0 otherwise.");20 _print Line_(" in_elem: vector of flags (0 or 1), of size nel if interptype is set to 'element' or 'element and node',");21 _print Line_(" or of size 0 otherwise.");22 _print Line_("");23 _print Line_(" Example:");24 _print Line_(" in_nod=ContourToMesh(md.elements,md.x,md.y,'Contour.exp','node',1)");25 _print Line_(" in_elements=ContourToMesh(md.elements,md.x,md.y,'Contour.exp','element',0)");26 _print Line_(" [in_nodes,in_elements]=ContourToMesh(md.elements,md.x,md.y,'Contour.exp','element and node',0)");27 _print Line_("");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"); 28 28 }/*}}}*/ 29 29 WRAPPER(ContourToMesh){ 30 30 31 31 /* 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; 40 39 41 40 /* output: */ 42 SeqVec<double>*in_nod = NULL;43 SeqVec<double>*in_elem = NULL;41 double *in_nod = NULL; 42 double *in_elem = NULL; 44 43 45 44 /*Boot module: */ … … 72 71 /* output: */ 73 72 if (strcmp(interptype,"node")==0){ 74 WriteData(PLHS0,in_nod );73 WriteData(PLHS0,in_nod,nods); 75 74 WriteData(PLHS1); 76 75 } 77 76 else if (strcmp(interptype,"element")==0){ 78 WriteData(PLHS0,in_elem );77 WriteData(PLHS0,in_elem,nel); 79 78 WriteData(PLHS1); 80 79 } 81 80 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); 84 83 } 85 84 else _error_("wrong interpolation type"); 86 85 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; 87 94 /*end module: */ 88 95 MODULEEND(); -
issm/trunk/src/wrappers/ContourToMesh/ContourToMesh.h
r13749 r15396 18 18 19 19 /*Header files: */ 20 #include "../../c/include/globals.h" 20 #include "../bindings.h" 21 #include "../../c/main/globals.h" 21 22 #include "../../c/toolkits/toolkits.h" 22 #include "../../c/include/include.h"23 23 #include "../../c/modules/modules.h" 24 #include "../../c/Container/Container.h"25 24 #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" 29 27 30 28 #undef __FUNCT__ … … 64 62 65 63 #endif /* _CONTOURTOMESH_H */ 66 -
issm/trunk/src/wrappers/ContourToNodes/ContourToNodes.cpp
r13353 r15396 2 2 \brief: takes a contour file, and figures out which nodes (x,y list) 3 3 */ 4 4 5 5 #include "./ContourToNodes.h" 6 6 7 7 void ContourToNodesUsage(void){/*{{{*/ 8 _print Line_(" usage:");9 _print Line_(" [flags]=ContourToNodes(x,y,contourname,edgevalue);\n");10 _print Line_(" where:");11 _print Line_(" x,y: list of nodes.");12 _print Line_(" contourname: name of .exp file containing the contours, or resulting structure from call to expread.");13 _print Line_(" edgevalue: integer (0, 1 or 2) defining the value associated to the nodes on the edges of the polygons.");14 _print Line_(" flags: vector of flags (0 or 1), of size nods.");15 _print Line_("");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"); 16 16 }/*}}}*/ 17 17 WRAPPER(ContourToNodes){ 18 18 19 19 /* 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; 25 25 26 26 /* output: */ 27 SeqVec<double>*flags = NULL;27 double *flags = NULL; 28 28 29 29 /*Boot module: */ … … 32 32 /*checks on arguments on the matlab side: */ 33 33 CHECKARGUMENTS(NLHS,NRHS,&ContourToNodesUsage); 34 34 35 35 /*Fetch inputs: */ 36 36 FetchData(&x,&nods,NULL,XHANDLE); … … 43 43 44 44 /* 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; 46 52 47 53 /*end module: */ -
issm/trunk/src/wrappers/ContourToNodes/ContourToNodes.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ … … 55 54 56 55 #endif /* _CONTOURTONODES_H */ 57 -
issm/trunk/src/wrappers/ElementConnectivity/ElementConnectivity.cpp
r14067 r15396 6 6 7 7 void ElementConnectivityUsage(void) {/*{{{*/ 8 _p printLine_("");9 _p printLine_(" usage: elementconnectivity = " << __FUNCT__ << "(elements, nodeconnectivity);");10 _p printLine_("");8 _printf0_("\n"); 9 _printf0_(" usage: elementconnectivity = " << __FUNCT__ << "(elements, nodeconnectivity);\n"); 10 _printf0_("\n"); 11 11 }/*}}}*/ 12 12 WRAPPER(ElementConnectivity){ … … 26 26 /*checks on arguments: */ 27 27 CHECKARGUMENTS(NLHS,NRHS,&ElementConnectivityUsage); 28 28 29 29 /*Input datasets: */ 30 30 FetchData(&elements,&nels,NULL,ELEMENTS); … … 37 37 WriteData(ELEMENTCONNECTIVITY,elementconnectivity,nels,3); 38 38 39 /*Clean up*/ 40 xDelete<int>(nodeconnectivity); 41 xDelete<int>(elementconnectivity); 42 39 43 /*end module: */ 40 44 MODULEEND(); -
issm/trunk/src/wrappers/ElementConnectivity/ElementConnectivity.h
r13749 r15396 18 18 19 19 /*Header files: */ 20 #include "../../c/include/globals.h" 20 #include "../bindings.h" 21 #include "../../c/main/globals.h" 21 22 #include "../../c/toolkits/toolkits.h" 22 #include "../../c/include/include.h"23 23 #include "../../c/modules/modules.h" 24 #include "../../c/Container/Container.h"25 24 #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" 29 27 30 28 #undef __FUNCT__ -
issm/trunk/src/wrappers/EnumToString/EnumToString.cpp
r13236 r15396 6 6 7 7 void EnumToStringUsage(void){/*{{{*/ 8 _p printLine_("");9 _p printLine_(" usage: " << __FUNCT__ << "string = EnumToString(enum);");10 _p printLine_("");8 _printf0_("\n"); 9 _printf0_(" usage: " << __FUNCT__ << "string = EnumToString(enum);\n"); 10 _printf0_("\n"); 11 11 }/*}}}*/ 12 12 WRAPPER(EnumToString){ … … 30 30 WriteData(NAME,name); 31 31 32 /*Clean up*/ 33 xDelete<char>(name); 34 32 35 /*end module: */ 33 36 MODULEEND(); -
issm/trunk/src/wrappers/EnumToString/EnumToString.h
r13749 r15396 18 18 19 19 /*Header files: */ 20 #include "../ ../c/include/globals.h"21 #include "../../c/m odules/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" 23 23 #include "../../c/shared/shared.h" 24 #include "../bindings.h"25 24 26 25 #undef __FUNCT__ 27 26 #define __FUNCT__ "EnumToString" 28 27 29 28 #ifdef _HAVE_MATLAB_MODULES_ 30 29 /* serial input macros: */ -
issm/trunk/src/wrappers/Exp2Kml/Exp2Kml.cpp
r13250 r15396 5 5 6 6 void Exp2KmlUsage(void){/*{{{*/ 7 _p printLine_("Exp2Kml - exp to kml file conversion module:");8 _p printLine_("");9 _p printLine_(" This module converts a file from exp to kml format.");10 _p printLine_("");11 _p printLine_(" Usage:");12 _p printLine_(" [ret]=Exp2Kml(filexp,filkml,sgn,'param name',param,...);");13 _p printLine_("");14 _p printLine_(" filexp file name of exp file to be read (char)");15 _p printLine_(" filkml file name of kml file to be written (char)");16 _p printLine_(" sgn sign for hemisphere (double, +1 (north) or -1 (south))");17 _p printLine_("");18 _p printLine_(" central_meridian central meridian (double, optional, but must specify with sp)");19 _p printLine_(" standard_parallel standard parallel (double, optional, but must specify with cm)");20 _p printLine_(" holes flag for treatment of multiple profiles (char, optional, 'yes' for holes))");21 _p printLine_("");22 _p printLine_(" ret return code (non-zero for warning)");23 _p printLine_("");24 _p printLine_(" Examples:");25 _p printLine_(" [ret]=Exp2Kml('file.exp','file.kml', 1);");26 _p printLine_(" [ret]=Exp2Kml('file.exp','file.kml', 1,'central_meridian',45,'standard_parallel',70,'holes','yes');");27 _p printLine_(" [ret]=Exp2Kml('file.exp','file.kml',-1,'central_meridian', 0,'standard_parallel',71,'holes','yes');");28 _p printLine_("");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"); 29 29 }/*}}}*/ 30 30 WRAPPER(Exp2Kml){ … … 67 67 if (options->GetOption("central_meridian") || options->GetOption("standard_parallel")) { 68 68 options->Get(&cm,"central_meridian"); 69 if (verbose) _print Line_(" cm=" << cm);69 if (verbose) _printf_(" cm=" << cm << "\n"); 70 70 options->Get(&sp,"standard_parallel"); 71 if (verbose) _print Line_(" sp=" << sp);71 if (verbose) _printf_(" sp=" << sp << "\n"); 72 72 } 73 73 -
issm/trunk/src/wrappers/Exp2Kml/Exp2Kml.h
r14310 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ -
issm/trunk/src/wrappers/ExpSimplify/ExpSimplify.cpp
r14294 r15396 5 5 6 6 void 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"); 18 21 }/*}}}*/ 19 22 void simplify(Contour<double>* contour,bool* flags,int ind0,int ind1,double tolerance){/*{{{*/ … … 22 25 double distance,beta,dx,dy; 23 26 double maxdistance; 24 int index ;27 int index = -1; 25 28 double *x = contour->x; 26 29 double *y = contour->y; … … 37 40 38 41 /*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])); 41 44 if(i==ind0 || distance>maxdistance){ 42 45 maxdistance=distance; 43 index = i ;46 index = i + 1; 44 47 } 45 48 } … … 54 57 * 55 58 * 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++){ 58 61 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])); 59 62 dx = x[i]-beta*x[ind1]+(beta-1.)*x[ind0]; … … 77 80 /*if not, call simplifyrec for the segments between ind0 and index 78 81 * (index and ind1)*/ 82 _assert_(index!=-1); 83 _assert_(index!=ind1); 84 _assert_(index!=ind0); 79 85 simplify(contour,flags,ind0 ,index,tolerance); 80 86 simplify(contour,flags,index,ind1, tolerance); 81 87 } 82 83 88 84 89 }/*}}}*/ … … 90 95 char* expfile = NULL; 91 96 double tolerance; 97 Options *options = NULL; 98 double minimumvertices_double; 99 int minimumvertices; 92 100 93 101 /*output*/ 94 DataSet* oldcontours = NULL;95 DataSet* newcontours = NULL;102 Contours* oldcontours = NULL; 103 Contours* newcontours = NULL; 96 104 97 105 /*Boot module: */ … … 99 107 100 108 /*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 } 102 113 103 114 /*Input datasets: */ 104 115 FetchData(&expfile, EXPFILE); 105 116 FetchData(&tolerance,TOLERANCE); 117 FetchData(&options,NRHS,nrhs,prhs); 106 118 107 119 /*some checks*/ … … 117 129 double distance; 118 130 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 119 136 /*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(); 122 139 for(int counter=0;counter<oldcontours->Size();counter++){ 123 140 … … 127 144 x = contour->x; 128 145 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"); 130 147 131 148 /*Allocate flags (1=keep, 0=remove)*/ … … 162 179 newnods = 0; 163 180 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>(); 167 186 newcontour->nods = newnods; 168 187 newcontour->x = xNew<double>(newnods); … … 181 200 newcontours->AddObject(newcontour); 182 201 } 202 else{ 203 _printf_(" Final number of vertices in contour #"<<counter+1<<": "<<newnods<<" (not saved)\n"); 204 } 183 205 184 206 /*cleanup*/ 185 207 xDelete<bool>(flags); 186 208 } 209 _printf_(" Initial number of contours: "<<oldcontours->Size() << "\n"); 210 _printf_(" Final number of contours: "<<newcontours->Size() << "\n"); 187 211 188 212 /*Write data: */ … … 191 215 /*Clean-up*/ 192 216 xDelete<char>(expfile); 217 delete options; 193 218 194 219 /*end module: */ -
issm/trunk/src/wrappers/ExpSimplify/ExpSimplify.h
r14294 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ -
issm/trunk/src/wrappers/HoleFiller/HoleFiller.cpp
r13236 r15396 13 13 14 14 void HoleFillerUsage(void){/*{{{*/ 15 _print Line_(" HoleFiller usage:");16 _print Line_(" [image_out]=HoleFiller(image_in,smooth);\n");17 _print Line_(" where:");18 _print Line_(" image_in in double format");19 _print Line_(" smooth: 1 to smooth with a box filer, 0 to leave data raw");20 _print Line_(" image_out in double format");21 _print Line_("");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"); 22 22 }/*}}}*/ 23 23 WRAPPER(HoleFiller){ 24 25 int i,j;26 24 27 25 /* required input: */ … … 31 29 int smooth; 32 30 33 34 31 /* output: */ 35 mxArray* pfield=NULL;36 32 double* imageout=NULL; 37 33 int imageout_rows,imageout_cols; … … 46 42 FetchData(&imagein,&imagein_rows,&imagein_cols,IMAGEIN); 47 43 FetchData(&smooth_flag,SMOOTH); 48 44 49 45 /*Get smooth flag setup: */ 50 46 if (smooth_flag==0) … … 59 55 WriteData(IMAGEOUT,imageout,imagein_rows,imagein_cols); 60 56 57 /*Clean up*/ 58 xDelete<double>(imagein); 59 xDelete<double>(imageout); 60 xDelete<double>(imagein); 61 61 62 /*end module: */ 62 63 MODULEEND(); -
issm/trunk/src/wrappers/HoleFiller/HoleFiller.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ -
issm/trunk/src/wrappers/InternalFront/InternalFront.cpp
r14310 r15396 6 6 7 7 void InternalFrontUsage(void) {/*{{{*/ 8 _p printLine_("");9 _p printLine_(" usage: icefront = " << __FUNCT__ << "(md);");10 _p printLine_("");8 _printf0_("\n"); 9 _printf0_(" usage: icefront = " << __FUNCT__ << "(md);\n"); 10 _printf0_("\n"); 11 11 }/*}}}*/ 12 12 WRAPPER(InternalFront){ -
issm/trunk/src/wrappers/InternalFront/InternalFront.h
r14310 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/shared/shared.h" 21 #include "../bindings.h" 22 #include "../../c/io/io.h" 22 #include "../../c/shared/io/io.h" 23 23 24 24 #undef __FUNCT__ -
issm/trunk/src/wrappers/InterpFromGridToMesh/InterpFromGridToMesh.cpp
r13923 r15396 2 2 * \brief: data interpolation from a list of (x,y,values) into mesh vertices 3 3 */ 4 4 5 5 #include "./InterpFromGridToMesh.h" 6 6 7 7 void InterpFromGridToMeshUsage(void){/*{{{*/ 8 _p printLine_("INTERPFROMGRIDTOMESH - interpolation from a grid onto a list of points");9 _p printLine_("");10 _p printLine_(" This function is a multi-threaded mex file that interpolates a field");11 _p printLine_(" defined on a grid onto a list of points");12 _p printLine_("");13 _p printLine_(" Usage:");14 _p printLine_(" data_mesh=InterpFromGridToMesh(x,y,data,x_mesh,y_mesh,default_value);");15 _p printLine_("");16 _p printLine_(" data: matrix holding the data to be interpolated onto the mesh.");17 _p printLine_(" x,y: coordinates of matrix data. (x and y must be in increasing order)");18 _p printLine_(" x_mesh,y_mesh: coordinates of the points onto which we interpolate.");19 _p printLine_(" default_value: default value if no data is found (holes).");20 _p printLine_(" data_mesh: vector of mesh interpolated data.");21 _p printLine_("");22 _p printLine_(" Example:");23 _p printLine_(" load('velocities.mat');");24 _p printLine_(" md.inversion.vx_obs=InterpFromGridToMesh(x_n,y_m,vx,md.mesh.x,md.mesh.y,0);");25 _p printLine_("");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"); 26 26 }/*}}}*/ 27 27 WRAPPER(InterpFromGridToMesh){ … … 42 42 43 43 /* output: */ 44 SeqVec<double>* data_mesh=NULL;44 IssmSeqVec<double>* data_mesh=NULL; 45 45 46 46 /*Boot module: */ -
issm/trunk/src/wrappers/InterpFromGridToMesh/InterpFromGridToMesh.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ -
issm/trunk/src/wrappers/InterpFromMesh2d/InterpFromMesh2d.cpp
r13236 r15396 2 2 * \brief: data interpolation from a list of (x,y,values) into mesh vertices 3 3 */ 4 4 5 5 #include "./InterpFromMesh2d.h" 6 6 7 7 void InterpFromMesh2dUsage(void){/*{{{*/ 8 _p printLine_(" usage:");9 _p printLine_(" data_prime=InterpFromMesh2d(index,x,y,data,x_prime,y_prime);\n");10 _p printLine_(" or data_prime=InterpFromMesh2d(index,x,y,data,x_prime,y_prime,default_value);\n");11 _p printLine_(" or data_prime=InterpFromMesh2d(index,x,y,data,x_prime,y_prime,default_value,contourname);\n");12 _p printLine_(" where:");13 _p printLine_(" x,y: coordinates of the nodes where data is defined");14 _p printLine_(" index: index of the mesh where data is defined");15 _p printLine_(" data - vector holding the data to be interpolated onto the points.");16 _p printLine_(" x_prime,y_prime: coordinates of the mesh vertices onto which we interpolate.");17 _p printLine_(" default_value: a scalar or vector of size length(x_prime).");18 _p printLine_(" 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 _p printLine_(" data_prime: vector of prime interpolated data.");20 _p printLine_("");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"); 21 21 }/*}}}*/ 22 22 WRAPPER(InterpFromMesh2d){ … … 29 29 double* x_data=NULL; 30 30 int x_data_rows; 31 31 32 32 double* y_data=NULL; 33 33 int y_data_rows; … … 39 39 double* x_prime=NULL; 40 40 double* y_prime=NULL; 41 41 42 42 int x_prime_rows; 43 43 int y_prime_rows; 44 45 44 46 45 double* default_values=NULL; … … 60 59 61 60 /* output: */ 62 SeqVec<double> *data_prime = NULL;61 IssmSeqVec<double> *data_prime = NULL; 63 62 64 63 /*Boot module: */ … … 93 92 94 93 if(nrhs>=8){ 95 94 96 95 /*Call expread on filename to build a contour array in the matlab workspace: */ 97 96 mexCallMATLAB( 1, &matlabstructure, 1, (mxArray**)&FILENAME, "expread"); … … 102 101 for(i=0;i<numcontours;i++){ 103 102 //allocate 104 contouri= xNew<Contour<double> >(1);103 contouri=new Contour<double>(); 105 104 //retrieve dimension of this contour. 106 105 contouri->nods=(int)mxGetScalar(mxGetField(matlabstructure,i,"nods")); … … 113 112 /* Debugging of contours :{{{1*/ 114 113 /*for(i=0;i<numcontours;i++){ 115 _print Line_("\nContour echo: contour number " << i+1 << " / " << numcontours);114 _printf_("\nContour echo: contour number " << i+1 << " / " << numcontours << "\n"); 116 115 contouri=*(contours+i); 117 _print Line_(" Number of vertices " << contouri->nods);116 _printf_(" Number of vertices " << contouri->nods << "\n"); 118 117 for (j=0;j<contouri->nods;j++){ 119 _print Line_(" " << *(contouri->x+j) << "f " << *(contouri->y+j) << "f");118 _printf_(" " << *(contouri->x+j) << "f " << *(contouri->y+j) << "f\n"); 120 119 } 121 120 }*/ … … 127 126 } 128 127 129 130 128 /*some checks*/ 131 129 if (x_data_rows!=y_data_rows){ … … 135 133 _error_("vectors x_prime and y_prime should have the same length!"); 136 134 } 137 135 138 136 /*get number of elements and number of nodes in the data*/ 139 137 nels_data=index_data_rows; -
issm/trunk/src/wrappers/InterpFromMesh2d/InterpFromMesh2d.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ -
issm/trunk/src/wrappers/InterpFromMeshToGrid/InterpFromMeshToGrid.cpp
r13236 r15396 6 6 7 7 void InterpFromMeshToGridUsage(void){/*{{{*/ 8 _p printLine_("INTERPFROMMESHTOGRID - interpolation of a data defined on a mesh onto a grid");9 _p printLine_("");10 _p printLine_(" This function is a multi-threaded mex file that interpolates a field");11 _p printLine_(" defined on a triangular mesh onto a regular grid");12 _p printLine_("");13 _p printLine_(" Usage:");14 _p printLine_(" [x_m,y_m,griddata]=InterpFromMeshToGrid(index,x,y,data,xmin,ymax,xposting,yposting,nlines,ncols,default_value)");15 _p printLine_("");16 _p printLine_(" index,x,y: delaunay triangulation defining the mesh.");17 _p printLine_(" meshdata: vertex values of data to be interpolated.");18 _p printLine_(" xmin,ymax,posting,nlines,ncols: parameters that define the grid");19 _p printLine_(" default_value: value of points located out of the mesh.");20 _p printLine_("");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"); 21 21 }/*}}}*/ 22 22 WRAPPER(InterpFromMeshToGrid){ … … 41 41 double* x_m=NULL; 42 42 double* y_m=NULL; 43 44 43 45 44 /*Boot module: */ … … 72 71 /*Free ressources: */ 73 72 //let matlab do this. 74 73 75 74 /*end module: */ 76 75 MODULEEND(); -
issm/trunk/src/wrappers/InterpFromMeshToGrid/InterpFromMeshToGrid.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ -
issm/trunk/src/wrappers/InterpFromMeshToMesh2d/InterpFromMeshToMesh2d.cpp
r13236 r15396 5 5 6 6 void InterpFromMeshToMesh2dUsage(void){/*{{{*/ 7 _p printLine_("INTERFROMMESHTOMESH2D - interpolation from a 2d triangular mesh onto a list of point");8 _p printLine_("");9 _p printLine_(" This function is a multi-threaded mex file that interpolates a field");10 _p printLine_(" defined on a Delaunay triangulation onto a list of point");11 _p printLine_("");12 _p printLine_(" Usage:");13 _p printLine_(" data_interp=InterpFromMeshToMesh2d(index,x,y,data,x_interp,y_interp);");14 _p printLine_(" or data_interp=InterpFromMeshToMesh2d(index,x,y,data,x_interp,y_interp,OPTIONS);");15 _p printLine_("");16 _p printLine_(" index : index of the mesh where data is defined");17 _p printLine_(" x,y : coordinates of the nodes where data is defined");18 _p printLine_(" data : matrix holding the data to be interpolated onto the mesh. (one column per field)");19 _p printLine_(" x_interp,y_interp : coordinates of the points onto which we interpolate.");20 _p printLine_(" data_interp : vector of mesh interpolated data.");21 _p printLine_(" Available options :");22 _p printLine_(" - 'default' : default value if point is outsite of triangulation (instead of linear interolation)");23 _p printLine_("");24 _p printLine_(" Example:");25 _p printLine_(" load('temperature.mat');");26 _p printLine_(" md.initialization.temperature=InterpFromMeshToMesh2d(index,x,y,temperature,md.mesh.x,md.mesh.y);");27 _p printLine_(" md.initialization.temperature=InterpFromMeshToMesh2d(index,x,y,temperature,md.mesh.x,md.mesh.y,'default',253);");28 _p printLine_("");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"); 29 29 }/*}}}*/ 30 30 WRAPPER(InterpFromMeshToMesh2d){ -
issm/trunk/src/wrappers/InterpFromMeshToMesh2d/InterpFromMeshToMesh2d.h
r13749 r15396 18 18 19 19 /*Header files: */ 20 #include "../../c/include/globals.h" 20 #include "../bindings.h" 21 #include "../../c/main/globals.h" 21 22 #include "../../c/toolkits/toolkits.h" 22 #include "../../c/include/include.h"23 23 #include "../../c/modules/modules.h" 24 #include "../../c/Container/Container.h"25 24 #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" 29 27 30 28 #undef __FUNCT__ -
issm/trunk/src/wrappers/InterpFromMeshToMesh3d/InterpFromMeshToMesh3d.cpp
r13236 r15396 2 2 * \brief: data interpolation from a list of (x,y,values) into mesh vertices 3 3 */ 4 4 5 5 #include "./InterpFromMeshToMesh3d.h" 6 6 7 7 void InterpFromMeshToMesh3dUsage(void){/*{{{*/ 8 _p printLine_("INTERPFROMMESHTOMESH3D - interpolation from a 3d hexahedron mesh onto a list of point");9 _p printLine_("");10 _p printLine_(" This function is a multi-threaded mex file that interpolates a field");11 _p printLine_(" defined on a triangular mesh onto a list of point");12 _p printLine_("");13 _p printLine_(" Usage:");14 _p printLine_(" data_prime=InterpFromMeshToMesh3d(index,x,y,z,data,x_prime,y_prime,z_prime,default_value);");15 _p printLine_("");16 _p printLine_(" index: index of the mesh where data is defined");17 _p printLine_(" x,y,z: coordinates of the nodes where data is defined");18 _p printLine_(" data: matrix holding the data to be interpolated onto the mesh.");19 _p printLine_(" x_prime,y_prime,z_prime: coordinates of the points onto which we interpolate.");20 _p printLine_(" default_value: default value if no data is found (holes).");21 _p printLine_(" data_prime: vector of mesh interpolated data.");22 _p printLine_("");23 _p printLine_(" Example:");24 _p printLine_(" load('temperature.mat');");25 _p printLine_(" md.initialization.temperature=InterpFromMeshToMesh3d(index,x,y,z,temperature,md.mesh.x,md.mesh.y,md.mesh.z,253);");26 _p printLine_("");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"); 27 27 }/*}}}*/ 28 28 WRAPPER(InterpFromMeshToMesh3d){ … … 47 47 double* y_prime=NULL; 48 48 double* z_prime=NULL; 49 49 50 50 int x_prime_rows; 51 51 int y_prime_rows; … … 60 60 61 61 /* output: */ 62 SeqVec<double>* data_prime=NULL;62 IssmSeqVec<double>* data_prime=NULL; 63 63 64 64 /*Boot module: */ -
issm/trunk/src/wrappers/InterpFromMeshToMesh3d/InterpFromMeshToMesh3d.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ -
issm/trunk/src/wrappers/KMLFileRead/KMLFileRead.cpp
r13250 r15396 5 5 6 6 void KMLFileReadUsage(void){/*{{{*/ 7 _p printLine_("KMLFileRead - KML file reader module:");8 _p printLine_("");9 _p printLine_(" This module reads a KML file.");10 _p printLine_("");11 _p printLine_(" Usage:");12 _p printLine_(" [ierror]=KMLFileRead(kmlfile,'param name',param,...);");13 _p printLine_("");14 _p printLine_(" kmlfile file name of kml file to be read (char)");15 _p printLine_("");16 _p printLine_(" echo echo command (char, optional, 'off'/'on')");17 _p printLine_(" deepecho deep echo command (char, optional, 'off'/'on')");18 _p printLine_(" write write command (char, optional, 'off'/'stdout'/kmlfile)");19 _p printLine_("");20 _p printLine_(" ierror return code (non-zero for error)");21 _p printLine_("");22 _p printLine_(" Examples:");23 _p printLine_(" [ierror]=KMLFileRead('file.kml','deepecho','on');");24 _p printLine_(" [ierror]=KMLFileRead('filin.kml','echo','on','write','filout.kml');");25 _p printLine_("");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"); 26 26 }/*}}}*/ 27 27 WRAPPER(KMLFileRead){ … … 84 84 if (!strlen(filnam)) strcpy(filnam,"stdout"); 85 85 86 if (verbose) _print Line_("Opening file \"" << filnam << "\".");86 if (verbose) _printf_("Opening file \"" << filnam << "\".\n"); 87 87 fidi=fopen(filnam,"r"); 88 88 89 89 /* Run core computations: */ 90 if (verbose) _print Line_("Calling core:");90 if (verbose) _printf_("Calling core:\n"); 91 91 kobj=KMLFileReadx(fidi); 92 92 93 if (verbose) _print Line_("Closing file \"" << filnam << "\".");93 if (verbose) _printf_("Closing file \"" << filnam << "\".\n"); 94 94 fclose(fidi); 95 95 … … 104 104 } 105 105 else { 106 if (verbose) _print Line_("Opening file \"" << write << "\".");106 if (verbose) _printf_("Opening file \"" << write << "\".\n"); 107 107 fido=fopen(write,"w"); 108 108 kobj->Write(fido,""); 109 if (verbose) _print Line_("Closing file \"" << write << "\".");109 if (verbose) _printf_("Closing file \"" << write << "\".\n"); 110 110 ierror=fclose(fido); 111 111 } -
issm/trunk/src/wrappers/KMLFileRead/KMLFileRead.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ -
issm/trunk/src/wrappers/KMLMeshWrite/KMLMeshWrite.cpp
r13250 r15396 5 5 6 6 void KMLMeshWriteUsage(void){/*{{{*/ 7 _p printLine_("KMLMeshWrite - KML mesh writer module:");8 _p printLine_("");9 _p printLine_(" This module writes the mesh of a model as KML polygons into the specified KML file.");10 _p printLine_("");11 _p printLine_(" Usage:");12 _p printLine_(" ierror=KMLMeshWrite(name,notes,elem,nodecon,lat,long,part,data,cmap,kmlfile);");13 _p printLine_("");14 _p printLine_(" name model name (string, may be empty)");15 _p printLine_(" notes model notes (string or cell array of strings, may be empty)");16 _p printLine_(" elem elements (double array)");17 _p printLine_(" nodecon nodal connectivity array (double array, may be empty)");18 _p printLine_(" lat nodal latititudes (double vector)");19 _p printLine_(" long nodal longitudes (double vector)");20 _p printLine_(" part nodal partitions (double vector, may be empty)");21 _p printLine_(" data nodal or element data (double vector, may be empty)");22 _p printLine_(" cmap color map (double nx3 array, may be empty)");23 _p printLine_(" kmlfile KML file name (string)");24 _p printLine_("");25 _p printLine_(" ierror error flag (double, non-zero for error)");26 _p printLine_("");27 _p printLine_(" Example:");28 _p printLine_(" KMLMeshWrite(md.name,md.notes,md.elements,md.nodeconnectivity,md.lat,md.long,md.part,md.fm_criterion,options.cmap,filekml);");29 _p printLine_("");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"); 30 30 }/*}}}*/ 31 31 WRAPPER(KMLMeshWrite){ -
issm/trunk/src/wrappers/KMLMeshWrite/KMLMeshWrite.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ -
issm/trunk/src/wrappers/KMLOverlay/KMLOverlay.cpp
r13250 r15396 5 5 6 6 void KMLOverlayUsage(void){/*{{{*/ 7 _p printLine_("KMLOverlay - KML file overlay module:");8 _p printLine_("");9 _p printLine_(" This module reads a list of image files and writes a KML or KMZ overlay file.");10 _p printLine_("");11 _p printLine_(" Usage:");12 _p printLine_(" ierror=KMLOverlay(kmlfile,'param name',param,...);");13 _p printLine_("");14 _p printLine_(" kmlfile KML or KMZ file name (string)");15 _p printLine_("");16 _p printLine_(" lataxis latitude axis (double vector [south north], required)");17 _p printLine_(" longaxis longitude axis (double vector [west east], required)");18 _p printLine_(" images relative or http image file names (string or array of strings or cell array of strings, required)");19 _p printLine_(" zip flag to zip the doc.kml and image files into kmzfile (double, non-zero for kmz)");20 _p printLine_("");21 _p printLine_(" ierror error flag (double, non-zero for error)");22 _p printLine_("");23 _p printLine_(" Example:");24 _p printLine_(" KMLOverlay(kmlfile,'lataxis',[south north],'longaxis',[west east],'images',{'file1.png','http://issm/file2.png'},'zip',1);");25 _p printLine_("");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"); 26 26 }/*}}}*/ 27 27 WRAPPER(KMLOverlay){ … … 63 63 64 64 options->Get(&lataxis ,&nlat ,(char*)"lataxis"); 65 if (verbose && lataxis) for (i=0; i<nlat; i++) _print Line_(" lataxis [" << i << "]=" << lataxis[i]);65 if (verbose && lataxis) for (i=0; i<nlat; i++) _printf_(" lataxis [" << i << "]=" << lataxis[i] << "\n"); 66 66 options->Get(&longaxis,&nlong,(char*)"longaxis"); 67 if (verbose && longaxis) for (i=0; i<nlong; i++) _print Line_(" longaxis[" << i << "]=" << longaxis[i]);67 if (verbose && longaxis) for (i=0; i<nlong; i++) _printf_(" longaxis[" << i << "]=" << longaxis[i] << "\n"); 68 68 options->Get(&pimages,&nimages,(char*)"images"); 69 if (verbose && pimages) for (i=0; i<nimages; i++) _print Line_(" pimages[" << i << "]=\"" << pimages[i] << "\"");69 if (verbose && pimages) for (i=0; i<nimages; i++) _printf_(" pimages[" << i << "]=\"" << pimages[i] << "\"\n"); 70 70 options->Get(&dzip,(char*)"zip",0.); 71 if (verbose) _print Line_(" dzip=" << dzip);71 if (verbose) _printf_(" dzip=" << dzip << "\n"); 72 72 73 73 /*some checks*/ … … 84 84 if(!strlen(filkml)) strcpy(filkml,"stdout"); 85 85 86 if(verbose) _print Line_("Opening kml overlay file \"" << filkml << "\".");86 if(verbose) _printf_("Opening kml overlay file \"" << filkml << "\".\n"); 87 87 fid=fopen(filkml,"w"); 88 88 89 89 /* Run core computations: */ 90 if (verbose) _print Line_("Calling core:");90 if (verbose) _printf_("Calling core:\n"); 91 91 KMLOverlayx(&ierror,lataxis,longaxis,nimages,pimages,fid); 92 92 93 if (verbose) _print Line_("Closing file \"" << filkml << "\".");93 if (verbose) _printf_("Closing file \"" << filkml << "\".\n"); 94 94 fclose(fid); 95 95 … … 108 108 strcat(czip,pimages[i]); 109 109 } 110 if (verbose) _print Line_("Zipping file \"" << filkmz << "\".");111 if (verbose) _print Line_(czip);110 if (verbose) _printf_("Zipping file \"" << filkmz << "\".\n"); 111 if (verbose) _printf_(czip << "\n"); 112 112 113 113 if (mexEvalString(czip)) _error_("Error zipping file \"" << filkmz << "\"."); -
issm/trunk/src/wrappers/KMLOverlay/KMLOverlay.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ -
issm/trunk/src/wrappers/Kml2Exp/Kml2Exp.cpp
r13250 r15396 5 5 6 6 void Kml2ExpUsage(void){/*{{{*/ 7 _p printLine_("Kml2Exp - kml to exp file conversion module:");8 _p printLine_("");9 _p printLine_(" This module converts a file from kml to exp format.");10 _p printLine_("");11 _p printLine_(" Usage:");12 _p printLine_(" [ret]=Kml2Exp(filexp,filkml,sgn,'param name',param,...);");13 _p printLine_("");14 _p printLine_(" filkml file name of kml file to be read (char)");15 _p printLine_(" filexp file name of exp file to be written (char)");16 _p printLine_(" sgn sign for hemisphere (double, +1 (north) or -1 (south))");17 _p printLine_("");18 _p printLine_(" central_meridian central meridian (double, optional, but must specify with sp)");19 _p printLine_(" standard_parallel standard parallel (double, optional, but must specify with cm)");20 _p printLine_("");21 _p printLine_(" ret return code (non-zero for warning)");22 _p printLine_("");23 _p printLine_(" Examples:");24 _p printLine_(" [ret]=Kml2Exp('file.kml','file.exp', 1);");25 _p printLine_(" [ret]=Kml2Exp('file.kml','file.exp', 1,'central_meridian',45,'standard_parallel',70);");26 _p printLine_(" [ret]=Kml2Exp('file.kml','file.exp',-1,'central_meridian', 0,'standard_parallel',71);");27 _p printLine_("");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"); 28 28 }/*}}}*/ 29 29 WRAPPER(Kml2Exp){ … … 60 60 if (options->GetOption("central_meridian") || options->GetOption("standard_parallel")) { 61 61 options->Get(&cm,"central_meridian"); 62 if (verbose) _print Line_(" cm=" << cm);62 if (verbose) _printf_(" cm=" << cm << "\n"); 63 63 options->Get(&sp,"standard_parallel"); 64 if (verbose) _print Line_(" sp=" << sp);64 if (verbose) _printf_(" sp=" << sp << "\n"); 65 65 } 66 66 -
issm/trunk/src/wrappers/Kml2Exp/Kml2Exp.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ -
issm/trunk/src/wrappers/Kriging/Kriging.cpp
r14067 r15396 9 9 num=_NUMTHREADS_; 10 10 #endif 11 _p printLine_("");12 _p printLine_(" usage: predictions=" << __FUNCT__ << "(x,y,observations,x_interp,y_interp,'options');");13 _p printLine_(" available options:");14 _p printLine_(" -'model': Available variogram models 'gaussian' (default),'spherical','power','exponential'");15 _p printLine_(" -'nugget': nugget effect (default 0.2)");16 _p printLine_(" -'range': for gaussian, spherical and exponential models (default sqrt(3))");17 _p printLine_(" -'sill': for gaussian, spherical and exponential models (default 1)");18 _p printLine_(" -'slope': for power model (default 1)");19 _p printLine_(" -'power': for power model (default 1)");20 _p printLine_(" -'searchradius': search radius for each prediction (default is observations span)");21 _p printLine_(" -'boxlength': minimum length of quadtree boxes (useful to decrease the number of observations)");22 _p printLine_(" -'maxdata': minimum number of observations for a prediction (default is 50)");23 _p printLine_(" -'mindata': maximum number of observations for a prediction (default is 1)");24 _p printLine_(" -'maxtrimming': maximum trimming value (default is -1.e+21)");25 _p printLine_(" -'mintrimming': minimum trimming value (default is +1.e+21)");26 _p printLine_(" -'minspacing': minimum distance between observation (default is 0.01)");27 _p printLine_(" -'numthreads': number of threads, default is "<<num);28 _p printLine_("");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"); 29 29 }/*}}}*/ 30 30 WRAPPER(Kriging){ -
issm/trunk/src/wrappers/Kriging/Kriging.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 22 #include "../../c/shared/shared.h" 22 #include "../bindings.h"23 23 24 24 #undef __FUNCT__ -
issm/trunk/src/wrappers/Ll2xy/Ll2xy.cpp
r13236 r15396 5 5 6 6 void Ll2xyUsage(void){/*{{{*/ 7 _p printLine_("Ll2xy - lat/long to x/y coordinate transformation module:");8 _p printLine_("");9 _p printLine_(" This module transforms lat/long to x/y coordinates.");10 _p printLine_("");11 _p printLine_(" Usage:");12 _p printLine_(" [x,y]=Ll2xy(lat,lon,sgn,'param name',param,...);");13 _p printLine_("");14 _p printLine_(" lat latitude coordinates (double vector)");15 _p printLine_(" lon longitude coordinates (double vector)");16 _p printLine_(" sgn sign for hemisphere (double, +1 (north) or -1 (south))");17 _p printLine_("");18 _p printLine_(" central_meridian central meridian (double, optional, but must specify with sp)");19 _p printLine_(" standard_parallel standard parallel (double, optional, but must specify with cm)");20 _p printLine_("");21 _p printLine_(" x x coordinates (double vector)");22 _p printLine_(" y y coordinates (double vector)");23 _p printLine_("");24 _p printLine_(" Examples:");25 _p printLine_(" [x,y]=Ll2xy(lat,lon, 1);");26 _p printLine_(" [x,y]=Ll2xy(lat,lon, 1,'central_meridian',45,'standard_parallel',70);");27 _p printLine_(" [x,y]=Ll2xy(lat,lon,-1,'central_meridian', 0,'standard_parallel',71);");28 _p printLine_("");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"); 29 29 }/*}}}*/ 30 30 WRAPPER(Ll2xy){ … … 64 64 if(options->GetOption("central_meridian") || options->GetOption("standard_parallel")){ 65 65 options->Get(&cm,"central_meridian"); 66 if (verbose) _print Line_(" cm=" << cm);66 if (verbose) _printf_(" cm=" << cm << "\n"); 67 67 options->Get(&sp,"standard_parallel"); 68 if (verbose) _print Line_(" sp=" << sp);68 if (verbose) _printf_(" sp=" << sp << "\n"); 69 69 } 70 70 71 71 /*some checks*/ 72 if (verbose) _print Line_("Checking inputs:");72 if (verbose) _printf_("Checking inputs:\n"); 73 73 if (nlat != nlon){_error_("Must have same number of lat[" << nlat << "] and lon[" << nlon << "] coordinates.");} 74 74 else ncoord=nlat; -
issm/trunk/src/wrappers/Ll2xy/Ll2xy.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ -
issm/trunk/src/wrappers/MeshPartition/MeshPartition.cpp
r13236 r15396 2 2 * \brief: partition mesh according to number of areas, using Metis library. 3 3 */ 4 4 5 5 #include "./MeshPartition.h" 6 6 7 7 void MeshPartitionUsage(void){/*{{{*/ 8 _print Line_(" usage:");9 _print String_(" [element_partitioning,node_partitioning]=MeshPartition(md.mesh,numpartitions)");10 _print Line_(" where:");11 _print Line_(" element_partitioning is a vector of partitioning area numbers, for every element.");12 _print Line_(" node_partitioning is a vector of partitioning area numbers, for every node.");13 _print Line_("");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"); 14 14 }/*}}}*/ 15 15 WRAPPER(MeshPartition){ … … 67 67 element_partitioning[i]=(double)int_element_partitioning[i]+1; //Metis indexing from 0, matlab from 1. 68 68 } 69 69 70 70 node_partitioning=xNew<double>(numberofvertices); 71 71 for (i=0;i<numberofvertices;i++){ … … 76 76 WriteData(ELEMENTPARTITIONING,element_partitioning,numberofelements); 77 77 WriteData(NODEPARTITIONING,node_partitioning,numberofvertices); 78 78 79 79 /*Free ressources:*/ 80 80 //don't! let matlab do it. -
issm/trunk/src/wrappers/MeshPartition/MeshPartition.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ … … 50 49 #define NRHS 2 51 50 52 53 51 #endif /* _MESHPARTITION_H */ 54 -
issm/trunk/src/wrappers/MeshProfileIntersection/MeshProfileIntersection.cpp
r14310 r15396 15 15 mesh. 16 16 */ 17 17 18 18 #include "./MeshProfileIntersection.h" 19 19 20 20 void MeshProfileIntersectionUsage(void){/*{{{*/ 21 _print Line_(" usage:");22 _print Line_(" [segments]=MeshProfileIntersection(index,x,y,filename);");23 _print Line_(" where:");24 _print Line_(" input:");25 _print Line_(" index,x,y is a triangulation");26 _print Line_(" filename: name of Argus style .exp file containing the segments (can be groups of disconnected segments)");27 _print Line_(" output:");28 _print Line_(" segments: array made of x1,y1,x2,y2,element_id lines (x1,y1) and (x2,y2) are segment extremities for a segment");29 _print Line_(" belonging to the elemnt_id element. there are as many lines in segments as there are segments intersecting the");30 _print Line_(" 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"); 31 31 }/*}}}*/ 32 32 WRAPPER(MeshProfileIntersection){ … … 36 36 /* required input: */ 37 37 //mesh 38 double * double_index=NULL;39 int * index=NULL;38 double *double_index = NULL; 39 int *index = NULL; 40 40 int nel; 41 double * x=NULL;42 double * y=NULL;41 double *x = NULL; 42 double *y = NULL; 43 43 int nods; 44 44 int dummy; 45 45 46 46 //contours 47 DataSet*domain = NULL;47 Contours *domain = NULL; 48 48 Contour<double> **contours=NULL; 49 49 int numcontours; … … 76 76 //contours 77 77 FetchData(&domain,FILENAME); 78 // MeshProfileIntersectionx should be modified to take DataSet directly (and perhaps SeqMat andSeqVec).78 // MeshProfileIntersectionx should be modified to take DataSet directly (and perhaps IssmDenseMat and IssmSeqVec). 79 79 numcontours=domain->Size(); 80 80 contours=xNew<Contour<double>*>(numcontours); -
issm/trunk/src/wrappers/MeshProfileIntersection/MeshProfileIntersection.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ … … 53 52 54 53 #endif /* _MESHPROFILEINTERSECTION_H */ 55 -
issm/trunk/src/wrappers/NodeConnectivity/NodeConnectivity.cpp
r14067 r15396 6 6 7 7 void NodeConnectivityUsage(void){/*{{{*/ 8 _p printLine_("");9 _p printLine_(" usage: connectivity = " << __FUNCT__ << "(elements, numnodes);");10 _p printLine_("");8 _printf0_("\n"); 9 _printf0_(" usage: connectivity = " << __FUNCT__ << "(elements, numnodes);\n"); 10 _printf0_("\n"); 11 11 }/*}}}*/ 12 12 WRAPPER(NodeConnectivity){ … … 26 26 /*checks on arguments: */ 27 27 CHECKARGUMENTS(NLHS,NRHS,&NodeConnectivityUsage); 28 28 29 29 /*Input datasets: */ 30 30 FetchData(&elements,&nels,NULL,ELEMENTS); -
issm/trunk/src/wrappers/NodeConnectivity/NodeConnectivity.h
r13749 r15396 21 21 22 22 /*Header files: */ 23 #include "../../c/include/globals.h" 23 #include "../bindings.h" 24 #include "../../c/main/globals.h" 24 25 #include "../../c/toolkits/toolkits.h" 25 #include "../../c/include/include.h"26 26 #include "../../c/modules/modules.h" 27 #include "../../c/Container/Container.h"28 27 #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" 32 30 33 31 #ifdef _HAVE_MATLAB_MODULES_ -
issm/trunk/src/wrappers/PointCloudFindNeighbors/PointCloudFindNeighbors.cpp
r13236 r15396 2 2 \brief: flag points that are too near one another, within an array of point coordinates 3 3 */ 4 4 5 5 #include "./PointCloudFindNeighbors.h" 6 6 7 7 void PointCloudFindNeighborsUsage(void){/*{{{*/ 8 _print Line_(" usage:");9 _print Line_(" [flags]=PointCloudFindNeighbors(x,y,mindistance,multithread);\n");10 _print Line_(" where:");11 _print Line_(" x,y: list of points.");12 _print Line_(" mindistance: minimum distance that should exist between points in the cloud.");13 _print Line_(" multithread: run multithreaded or not. with multithreads, flags can get 1 and 2 values in duplicates.");14 _print Line_(" flags: array of flags (flag==1 means point is within mindistance of another point)");15 _print Line_("");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"); 16 16 }/*}}}*/ 17 17 WRAPPER(PointCloudFindNeighbors){ … … 27 27 28 28 /* output: */ 29 SeqVec<double> *flags = NULL;29 IssmSeqVec<double> *flags = NULL; 30 30 31 31 /*Boot module: */ -
issm/trunk/src/wrappers/PointCloudFindNeighbors/PointCloudFindNeighbors.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ -
issm/trunk/src/wrappers/PropagateFlagsFromConnectivity/PropagateFlagsFromConnectivity.cpp
r13250 r15396 6 6 7 7 void PropagateFlagsFromConnectivityUsage(void) {/*{{{*/ 8 _print Line_("");9 _print Line_(" usage: [pool] = " << __FUNCT__ << "(connectivity,pool,index,flags);");;10 _print Line_("");8 _printf_("\n"); 9 _printf_(" usage: [pool] = " << __FUNCT__ << "(connectivity,pool,index,flags);\n");; 10 _printf_("\n"); 11 11 }/*}}}*/ 12 12 WRAPPER(PropagateFlagsFromConnectivity){ … … 19 19 int index; 20 20 int dummy; 21 21 22 22 /*Boot module: */ 23 23 MODULEBOOT(); … … 25 25 /*checks on arguments on the matlab side: */ 26 26 CheckNumMatlabArguments(nlhs,NLHS,nrhs,NRHS,__FUNCT__,&PropagateFlagsFromConnectivityUsage); 27 27 28 28 /*Input datasets: */ 29 29 FetchData(&connectivity,&nel,&dummy,CONNECTIVITY); -
issm/trunk/src/wrappers/PropagateFlagsFromConnectivity/PropagateFlagsFromConnectivity.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ -
issm/trunk/src/wrappers/Scotch/Scotch.cpp
r13236 r15396 35 35 36 36 /* Check for proper number of arguments */ 37 37 38 38 if (nrhs == 0 && nlhs == 0) { 39 39 GmapUsage(); -
issm/trunk/src/wrappers/Scotch/Scotch.h
r13749 r15396 6 6 #define _SCOTCH_H 7 7 8 #include "../bindings.h" /*Should always come first to avoid python's warnings*/ 8 9 #include <stdio.h> 9 10 #include <string.h> /* strcasecmp */ 10 11 #include <time.h> /* clock,time,difftime */ 11 #include "../../c/ include/globals.h"12 #include "../../c/main/globals.h" 12 13 #include "../../c/modules/modules.h" 13 #include "../../c/Container/Container.h"14 14 #include "../../c/shared/shared.h" 15 #include "../bindings.h" 16 15 17 16 #undef __FUNCT__ 18 17 #define __FUNCT__ "Scotch" -
issm/trunk/src/wrappers/Shp2Exp/Shp2Exp.cpp
r14283 r15396 12 12 13 13 void Shp2ExpUsage(void){/*{{{*/ 14 _p printLine_("Shp2Exp - shp to exp file conversion module:");15 _p printLine_("");16 _p printLine_(" This module converts a file from shp to exp format.");17 _p printLine_("");18 _p printLine_(" Usage:");19 _p printLine_(" [ret]=Shp2Exp(filshp,filexp,sgn,'param name',param,...);");20 _p printLine_("");21 _p printLine_(" filshp file name of shp file to be read (char, extension optional)");22 _p printLine_(" filexp file name of exp file to be written (char)");23 _p printLine_("");24 _p printLine_(" ret return code (non-zero for warning)");25 _p printLine_("");26 _p printLine_(" Examples:");27 _p printLine_(" [ret]=Shp2Exp('file.shp','file.exp');");28 _p printLine_("");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"); 29 29 }/*}}}*/ 30 30 WRAPPER(Shp2Exp){ -
issm/trunk/src/wrappers/Shp2Exp/Shp2Exp.h
r14283 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ … … 49 48 50 49 #endif 51 -
issm/trunk/src/wrappers/Shp2Kml/Shp2Kml.cpp
r13250 r15396 12 12 13 13 void Shp2KmlUsage(void){/*{{{*/ 14 _p printLine_("Shp2Kml - shp to kml file conversion module:");15 _p printLine_("");16 _p printLine_(" This module converts a file from shp to kml format.");17 _p printLine_("");18 _p printLine_(" Usage:");19 _p printLine_(" [ret]=Shp2Kml(filshp,filkml,sgn,'param name',param,...);");20 _p printLine_("");21 _p printLine_(" filshp file name of shp file to be read (char, extension optional)");22 _p printLine_(" filkml file name of kml file to be written (char)");23 _p printLine_(" sgn sign for hemisphere (double, +1 (north); -1 (south); or 0 (no translation))");24 _p printLine_("");25 _p printLine_(" central_meridian central meridian (double, optional, but must specify with sp)");26 _p printLine_(" standard_parallel standard parallel (double, optional, but must specify with cm)");27 _p printLine_("");28 _p printLine_(" ret return code (non-zero for warning)");29 _p printLine_("");30 _p printLine_(" Examples:");31 _p printLine_(" [ret]=Shp2Kml('file.shp','file.kml', 0);");32 _p printLine_(" [ret]=Shp2Kml('file.shp','file.kml', 1,'central_meridian',45,'standard_parallel',70);");33 _p printLine_(" [ret]=Shp2Kml('file.shp','file.kml',-1,'central_meridian', 0,'standard_parallel',71);");34 _p printLine_("");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"); 35 35 }/*}}}*/ 36 36 WRAPPER(Shp2Kml){ … … 71 71 if (options->GetOption("central_meridian") || options->GetOption("standard_parallel")) { 72 72 options->Get(&cm,"central_meridian"); 73 if (verbose) _print Line_(" cm=" << cm);73 if (verbose) _printf_(" cm=" << cm << "\n"); 74 74 options->Get(&sp,"standard_parallel"); 75 if (verbose) _print Line_(" sp=" << sp);75 if (verbose) _printf_(" sp=" << sp << "\n"); 76 76 } 77 77 -
issm/trunk/src/wrappers/Shp2Kml/Shp2Kml.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ … … 51 50 52 51 #endif 53 -
issm/trunk/src/wrappers/StringToEnum/StringToEnum.cpp
r13236 r15396 6 6 7 7 void StringToEnumUsage(void){/*{{{*/ 8 _p printLine_("");9 _p printLine_(" usage: " << __FUNCT__ << "enum = StringToEnum(string);");10 _p printLine_("");8 _printf0_("\n"); 9 _printf0_(" usage: " << __FUNCT__ << "enum = StringToEnum(string);\n"); 10 _printf0_("\n"); 11 11 }/*}}}*/ 12 12 WRAPPER(StringToEnum){ -
issm/trunk/src/wrappers/StringToEnum/StringToEnum.h
r13749 r15396 18 18 19 19 /*Header files: */ 20 #include "../ ../c/include/globals.h"21 #include "../../c/m odules/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" 23 23 #include "../../c/shared/shared.h" 24 #include "../bindings.h"25 24 26 25 #undef __FUNCT__ 27 26 #define __FUNCT__ "StringToEnum" 28 27 29 28 #ifdef _HAVE_MATLAB_MODULES_ 30 29 /* serial input macros: */ -
issm/trunk/src/wrappers/TriMesh/TriMesh.cpp
r14310 r15396 6 6 7 7 void TriMeshUsage(void){/*{{{*/ 8 _print Line_("");9 _print Line_(" usage: [index,x,y,segments,segmentmarkers]=TriMesh(domainoutlinefilename,rifts,area)");10 _print Line_(" where: index,x,y defines a triangulation, segments is an array made");11 _print Line_(" of exterior segments to the mesh domain outline, segmentmarkers is an array flagging each segment,");12 _print Line_(" outlinefilename an Argus domain outline file,");13 _print Line_(" area is the maximum area desired for any element of the resulting mesh,");14 _print Line_("");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"); 15 15 }/*}}}*/ 16 16 WRAPPER(TriMesh){ 17 17 18 18 /*intermediary: */ 19 double area;20 DataSet*domain = NULL;21 DataSet*rifts = NULL;19 double area; 20 Contours *domain = NULL; 21 Contours *rifts = NULL; 22 22 23 23 /* 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; 29 30 30 31 /*Boot module: */ … … 33 34 /*checks on arguments: */ 34 35 CHECKARGUMENTS(NLHS,NRHS,&TriMeshUsage); 35 36 36 37 /*Fetch data needed for meshing: */ 37 38 FetchData(&domain,DOMAINOUTLINE); … … 40 41 41 42 /*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); 43 44 44 45 /*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); 50 51 51 52 /*free ressources: */ 52 53 delete domain; 53 54 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); 59 60 60 61 /*end module: */ -
issm/trunk/src/wrappers/TriMesh/TriMesh.h
r13749 r15396 18 18 19 19 /*Header files: */ 20 #include "../../c/include/globals.h" 20 #include "../bindings.h" 21 #include "../../c/main/globals.h" 21 22 #include "../../c/toolkits/toolkits.h" 22 #include "../../c/include/include.h"23 23 #include "../../c/modules/modules.h" 24 #include "../../c/Container/Container.h"25 24 #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" 29 27 30 28 #undef __FUNCT__ -
issm/trunk/src/wrappers/TriMeshProcessRifts/TriMeshProcessRifts.cpp
r14310 r15396 6 6 7 7 void TriMeshProcessRiftsUsage(void){/*{{{*/ 8 _print Line_("");9 _print Line_(" usage: [index2,x2,y2,segments2,segmentmarkers2,rifts2]=TriMeshProcessrifts(index1,x1,y1,segments1,segmentmarkers1)");10 _print Line_(" where: (index1,x1,y1,segments1,segmentmarkers1) is an initial triangulation.");11 _print Line_(" 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"); 12 12 }/*}}}*/ 13 13 WRAPPER(TriMeshProcessRifts){ -
issm/trunk/src/wrappers/TriMeshProcessRifts/TriMeshProcessRifts.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ -
issm/trunk/src/wrappers/TriaSearch/TriaSearch.cpp
r13236 r15396 5 5 6 6 void TriaSearchUsage(void){/*{{{*/ 7 _p printLine_("TriaSearch- find triangle holding a point (x0,y0) in a mesh");8 _p printLine_("");9 _p printLine_(" Usage:");10 _p printLine_(" tria=TriaSearch(index,x,y,x0,y0);");11 _p printLine_(" index,x,y: mesh triangulatrion");12 _p printLine_(" x0,y0: coordinates of the point for which we are trying to find a triangle");13 _p printLine_(" x0,y0 can be an array of points");14 _p printLine_("");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"); 15 15 }/*}}}*/ 16 16 WRAPPER(TriaSearch){ -
issm/trunk/src/wrappers/TriaSearch/TriaSearch.h
r13749 r15396 16 16 #endif 17 17 18 #include "../../c/include/globals.h" 18 #include "../bindings.h" 19 #include "../../c/main/globals.h" 19 20 #include "../../c/modules/modules.h" 20 #include "../../c/Container/Container.h"21 21 #include "../../c/shared/shared.h" 22 #include "../bindings.h"23 22 24 23 #undef __FUNCT__ -
issm/trunk/src/wrappers/Xy2ll/Xy2ll.cpp
r13236 r15396 5 5 6 6 void Xy2llUsage(void){/*{{{*/ 7 _p printLine_("Xy2ll - x/y to lat/long coordinate transformation module:");8 _p printLine_("");9 _p printLine_(" This module transforms x/y to lat/long coordinates.");10 _p printLine_("");11 _p printLine_(" Usage:");12 _p printLine_(" [lat,lon]=Xy2ll(x,y,sgn,'param name',param,...);");13 _p printLine_("");14 _p printLine_(" x x coordinates (double vector)");15 _p printLine_(" y y coordinates (double vector)");16 _p printLine_(" sgn sign for hemisphere (double, +1 (north) or -1 (south))");17 _p printLine_("");18 _p printLine_(" central_meridian central meridian (double, optional, but must specify with sp)");19 _p printLine_(" standard_parallel standard parallel (double, optional, but must specify with cm)");20 _p printLine_("");21 _p printLine_(" lat latitude coordinates (double vector)");22 _p printLine_(" lon longitude coordinates (double vector)");23 _p printLine_("");24 _p printLine_(" Examples:");25 _p printLine_(" [lat,lon]=Xy2ll(x,y, 1);");26 _p printLine_(" [lat,lon]=Xy2ll(x,y, 1,'central_meridian',45,'standard_parallel',70);");27 _p printLine_(" [lat,lon]=Xy2ll(x,y,-1,'central_meridian', 0,'standard_parallel',71);");28 _p printLine_("");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"); 29 29 }/*}}}*/ 30 30 WRAPPER(Xy2ll){ … … 63 63 if (options->GetOption("central_meridian") || options->GetOption("standard_parallel")) { 64 64 options->Get(&cm,"central_meridian"); 65 if (verbose) _print Line_(" cm=" << cm);65 if (verbose) _printf_(" cm=" << cm << "\n"); 66 66 options->Get(&sp,"standard_parallel"); 67 if (verbose) _print Line_(" sp=" << sp);67 if (verbose) _printf_(" sp=" << sp << "\n"); 68 68 } 69 69 … … 79 79 80 80 /* Run core computations: */ 81 if (verbose) _print Line_("Calling core:");81 if (verbose) _printf_("Calling core:\n"); 82 82 if (options->GetOption("central_meridian") && options->GetOption("standard_parallel")) 83 83 iret=Xy2llx(lat,lon,x,y,ncoord,sgn,cm,sp); -
issm/trunk/src/wrappers/Xy2ll/Xy2ll.h
r13749 r15396 17 17 #endif 18 18 19 #include "../../c/include/globals.h" 19 #include "../bindings.h" 20 #include "../../c/main/globals.h" 20 21 #include "../../c/modules/modules.h" 21 #include "../../c/Container/Container.h"22 22 #include "../../c/shared/shared.h" 23 #include "../bindings.h"24 23 25 24 #undef __FUNCT__ -
issm/trunk/src/wrappers/bindings.h
r13749 r15396 8 8 #endif 9 9 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 10 16 #ifdef _HAVE_MATLAB_MODULES_ 11 17 #include "./matlab/include/matlabincludes.h" … … 14 20 #endif 15 21 16 #ifdef _HAVE_PYTHON_MODULES_17 #include "./python/include/pythonincludes.h"18 #include "./python/include/wrapper_macros.h"19 #include "./python/io/pythonio.h"20 22 #endif 21 22 #endif -
issm/trunk/src/wrappers/matlab/Makefile.am
r14310 r15396 23 23 ./io/MatlabVectorToDoubleVector.cpp\ 24 24 ./io/MatlabMatrixToDoubleMatrix.cpp\ 25 ./io/MatlabMatrixToSeqMat.cpp\ 26 ./io/MatlabVectorToSeqVec.cpp 25 ./io/MatlabMatrixToIssmMat.cpp\ 26 ./io/MatlabVectorToIssmVec.cpp 27 27 28 28 29 if PETSC … … 36 37 if SHAREDLIBS 37 38 libISSMMatlab_la_SOURCES = $(io_sources) 39 endif 40 #}}} 41 #api io{{{ 42 lib_LIBRARIES += libISSMApi.a 43 if SHAREDLIBS 44 lib_LTLIBRARIES += libISSMApi.la 45 else 46 lib_LTLIBRARIES += 47 endif 48 49 api_sources= ./io/ApiPrintf.cpp 50 51 libISSMApi_a_SOURCES = $(api_sources) 52 libISSMApi_a_CXXFLAGS= $(ALLCXXFLAGS) 53 if SHAREDLIBS 54 libISSMApi_la_SOURCES = $(api_sources) 38 55 endif 39 56 #}}} … … 46 63 ContourToMesh.la\ 47 64 ContourToNodes.la\ 65 EdgeDetection.la\ 48 66 ElementConnectivity.la\ 49 67 EnumToString.la\ … … 84 102 endif 85 103 #}}} 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 {{{ 106 deps = $(MATHLIB) 94 107 95 108 #Triangle library … … 103 116 AM_LDFLAGS += -avoid-version 104 117 endif 105 if SHAREDLIBS106 deps += ./libISSMMatlab.la107 else108 deps += ./libISSMMatlab.a109 AM_LDFLAGS += --no-warnings110 endif111 118 112 119 AM_CXXFLAGS += -D_HAVE_MATLAB_MODULES_ -D_GNU_SOURCE -fPIC -fno-omit-frame-pointer -pthread 113 120 114 121 if SHAREDLIBS 115 deps += 116 else 117 deps += . ./../c/libISSMModules.a ../../c/libISSMCore.a122 deps += ../../c/libISSMModules.la ../../c/libISSMCore.la ./libISSMApi.la ./libISSMMatlab.a 123 else 124 deps += ./libISSMMatlab.a ../../c/libISSMModules.a ../../c/libISSMCore.a ./libISSMApi.a 118 125 if ADOLC 119 126 deps += $(ADOLCLIB) 120 127 endif 121 128 endif 129 130 #MEXLIB needs to be the last (undefined references on larsen) 131 deps += ${MEXLIB} 132 122 133 #Optimization flags: 123 134 AM_CXXFLAGS += $(CXXOPTFLAGS) 124 135 #}}} 125 #Bin sources {{{ 136 # Module sources and dependencies {{{ 137 libISSMMatlab_la_LIBADD = $(MPILIB) $(PETSCLIB) $(GSLLIB) $(MATHLIB) $(MEXLIB) ./../../c/libISSMCore.la 138 libISSMMatlab_la_LDFLAGS = -module 139 140 libISSMApi_la_LIBADD = $(MPILIB) $(PETSCLIB) $(GSLLIB) $(MATHLIB) $(MEXLIB) 141 libISSMApi_la_LDFLAGS = -module 142 126 143 AverageFilter_la_SOURCES = ../AverageFilter/AverageFilter.cpp\ 127 144 ../AverageFilter/AverageFilter.h 128 AverageFilter_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 145 AverageFilter_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 129 146 130 147 BamgMesher_la_SOURCES = ../BamgMesher/BamgMesher.cpp\ 131 148 ../BamgMesher/BamgMesher.h 132 BamgMesher_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 149 BamgMesher_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 133 150 134 151 BamgConvertMesh_la_SOURCES = ../BamgConvertMesh/BamgConvertMesh.cpp\ 135 152 ../BamgConvertMesh/BamgConvertMesh.h 136 BamgConvertMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 153 BamgConvertMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 137 154 138 155 BamgTriangulate_la_SOURCES = ../BamgTriangulate/BamgTriangulate.cpp\ 139 156 ../BamgTriangulate/BamgTriangulate.h 140 BamgTriangulate_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 157 BamgTriangulate_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 141 158 142 159 Chaco_la_SOURCES = ../Chaco/Chaco.cpp\ 143 160 ../Chaco/Chaco.h 144 Chaco_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(CHACOLIB) 161 Chaco_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(CHACOLIB) $(GSLLIB) 145 162 146 163 ContourToMesh_la_SOURCES = ../ContourToMesh/ContourToMesh.cpp\ 147 164 ../ContourToMesh/ContourToMesh.h 148 ContourToMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB) 165 ContourToMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB) $(GSLLIB) 149 166 150 167 ContourToNodes_la_SOURCES = ../ContourToNodes/ContourToNodes.cpp\ 151 168 ../ContourToNodes/ContourToNodes.h 152 ContourToNodes_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 169 ContourToNodes_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 153 170 154 171 ElementConnectivity_la_SOURCES = ../ElementConnectivity/ElementConnectivity.cpp\ 155 172 ../ElementConnectivity/ElementConnectivity.h 156 ElementConnectivity_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 173 ElementConnectivity_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 157 174 158 175 EnumToString_la_SOURCES = ../EnumToString/EnumToString.cpp\ 159 176 ../EnumToString/EnumToString.h 160 EnumToString_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 177 EnumToString_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 161 178 162 179 StringToEnum_la_SOURCES = ../StringToEnum/StringToEnum.cpp\ 163 180 ../StringToEnum/StringToEnum.h 164 StringToEnum_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 181 StringToEnum_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 165 182 166 183 HoleFiller_la_SOURCES = ../HoleFiller/HoleFiller.cpp\ 167 184 ../HoleFiller/HoleFiller.h 168 HoleFiller_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 185 HoleFiller_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 169 186 170 187 InternalFront_la_SOURCES = ../InternalFront/InternalFront.cpp\ 171 188 ../InternalFront/InternalFront.h 172 InternalFront_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 189 InternalFront_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 173 190 174 191 InterpFromGridToMesh_la_SOURCES = ../InterpFromGridToMesh/InterpFromGridToMesh.cpp\ 175 192 ../InterpFromGridToMesh/InterpFromGridToMesh.h 176 InterpFromGridToMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB) 193 InterpFromGridToMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB) $(GSLLIB) 177 194 178 195 InterpFromMeshToMesh2d_la_SOURCES = ../InterpFromMeshToMesh2d/InterpFromMeshToMesh2d.cpp\ 179 196 ../InterpFromMeshToMesh2d/InterpFromMeshToMesh2d.h 180 InterpFromMeshToMesh2d_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB) 197 InterpFromMeshToMesh2d_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB) $(GSLLIB) 181 198 182 199 InterpFromMeshToMesh3d_la_SOURCES = ../InterpFromMeshToMesh3d/InterpFromMeshToMesh3d.cpp\ 183 200 ../InterpFromMeshToMesh3d/InterpFromMeshToMesh3d.h 184 InterpFromMeshToMesh3d_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 201 InterpFromMeshToMesh3d_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 185 202 186 203 InterpFromMeshToGrid_la_SOURCES = ../InterpFromMeshToGrid/InterpFromMeshToGrid.cpp\ 187 204 ../InterpFromMeshToGrid/InterpFromMeshToGrid.h 188 InterpFromMeshToGrid_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 205 InterpFromMeshToGrid_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 189 206 190 207 InterpFromMesh2d_la_SOURCES = ../InterpFromMesh2d/InterpFromMesh2d.cpp\ 191 208 ../InterpFromMesh2d/InterpFromMesh2d.h 192 InterpFromMesh2d_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB) 209 InterpFromMesh2d_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB) $(GSLLIB) 193 210 194 211 KMLFileRead_la_SOURCES = ../KMLFileRead/KMLFileRead.cpp\ 195 212 ../KMLFileRead/KMLFileRead.h 196 KMLFileRead_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 213 KMLFileRead_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 197 214 198 215 KMLMeshWrite_la_SOURCES = ../KMLMeshWrite/KMLMeshWrite.cpp\ 199 216 ../KMLMeshWrite/KMLMeshWrite.h 200 KMLMeshWrite_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 217 KMLMeshWrite_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 201 218 202 219 KMLOverlay_la_SOURCES = ../KMLOverlay/KMLOverlay.cpp\ 203 220 ../KMLOverlay/KMLOverlay.h 204 KMLOverlay_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 221 KMLOverlay_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 205 222 206 223 Xy2ll_la_SOURCES = ../Xy2ll/Xy2ll.cpp\ 207 224 ../Xy2ll/Xy2ll.h 208 Xy2ll_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 225 Xy2ll_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 209 226 210 227 Ll2xy_la_SOURCES = ../Ll2xy/Ll2xy.cpp\ 211 228 ../Ll2xy/Ll2xy.h 212 Ll2xy_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 229 Ll2xy_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 230 231 EdgeDetection_la_SOURCES = ../EdgeDetection/EdgeDetection.cpp\ 232 ../EdgeDetection/EdgeDetection.h 233 EdgeDetection_la_LIBADD= ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 213 234 214 235 ExpSimplify_la_SOURCES = ../ExpSimplify/ExpSimplify.cpp\ 215 236 ../ExpSimplify/ExpSimplify.h 216 ExpSimplify_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 237 ExpSimplify_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 217 238 218 239 Exp2Kml_la_SOURCES = ../Exp2Kml/Exp2Kml.cpp\ 219 240 ../Exp2Kml/Exp2Kml.h 220 Exp2Kml_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 241 Exp2Kml_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 221 242 222 243 Kml2Exp_la_SOURCES = ../Kml2Exp/Kml2Exp.cpp\ 223 244 ../Kml2Exp/Kml2Exp.h 224 Kml2Exp_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 245 Kml2Exp_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 225 246 226 247 Kriging_la_SOURCES = ../Kriging/Kriging.cpp\ 227 248 ../Kriging/Kriging.h 228 Kriging_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(MULTITHREADINGLIB) 249 Kriging_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) $(MULTITHREADINGLIB) $(GSLLIB) 229 250 230 251 MeshPartition_la_SOURCES = ../MeshPartition/MeshPartition.cpp\ 231 252 ../MeshPartition/MeshPartition.h 232 MeshPartition_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(METISLIB) 253 MeshPartition_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(METISLIB) $(GSLLIB) 233 254 234 255 MeshProfileIntersection_la_SOURCES = ../MeshProfileIntersection/MeshProfileIntersection.cpp\ 235 256 ../MeshProfileIntersection/MeshProfileIntersection.h 236 MeshProfileIntersection_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 257 MeshProfileIntersection_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 237 258 238 259 NodeConnectivity_la_SOURCES = ../NodeConnectivity/NodeConnectivity.cpp\ 239 260 ../NodeConnectivity/NodeConnectivity.h 240 NodeConnectivity_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 261 NodeConnectivity_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 241 262 242 263 PointCloudFindNeighbors_la_SOURCES = ../PointCloudFindNeighbors/PointCloudFindNeighbors.cpp\ 243 264 ../PointCloudFindNeighbors/PointCloudFindNeighbors.h 244 PointCloudFindNeighbors_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB) 265 PointCloudFindNeighbors_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB) $(GSLLIB) 245 266 246 267 PropagateFlagsFromConnectivity_la_SOURCES = ../PropagateFlagsFromConnectivity/PropagateFlagsFromConnectivity.cpp\ 247 268 ../PropagateFlagsFromConnectivity/PropagateFlagsFromConnectivity.h 248 PropagateFlagsFromConnectivity_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 269 PropagateFlagsFromConnectivity_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 249 270 250 271 Scotch_la_SOURCES = ../Scotch/Scotch.cpp\ 251 272 ../Scotch/Scotch.h 252 Scotch_la_LIBADD = ${deps} $(SCOTCHLIB) $(MPILIB) 273 Scotch_la_LIBADD = ${deps} $(SCOTCHLIB) $(MPILIB) $(BLASLAPACKLIB) 253 274 254 275 Shp2Exp_la_SOURCES = ../Shp2Exp/Shp2Exp.cpp\ 255 276 ../Shp2Exp/Shp2Exp.h 256 Shp2Exp_la_LIBADD = ${deps} $(SHAPELIBLIB) $(MPILIB) $(PETSCLIB) 277 Shp2Exp_la_LIBADD = ${deps} $(SHAPELIBLIB) $(MPILIB) $(PETSCLIB) $(GSLLIB) 257 278 258 279 Shp2Kml_la_SOURCES = ../Shp2Kml/Shp2Kml.cpp\ 259 280 ../Shp2Kml/Shp2Kml.h 260 Shp2Kml_la_LIBADD = ${deps} $(SHAPELIBLIB) $(MPILIB) $(PETSCLIB) 281 Shp2Kml_la_LIBADD = ${deps} $(SHAPELIBLIB) $(MPILIB) $(PETSCLIB) $(GSLLIB) 261 282 262 283 TriaSearch_la_SOURCES = ../TriaSearch/TriaSearch.cpp\ 263 284 ../TriaSearch/TriaSearch.h 264 TriaSearch_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 285 TriaSearch_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 265 286 266 287 TriMesh_la_SOURCES = ../TriMesh/TriMesh.cpp\ 267 288 ../TriMesh/TriMesh.h 268 TriMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(TRIANGLELIB) 289 TriMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(TRIANGLELIB) $(GSLLIB) 269 290 270 291 TriMeshProcessRifts_la_SOURCES = ../TriMeshProcessRifts/TriMeshProcessRifts.cpp\ 271 292 ../TriMeshProcessRifts/TriMeshProcessRifts.h 272 TriMeshProcessRifts_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 273 #}}} 293 TriMeshProcessRifts_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 294 #}}} -
issm/trunk/src/wrappers/matlab/io/CheckNumMatlabArguments.cpp
r13749 r15396 4 4 5 5 #include "./matlabio.h" 6 #include "../../c/shared/Exceptions/exceptions.h"7 6 8 7 int 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 10 10 11 11 #include "./matlabio.h" 12 #include "../../c/shared/shared.h"13 12 14 13 /*Primitive data types*/ … … 38 37 else{ 39 38 if(!mxIsClass(dataref,"double") && !mxIsClass(dataref,"single")){ 40 _print Line_("Warning: converting matlab data from '" << mxGetClassName(dataref) << "' to 'double'");39 _printf_("Warning: converting matlab data from '" << mxGetClassName(dataref) << "' to 'double'\n"); 41 40 } 42 41 /*Convert matlab matrix to double* matrix: */ … … 85 84 else{ 86 85 if(!mxIsClass(dataref,"double") && !mxIsClass(dataref,"single")){ 87 _print Line_("Warning: converting matlab data from '" << mxGetClassName(dataref) << "' to 'double'");86 _printf_("Warning: converting matlab data from '" << mxGetClassName(dataref) << "' to 'double'\n"); 88 87 } 89 88 /*Convert matlab n-dim array to double* matrix: */ … … 132 131 else{ 133 132 if(!mxIsClass(dataref,"double") && !mxIsClass(dataref,"single")){ 134 _print Line_("Warning: converting matlab data from '" << mxGetClassName(dataref) << "' to 'double'");133 _printf_("Warning: converting matlab data from '" << mxGetClassName(dataref) << "' to 'double'\n"); 135 134 } 136 135 /*Convert matlab matrix to double* matrix: */ … … 635 634 } 636 635 /*}}}*/ 637 /*FUNCTION FetchData( DataSet** pcontours,const mxArray* dataref){{{*/638 void FetchData( DataSet** pcontours,const mxArray* dataref){639 640 int 636 /*FUNCTION FetchData(Contours** pcontours,const mxArray* dataref){{{*/ 637 void FetchData(Contours** pcontours,const mxArray* dataref){ 638 639 int numcontours,index,test1,test2; 641 640 char *contourname = NULL; 642 DataSet*contours = NULL;641 Contours *contours = NULL; 643 642 Contour<double> *contouri = NULL; 644 643 645 644 if (mxIsClass(dataref,"char")){ 646 645 FetchData(&contourname,dataref); 647 contours= DomainOutlineRead<double>(contourname);646 contours=ExpRead<double>(contourname); 648 647 } 649 648 else if(mxIsClass(dataref,"struct")){ 650 649 651 contours=new DataSet(0);650 contours=new Contours(); 652 651 numcontours=mxGetNumberOfElements(dataref); 653 652 654 653 for(int i=0;i<numcontours;i++){ 655 654 656 contouri= xNew<Contour<double> >(1);655 contouri=new Contour<double>(); 657 656 658 657 index = mxGetFieldNumber(dataref,"nods"); -
issm/trunk/src/wrappers/matlab/io/MatlabMatrixToDoubleMatrix.cpp
r13749 r15396 11 11 /*Matlab includes: */ 12 12 #include "./matlabio.h" 13 #include "../../c/shared/shared.h"14 13 15 14 int MatlabMatrixToDoubleMatrix(double** pmatrix,int* pmatrix_rows,int* pmatrix_cols,const mxArray* mxmatrix){ -
issm/trunk/src/wrappers/matlab/io/MatlabMatrixToMatrix.cpp
r13749 r15396 8 8 #endif 9 9 10 #include <stdio.h>11 #include <string.h>12 10 #include "./matlabio.h" 13 #include "../../c/shared/shared.h"14 #include "../../c/toolkits/toolkits.h"15 11 16 12 Matrix<double>* MatlabMatrixToMatrix(const mxArray* mxmatrix){ … … 25 21 matrix->pmatrix=MatlabMatrixToPetscMat(mxmatrix); 26 22 #else 27 matrix-> smatrix=MatlabMatrixToSeqMat(mxmatrix);23 matrix->imatrix=MatlabMatrixToIssmMat(mxmatrix); 28 24 #endif 29 25 -
issm/trunk/src/wrappers/matlab/io/MatlabNArrayToNArray.cpp
r13749 r15396 10 10 11 11 #include "./matlabio.h" 12 #include "../../c/shared/shared.h"13 #include "../../c/include/include.h"14 12 15 13 /*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 9 9 #endif 10 10 11 #include <string.h>12 13 11 /*Matlab includes: */ 14 12 #include "./matlabio.h" 15 #include "../../c/shared/shared.h"16 13 17 14 int MatlabVectorToDoubleVector(double** pvector,int* pvector_rows,const mxArray* mxvector){ -
issm/trunk/src/wrappers/matlab/io/MatlabVectorToPetscVec.cpp
r13749 r15396 9 9 #endif 10 10 11 /*Petsc includes: */12 #include <petscmat.h>13 #include <petscvec.h>14 #include <petscksp.h>15 16 11 /*Matlab includes: */ 17 12 #include "./matlabio.h" 18 #include "../../c/shared/shared.h"19 13 20 14 PetscVec* MatlabVectorToPetscVec(const mxArray* mxvector){ -
issm/trunk/src/wrappers/matlab/io/MatlabVectorToVector.cpp
r13749 r15396 8 8 #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!" 9 9 #endif 10 #include <stdio.h>11 #include <string.h>12 10 #include "./matlabio.h" 13 #include "../../c/shared/shared.h"14 #include "../../c/toolkits/toolkits.h"15 11 16 12 Vector<double>* MatlabVectorToVector(const mxArray* mxvector){ … … 25 21 vector->pvector=MatlabVectorToPetscVec(mxvector); 26 22 #else 27 vector-> svector=MatlabVectorToSeqVec(mxvector);23 vector->ivector=MatlabVectorToIssmVec(mxvector); 28 24 #endif 29 25 -
issm/trunk/src/wrappers/matlab/io/OptionParse.cpp
r13749 r15396 10 10 #include <cstring> 11 11 #include "./matlabio.h" 12 #include "../../c/shared/shared.h"13 #include "../../c/io/io.h"14 12 15 13 GenericOption<double>* OptionDoubleParse( char* name, const mxArray* prhs[]){ /*{{{*/ … … 190 188 option=(Option*)OptionCellParse(name,prhs); 191 189 else { 192 _p printLine_(" 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"); 193 191 if (!mexCallMATLAB(1,lhs,1,(mxArray**)prhs,"struct")) { 194 192 option=(Option*)OptionStructParse(name,(const mxArray**)lhs); -
issm/trunk/src/wrappers/matlab/io/WriteMatlabData.cpp
r14310 r15396 10 10 11 11 #include "./matlabio.h" 12 #include ". ./../c/shared/shared.h"12 #include "./../../../c/datastructures/datastructures.h" 13 13 14 14 /*Primitive data types*/ … … 74 74 vector_matlab=(double*)mxMalloc(M*sizeof(double)); 75 75 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){{{*/ 89 void 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]); 76 99 dataref = mxCreateDoubleMatrix(0,0,mxREAL); 77 100 mxSetM(dataref,(mwSize)M); … … 221 244 } 222 245 /*}}}*/ 223 /*FUNCTION WriteData(mxArray** pdataref, SeqMat<double>* matrix){{{*/224 void WriteData(mxArray** pdataref, SeqMat<double>* matrix){246 /*FUNCTION WriteData(mxArray** pdataref,IssmDenseMat<double>* matrix){{{*/ 247 void WriteData(mxArray** pdataref,IssmDenseMat<double>* matrix){ 225 248 226 249 int i,j; … … 259 282 } 260 283 /*}}}*/ 261 /*FUNCTION WriteData(mxArray** pdataref, SeqVec<double>* vector){{{*/262 void WriteData(mxArray** pdataref, SeqVec<double>* vector){284 /*FUNCTION WriteData(mxArray** pdataref,IssmSeqVec<double>* vector){{{*/ 285 void WriteData(mxArray** pdataref,IssmSeqVec<double>* vector){ 263 286 264 287 mxArray* dataref=NULL; … … 287 310 /*Clean-up and return*/ 288 311 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);358 312 *pdataref=dataref; 359 313 } … … 406 360 } 407 361 /*}}}*/ 362 /*FUNCTION WriteData(mxArray** pdataref,Contours* contours){{{*/ 363 void 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 /*}}}*/ 408 415 409 416 /*Toolkit*/ 410 /*FUNCTION SetStructureField {{{*/417 /*FUNCTION SetStructureField(mxArray* dataref,const char* fieldname,int M,int N,double* fieldpointer){{{*/ 411 418 void SetStructureField(mxArray* dataref,const char* fieldname,int M,int N,double* fieldpointer){ 412 419 … … 418 425 /*Assign to structure*/ 419 426 mxSetField(dataref,0,fieldname,field); 427 } 428 /*}}}*/ 429 /*FUNCTION SetStructureFieldi(mxArray* dataref,const char* fieldname,char* string) {{{*/ 430 void 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); 420 439 } 421 440 /*}}}*/ -
issm/trunk/src/wrappers/matlab/io/matlabio.h
r14310 r15396 13 13 14 14 #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" 18 19 19 void WriteData(mxArray** pdataref,SeqMat<int>* matrix); 20 void WriteData(mxArray** pdataref,SeqMat<double>* matrix); 20 void WriteData(mxArray** pdataref,IssmDenseMat<double>* matrix); 21 21 void WriteData(mxArray** pdataref,double* matrix, int M,int N); 22 22 void 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); 23 void WriteData(mxArray** pdataref,IssmSeqVec<double>* vector); 25 24 void WriteData(mxArray** pdataref,double* vector, int M); 25 void WriteData(mxArray** pdataref,int* vector, int M); 26 26 void WriteData(mxArray** pdataref,int integer); 27 27 void WriteData(mxArray** pdataref,bool boolean); … … 32 32 void WriteData(mxArray** pdataref,BamgMesh* bamgmesh); 33 33 void WriteData(mxArray** pdataref,RiftStruct* riftstruct); 34 void WriteData(mxArray** pdataref,Contours* contours); 34 35 35 36 void FetchData(double** pmatrix,int* pM,int *pN,const mxArray* dataref); … … 53 54 void FetchData(BamgOpts** bamgopts,const mxArray* dataref); 54 55 void FetchData(Options** poptions,int istart, int nrhs,const mxArray** pdataref); 55 void FetchData( DataSet** pcontours,const mxArray* dataref);56 void FetchData(Contours** pcontours,const mxArray* dataref); 56 57 57 58 Option* OptionParse(char* name, const mxArray* prhs[]); … … 69 70 void SetStructureFieldi(mxArray* dataref,int i,const char* fieldname,int field); 70 71 void SetStructureFieldi(mxArray* dataref,int i,const char* fieldname,double field); 72 void SetStructureFieldi(mxArray* dataref,int i,const char* fieldname,char* string); 71 73 int CheckNumMatlabArguments(int nlhs,int NLHS, int nrhs,int NRHS, const char* THISFUNCTION, void (*function)( void )); 72 74 … … 82 84 int MatlabNArrayToNArray(char** pmatrix,int* pmatrix_numel,int* pmatrix_ndims,int** pmatrix_size,const mxArray* mxmatrix); 83 85 84 /*Matlab to SeqMat routines: */85 SeqMat<double>* MatlabMatrixToSeqMat(const mxArray* dataref);86 SeqVec<double>* MatlabVectorToSeqVec(const mxArray* dataref);86 /*Matlab to IssmDenseMat routines: */ 87 IssmMat<double>* MatlabMatrixToIssmMat(const mxArray* dataref); 88 IssmVec<double>* MatlabVectorToIssmVec(const mxArray* dataref); 87 89 88 90 /*Matlab to Petsc routines: */ … … 94 96 #endif 95 97 98 /*Print*/ 99 void ApiPrintf(const char* string); 96 100 #endif /* _IO_H_ */ -
issm/trunk/src/wrappers/python/Makefile.am
r13923 r15396 8 8 lib_LTLIBRARIES = libISSMPython.la 9 9 else 10 10 lib_LTLIBRARIES = 11 11 endif 12 12 … … 22 22 if SHAREDLIBS 23 23 libISSMPython_la_SOURCES = $(io_sources) 24 endif 25 #}}} 26 #api io{{{ 27 lib_LIBRARIES += libISSMApi.a 28 if SHAREDLIBS 29 lib_LTLIBRARIES += libISSMApi.la 30 else 31 lib_LTLIBRARIES += 32 endif 33 34 api_sources= ./io/ApiPrintf.cpp 35 36 libISSMApi_a_SOURCES = $(api_sources) 37 libISSMApi_a_CXXFLAGS= $(ALLCXXFLAGS) 38 if SHAREDLIBS 39 libISSMApi_la_SOURCES = $(api_sources) 24 40 endif 25 41 #}}} … … 80 96 endif 81 97 98 if SHAREDLIBS 99 deps += ./libISSMApi.la 100 else 101 deps += ./libISSMApi.a 102 endif 103 104 105 82 106 endif 83 107 … … 88 112 BamgConvertMesh_la_SOURCES = ../BamgConvertMesh/BamgConvertMesh.cpp\ 89 113 ../BamgConvertMesh/BamgConvertMesh.h 90 BamgConvertMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 114 BamgConvertMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 91 115 92 116 BamgMesher_la_SOURCES = ../BamgMesher/BamgMesher.cpp\ 93 117 ../BamgMesher/BamgMesher.h 94 BamgMesher_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 118 BamgMesher_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 95 119 96 120 ContourToMesh_la_SOURCES = ../ContourToMesh/ContourToMesh.cpp\ 97 121 ../ContourToMesh/ContourToMesh.h 98 ContourToMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 122 ContourToMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 99 123 100 124 ContourToNodes_la_SOURCES = ../ContourToNodes/ContourToNodes.cpp\ 101 125 ../ContourToNodes/ContourToNodes.h 102 ContourToNodes_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 126 ContourToNodes_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 103 127 104 128 ElementConnectivity_la_SOURCES = ../ElementConnectivity/ElementConnectivity.cpp\ 105 129 ../ElementConnectivity/ElementConnectivity.h 106 ElementConnectivity_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 130 ElementConnectivity_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 107 131 108 132 EnumToString_la_SOURCES = ../EnumToString/EnumToString.cpp\ 109 133 ../EnumToString/EnumToString.h 110 EnumToString_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 134 EnumToString_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 111 135 112 136 InterpFromMeshToMesh2d_la_SOURCES = ../InterpFromMeshToMesh2d/InterpFromMeshToMesh2d.cpp\ 113 137 ../InterpFromMeshToMesh2d/InterpFromMeshToMesh2d.h 114 InterpFromMeshToMesh2d_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB) 138 InterpFromMeshToMesh2d_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB) $(GSLLIB) 115 139 116 140 InterpFromGridToMesh_la_SOURCES = ../InterpFromGridToMesh/InterpFromGridToMesh.cpp\ 117 141 ../InterpFromGridToMesh/InterpFromGridToMesh.h 118 InterpFromGridToMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB) 142 InterpFromGridToMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(MULTITHREADINGLIB) $(GSLLIB) 119 143 120 144 MeshProfileIntersection_la_SOURCES = ../MeshProfileIntersection/MeshProfileIntersection.cpp\ 121 145 ../MeshProfileIntersection/MeshProfileIntersection.h 122 MeshProfileIntersection_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 146 MeshProfileIntersection_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 123 147 124 148 NodeConnectivity_la_SOURCES = ../NodeConnectivity/NodeConnectivity.cpp\ 125 149 ../NodeConnectivity/NodeConnectivity.h 126 NodeConnectivity_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 150 NodeConnectivity_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 127 151 128 152 StringToEnum_la_SOURCES = ../StringToEnum/StringToEnum.cpp\ 129 153 ../StringToEnum/StringToEnum.h 130 StringToEnum_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 154 StringToEnum_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 131 155 132 156 TriMesh_la_SOURCES = ../TriMesh/TriMesh.cpp\ 133 157 ../TriMesh/TriMesh.h 134 TriMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(TRIANGLELIB) 158 TriMesh_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(TRIANGLELIB) $(GSLLIB) 135 159 136 160 TriMeshProcessRifts_la_SOURCES = ../TriMeshProcessRifts/TriMeshProcessRifts.cpp\ 137 161 ../TriMeshProcessRifts/TriMeshProcessRifts.h 138 TriMeshProcessRifts_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) 162 TriMeshProcessRifts_la_LIBADD = ${deps} $(MPILIB) $(PETSCLIB) $(GSLLIB) 139 163 #}}} -
issm/trunk/src/wrappers/python/io/CheckNumPythonArguments.cpp
r13749 r15396 8 8 #include "./pythonio.h" 9 9 #include "../../c/shared/Exceptions/exceptions.h" 10 #include "../../c/include/include.h"11 10 12 11 int CheckNumPythonArguments(PyObject* inputs,int NRHS, void (*function)( void )){ -
issm/trunk/src/wrappers/python/io/FetchPythonData.cpp
r14310 r15396 13 13 14 14 #include "./pythonio.h" 15 #include "../../c/include/include.h"16 15 #include "../../c/shared/shared.h" 17 16 … … 104 103 bool* bmatrix=NULL; 105 104 int i; 105 PyObject* py_matrix2=NULL; 106 106 107 107 if (PyArray_Check((PyArrayObject*)py_matrix)) { … … 120 120 121 121 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 122 127 if (PyArray_TYPE((PyArrayObject*)py_matrix) == NPY_DOUBLE) { 123 128 /*retrieve internal value: */ … … 126 131 /*copy matrix: */ 127 132 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) { 132 156 /*retrieve internal value: */ 133 157 lmatrix=(long*)PyArray_DATA((PyArrayObject*)py_matrix); … … 149 173 else 150 174 _error_("unrecognized double pyarray type in input!"); 175 176 if (py_matrix2) 177 delete(py_matrix2); 151 178 } 152 179 else … … 181 208 bool* bmatrix=NULL; 182 209 int i; 210 PyObject* py_matrix2=NULL; 183 211 184 212 if (PyArray_Check((PyArrayObject*)py_matrix)) { … … 197 225 198 226 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 199 232 if (PyArray_TYPE((PyArrayObject*)py_matrix) == NPY_DOUBLE) { 200 233 /*retrieve internal value: */ … … 206 239 } 207 240 208 else if (PyArray_TYPE((PyArrayObject*)py_matrix) == NPY_ INT64) {241 else if (PyArray_TYPE((PyArrayObject*)py_matrix) == NPY_LONG) { 209 242 /*retrieve internal value: */ 210 243 lmatrix=(long*)PyArray_DATA((PyArrayObject*)py_matrix); … … 226 259 else 227 260 _error_("unrecognized int pyarray type in input!"); 261 262 if (py_matrix2) 263 delete(py_matrix2); 228 264 } 229 265 else … … 258 294 long* lmatrix=NULL; 259 295 int i; 296 PyObject* py_matrix2=NULL; 260 297 261 298 if (PyArray_Check((PyArrayObject*)py_matrix)) { … … 274 311 275 312 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 276 318 if (PyArray_TYPE((PyArrayObject*)py_matrix) == NPY_DOUBLE) { 277 319 /*retrieve internal value: */ … … 283 325 } 284 326 285 else if (PyArray_TYPE((PyArrayObject*)py_matrix) == NPY_ INT64) {327 else if (PyArray_TYPE((PyArrayObject*)py_matrix) == NPY_LONG) { 286 328 /*retrieve internal value: */ 287 329 lmatrix=(long*)PyArray_DATA((PyArrayObject*)py_matrix); … … 303 345 else 304 346 _error_("unrecognized bool pyarray type in input!"); 347 348 if (py_matrix2) 349 delete(py_matrix2); 305 350 } 306 351 else … … 335 380 bool* bvector=NULL; 336 381 int i; 382 PyObject* py_vector2=NULL; 337 383 338 384 if (PyArray_Check((PyArrayObject*)py_vector)) { … … 354 400 355 401 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 356 407 if (PyArray_TYPE((PyArrayObject*)py_vector) == NPY_DOUBLE) { 357 408 /*retrieve internal value: */ … … 363 414 } 364 415 365 else if (PyArray_TYPE((PyArrayObject*)py_vector) == NPY_ INT64) {416 else if (PyArray_TYPE((PyArrayObject*)py_vector) == NPY_LONG) { 366 417 /*retrieve internal value: */ 367 418 lvector=(long*)PyArray_DATA((PyArrayObject*)py_vector); … … 383 434 else 384 435 _error_("unrecognized double pyarray type in input!"); 436 437 if (py_vector2) 438 delete(py_vector2); 385 439 } 386 440 else … … 413 467 double* dvector=NULL; 414 468 int i; 469 PyObject* py_vector2=NULL; 415 470 416 471 if (PyArray_Check((PyArrayObject*)py_vector)) { … … 432 487 433 488 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 434 494 if (PyArray_TYPE((PyArrayObject*)py_vector) == NPY_DOUBLE) { 435 495 /*retrieve internal value: */ … … 441 501 } 442 502 443 else if (PyArray_TYPE((PyArrayObject*)py_vector) == NPY_ INT64) {503 else if (PyArray_TYPE((PyArrayObject*)py_vector) == NPY_LONG) { 444 504 /*retrieve internal value: */ 445 505 lvector=(long*)PyArray_DATA((PyArrayObject*)py_vector); … … 461 521 else 462 522 _error_("unrecognized int pyarray type in input!"); 523 524 if (py_vector2) 525 delete(py_vector2); 463 526 } 464 527 else … … 491 554 long* lvector=NULL; 492 555 int i; 556 PyObject* py_vector2=NULL; 493 557 494 558 if (PyArray_Check((PyArrayObject*)py_vector)) { … … 510 574 511 575 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 512 581 if (PyArray_TYPE((PyArrayObject*)py_vector) == NPY_DOUBLE) { 513 582 /*retrieve internal value: */ … … 519 588 } 520 589 521 else if (PyArray_TYPE((PyArrayObject*)py_vector) == NPY_ INT64) {590 else if (PyArray_TYPE((PyArrayObject*)py_vector) == NPY_LONG) { 522 591 /*retrieve internal value: */ 523 592 lvector=(long*)PyArray_DATA((PyArrayObject*)py_vector); … … 539 608 else 540 609 _error_("unrecognized bool pyarray type in input!"); 610 611 if (py_vector2) 612 delete(py_vector2); 541 613 } 542 614 else … … 656 728 if(i+1 == nrhs) _error_("Argument " << i+2 << " must exist and be value of option \"" << name << "\"."); 657 729 658 _p printLine_("FetchData for Options not implemented yet, ignoring option \"" << name << "\"!");730 _printf0_("FetchData for Options not implemented yet, ignoring option \"" << name << "\"!\n"); 659 731 660 732 // option=(Option*)OptionParse(name,&PyTuple_GetItem(py_tuple,(Py_ssize_t)(i+1))); … … 667 739 } 668 740 /*}}}*/ 669 /*FUNCTION FetchData( DataSet** pcontours,PyObject* py_list){{{*/670 void FetchData( DataSet** pcontours,PyObject* py_list){741 /*FUNCTION FetchData(Contours** pcontours,PyObject* py_list){{{*/ 742 void FetchData(Contours** pcontours,PyObject* py_list){ 671 743 672 744 int numcontours,test1,test2; 673 745 char *contourname = NULL; 674 DataSet*contours = NULL;746 Contours *contours = NULL; 675 747 Contour<double> *contouri = NULL; 676 748 PyObject *py_dicti = NULL; … … 679 751 if (PyString_Check(py_list)){ 680 752 FetchData(&contourname,py_list); 681 contours= DomainOutlineRead<double>(contourname);753 contours=ExpRead<double>(contourname); 682 754 } 683 755 else if(PyList_Check(py_list)){ 684 756 685 contours=new DataSet(0);757 contours=new Contours(); 686 758 numcontours=(int)PyList_Size(py_list); 687 759 688 760 for(int i=0;i<numcontours;i++){ 689 761 690 contouri= xNew<Contour<double> >(1);762 contouri=new Contour<double>(); 691 763 py_dicti=PyList_GetItem(py_list,(Py_ssize_t)i); 692 764 -
issm/trunk/src/wrappers/python/io/WritePythonData.cpp
r14310 r15396 13 13 14 14 #include "./pythonio.h" 15 #include "../../c/include/include.h"16 #include "../../c/Container/Container.h"17 15 #include "../../c/shared/shared.h" 18 #include "../../c/ EnumDefinitions/EnumDefinitions.h"16 #include "../../c/shared/Enum/Enum.h" 19 17 20 18 /*Primitive data types*/ … … 74 72 75 73 PyTuple_SetItem(tuple, index, array); 74 }/*}}}*/ 75 /*FUNCTION WriteData(PyObject* py_tuple,int index, double* vector, int M){{{*/ 76 void 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){{{*/ 93 void 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 76 108 }/*}}}*/ 77 109 /*FUNCTION WriteData(PyObject* py_tuple,int index){{{*/ … … 129 161 } 130 162 /*}}}*/ 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){{{*/ 164 void WriteData(PyObject* py_tuple,int index,IssmDenseMat<double>* matrix){ 133 165 134 166 int M,N; … … 147 179 148 180 }/*}}}*/ 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){{{*/ 182 void WriteData(PyObject* py_tuple,int index,IssmSeqVec<double>* vector){ 151 183 152 184 int M; … … 160 192 dim=(npy_intp)M; 161 193 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);242 194 243 195 PyTuple_SetItem(py_tuple, index, array); -
issm/trunk/src/wrappers/python/io/pythonio.h
r14310 r15396 13 13 14 14 #include "../include/pythonincludes.h" 15 #include "../../c/bamg/bamgobjects.h" 15 16 #include "../../c/classes/classes.h" 16 #include "../../c/Container/Container.h" 17 #include "../../c/include/include.h" 17 #include "../../c/shared/shared.h" 18 18 19 19 void WriteData(PyObject* py_tuple,int index, double* matrix, int M,int N); … … 21 21 void WriteData(PyObject* py_tuple,int index, bool* matrix, int M,int N); 22 22 void WriteData(PyObject* py_tuple,int index, int integer); 23 void WriteData(PyObject* py_tuple,int index, double* vector, int M); 24 void WriteData(PyObject* py_tuple,int index, int* vector, int M); 23 25 void WriteData(PyObject* py_tuple,int index, char* string); 24 26 void 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); 27 void WriteData(PyObject* py_tuple,int index, IssmDenseMat<double>* matrix); 28 void WriteData(PyObject* py_tuple,int index, IssmSeqVec<double>* vector); 31 29 void WriteData(PyObject* py_tuple,int index, BamgGeom* bamggeom); 32 30 void WriteData(PyObject* py_tuple,int index, BamgMesh* bamgmesh); … … 47 45 void FetchData(BamgOpts** bamgopts,PyObject* py_dict); 48 46 void FetchData(Options** poptions,int istart, int nrhs,PyObject* py_tuple); 49 void FetchData( DataSet** pcontours,PyObject* py_list);47 void FetchData(Contours** pcontours,PyObject* py_list); 50 48 51 49 int CheckNumPythonArguments(PyObject* inputs,int NRHS, void (*function)( void )); … … 57 55 PyObject* PyArrayFromCopiedData(int dimi,int dimj,bool* data); 58 56 57 /*Print*/ 58 void ApiPrintf(const char* string); 59 59 60 #endif /* _IO_H_ */ -
issm/trunk/test
- Property svn:mergeinfo changed
-
issm/trunk/test/NightlyRun
- Property svn:ignore
-
old new 1 *.toolkits 1 2 __pycache__ 2 3 *.tar.gz
-
- Property svn:ignore
-
issm/trunk/test/NightlyRun/IdToName.m
r13395 r15396 97 97 case 328, name='SquareSheetConstrainedSmbGradients2d'; 98 98 case 329, name='SquareSheetConstrainedSmbGradients3d'; 99 case 331, name='SquareSheetConstrainedHydrologyShreve'; 100 case 332, name='SquareSheetConstrainedHydrologyDC'; 101 case 333, name='SquareSheetHydrologyDCTwoLayers'; 99 102 case 401, name='SquareSheetShelfDiagM2d'; 100 103 case 402, name='SquareSheetShelfDiagM3d'; … … 129 132 case 431, name='SquareSheetShelfSteaEnthalpyM3d'; 130 133 case 432, name='SquareSheetShelfSteaEnthalpyP3d'; 134 case 433, name='RoundSheetShelfGLMigrationM3d'; 131 135 case 501, name='PigDiagM2d'; 132 136 case 502, name='PigDiagP3d'; … … 186 190 case 1601, name='SquareShelfM2dRotation'; 187 191 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'; 188 205 case 3001, name='SquareShelfConstrainedDiagM2dAdolc'; 189 206 case 3002, name='SquareShelfConstrainedDiagM3dAdolc'; … … 196 213 case 3009, name='SquareShelfConstrainedTherTranAdolc'; 197 214 case 3010, name='SquareShelfConstrainedTranM2dAdolc'; 215 case 3015, name='SquareShelfConstrainedProg2dAdolcForwardDifference'; 216 case 3019, name='SquareShelfConstrainedTherTranAdolcReverseVsForward'; 198 217 199 218 otherwise, name='N/A'; -
issm/trunk/test/NightlyRun/IdToName.py
r13395 r15396 98 98 328 : 'SquareSheetConstrainedSmbGradients2d', 99 99 329 : 'SquareSheetConstrainedSmbGradients3d', 100 331 : 'SquareSheetConstrainedHydrology', 101 333 : 'SquareSheetConstrainedTranCflM3d', 100 102 401 : 'SquareSheetShelfDiagM2d', 101 103 402 : 'SquareSheetShelfDiagM3d', … … 126 128 427 : 'SquareSheetShelfGroundingLine3dSoft', 127 129 428 : 'SquareSheetShelfDiagM2dNewton', 128 4 39 : 'SquareSheetShelfDiagP3dNewton',130 429 : 'SquareSheetShelfDiagP3dNewton', 129 131 430 : 'SquareSheetShelfDiagS3dNewton', 130 132 431 : 'SquareSheetShelfSteaEnthalpyM3d', 131 133 432 : 'SquareSheetShelfSteaEnthalpyP3d', 134 433 : 'RoundSheetShelfGLMigrationM3d', 132 135 501 : 'PigDiagM2d', 133 136 502 : 'PigDiagP3d', … … 187 190 1601 : 'SquareShelfM2dRotation', 188 191 1602 : 'SquareSheetShelfP3dRotation', 192 2001 : 'SquareSheetConstrainedGia2d', 189 193 3001 : 'SquareShelfConstrainedDiagM2dAdolc', 190 194 3002 : 'SquareShelfConstrainedDiagM3dAdolc', … … 197 201 3009 : 'SquareShelfConstrainedTherTranAdolc', 198 202 3010 : 'SquareShelfConstrainedTranM2dAdolc', 203 3015 : 'SquareShelfConstrainedProg2dAdolcForwardDifference', 204 3019 : 'SquareShelfConstrainedTherTranAdolcReverseVsForward', 199 205 } 200 206 -
issm/trunk/test/NightlyRun/Makefile
r13395 r15396 1 1 clean: 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.);1 md=triangle(model(),'../Exp/Square.exp',40000.); 2 2 md=setmask(md,'all',''); 3 3 md=parameterize(md,'../Par/SquareShelfConstrained.par'); -
issm/trunk/test/NightlyRun/runme.m
r14310 r15396 12 12 % 'id' followed by the list of ids requested 13 13 % '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) 15 16 % 'ismip' : validation of ismip-hom tests 16 17 % 'eismint': validation of eismint tests … … 18 19 % 'mesh' : validation of mesh tests 19 20 % 'adolc' : validation of adolc tests 21 % 'gia' : validation of gia tests 20 22 % ... 21 23 % 'procedure' 'check' : run the test (default) 22 24 % 'update': update the archive 23 % 'model' : prepare the model but no test is run24 25 % 25 26 % Usage: 26 % md=runme(varargin);27 % runme(varargin); 27 28 % 28 29 % Examples: 29 30 % runme; 30 31 % runme('exclude',101); 31 % md=runme('id',102,'procedure','model');32 % runme('id',102,'procedure','update'); 32 33 33 34 %Get ISSM_DIR variable … … 48 49 %GET benchmark {{{ 49 50 benchmark=getfieldvalue(options,'benchmark','nightly'); 50 if ~ismember(benchmark,{'all','nightly','ismip','eismint','thermal','mesh','validation','tranforcing','adolc' })51 if ~ismember(benchmark,{'all','nightly','ismip','eismint','thermal','mesh','validation','tranforcing','adolc','gia'}) 51 52 disp('runme warning: benchmark not supported, defaulting to test ''nightly''') 52 53 benchmark='nightly'; … … 116 117 elseif strcmpi(benchmark,'referential'), 117 118 test_ids=intersect(test_ids,[1601:1602]); 119 elseif strcmpi(benchmark,'gia'), 120 test_ids=intersect(test_ids,[2001:2100]); 118 121 elseif strcmpi(benchmark,'adolc'), 119 122 test_ids=intersect(test_ids,[3001:3020]); … … 217 220 end 218 221 end 219 220 %output md if requested221 if nargout==1222 varargout{1}=md;223 end -
issm/trunk/test/NightlyRun/runme.py
r14067 r15396 22 22 'id' followed by the list of ids requested 23 23 '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) 25 26 'ismip' : validation of ismip-hom tests 26 27 'eismint': validation of eismint tests 27 28 'thermal': validation of thermal tests 28 29 'mesh' : validation of mesh tests 30 'adolc' : validation of adolc tests 31 'gia' : validation of gia tests 32 29 33 ... 30 34 'procedure' 'check' : run the test (default) … … 32 36 33 37 Usage: 34 md=runme(varargin);38 runme(varargin); 35 39 36 40 Examples: 37 41 runme() 38 42 runme(exclude=101) 39 md=runme(id=102,procedure='update')43 runme(id=102,procedure='update') 40 44 """ 41 45 … … 50 54 #Process options 51 55 #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']): 53 57 print "runme warning: benchmark '%s' not supported, defaulting to test 'nightly'." % benchmark 54 58 benchmark='nightly' … … 113 117 elif strcmpi(benchmark,'referential'): 114 118 test_ids=test_ids.intersection(set(range(1601,1603))) 119 elif strcmpi(benchmark,'gia'): 120 test_ids=test_ids.intersection(set(range(2001,2100))) 115 121 elif strcmpi(benchmark,'adolc'): 116 122 test_ids=test_ids.intersection(set(range(3001,3020))) … … 144 150 else: 145 151 field=field.reshape(0,0) 152 elif len(field.shape) == 0: 153 field=field.reshape(1,1) 146 154 # Matlab uses base 1, so use base 1 in labels 147 155 f.createDimension(archive_name+'_field'+str(k+1)+'_1',numpy.size(field,0)) … … 234 242 raise RuntimeError(me) 235 243 236 # #output md if requested237 # if nargout==1238 # varargout{1}=md;239 # end240 241 244 return 242 245 -
issm/trunk/test/NightlyRun/test111.m
r13975 r15396 15 15 field_tolerances={... 16 16 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-0 9,1e-08,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-05,2e-11,...18 1e-09,1e-0 9,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}; 19 19 field_values={... 20 20 (md.results.TransientSolution(1).Vx),... -
issm/trunk/test/NightlyRun/test111.py
r13975 r15396 24 24 field_tolerances=[\ 25 25 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-0 9,1e-08,1e-09,1e-09,1e-09,1e-09,1e-09,1e-09,1e-05,2e-11,\27 1e-09,1e-0 9,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] 28 28 field_values=[\ 29 29 md.results.TransientSolution[0].Vx,\ -
issm/trunk/test/NightlyRun/test1110.m
r14310 r15396 54 54 md.prognostic.stabilization=1; 55 55 md.diagnostic.maxiter=1; 56 56 57 57 %Compute the diagnostic 58 58 md.cluster=generic('name',oshostname(),'np',8); -
issm/trunk/test/NightlyRun/test119.m
r13975 r15396 18 18 %Fields and tolerances to track changes 19 19 field_names ={'x1','y1','x2','y2','nbelements','elapsed time'}; 20 field_tolerances={1e-13,1e-13,1e-13,1e-13,1e-13,0. 7};20 field_tolerances={1e-13,1e-13,1e-13,1e-13,1e-13,0.8}; 21 21 field_values={... 22 22 x1, y1,... -
issm/trunk/test/NightlyRun/test119.py
r13975 r15396 23 23 #Fields and tolerances to track changes 24 24 field_names =['x1','y1','x2','y2','nbelements','elapsed time'] 25 field_tolerances=[1e-13,1e-13,1e-13,1e-13,1e-13,0. 7]25 field_tolerances=[1e-13,1e-13,1e-13,1e-13,1e-13,0.8] 26 26 field_values=[\ 27 27 x1, y1,\ -
issm/trunk/test/NightlyRun/test234.m
r14310 r15396 42 42 md.qmu.method=dakota_method('nond_samp'); 43 43 md.qmu.method(end)=dmeth_params_set(md.qmu.method(end),'seed',1234,'samples',20,'sample_type','lhs'); 44 if (str2num(dakotaversion())>4.2) 44 dver=textscan(dakotaversion(),'%[0123456789].%[0123456789].%[0123456789]') 45 if ((str2num(dver{1}{1})==4 && str2num(dver{2}{1})>2) || str2num(dver{1}{1})>4) 45 46 md.qmu.method(end)=dmeth_params_set(md.qmu.method(end),'rng','rnum2') 46 47 end … … 52 53 md.qmu.params.evaluation_concurrency=1; 53 54 md.qmu.params.interval_type='forward'; 55 md.qmu.params.tabular_graphics_data=true; 54 56 md.qmu.isdakota=1; 55 57 -
issm/trunk/test/NightlyRun/test3001.m
r13975 r15396 3 3 md=parameterize(md,'../Par/SquareShelfConstrained.par'); 4 4 md=setflowequation(md,'macayeal','all'); 5 md.cluster=generic('name',oshostname(),'np',3); 5 md.cluster=generic('name',oshostname(),'np',1); 6 md.toolkits.DefaultAnalysis=issmsolver(); 6 7 md.diagnostic.requested_outputs=StressTensorEnum(); 7 8 md.autodiff.isautodiff=true; 9 md.toolkits.DefaultAnalysis=issmsolver(); 8 10 md.verbose=verbose('autodiff',true); 9 11 md=solve(md,DiagnosticSolutionEnum()); -
issm/trunk/test/NightlyRun/test3001.py
r13975 r15396 12 12 md=parameterize(md,'../Par/SquareShelfConstrained.py') 13 13 md=setflowequation(md,'macayeal','all') 14 md.cluster=generic('name',oshostname(),'np', 3)14 md.cluster=generic('name',oshostname(),'np',1) 15 15 md.diagnostic.requested_outputs=StressTensorEnum() 16 md.toolkits.DefaultAnalysis=issmsolver() 16 17 md.autodiff.isautodiff=True 17 18 md=solve(md,DiagnosticSolutionEnum()) -
issm/trunk/test/NightlyRun/test3002.m
r13975 r15396 4 4 md=extrude(md,3,2.); 5 5 md=setflowequation(md,'macayeal','all'); 6 md.cluster=generic('name',oshostname(),'np', 3);6 md.cluster=generic('name',oshostname(),'np',1); 7 7 md.autodiff.isautodiff=true; 8 md.toolkits.DefaultAnalysis=issmsolver(); 8 9 md.verbose=verbose('autodiff',true); 9 10 md=solve(md,DiagnosticSolutionEnum()); -
issm/trunk/test/NightlyRun/test3002.py
r13975 r15396 13 13 md.extrude(3,2.) 14 14 md=setflowequation(md,'macayeal','all') 15 md.cluster=generic('name',oshostname(),'np', 3)15 md.cluster=generic('name',oshostname(),'np',1) 16 16 md.autodiff.isautodiff=True 17 md.toolkits.DefaultAnalysis=issmsolver() 17 18 md=solve(md,DiagnosticSolutionEnum()) 18 19 -
issm/trunk/test/NightlyRun/test3003.m
r13975 r15396 4 4 md=extrude(md,3,2.); 5 5 md=setflowequation(md,'pattyn','all'); 6 md.cluster=generic('name',oshostname(),'np', 3);6 md.cluster=generic('name',oshostname(),'np',1); 7 7 md.diagnostic.requested_outputs=StressTensorEnum(); 8 8 md.autodiff.isautodiff=true; 9 md.toolkits.DefaultAnalysis=issmsolver(); 9 10 md.verbose=verbose('autodiff',true); 10 11 md=solve(md,DiagnosticSolutionEnum()); -
issm/trunk/test/NightlyRun/test3003.py
r13975 r15396 13 13 md.extrude(3,2.) 14 14 md=setflowequation(md,'pattyn','all') 15 md.cluster=generic('name',oshostname(),'np', 3)15 md.cluster=generic('name',oshostname(),'np',1) 16 16 md.diagnostic.requested_outputs=StressTensorEnum() 17 md.toolkits.DefaultAnalysis=issmsolver() 17 18 md.autodiff.isautodiff=True 18 19 md=solve(md,DiagnosticSolutionEnum()) -
issm/trunk/test/NightlyRun/test3004.m
r13975 r15396 4 4 md=extrude(md,3,2.); 5 5 md=setflowequation(md,'stokes','all'); 6 md.cluster=generic('name',oshostname(),'np', 3);6 md.cluster=generic('name',oshostname(),'np',1); 7 7 md.autodiff.isautodiff=true; 8 md.toolkits.DefaultAnalysis=issmsolver(); 8 9 md.verbose=verbose('autodiff',true); 9 10 md=solve(md,DiagnosticSolutionEnum()); -
issm/trunk/test/NightlyRun/test3004.py
r13975 r15396 13 13 md.extrude(3,2.) 14 14 md=setflowequation(md,'stokes','all') 15 md.cluster=generic('name',oshostname(),'np',3) 15 md.cluster=generic('name',oshostname(),'np',1) 16 md.toolkits.DefaultAnalysis=issmsolver() 16 17 md.autodiff.isautodiff=True 17 18 md=solve(md,DiagnosticSolutionEnum()) -
issm/trunk/test/NightlyRun/test3005.m
r13975 r15396 3 3 md=parameterize(md,'../Par/SquareShelfConstrained.par'); 4 4 md=setflowequation(md,'macayeal','all'); 5 md.cluster=generic('name',oshostname(),'np', 3);5 md.cluster=generic('name',oshostname(),'np',1); 6 6 md.autodiff.isautodiff=true; 7 md.toolkits.DefaultAnalysis=issmsolver(); 7 8 md.verbose=verbose('autodiff',true); 8 9 md=solve(md,PrognosticSolutionEnum()); -
issm/trunk/test/NightlyRun/test3005.py
r13975 r15396 12 12 md=parameterize(md,'../Par/SquareShelfConstrained.py') 13 13 md=setflowequation(md,'macayeal','all') 14 md.cluster=generic('name',oshostname(),'np',3) 14 md.cluster=generic('name',oshostname(),'np',1) 15 md.toolkits.DefaultAnalysis=issmsolver() 15 16 md.autodiff.isautodiff=True 16 17 md=solve(md,PrognosticSolutionEnum()) -
issm/trunk/test/NightlyRun/test3006.m
r13975 r15396 4 4 md=parameterize(md,'../Par/SquareShelfConstrained.par'); 5 5 md=setflowequation(md,'macayeal','all'); 6 md.cluster=generic('name',oshostname(),'np', 3);6 md.cluster=generic('name',oshostname(),'np',1); 7 7 md.prognostic.stabilization=3; 8 8 md.prognostic.spcthickness=md.geometry.thickness; 9 9 md.autodiff.isautodiff=true; 10 md.toolkits.DefaultAnalysis=issmsolver(); 10 11 md.verbose=verbose('autodiff',true); 11 12 md=solve(md,PrognosticSolutionEnum()); -
issm/trunk/test/NightlyRun/test3006.py
r13975 r15396 14 14 md=parameterize(md,'../Par/SquareShelfConstrained.py') 15 15 md=setflowequation(md,'macayeal','all') 16 md.cluster=generic('name',oshostname(),'np', 3)16 md.cluster=generic('name',oshostname(),'np',1) 17 17 md.prognostic.stabilization=3 18 18 md.prognostic.spcthickness=md.geometry.thickness 19 md.toolkits.DefaultAnalysis=issmsolver() 19 20 md.autodiff.isautodiff=True 20 21 md=solve(md,PrognosticSolutionEnum()) -
issm/trunk/test/NightlyRun/test3007.m
r13975 r15396 4 4 md=setflowequation(md,'macayeal','all'); 5 5 md=extrude(md,5,3.); 6 md.cluster=generic('name',oshostname(),'np', 3);6 md.cluster=generic('name',oshostname(),'np',1); 7 7 md.autodiff.isautodiff=true; 8 8 md.verbose=verbose('autodiff',true); 9 md.toolkits.DefaultAnalysis=issmsolver(); 9 10 md=solve(md,PrognosticSolutionEnum()); 10 11 -
issm/trunk/test/NightlyRun/test3007.py
r13975 r15396 13 13 md=setflowequation(md,'macayeal','all') 14 14 md.extrude(5,3.) 15 md.cluster=generic('name',oshostname(),'np',3) 15 md.cluster=generic('name',oshostname(),'np',1) 16 md.toolkits.DefaultAnalysis=issmsolver() 16 17 md.autodiff.isautodiff=True 17 18 md=solve(md,PrognosticSolutionEnum()) -
issm/trunk/test/NightlyRun/test3008.m
r13975 r15396 5 5 md=setflowequation(md,'macayeal','all'); 6 6 md.timestepping.time_step=0; 7 md.cluster=generic('name',oshostname(),'np', 3);7 md.cluster=generic('name',oshostname(),'np',1); 8 8 md.autodiff.isautodiff=true; 9 9 md.verbose=verbose('autodiff',true); 10 md.toolkits.DefaultAnalysis=issmsolver(); 10 11 md=solve(md,ThermalSolutionEnum()); 11 12 -
issm/trunk/test/NightlyRun/test3008.py
r13975 r15396 14 14 md=setflowequation(md,'macayeal','all') 15 15 md.timestepping.time_step=0 16 md.cluster=generic('name',oshostname(),'np',3) 16 md.cluster=generic('name',oshostname(),'np',1) 17 md.toolkits.DefaultAnalysis=issmsolver() 17 18 md.autodiff.isautodiff=True 18 19 md=solve(md,ThermalSolutionEnum()) -
issm/trunk/test/NightlyRun/test3009.m
r13975 r15396 4 4 md=extrude(md,3,1.); 5 5 md=setflowequation(md,'macayeal','all'); 6 md.cluster=generic('name',oshostname(),'np', 3);6 md.cluster=generic('name',oshostname(),'np',1); 7 7 md.transient.isdiagnostic=0; 8 8 md.transient.isprognostic=0; … … 11 11 md.autodiff.isautodiff=true; 12 12 md.verbose=verbose('autodiff',true); 13 md.toolkits.DefaultAnalysis=issmsolver(); 13 14 md=solve(md,TransientSolutionEnum()); 14 15 -
issm/trunk/test/NightlyRun/test3009.py
r14067 r15396 13 13 md.extrude(3,1.) 14 14 md=setflowequation(md,'macayeal','all') 15 md.cluster=generic('name',oshostname(),'np', 3)15 md.cluster=generic('name',oshostname(),'np',1) 16 16 md.transient.isdiagnostic=False 17 17 md.transient.isprognostic=False 18 18 md.transient.isthermal=True 19 19 md.transient.isgroundingline=False 20 md.toolkits.DefaultAnalysis=issmsolver() 20 21 md.autodiff.isautodiff=True 21 22 md=solve(md,TransientSolutionEnum()) -
issm/trunk/test/NightlyRun/test3010.m
r13975 r15396 3 3 md=parameterize(md,'../Par/SquareShelfConstrained.par'); 4 4 md=setflowequation(md,'macayeal','all'); 5 md.cluster=generic('name',oshostname(),'np', 3);5 md.cluster=generic('name',oshostname(),'np',1); 6 6 md.transient.requested_outputs=IceVolumeEnum(); 7 7 8 8 md.autodiff.isautodiff=true; 9 9 md.verbose=verbose('autodiff',true); 10 md.toolkits.DefaultAnalysis=issmsolver(); 10 11 md=solve(md,TransientSolutionEnum()); 11 12 -
issm/trunk/test/NightlyRun/test3010.py
r13975 r15396 12 12 md=parameterize(md,'../Par/SquareShelfConstrained.py') 13 13 md=setflowequation(md,'macayeal','all') 14 md.cluster=generic('name',oshostname(),'np',3) 14 md.cluster=generic('name',oshostname(),'np',1) 15 md.toolkits.DefaultAnalysis=issmsolver() 15 16 md.transient.requested_outputs=IceVolumeEnum() 16 17 -
issm/trunk/test/NightlyRun/test3015.m
r13975 r15396 7 7 md=parameterize(md,'../Par/SquareShelfConstrained.par'); 8 8 md=setflowequation(md,'macayeal','all'); 9 md.cluster=generic('name',oshostname(),'np', 3);9 md.cluster=generic('name',oshostname(),'np',1); 10 10 md.prognostic.requested_outputs=IceVolumeEnum(); 11 11 md.verbose=verbose('autodiff',true); 12 md.toolkits.DefaultAnalysis=issmsolver(); 12 13 13 14 %setup autodiff parameters -
issm/trunk/test/NightlyRun/test3019.m
r13975 r15396 4 4 md=parameterize(md,'../Par/SquareShelfConstrained.par'); 5 5 md=setflowequation(md,'macayeal','all'); 6 md.cluster=generic('name',oshostname(),'np',3); 6 md.cluster=generic('name',oshostname(),'np',1); 7 md.toolkits.DefaultAnalysis=issmsolver(); 7 8 8 9 md.autodiff.isautodiff=true; … … 31 32 %Fields and tolerances to track changes 32 33 field_names ={'Jac Forward','Jac Reverse','Jac Forward - Reverse'}; 33 field_tolerances={1e- 13,1e-13,1e-13};34 field_tolerances={1e-8,1e-8,1e-6}; 34 35 field_values={jac_forward,jac_reverse,jac_forward-jac_reverse}; -
issm/trunk/test/NightlyRun/test3020.m
r13975 r15396 7 7 md=parameterize(md,'../Par/SquareShelfConstrained.par'); 8 8 md=setflowequation(md,'macayeal','all'); 9 md.cluster=generic('name',oshostname(),'np', 3);9 md.cluster=generic('name',oshostname(),'np',1); 10 10 md.transient.requested_outputs=[IceVolumeEnum();MaxVelEnum()]; 11 11 md.verbose=verbose('autodiff',true); 12 md.diagnostic.restol=0.000001; 12 md.diagnostic.restol=1e-4; 13 md.toolkits.DefaultAnalysis=issmsolver(); 13 14 14 15 %setup autodiff parameters … … 81 82 %Fields and tolerances to track changes 82 83 field_names ={'dV/dh-dV/dh0','dMaxV/dh-dMaxV/dh0'}; 83 field_tolerances={1e- 13,1e-13};84 field_tolerances={1e-8,1e-7}; 84 85 field_values={dVdh_ad-dVdh_an,dMaxVdh_an-dMaxVdh_ad}; -
issm/trunk/test/NightlyRun/test3020.py
r13975 r15396 21 21 md=parameterize(md,'../Par/SquareShelfConstrained.py') 22 22 md=setflowequation(md,'macayeal','all') 23 md.cluster=generic('name',oshostname(),'np', 3)23 md.cluster=generic('name',oshostname(),'np',1) 24 24 md.transient.requested_outputs=[IceVolumeEnum(),MaxVelEnum()] 25 25 md.verbose=verbose('autodiff',True) 26 26 md.diagnostic.restol=0.000001 27 md.toolkits.DefaultAnalysis=issmsolver() 27 28 28 29 #setup autodiff parameters -
issm/trunk/test/NightlyRun/test317.m
r13975 r15396 11 11 'Vx2','Vy2','Vz2','Vel2','Pressure2','Bed2','Surface2','Thickness2','Temperature2','BasalforcingsMeltingRate2',... 12 12 '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};13 field_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}; 16 16 field_values={... 17 17 (md.results.TransientSolution(1).Vx),... -
issm/trunk/test/NightlyRun/test317.py
r13975 r15396 20 20 'Vx2','Vy2','Vz2','Vel2','Pressure2','Bed2','Surface2','Thickness2','Temperature2','BasalforcingsMeltingRate2',\ 21 21 '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]22 field_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] 25 25 field_values=[\ 26 26 md.results.TransientSolution[0].Vx,\ -
issm/trunk/test/NightlyRun/test405.m
r13975 r15396 9 9 %Fields and tolerances to track changes 10 10 field_names ={'Vx','Vy','Vz','Vel','Pressure'}; 11 field_tolerances={ 1e-05,1e-05,1e-05,1e-05,1e-05};11 field_tolerances={5e-05,5e-05,5e-05,5e-05,1e-05}; 12 12 field_values={... 13 13 (md.results.DiagnosticSolution.Vx),... -
issm/trunk/test/NightlyRun/test405.py
r13975 r15396 19 19 #Fields and tolerances to track changes 20 20 field_names =['Vx','Vy','Vz','Vel','Pressure'] 21 field_tolerances=[ 1e-05,1e-05,1e-05,1e-05,1e-05]21 field_tolerances=[5e-05,5e-05,5e-05,5e-05,1e-05] 22 22 field_values=[\ 23 23 md.results.DiagnosticSolution.Vx,\ -
issm/trunk/test/NightlyRun/test415.m
r13975 r15396 24 24 %Fields and tolerances to track changes 25 25 field_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};26 field_tolerances={1e-10,1e-9,1e-10,1e-13,1e-09,1e-09,1e-09,1e-8,1e-09,1e-6}; 27 27 field_values={... 28 28 (md.results.SteadystateSolution.Gradient1),... -
issm/trunk/test/NightlyRun/test415.py
r13975 r15396 36 36 #Fields and tolerances to track changes 37 37 field_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]38 field_tolerances=[1e-10,1e-9,1e-10,1e-13,1e-09,1e-09,1e-09,1e-8,1e-09,1e-6] 39 39 field_values=[\ 40 40 md.results.SteadystateSolution.Gradient1,\ -
issm/trunk/test/NightlyRun/test423.m
r13975 r15396 20 20 md.transient.isthermal=0; 21 21 md.transient.isprognostic=0; 22 md.transient.isdiagnostic= 0;22 md.transient.isdiagnostic=1; 23 23 md.transient.isgroundingline=1; 24 24 … … 27 27 md=solve(md,TransientSolutionEnum()); 28 28 element_on_iceshelf_agressive=(md.results.TransientSolution.MaskElementonfloatingice); 29 vel_agressive=(md.results.TransientSolution.Vel); 29 30 30 31 md.groundingline.migration='SoftMigration'; 31 32 md=solve(md,TransientSolutionEnum()); 32 33 element_on_iceshelf_soft=(md.results.TransientSolution.MaskElementonfloatingice); 34 vel_soft=(md.results.TransientSolution.Vel); 35 36 md.groundingline.migration='SubelementMigration'; 37 md=solve(md,TransientSolutionEnum()); 38 element_on_iceshelf_subelement=(md.results.TransientSolution.GLlevelset); 39 vel_subelement=(md.results.TransientSolution.Vel); 40 41 md.groundingline.migration='SubelementMigration2'; 42 md=solve(md,TransientSolutionEnum()); 43 element_on_iceshelf_subelement2=(md.results.TransientSolution.GLlevelset); 44 vel_subelement2=(md.results.TransientSolution.Vel); 33 45 34 46 %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};47 field_names ={'ElementOnIceShelfAgressive','VelAgressive','ElementOnIceShelfSoft','VelSoft','ElementOnIceShelfSubelement','VelSubelement','ElementOnIceShelfSubelement2','VelSubelement2'}; 48 field_tolerances={1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13}; 49 field_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 31 31 md.transient.isthermal=False 32 32 md.transient.isprognostic=False 33 md.transient.isdiagnostic= False33 md.transient.isdiagnostic=True 34 34 md.transient.isgroundingline=True 35 35 … … 38 38 md=solve(md,TransientSolutionEnum()) 39 39 element_on_iceshelf_agressive=md.results.TransientSolution[0].MaskElementonfloatingice 40 vel_agressive=md.results.TransientSolution[0].Vel 40 41 41 42 md.groundingline.migration='SoftMigration' 42 43 md=solve(md,TransientSolutionEnum()) 43 44 element_on_iceshelf_soft=md.results.TransientSolution[0].MaskElementonfloatingice 45 vel_soft=md.results.TransientSolution[0].Vel 46 47 md.groundingline.migration='SubelementMigration' 48 md=solve(md,TransientSolutionEnum()) 49 element_on_iceshelf_subelement=md.results.TransientSolution[0].GLlevelset 50 vel_subelement=md.results.TransientSolution[0].Vel 51 52 md.groundingline.migration='SubelementMigration2' 53 md=solve(md,TransientSolutionEnum()) 54 element_on_iceshelf_subelement2=md.results.TransientSolution[0].GLlevelset 55 vel_subelement2=md.results.TransientSolution[0].Vel 44 56 45 57 #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]58 field_names =['ElementOnIceShelfAgressive','VelAgressive','ElementOnIceShelfSoft','VelSoft','ElementOnIceShelfSubelement','VelSubelement','ElementOnIceShelfSubelement2','VelSubelement2'] 59 field_tolerances=[1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13,1e-13] 60 field_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 45 45 md.thermal.stabilization=1; 46 46 md.thermal.penalty_threshold=10^5; 47 md.transient.isthermal=0; -
issm/trunk/test/Par/ISMIPF.py
r14310 r15396 48 48 md.thermal.stabilization=1 49 49 md.thermal.penalty_threshold=10**5 50 md.transient.isthermal=0 -
issm/trunk/test/Par/RoundSheetShelf.par
r13975 r15396 107 107 md.prognostic.spcthickness=NaN*ones(md.mesh.numberofvertices,1); 108 108 md.diagnostic.referential=NaN*ones(md.mesh.numberofvertices,6); 109 md.diagnostic.loadingforce=0*ones(md.mesh.numberofvertices,3); 109 110 md.thermal.spctemperature=737.*ones(md.mesh.numberofvertices,1); 110 111 -
issm/trunk/test/Par/RoundSheetShelf.py
r13975 r15396 116 116 md.prognostic.spcthickness=float('nan')*numpy.ones((md.mesh.numberofvertices,1)) 117 117 md.diagnostic.referential=float('nan')*numpy.ones((md.mesh.numberofvertices,6)) 118 md.diagnostic.loadingforce=0*numpy.ones((md.mesh.numberofvertices,3)) 118 119 md.thermal.spctemperature=737.*numpy.ones((md.mesh.numberofvertices,1)) 119 120 -
issm/trunk/test/Par/SquareSheetConstrained.par
r13975 r15396 49 49 md.timestepping.final_time=3.; 50 50 51 %GIA: 52 md.gia.lithosphere_thickness=100.*ones(md.mesh.numberofvertices,1); % in km 53 md.gia.mantle_viscosity=1.0*10^21*ones(md.mesh.numberofvertices,1); % in Pa.s 54 md.materials.lithosphere_shear_modulus=6.7*10^10; % in Pa 55 md.materials.lithosphere_density=3.32; % in g/cm^-3 56 md.materials.mantle_shear_modulus=1.45*10^11; % in Pa 57 md.materials.mantle_density=3.34; % in g/cm^-3 58 51 59 %Boundary conditions: 52 60 md=SetIceSheetBC(md); -
issm/trunk/test/Par/SquareSheetConstrained.py
r14310 r15396 59 59 md.timestepping.final_time=3. 60 60 61 #GIA: 62 md.gia.lithosphere_thickness=100.*numpy.ones((md.mesh.numberofvertices,1)); # in km 63 md.gia.mantle_viscosity=1.*10**21*numpy.ones((md.mesh.numberofvertices,1)); # in Pa.s 64 md.materials.lithosphere_shear_modulus=6.7*10**10; # in Pa 65 md.materials.lithosphere_density=3.32; # in g/cm^-3 66 md.materials.mantle_shear_modulus=1.45*10**11; # in Pa 67 md.materials.mantle_density=3.34; # in g/cm^-3 68 61 69 #Boundary conditions: 62 70 md=SetIceSheetBC(md) -
issm/trunk/test/Par/SquareShelf.py
r14310 r15396 26 26 vx=iVelF.variables['vx'][:] 27 27 vy=iVelF.variables['vy'][:] 28 index=iVelF.variables['index'][:].astype(float) 29 index=reshape(index.T,(len(index),3),order='F') 28 index=iVelF.variables['index'][:].astype(int) 30 29 31 30 #dbg - begin
Note:
See TracChangeset
for help on using the changeset viewer.