Changeset 22009


Ignore:
Timestamp:
08/25/17 14:11:04 (8 years ago)
Author:
Mathieu Morlighem
Message:

CHG: do not call love_core if _HAVE_LOVE_ is not defined

Location:
issm/trunk-jpl/src/c
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/cores/CorePointerFromSolutionEnum.cpp

    r22004 r22009  
    7676                        break;
    7777                case LoveSolutionEnum:
     78                        #if _HAVE_LOVE_
    7879                        solutioncore=&love_core;
     80                        #else
     81                        _error_("ISSM not compiled with Love capability");
     82                        #endif
    7983                        break;
    8084
  • issm/trunk-jpl/src/c/cores/gia_core.cpp

    r21579 r22009  
    5656        xDelete<IssmDouble>(x);
    5757        xDelete<IssmDouble>(y);
    58 
    59 
    6058}
  • issm/trunk-jpl/src/c/modules/FourierLoveCorex/FourierLoveCorex.cpp

    r22004 r22009  
    1919}
    2020
    21 /*}}}*/
    22 
    2321void FourierLoveCorex( IssmDouble* LoveKr, IssmDouble* LoveKi, IssmDouble* LoveHr, IssmDouble* LoveHi, IssmDouble* LoveLr,
    2422                IssmDouble* LoveLi, int nfreq, IssmDouble* frequencies, int sh_nmax, int sh_nmin,
     
    3331                 &numlayers,  radius,  viscosity,  lame_lambda,  lame_mu,
    3432                 burgers_viscosity,  burgers_mu,  density,  isburgers,  issolid);
    35 
    36        
    37        
    3833}
Note: See TracChangeset for help on using the changeset viewer.