Changeset 23142


Ignore:
Timestamp:
08/20/18 16:11:41 (7 years ago)
Author:
Mathieu Morlighem
Message:

BUG: do not check for AMR if solution is not transient

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/FemModel.cpp

    r23094 r23142  
    8383   /*AMR stuff*/
    8484        this->parameters->FindParam(&amr_frequency,TransientAmrFrequencyEnum);
     85        this->parameters->FindParam(&amr_frequency,TransientAmrFrequencyEnum);
    8586        #if defined(_HAVE_NEOPZ_) && !defined(_HAVE_ADOLC_)
    8687        this->amr = NULL;
     
    9091        #endif
    9192        #if !defined(_HAVE_ADOLC_)
    92         if(amr_frequency){
     93        if(amr_frequency && solution_type==TransientSolutionEnum){
    9394                /*Verifications. AMR supports SSA, P1 and horizontal 2D domain*/
    9495                bool isSSA;
Note: See TracChangeset for help on using the changeset viewer.