Changeset 21858


Ignore:
Timestamp:
07/24/17 16:28:33 (8 years ago)
Author:
Mathieu Morlighem
Message:

CHG: shielding AMR stuff from adolc

File:
1 edited

Legend:

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

    r21804 r21858  
    182182                /*Adaptive mesh refinement*/
    183183                if(amr_frequency){
     184
     185                        #if !defined(_HAVE_ADOLC_)
    184186                        if(save_results) femmodel->WriteMeshInResults();
    185187                        if(step%amr_frequency==0 && time<finaltime){
     
    187189                                femmodel->ReMesh();//Do not refine the last step
    188190                        }
     191
     192                        #else
     193                        _error_("AMR not suppored with ADOLC");
     194                        #endif
    189195                }
    190196        }
Note: See TracChangeset for help on using the changeset viewer.