Page 1 of 1

Misfit calculation, StatValue::misfit

Posted: Wed Apr 30, 2014 7:06 am
by vincent.metais
I would like to change the misfit function in the code for the inversion of surface waves with Dinver. It seems the calculation is done by the StatValue::misfit method called in the ModalCurve::misfit. The pointMisfit variable returns the good calculation of the misfit for one point. But if I put

Code: Select all

cout << "here  !!!!!!!!!!" << endl;
, with the include :

Code: Select all

#include <iostream> using namespace std; 
, at the beginning of the StatValue::misfit method nothing happens.

Where is the calculus of Misfit done ? And why the cout returns nothing ?

Thank you,