Ignore:
Timestamp:
02/21/18 10:35:16 (7 years ago)
Author:
erobo
Message:

ADD: allows AD to be used with m1qn3 core, not compliled in now (dead code)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/SurfaceAbsVelMisfitx/SurfaceAbsVelMisfitx.cpp

    r18521 r22437  
    5959
    6060        /*Retrieve all inputs we will be needing: */
    61         Input* weights_input=topelement->GetInput(InversionCostFunctionsCoefficientsEnum); _assert_(weights_input);
     61//      Input* weights_input=topelement->GetInput(InversionCostFunctionsCoefficientsEnum); _assert_(weights_input);
    6262        Input* vx_input     =topelement->GetInput(VxEnum);                                 _assert_(vx_input);
    6363        Input* vxobs_input  =topelement->GetInput(InversionVxObsEnum);                     _assert_(vxobs_input);
     
    7979
    8080                /*Get all parameters at gaussian point*/
    81                 weights_input->GetInputValue(&weight,gauss,SurfaceAbsVelMisfitEnum);
     81                //weights_input->GetInputValue(&weight,gauss,SurfaceAbsVelMisfitEnum);
    8282                vx_input->GetInputValue(&vx,gauss);
    8383                vxobs_input->GetInputValue(&vxobs,gauss);
     
    9898
    9999                /*Add to cost function*/
    100                 Jelem+=misfit*weight*Jdet*gauss->weight;
     100                //Jelem+=misfit*weight*Jdet*gauss->weight;
     101                Jelem+=misfit*Jdet*gauss->weight;
     102
    101103        }
    102104
Note: See TracChangeset for help on using the changeset viewer.