GPLIB++
Public Member Functions | List of all members
gplib::MTRoughness Class Reference

Calculate the roughness for the MT part of a joint MT-seismic model as used by 1dinvga. More...

#include <MTRoughness.h>

Inheritance diagram for gplib::MTRoughness:
Inheritance graph
[legend]

Public Member Functions

virtual MTRoughnessclone () const
 We need clone and create for building an array of derived objects, see FAQ lite 20.8, the return type depends on the derived class. More...
 
virtual void SafeParallel (const ttranscribed &member)
 The core performance calculation, has to be safe to be done in parallel. More...
 
virtual double PostParallel (const ttranscribed &member)
 Some operations cannot be done in parallel, these are done after, returns the misfit value. More...
 
 MTRoughness (const MTRoughness &Old)
 
MTRoughnessoperator= (const MTRoughness &source)
 
 MTRoughness ()
 
virtual ~MTRoughness ()
 
- Public Member Functions inherited from gplib::GeneralObjective
void SetFitExponent (const int x)
 Set the Fit exponent. More...
 
int GetFitExponent ()
 Get the Fit exponent. More...
 
double GetRMS ()
 Get the current RMS. More...
 
const std::string & GetParallelID ()
 Derived classes need to read the ParallelId for their forward calculations. More...
 
void SetParallelID (const std::string &s)
 We need to set the parallel ID outside the Objective function object. More...
 
const tmisfitGetMisfit ()
 Return the misfit vector. More...
 
const tdataGetSynthData ()
 Return the current synthetic data. More...
 
virtual void PreParallel (const ttranscribed &member)
 Some operations cannot be done in parallel, these are done before. More...
 
double CalcPerformance (const ttranscribed &member)
 For serial execution CalcPerformance calls the three Parallel functions for more convenient use. More...
 
 GeneralObjective ()
 
 GeneralObjective (const GeneralObjective &Old)
 
GeneralObjectiveoperator= (const GeneralObjective &source)
 
virtual ~GeneralObjective ()
 

Additional Inherited Members

- Protected Member Functions inherited from gplib::GeneralObjective
double CalcMisfit (const double measured, const double predicted, const double measerror, const double errorlevel, const int index)
 
void SetRMS (const double x)
 
tmisfitSetMisfit ()
 Only derived classes can write access the Misfit. More...
 
void SetMisfit (const tmisfit &LocalMisfit)
 
tdataSetSynthData ()
 Only derived classes can write access the Synthetic data. More...
 
void SetSynthData (const tdata &LocalSynthData)
 

Detailed Description

Calculate the roughness for the MT part of a joint MT-seismic model as used by 1dinvga.

Definition at line 7 of file MTRoughness.h.

Constructor & Destructor Documentation

gplib::MTRoughness::MTRoughness ( const MTRoughness Old)

Definition at line 31 of file MTRoughness.cpp.

gplib::MTRoughness::MTRoughness ( )

Definition at line 5 of file MTRoughness.cpp.

Referenced by clone().

gplib::MTRoughness::~MTRoughness ( )
virtual

Definition at line 9 of file MTRoughness.cpp.

Member Function Documentation

virtual MTRoughness* gplib::MTRoughness::clone ( ) const
inlinevirtual

We need clone and create for building an array of derived objects, see FAQ lite 20.8, the return type depends on the derived class.

Implements gplib::GeneralObjective.

Definition at line 10 of file MTRoughness.h.

References MTRoughness().

MTRoughness & gplib::MTRoughness::operator= ( const MTRoughness source)

Definition at line 36 of file MTRoughness.cpp.

References gplib::GeneralObjective::operator=().

double gplib::MTRoughness::PostParallel ( const ttranscribed member)
virtual

Some operations cannot be done in parallel, these are done after, returns the misfit value.

Implements gplib::GeneralObjective.

Definition at line 26 of file MTRoughness.cpp.

References gplib::GeneralObjective::GetRMS().

void gplib::MTRoughness::SafeParallel ( const ttranscribed member)
virtual

The core performance calculation, has to be safe to be done in parallel.

Reimplemented from gplib::GeneralObjective.

Definition at line 13 of file MTRoughness.cpp.

References gplib::GeneralObjective::GetFitExponent(), and gplib::GeneralObjective::SetRMS().


The documentation for this class was generated from the following files: