- Timestamp:
- 02/21/18 10:35:16 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/SurfaceAbsVelMisfitx/SurfaceAbsVelMisfitx.cpp
r18521 r22437 59 59 60 60 /*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); 62 62 Input* vx_input =topelement->GetInput(VxEnum); _assert_(vx_input); 63 63 Input* vxobs_input =topelement->GetInput(InversionVxObsEnum); _assert_(vxobs_input); … … 79 79 80 80 /*Get all parameters at gaussian point*/ 81 weights_input->GetInputValue(&weight,gauss,SurfaceAbsVelMisfitEnum);81 //weights_input->GetInputValue(&weight,gauss,SurfaceAbsVelMisfitEnum); 82 82 vx_input->GetInputValue(&vx,gauss); 83 83 vxobs_input->GetInputValue(&vxobs,gauss); … … 98 98 99 99 /*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 101 103 } 102 104
Note:
See TracChangeset
for help on using the changeset viewer.