FEMTIC
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ObservedDataStationPT Class Reference

#include <ObservedDataStationPT.h>

Inheritance diagram for ObservedDataStationPT:
Inheritance graph
[legend]
Collaboration diagram for ObservedDataStationPT:
Collaboration graph
[legend]

Public Member Functions

 ObservedDataStationPT ()
 
 ~ObservedDataStationPT ()
 
void inputObservedData (std::ifstream &inFile)
 
void calculateElectricField (const Forward3D *const ptrForward3D, const int rhsVectorIDOfEx, const int rhsVectorIDOfEy)
 
void calculatePhaseTensor (const double freq, const ObservedDataStationPoint *const ptrStationOfMagneticField, int &icount)
 
void initializeElectricField (const int iPol)
 
void initializePhaseTensorsAndErrors ()
 
void allocateMemoryForCalculatedValues ()
 
void outputCalculatedValues () const
 
void calcInterpolatorVectorOfElectricField (Forward3D *const ptrForward3D)
 
void calculateSensitivityMatrix (const double freq, const int nModel, const ObservedDataStationPoint *const ptrStationOfMagneticField, const std::complex< double > *const derivativesOfEMFieldExPol, const std::complex< double > *const derivativesOfEMFieldEyPol, double *const sensitivityMatrix) const
 
void calculateResidualVectorOfDataThisPE (const double freq, const int offset, double *vector) const
 
double calculateErrorSumOfSquaresThisPE () const
 
int getTypeOfElectricField () const
 
void setTypeOfElectricField (const int type)
 
- Public Member Functions inherited from ObservedDataStationPoint
 ObservedDataStationPoint ()
 
 ~ObservedDataStationPoint ()
 
void findElementIncludingStation ()
 
std::complex< double > getHxCalculated (const int iPol) const
 
std::complex< double > getHyCalculated (const int iPol) const
 
int getRhsVectorIDOfHx () const
 
int getRhsVectorIDOfHy () const
 
void calculateHorizontalMagneticField (const Forward3D *const ptrForward3D, const int rhsVectorIDOfHx, const int rhsVectorIDOfHy)
 
void initializeHorizontalMagneticField (const int iPol)
 
void calcInterpolatorVectorOfHorizontalMagneticField (Forward3D *const ptrForward3D)
 
const CommonParameters::locationXYgetLocationOfPoint () const
 
double getZCoordOfPoint () const
 
bool useUpperElementForInterpolationOfEMField () const
 
void setFlagUseUpperElementForInterpolationOfEMField (const bool useUpperElem)
 
- Public Member Functions inherited from ObservedDataStation
 ObservedDataStation ()
 
 ~ObservedDataStation ()
 
int getStationID () const
 
int getIDOfMagneticFieldStation () const
 
int getTotalNumberOfFrequency () const
 
double getFrequencyValues (const int num) const
 
int getFreqIDs (const double freq) const
 
void setupFrequenciesCalculatedByThisPE (const int nFreqCalculatedByThisPE, const double *freqCalculatedByThisPE)
 
int getFreqIDsAmongThisPE (const double freq) const
 

Private Member Functions

 ObservedDataStationPT (const ObservedDataStationPT &rhs)
 
ObservedDataStationPToperator= (const ObservedDataStationPT &rhs)
 

Private Attributes

double * m_PTxxObserved
 
double * m_PTxyObserved
 
double * m_PTyxObserved
 
double * m_PTyyObserved
 
double * m_PTxxSD
 
double * m_PTxySD
 
double * m_PTyxSD
 
double * m_PTyySD
 
double * m_PTxxCalculated
 
double * m_PTxyCalculated
 
double * m_PTyxCalculated
 
double * m_PTyyCalculated
 
double * m_PTxxResidual
 
double * m_PTxyResidual
 
double * m_PTyxResidual
 
double * m_PTyyResidual
 
std::complex< double > m_ExCalculated [2]
 
std::complex< double > m_EyCalculated [2]
 
int m_rhsVectorIDOfEx
 
int m_rhsVectorIDOfEy
 
int * m_dataIDOfPTxx
 
int * m_dataIDOfPTxy
 
int * m_dataIDOfPTyx
 
int * m_dataIDOfPTyy
 
int m_typeOfElectricField
 

Additional Inherited Members

- Protected Attributes inherited from ObservedDataStationPoint
CommonParameters::locationXY m_location
 
int m_elementIncludingStation
 
int m_faceIncludingStation
 
bool m_useUpperElementForInterpolationOfEMField
 
CommonParameters::locationXYZ m_localCoordinateValues
 
CommonParameters::VolumeCoords m_volumeCoordinateValues
 
CommonParameters::AreaCoords m_areaCoordinateValues
 
std::complex< double > m_HxCalculated [2]
 
std::complex< double > m_HyCalculated [2]
 
int m_rhsVectorIDOfHx
 
int m_rhsVectorIDOfHy
 
- Protected Attributes inherited from ObservedDataStation
int m_stationID
 
int m_IDOfMagneticFieldStation
 
int m_numOfFrequency
 
double * m_freq
 
int m_numOfFreqCalculatedByThisStaAndPE
 
std::vector< int > m_freqIDsAmongThisStationCalculatedByThisPE
 

Constructor & Destructor Documentation

◆ ObservedDataStationPT() [1/2]

ObservedDataStationPT::ObservedDataStationPT ( )
explicit

◆ ~ObservedDataStationPT()

ObservedDataStationPT::~ObservedDataStationPT ( )

◆ ObservedDataStationPT() [2/2]

ObservedDataStationPT::ObservedDataStationPT ( const ObservedDataStationPT rhs)
private

Member Function Documentation

◆ allocateMemoryForCalculatedValues()

void ObservedDataStationPT::allocateMemoryForCalculatedValues ( )

◆ calcInterpolatorVectorOfElectricField()

void ObservedDataStationPT::calcInterpolatorVectorOfElectricField ( Forward3D *const  ptrForward3D)

◆ calculateElectricField()

void ObservedDataStationPT::calculateElectricField ( const Forward3D *const  ptrForward3D,
const int  rhsVectorIDOfEx,
const int  rhsVectorIDOfEy 
)

◆ calculateErrorSumOfSquaresThisPE()

double ObservedDataStationPT::calculateErrorSumOfSquaresThisPE ( ) const

◆ calculatePhaseTensor()

void ObservedDataStationPT::calculatePhaseTensor ( const double  freq,
const ObservedDataStationPoint *const  ptrStationOfMagneticField,
int &  icount 
)

◆ calculateResidualVectorOfDataThisPE()

void ObservedDataStationPT::calculateResidualVectorOfDataThisPE ( const double  freq,
const int  offset,
double *  vector 
) const

◆ calculateSensitivityMatrix()

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

◆ getTypeOfElectricField()

int ObservedDataStationPT::getTypeOfElectricField ( ) const

◆ initializeElectricField()

void ObservedDataStationPT::initializeElectricField ( const int  iPol)

◆ initializePhaseTensorsAndErrors()

void ObservedDataStationPT::initializePhaseTensorsAndErrors ( )

◆ inputObservedData()

void ObservedDataStationPT::inputObservedData ( std::ifstream &  inFile)

◆ operator=()

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

◆ outputCalculatedValues()

void ObservedDataStationPT::outputCalculatedValues ( ) const

◆ setTypeOfElectricField()

void ObservedDataStationPT::setTypeOfElectricField ( const int  type)

Member Data Documentation

◆ m_dataIDOfPTxx

int* ObservedDataStationPT::m_dataIDOfPTxx
private

◆ m_dataIDOfPTxy

int* ObservedDataStationPT::m_dataIDOfPTxy
private

◆ m_dataIDOfPTyx

int* ObservedDataStationPT::m_dataIDOfPTyx
private

◆ m_dataIDOfPTyy

int* ObservedDataStationPT::m_dataIDOfPTyy
private

◆ m_ExCalculated

std::complex<double> ObservedDataStationPT::m_ExCalculated[2]
private

◆ m_EyCalculated

std::complex<double> ObservedDataStationPT::m_EyCalculated[2]
private

◆ m_PTxxCalculated

double* ObservedDataStationPT::m_PTxxCalculated
private

◆ m_PTxxObserved

double* ObservedDataStationPT::m_PTxxObserved
private

◆ m_PTxxResidual

double* ObservedDataStationPT::m_PTxxResidual
private

◆ m_PTxxSD

double* ObservedDataStationPT::m_PTxxSD
private

◆ m_PTxyCalculated

double* ObservedDataStationPT::m_PTxyCalculated
private

◆ m_PTxyObserved

double* ObservedDataStationPT::m_PTxyObserved
private

◆ m_PTxyResidual

double* ObservedDataStationPT::m_PTxyResidual
private

◆ m_PTxySD

double* ObservedDataStationPT::m_PTxySD
private

◆ m_PTyxCalculated

double* ObservedDataStationPT::m_PTyxCalculated
private

◆ m_PTyxObserved

double* ObservedDataStationPT::m_PTyxObserved
private

◆ m_PTyxResidual

double* ObservedDataStationPT::m_PTyxResidual
private

◆ m_PTyxSD

double* ObservedDataStationPT::m_PTyxSD
private

◆ m_PTyyCalculated

double* ObservedDataStationPT::m_PTyyCalculated
private

◆ m_PTyyObserved

double* ObservedDataStationPT::m_PTyyObserved
private

◆ m_PTyyResidual

double* ObservedDataStationPT::m_PTyyResidual
private

◆ m_PTyySD

double* ObservedDataStationPT::m_PTyySD
private

◆ m_rhsVectorIDOfEx

int ObservedDataStationPT::m_rhsVectorIDOfEx
private

◆ m_rhsVectorIDOfEy

int ObservedDataStationPT::m_rhsVectorIDOfEy
private

◆ m_typeOfElectricField

int ObservedDataStationPT::m_typeOfElectricField
private

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