Changeset 22753


Ignore:
Timestamp:
05/09/18 10:34:02 (7 years ago)
Author:
erobo
Message:

CHG: switch from isautodiff to HAVE_ADOLC as the if else for file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/ModelProcessorx/Control/UpdateElementsAndMaterialsControl.cpp

    r22740 r22753  
    1010
    1111
    12 //#if !defined(_HAVE_ADOLC_)
     12#if !defined(_HAVE_ADOLC_)
    1313void    UpdateElementsAndMaterialsControl(Elements* elements,Parameters* parameters,Materials* materials, IoModel* iomodel){
    14         bool isautodiff;
    15         iomodel->FindConstant(&isautodiff,"md.autodiff.isautodiff");
    16         if(!isautodiff){
    1714        /*Intermediary*/
    1815        bool       control_analysis;
     
    131128        xDelete<char*>(controls);
    132129}
    133 //}
    134 //#else
    135 //void UpdateElementsAndMaterialsControl(Elements* elements,Parameters* parameters,Materials* materials, IoModel* iomodel){
    136 else{
     130#else
     131void UpdateElementsAndMaterialsControl(Elements* elements,Parameters* parameters,Materials* materials, IoModel* iomodel){
    137132
    138133        /*Intermediaries*/
     
    234229        return;
    235230}
    236 }
    237 //#endif
     231#endif
Note: See TracChangeset for help on using the changeset viewer.