Changeset 423


Ignore:
Timestamp:
05/14/09 10:55:38 (16 years ago)
Author:
Mathieu Morlighem
Message:

fixed relative misfit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Tria.cpp

    r419 r423  
    21722172                        if(obs_vx_list[i]==0)scalex=0;
    21732173                        if(obs_vy_list[i]==0)scaley=0;
    2174                         relative_list[i]=0.5*(scalex*pow((vx_list[i]-obs_vx_list[i]),2)+scaley*pow((vy_list[i]-obs_vy_list[i]),2))*Jdet*gauss_weight;
     2174                        relative_list[i]=0.5*(scalex*pow((vx_list[i]-obs_vx_list[i]),2)+scaley*pow((vy_list[i]-obs_vy_list[i]),2));
    21752175                }
    21762176        }
Note: See TracChangeset for help on using the changeset viewer.