Ignore:
Timestamp:
05/25/14 18:01:37 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: working on moving gradient to adjoint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/c/classes/Elements/Seg.cpp ΒΆ

    r17972 r18058  
    116116
    117117}/*}}}*/
    118 void       Seg::GradientIndexing(int* indexing,int control_index){/*{{{*/
    119 
    120         /*Get some parameters*/
    121         int num_controls;
    122         parameters->FindParam(&num_controls,InversionNumControlParametersEnum);
    123 
    124         /*get gradient indices*/
    125         for(int i=0;i<NUMVERTICES;i++){
    126                 indexing[i]=num_controls*this->vertices[i]->Pid() + control_index;
    127         }
    128 
    129 }
    130 /*}}}*/
    131118void       Seg::GradjDragFS(Vector<IssmDouble>* gradient,int control_index){/*{{{*/
    132119
Note: See TracChangeset for help on using the changeset viewer.