Changeset 28221


Ignore:
Timestamp:
04/09/24 05:04:23 (12 months ago)
Author:
Mathieu Morlighem
Message:

CHG: added support for PETSc 3.21

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

Legend:

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

    r27716 r28221  
    8383
    8484        /*Prepare all TAO parameters*/
     85        #if PETSC_VERSION_LT(3,21,0)
    8586        TaoSetMonitor(tao,IssmMonitor,&user,NULL);
     87        #else
     88        TaoMonitorSet(tao,IssmMonitor,&user,NULL);
     89        #endif
    8690        TaoSetMaximumFunctionEvaluations(tao,maxiter);
    8791        TaoSetMaximumIterations(tao,maxsteps);
Note: See TracChangeset for help on using the changeset viewer.