8 CombinedRoughness::CombinedRoughness() :
9 refcond(2.0), refvel(2.0)
20 const unsigned int length = member.size() / 3;
24 for (
unsigned int i = 1; i < length; ++i)
26 roughness += pow((member(i) - member(i - 1)) / refcond,
28 roughness += pow((member(i + 2 * length) - member(i - 1 + 2
29 * length)) / refvel, fitexp);
52 refcond = source.refcond;
53 refvel = source.refvel;
ublas::vector< double > ttranscribed
CombinedRoughness & operator=(const CombinedRoughness &source)
We have to copy the base class and the local data.
GeneralObjective & operator=(const GeneralObjective &source)
CombinedRoughness calculates the roughness of a joint MT- receiver functions model without considerat...
virtual ~CombinedRoughness()
int GetFitExponent()
Get the Fit exponent.
virtual double PostParallel(const ttranscribed &member)
Some operations cannot be done in parallel, these are done after, returns the misfit value...
double GetRMS()
Get the current RMS.
virtual void SafeParallel(const ttranscribed &member)
Calculate the roughness of the model given by the parameter member.
The basic object for any objective function, mainly an interface class and some storage.
void SetRMS(const double x)