42 void quickSort(
const int numOfIDs,
int* ids,
const double* values );
46 const double* firstKeyValues,
const double* secondKeyValues,
const double* thirdKeyValues );
49 int compareValueByThreeKeys(
const int lhsID,
const int rhsID,
const double* firstKeyValues,
const double* secondKeyValues,
const double* thirdKeyValues );
65 const double phase,
const double phaseError,
69 void rotateTensor(
double tensorRotated[3][3],
const double rotationTensor[3][3] );
void quickSortThreeKeys(const int numOfIDs, int *ids, const double *firstKeyValues, const double *secondKeyValues, const double *thirdKeyValues)
Definition: Util.cpp:145
void calcImpedanceTensorComponentFromApparentResistivityAndPhase(const double freq, const double appRes, const double appResError, const double phase, const double phaseError, std::complex< double > &Z, CommonParameters::DoubleComplexValues &ZError)
Definition: Util.cpp:336
double calcInnerProduct(const CommonParameters::Vector3D &vec1, const CommonParameters::Vector3D &vec2)
Definition: Util.cpp:329
CommonParameters::Vector3D calcVector3D(const CommonParameters::locationXYZ &startCoords, const CommonParameters::locationXYZ &endCoords)
Definition: Util.cpp:312
int compareValueByThreeKeys(const int lhsID, const int rhsID, const double *firstKeyValues, const double *secondKeyValues, const double *thirdKeyValues)
Definition: Util.cpp:262
void quickSort(const int numOfIDs, int *ids, const double *values)
Definition: Util.cpp:39
void calcProductFor2x2DoubleMatrix(const CommonParameters::DoubleMatrix2x2 &matInA, const CommonParameters::DoubleMatrix2x2 &matInB, CommonParameters::DoubleMatrix2x2 &matOut)
Definition: Util.cpp:296
CommonParameters::Vector3D calcOuterProduct(const CommonParameters::Vector3D &vec1, const CommonParameters::Vector3D &vec2)
Definition: Util.cpp:320
comparativeOperators
Definition: Util.h:35
@ LARGE_LEFT_HAND_SIDE
Definition: Util.h:37
@ EQUAL
Definition: Util.h:36
@ SMALL_LEFT_HAND_SIDE
Definition: Util.h:38
Definition: CommonParameters.h:64
Definition: CommonParameters.h:74
Definition: CommonParameters.h:93
Definition: CommonParameters.h:53