Changeset 21525


Ignore:
Timestamp:
02/06/17 20:47:20 (8 years ago)
Author:
seroussi
Message:

NEW: starting to work on ocean coupling

Location:
issm/trunk-jpl
Files:
1 added
2 edited

Legend:

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

    r21490 r21525  
    18951895        AC_MSG_RESULT($HAVE_BAMG)
    18961896        dnl }}}
     1897        dnl with-ocean{{{
     1898        AC_ARG_WITH([ocean],
     1899                AS_HELP_STRING([--with-ocean = YES],[compile with ice/ocean coupling (default is no)]),
     1900                [OCEAN=$withval],[OCEAN=no])
     1901        AC_MSG_CHECKING(for ice/ocean capability compilation)
     1902
     1903        HAVE_OCEAN=no
     1904        if test "x$OCEAN" = "xyes"; then
     1905                HAVE_OCEAN=yes
     1906                AC_DEFINE([_HAVE_OCEAN_],[1],[with ice/ocean coupling capability])
     1907        fi
     1908        AM_CONDITIONAL([OCEAN], [test x$HAVE_OCEAN = xyes])
     1909        AC_MSG_RESULT($HAVE_OCEAN)
     1910        dnl }}}
    18971911        dnl with-kml{{{
    18981912        AC_ARG_WITH([kml],
  • issm/trunk-jpl/src/c/Makefile.am

    r21516 r21525  
    264264                                        ./modules/ConstraintsStatex/RiftConstraintsState.cpp\
    265265                                        ./modules/ModelProcessorx/CreateOutputDefinitions.cpp\
    266                                         ./modules/OutputDefinitionsResponsex/OutputDefinitionsResponsex.cpp\   
     266                                        ./modules/OutputDefinitionsResponsex/OutputDefinitionsResponsex.cpp\
    267267                                        ./modules/InterpFromMeshToMesh2dx/InterpFromMeshToMesh2dx.cpp\
    268268                                        ./classes/Inputs/PentaInput.cpp\
     
    694694issm_slr_CXXFLAGS= $(CXXFLAGS) $(CXXOPTFLAGS)
    695695
     696if OCEAN
     697bin_PROGRAMS += issm_ocean
     698issm_ocean_SOURCES = main/issm_ocean.cpp
     699issm_ocean_CXXFLAGS= $(CXXFLAGS) $(CXXOPTFLAGS)
     700endif
    696701
    697702if KRIGING
Note: See TracChangeset for help on using the changeset viewer.