Changeset 16121


Ignore:
Timestamp:
09/10/13 15:34:08 (12 years ago)
Author:
utke
Message:

CHG guard the function pointer settings based on the configuration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/analyses/ad_core.cpp

    r16118 r16121  
    9393
    9494                                /*set the forward method function pointer: */
     95#ifdef _HAVE_GSL_
    9596                                anEDF_for_solverx_p->fos_forward=EDF_fos_forward_for_solverx;
     97#endif
    9698
    9799                                /*allocate the space for the parameters to invoke the EDF fos_forward:*/
     
    137139
    138140                                /*set the forward method function pointers: */
     141#ifdef _HAVE_GSL_
    139142                                anEDF_for_solverx_p->fov_forward=EDF_fov_forward_for_solverx;
     143#endif
    140144                                // anEDF_for_solverx_p->fov_reverse=EDF_fov_reverse_for_solverx;
    141145
     
    195199
    196200                                /*set the forward method function pointer: */
     201#ifdef _HAVE_GSL_
    197202                                anEDF_for_solverx_p->fos_reverse=EDF_fos_reverse_for_solverx;
     203#endif
     204#ifdef _HAVE_MUMPS_
     205                                anEDF_for_solverx_p->fos_reverse_iArr=fos_reverse_mumpsSolveEDF;
     206#endif
    198207
    199208                                /*allocate the space for the parameters to invoke the EDF fos_reverse :*/
     
    237246
    238247                                /*set the forward method function pointers: */
     248#ifdef _HAVE_GSL_
    239249                                anEDF_for_solverx_p->fov_reverse=EDF_fov_reverse_for_solverx;
     250#endif
    240251
    241252                                /*allocate the space for the parameters to invoke the EDF fos_reverse :*/
Note: See TracChangeset for help on using the changeset viewer.