FEMTIC
Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
ObservedData Class Reference

#include <ObservedData.h>

Collaboration diagram for ObservedData:
Collaboration graph
[legend]

Public Types

enum  typeID {
  MT =0 , HTF , VTF , PT ,
  NMT , NMT2 , APP_RES_AND_PHS , NMT2_APP_RES_AND_PHS
}
 

Public Member Functions

void inputObservedData ()
 
void inputDistortionMatrixData ()
 
int getTotalNumberOfDifferenetFrequencies () const
 
double getFrequencyValue (const int num) const
 
void findElementIncludingEachStation ()
 
void calculateEMFieldOfAllStations (const Forward3D *const ptrForward3D, const double freq, const int iPol, const int ifreq)
 
void calculateResponseFunctionOfAllStations (const int freqIDAmongThisPE)
 
void initializeResponseFunctionsAndErrorsOfAllStations ()
 
void allocateMemoryForCalculatedValuesOfAllStations ()
 
void outputCalculatedValuesOfAllStations () const
 
void calculateInterpolatorVectors (Forward3D *const ptrForward3D, const double freq)
 
void calculateSensitivityMatrix (const std::complex< double > *const derivativesOfEMFieldExPol, const std::complex< double > *const derivativesOfEMFieldEyPol, const double freq, const int nModel, double *const sensitivityMatrix) const
 
void calculateResidualVectorOfDataThisPE (double *const vector) const
 
int getNumInterpolatorVectors () const
 
int getNumObservedDataThisPETotal () const
 
int getNumObservedDataThisPE (const int ifreq) const
 
int getNumObservedDataThisPEAccumulated (const int num) const
 
int incrementNumInterpolatorVectors ()
 
void multiplyMatrixByScaledData (const int nRow, const double *const matIn, const double *const vecIn, double *vecOut) const
 
void calcFrequenciesCalculatedByThisPE ()
 
int getNumOfFrequenciesCalculatedByThisPE () const
 
int getIDsOfFrequenciesCalculatedByThisPE (const int num) const
 
double getValuesOfFrequenciesCalculatedByThisPE (const int num) const
 
double calculateErrorSumOfSquaresThisPE () const
 
double calculateSumSquareOfDistortionMatrixComplexity () const
 
double calculateSumSquareOfDistortionMatrixGains () const
 
double calculateSumSquareOfDistortionMatrixRotations () const
 
int getNumDistortionParamsNotFixed () const
 
int getTypesOfDistortionParamsNotFixed (const int iParamsNotFixed) const
 
void copyDistortionParamsNotFixedToVector (double *vector) const
 
void copyDistortionParamsNotFixedPreToVector (double *vector) const
 
void copyDistortionParamsCurToPre () const
 
void calcDistortionParamsUpdatedFullFromIncrements (const double *const distortionParamIncre)
 
void updateDistortionParams ()
 
void outputDistortionParams (const int iterNum) const
 
void outputLocationsOfObservedStationsToVtk () const
 
void outputInductionArrowToVtk (const int iterNum) const
 
int getFreqIDs (const double freq) const
 

Static Public Member Functions

static ObservedDatagetInstance ()
 

Private Member Functions

 ObservedData ()
 
 ~ObservedData ()
 
 ObservedData (const ObservedData &rhs)
 
ObservedDataoperator= (const ObservedData &rhs)
 
void checkAndAddNewFrequency (const double freq)
 
bool isUseMagneticFieldOfTheStation (const double freq, const int staID)
 
ObservedDataStationPointgetInstanceOfMagneticStation (const int IDOfMagSta) const
 
void calcNumDistortionParamsNotFixed ()
 

Private Attributes

int m_numAllStations
 
int m_numStationsMT
 
int m_numStationsApparentResistivityAndPhase
 
int m_numStationsHTF
 
int m_numStationsVTF
 
int m_numStationsPT
 
int m_numStationsNMT
 
int m_numStationsNMT2
 
int m_numStationsNMT2ApparentResistivityAndPhase
 
int m_numAdditinalOutputPoint
 
int m_numInterpolatorVectors
 
std::map< int, int > m_stationID2type
 
std::map< int, int > m_stationID2IDAmongEachStationType
 
std::vector< double > m_frequencyAll
 
int m_numOfFrequenciesCalculatedByThisPE
 
int * m_IDsOfFrequenciesCalculatedByThisPE
 
double * m_valuesOfFrequenciesCalculatedByThisPE
 
ObservedDataStationMTm_observedStationMT
 
ObservedDataStationApparentResistivityAndPhasem_observedStationApparentResistivityAndPhase
 
ObservedDataStationHTFm_observedStationHTF
 
ObservedDataStationVTFm_observedStationVTF
 
ObservedDataStationPTm_observedStationPT
 
ObservedDataStationNMTm_observedStationNMT
 
ObservedDataStationNMT2m_observedStationNMT2
 
ObservedDataStationNMT2ApparentResistivityAndPhasem_observedStationNMT2ApparentResistivityAndPhase
 
AdditinalOutputPointm_additinalOutputPoint
 
int * m_numObservedDataThisPEAccumulated
 
std::vector< int > m_typesOfDistortionParamsNotFixed
 

Member Enumeration Documentation

◆ typeID

Enumerator
MT 
HTF 
VTF 
PT 
NMT 
NMT2 
APP_RES_AND_PHS 
NMT2_APP_RES_AND_PHS 

Constructor & Destructor Documentation

◆ ObservedData() [1/2]

ObservedData::ObservedData ( )
private

◆ ~ObservedData()

ObservedData::~ObservedData ( )
private

◆ ObservedData() [2/2]

ObservedData::ObservedData ( const ObservedData rhs)
private

Member Function Documentation

◆ allocateMemoryForCalculatedValuesOfAllStations()

void ObservedData::allocateMemoryForCalculatedValuesOfAllStations ( )

◆ calcDistortionParamsUpdatedFullFromIncrements()

void ObservedData::calcDistortionParamsUpdatedFullFromIncrements ( const double *const  distortionParamIncre)

◆ calcFrequenciesCalculatedByThisPE()

void ObservedData::calcFrequenciesCalculatedByThisPE ( )

◆ calcNumDistortionParamsNotFixed()

void ObservedData::calcNumDistortionParamsNotFixed ( )
private

◆ calculateEMFieldOfAllStations()

void ObservedData::calculateEMFieldOfAllStations ( const Forward3D *const  ptrForward3D,
const double  freq,
const int  iPol,
const int  ifreq 
)

◆ calculateErrorSumOfSquaresThisPE()

double ObservedData::calculateErrorSumOfSquaresThisPE ( ) const

◆ calculateInterpolatorVectors()

void ObservedData::calculateInterpolatorVectors ( Forward3D *const  ptrForward3D,
const double  freq 
)

◆ calculateResidualVectorOfDataThisPE()

void ObservedData::calculateResidualVectorOfDataThisPE ( double *const  vector) const

◆ calculateResponseFunctionOfAllStations()

void ObservedData::calculateResponseFunctionOfAllStations ( const int  freqIDAmongThisPE)

◆ calculateSensitivityMatrix()

void ObservedData::calculateSensitivityMatrix ( const std::complex< double > *const  derivativesOfEMFieldExPol,
const std::complex< double > *const  derivativesOfEMFieldEyPol,
const double  freq,
const int  nModel,
double *const  sensitivityMatrix 
) const

◆ calculateSumSquareOfDistortionMatrixComplexity()

double ObservedData::calculateSumSquareOfDistortionMatrixComplexity ( ) const

◆ calculateSumSquareOfDistortionMatrixGains()

double ObservedData::calculateSumSquareOfDistortionMatrixGains ( ) const

◆ calculateSumSquareOfDistortionMatrixRotations()

double ObservedData::calculateSumSquareOfDistortionMatrixRotations ( ) const

◆ checkAndAddNewFrequency()

void ObservedData::checkAndAddNewFrequency ( const double  freq)
private

◆ copyDistortionParamsCurToPre()

void ObservedData::copyDistortionParamsCurToPre ( ) const

◆ copyDistortionParamsNotFixedPreToVector()

void ObservedData::copyDistortionParamsNotFixedPreToVector ( double *  vector) const

◆ copyDistortionParamsNotFixedToVector()

void ObservedData::copyDistortionParamsNotFixedToVector ( double *  vector) const

◆ findElementIncludingEachStation()

void ObservedData::findElementIncludingEachStation ( )

◆ getFreqIDs()

int ObservedData::getFreqIDs ( const double  freq) const

◆ getFrequencyValue()

double ObservedData::getFrequencyValue ( const int  num) const

◆ getIDsOfFrequenciesCalculatedByThisPE()

int ObservedData::getIDsOfFrequenciesCalculatedByThisPE ( const int  num) const

◆ getInstance()

ObservedData * ObservedData::getInstance ( )
static

◆ getInstanceOfMagneticStation()

ObservedDataStationPoint * ObservedData::getInstanceOfMagneticStation ( const int  IDOfMagSta) const
private

◆ getNumDistortionParamsNotFixed()

int ObservedData::getNumDistortionParamsNotFixed ( ) const

◆ getNumInterpolatorVectors()

int ObservedData::getNumInterpolatorVectors ( ) const

◆ getNumObservedDataThisPE()

int ObservedData::getNumObservedDataThisPE ( const int  ifreq) const

◆ getNumObservedDataThisPEAccumulated()

int ObservedData::getNumObservedDataThisPEAccumulated ( const int  num) const

◆ getNumObservedDataThisPETotal()

int ObservedData::getNumObservedDataThisPETotal ( ) const

◆ getNumOfFrequenciesCalculatedByThisPE()

int ObservedData::getNumOfFrequenciesCalculatedByThisPE ( ) const

◆ getTotalNumberOfDifferenetFrequencies()

int ObservedData::getTotalNumberOfDifferenetFrequencies ( ) const

◆ getTypesOfDistortionParamsNotFixed()

int ObservedData::getTypesOfDistortionParamsNotFixed ( const int  iParamsNotFixed) const

◆ getValuesOfFrequenciesCalculatedByThisPE()

double ObservedData::getValuesOfFrequenciesCalculatedByThisPE ( const int  num) const

◆ incrementNumInterpolatorVectors()

int ObservedData::incrementNumInterpolatorVectors ( )

◆ initializeResponseFunctionsAndErrorsOfAllStations()

void ObservedData::initializeResponseFunctionsAndErrorsOfAllStations ( )

◆ inputDistortionMatrixData()

void ObservedData::inputDistortionMatrixData ( )

◆ inputObservedData()

void ObservedData::inputObservedData ( )

◆ isUseMagneticFieldOfTheStation()

bool ObservedData::isUseMagneticFieldOfTheStation ( const double  freq,
const int  staID 
)
private

◆ multiplyMatrixByScaledData()

void ObservedData::multiplyMatrixByScaledData ( const int  nRow,
const double *const  matIn,
const double *const  vecIn,
double *  vecOut 
) const

◆ operator=()

ObservedData& ObservedData::operator= ( const ObservedData rhs)
private

◆ outputCalculatedValuesOfAllStations()

void ObservedData::outputCalculatedValuesOfAllStations ( ) const

◆ outputDistortionParams()

void ObservedData::outputDistortionParams ( const int  iterNum) const

◆ outputInductionArrowToVtk()

void ObservedData::outputInductionArrowToVtk ( const int  iterNum) const

◆ outputLocationsOfObservedStationsToVtk()

void ObservedData::outputLocationsOfObservedStationsToVtk ( ) const

◆ updateDistortionParams()

void ObservedData::updateDistortionParams ( )

Member Data Documentation

◆ m_additinalOutputPoint

AdditinalOutputPoint* ObservedData::m_additinalOutputPoint
private

◆ m_frequencyAll

std::vector<double> ObservedData::m_frequencyAll
private

◆ m_IDsOfFrequenciesCalculatedByThisPE

int* ObservedData::m_IDsOfFrequenciesCalculatedByThisPE
private

◆ m_numAdditinalOutputPoint

int ObservedData::m_numAdditinalOutputPoint
private

◆ m_numAllStations

int ObservedData::m_numAllStations
private

◆ m_numInterpolatorVectors

int ObservedData::m_numInterpolatorVectors
private

◆ m_numObservedDataThisPEAccumulated

int* ObservedData::m_numObservedDataThisPEAccumulated
private

◆ m_numOfFrequenciesCalculatedByThisPE

int ObservedData::m_numOfFrequenciesCalculatedByThisPE
private

◆ m_numStationsApparentResistivityAndPhase

int ObservedData::m_numStationsApparentResistivityAndPhase
private

◆ m_numStationsHTF

int ObservedData::m_numStationsHTF
private

◆ m_numStationsMT

int ObservedData::m_numStationsMT
private

◆ m_numStationsNMT

int ObservedData::m_numStationsNMT
private

◆ m_numStationsNMT2

int ObservedData::m_numStationsNMT2
private

◆ m_numStationsNMT2ApparentResistivityAndPhase

int ObservedData::m_numStationsNMT2ApparentResistivityAndPhase
private

◆ m_numStationsPT

int ObservedData::m_numStationsPT
private

◆ m_numStationsVTF

int ObservedData::m_numStationsVTF
private

◆ m_observedStationApparentResistivityAndPhase

ObservedDataStationApparentResistivityAndPhase* ObservedData::m_observedStationApparentResistivityAndPhase
private

◆ m_observedStationHTF

ObservedDataStationHTF* ObservedData::m_observedStationHTF
private

◆ m_observedStationMT

ObservedDataStationMT* ObservedData::m_observedStationMT
private

◆ m_observedStationNMT

ObservedDataStationNMT* ObservedData::m_observedStationNMT
private

◆ m_observedStationNMT2

ObservedDataStationNMT2* ObservedData::m_observedStationNMT2
private

◆ m_observedStationNMT2ApparentResistivityAndPhase

ObservedDataStationNMT2ApparentResistivityAndPhase* ObservedData::m_observedStationNMT2ApparentResistivityAndPhase
private

◆ m_observedStationPT

ObservedDataStationPT* ObservedData::m_observedStationPT
private

◆ m_observedStationVTF

ObservedDataStationVTF* ObservedData::m_observedStationVTF
private

◆ m_stationID2IDAmongEachStationType

std::map<int,int> ObservedData::m_stationID2IDAmongEachStationType
private

◆ m_stationID2type

std::map<int,int> ObservedData::m_stationID2type
private

◆ m_typesOfDistortionParamsNotFixed

std::vector<int> ObservedData::m_typesOfDistortionParamsNotFixed
private

◆ m_valuesOfFrequenciesCalculatedByThisPE

double* ObservedData::m_valuesOfFrequenciesCalculatedByThisPE
private

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