FEMTIC
|
#include "Util.h"
#include "OutputFiles.h"
#include <stdio.h>
#include <math.h>
#include <vector>
#include <assert.h>
Functions | |
void | quickSort (const int numOfIDs, int *ids, const double *values) |
void | quickSortThreeKeys (const int numOfIDs, int *ids, const double *firstKeyValues, const double *secondKeyValues, const double *thirdKeyValues) |
int | compareValueByThreeKeys (const int lhsID, const int rhsID, const double *firstKeyValues, const double *secondKeyValues, const double *thirdKeyValues) |
void | calcProductFor2x2DoubleMatrix (const CommonParameters::DoubleMatrix2x2 &matInA, const CommonParameters::DoubleMatrix2x2 &matInB, CommonParameters::DoubleMatrix2x2 &matOut) |
CommonParameters::Vector3D | calcVector3D (const CommonParameters::locationXYZ &startCoords, const CommonParameters::locationXYZ &endCoords) |
CommonParameters::Vector3D | calcOuterProduct (const CommonParameters::Vector3D &vec1, const CommonParameters::Vector3D &vec2) |
double | calcInnerProduct (const CommonParameters::Vector3D &vec1, const CommonParameters::Vector3D &vec2) |
void | calcImpedanceTensorComponentFromApparentResistivityAndPhase (const double freq, const double appRes, const double appResError, const double phase, const double phaseError, std::complex< double > &Z, CommonParameters::DoubleComplexValues &ZError) |
void calcImpedanceTensorComponentFromApparentResistivityAndPhase | ( | const double | freq, |
const double | appRes, | ||
const double | appResError, | ||
const double | phase, | ||
const double | phaseError, | ||
std::complex< double > & | Z, | ||
CommonParameters::DoubleComplexValues & | ZError | ||
) |
double calcInnerProduct | ( | const CommonParameters::Vector3D & | vec1, |
const CommonParameters::Vector3D & | vec2 | ||
) |
CommonParameters::Vector3D calcOuterProduct | ( | const CommonParameters::Vector3D & | vec1, |
const CommonParameters::Vector3D & | vec2 | ||
) |
void calcProductFor2x2DoubleMatrix | ( | const CommonParameters::DoubleMatrix2x2 & | matInA, |
const CommonParameters::DoubleMatrix2x2 & | matInB, | ||
CommonParameters::DoubleMatrix2x2 & | matOut | ||
) |
CommonParameters::Vector3D calcVector3D | ( | const CommonParameters::locationXYZ & | startCoords, |
const CommonParameters::locationXYZ & | endCoords | ||
) |
int compareValueByThreeKeys | ( | const int | lhsID, |
const int | rhsID, | ||
const double * | firstKeyValues, | ||
const double * | secondKeyValues, | ||
const double * | thirdKeyValues | ||
) |
void quickSort | ( | const int | numOfIDs, |
int * | ids, | ||
const double * | values | ||
) |
void quickSortThreeKeys | ( | const int | numOfIDs, |
int * | ids, | ||
const double * | firstKeyValues, | ||
const double * | secondKeyValues, | ||
const double * | thirdKeyValues | ||
) |