24 #ifndef __evFeatureDetector_h 25 #define __evFeatureDetector_h 32 #define EVCOMPONENT_DENSITY 0 33 #define EVCOMPONENTNAME_DENSITY "Density" 34 #define EVCOMPONENT_VELOCITY 1 35 #define EVCOMPONENTNAME_VELOCITY "Velocity" 36 #define EVCOMPONENT_ENERGY 2 37 #define EVCOMPONENTNAME_ENERGY "Energy" 58 return(
evString(
"evFeatureDetector"));
84 const unsigned int component,
89 const double density)
const;
94 const double pressure,
95 const double density)
const;
102 const double pressure,
103 const double density)
const;
172 const double density)
175 const double gamma = 1.4;
176 return(sqrt((gamma) * (pressure / density)));
181 const double pressure,
182 const double density)
199 return(velocity * pressure_gradient /
200 (QccMathMax(pressure_gradient.
Norm(), 0.001) *
double CalculateMachNumber(const evVector &velocity, const double pressure, const double density) const
Definition: evFeatureDetector.h:180
#define EVCOMPONENT_VELOCITY
Definition: evFeatureDetector.h:34
const evVectorField & GetDensity(const evDataset &dataset) const
Definition: evFeatureDetector.h:126
void CalculateXYZGradients(const evVectorField &grid_field, evVectorField &psi_gradient, evVectorField &eta_gradient) const
Definition: evFeatureDetector.h:50
void CalculatePressure(const evDataset &dataset, evScalarField &pressure) const
#define EVCOMPONENT_DENSITY
Definition: evFeatureDetector.h:32
const evVectorField & GetVelocity(const evDataset &dataset) const
Definition: evFeatureDetector.h:141
Definition: evVector.h:36
Definition: evDataset.h:34
void CalculateGrid(const evDataset &dataset, evVectorField &grid) const
#define EVCOMPONENT_ENERGY
Definition: evFeatureDetector.h:36
void CalculateGradient(const evScalarField &field, const evVectorField &psi_gradient, const evVectorField &eta_gradient, evVectorField &gradient) const
evROIList * GetROIList(void)
Definition: evDataset.h:210
Definition: evVectorField.h:32
virtual ~evFeatureDetector(void)
double CalculateNormalMachNumber(const evVector &velocity, const evVector &pressure_gradient, const double pressure, const double density) const
Definition: evFeatureDetector.h:189
double Norm(void) const
Definition: evVector.h:395
virtual int DetectFeatures(const evDataset &dataset, evScalarField &significance_map) const =0
const evVectorField & GetEnergy(const evDataset &dataset) const
Definition: evFeatureDetector.h:156
Definition: evScalarField.h:31
Definition: evProcessObject.h:31
virtual const evString GetClassName(void) const
Definition: evFeatureDetector.h:56
evROI * GetFirst(void) const
Definition: evROIList.h:57
Definition: evString.h:30
evVectorField * GetComponent(unsigned int component) const
Definition: evROI.h:533
double CalculateSoundSpeed(const double pressure, const double density) const
Definition: evFeatureDetector.h:171