Changeset 17240


Ignore:
Timestamp:
02/07/14 15:58:49 (11 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fixing some missing analyses (conditional)

Location:
issm/trunk-jpl
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/m4/issm_options.m4

    r17236 r17240  
    16691669        AC_MSG_RESULT($HAVE_BALANCEVELOCITY)
    16701670        dnl }}}
     1671        dnl with-L2ProjectionEPL{{{
     1672        AC_ARG_WITH([L2ProjectionEPL],
     1673                AS_HELP_STRING([--with-L2ProjectionEPL = YES], [compile with L2ProjectionEPL capabilities (default is yes)]),
     1674                [L2PROJECTIONEPL=$withval],[L2PROJECTIONEPL=yes])
     1675        AC_MSG_CHECKING(for L2ProjectionEPL capability compilation)
     1676
     1677        HAVE_L2PROJECTIONEPL=no
     1678        if test "x$L2PROJECTIONEPL" = "xyes"; then
     1679                HAVE_L2PROJECTIONEPL=yes
     1680                AC_DEFINE([_HAVE_L2PROJECTIONEPL_],[1],[with L2ProjectionEPL capability])
     1681        fi
     1682        AM_CONDITIONAL([L2PROJECTIONEPL], [test x$HAVE_L2PROJECTIONEPL = xyes])
     1683        AC_MSG_RESULT($HAVE_L2PROJECTIONEPL)
     1684        dnl }}}
    16711685        dnl with-L2ProjectionBase{{{
    16721686        AC_ARG_WITH([L2ProjectionBase],
     
    18921906        AM_CONDITIONAL([THERMAL], [test x$HAVE_THERMAL = xyes])
    18931907        AC_MSG_RESULT($HAVE_THERMAL)
     1908        dnl }}}
     1909        dnl with-SmoothedSurfaceSlopeX{{{
     1910        AC_ARG_WITH([SmoothedSurfaceSlopeX],
     1911                AS_HELP_STRING([--with-SmoothedSurfaceSlopeX = YES], [compile with SmoothedSurfaceSlopeX capabilities (default is yes)]),
     1912                [SMOOTHEDSURFACESLOPEX=$withval],[SMOOTHEDSURFACESLOPEX=yes])
     1913        AC_MSG_CHECKING(for SmoothedSurfaceSlopeX capability compilation)
     1914
     1915        HAVE_SMOOTHEDSURFACESLOPEX=no
     1916        if test "x$SMOOTHEDSURFACESLOPEX" = "xyes"; then
     1917                HAVE_SMOOTHEDSURFACESLOPEX=yes
     1918                AC_DEFINE([_HAVE_SMOOTHEDSURFACESLOPEX_],[1],[with SmoothedSurfaceSlopeX capability])
     1919        fi
     1920        AM_CONDITIONAL([SMOOTHEDSURFACESLOPEX], [test x$HAVE_SMOOTHEDSURFACESLOPEX = xyes])
     1921        AC_MSG_RESULT($HAVE_SMOOTHEDSURFACESLOPEX)
     1922        dnl }}}
     1923        dnl with-SmoothedSurfaceSlopeY{{{
     1924        AC_ARG_WITH([SmoothedSurfaceSlopeY],
     1925                AS_HELP_STRING([--with-SmoothedSurfaceSlopeY = YES], [compile with SmoothedSurfaceSlopeY capabilities (default is yes)]),
     1926                [SMOOTHEDSURFACESLOPEY=$withval],[SMOOTHEDSURFACESLOPEY=yes])
     1927        AC_MSG_CHECKING(for SmoothedSurfaceSlopeY capability compilation)
     1928
     1929        HAVE_SMOOTHEDSURFACESLOPEY=no
     1930        if test "x$SMOOTHEDSURFACESLOPEY" = "xyes"; then
     1931                HAVE_SMOOTHEDSURFACESLOPEY=yes
     1932                AC_DEFINE([_HAVE_SMOOTHEDSURFACESLOPEY_],[1],[with SmoothedSurfaceSlopeY capability])
     1933        fi
     1934        AM_CONDITIONAL([SMOOTHEDSURFACESLOPEY], [test x$HAVE_SMOOTHEDSURFACESLOPEY = xyes])
     1935        AC_MSG_RESULT($HAVE_SMOOTHEDSURFACESLOPEY)
    18941936        dnl }}}
    18951937        dnl with-Meshdeformation{{{
  • issm/trunk-jpl/src/c/Makefile.am

    r17238 r17240  
    542542issm_sources += ./analyses/HydrologyDCEfficientAnalysis.cpp
    543543endif
     544if L2PROJECTIONEPL
     545issm_sources += ./analyses/L2ProjectionEPLAnalysis.cpp
     546endif
    544547if MELTING
    545548issm_sources += ./analyses/MeltingAnalysis.cpp
     
    562565if THERMAL
    563566issm_sources += ./analyses/ThermalAnalysis.cpp
     567endif
     568if SMOOTHEDSURFACESLOPEX
     569issm_sources += ./analyses/SmoothedSurfaceSlopeXAnalysis.cpp
     570endif
     571if SMOOTHEDSURFACESLOPEY
     572issm_sources += ./analyses/SmoothedSurfaceSlopeYAnalysis.cpp
    564573endif
    565574if MESHDEFORMATION
  • issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp

    r17230 r17240  
    802802
    803803        /*Create Riffront loads for rifts: */
    804 #ifdef _HAVE_RIFTS_
    805804        if(numrifts){
    806805                iomodel->FetchData(&riftinfo,&numriftsegments,NULL,RiftsRiftstructEnum);
     
    815814                xDelete<IssmDouble>(riftinfo);
    816815        }
    817 #endif
    818816}/*}}}*/
    819817
Note: See TracChangeset for help on using the changeset viewer.