13 const int U_V_FILE = 0,
14 Z_X_VELOCITY_FILE = 1,
21 size_t dim1 = -1, dim2 = -1, dim3 = -1;
22 int xdim = -1, ydim = -1, zdim = -1;
27 float low1, low2, low3, diff1, diff2, diff3;
28 float minVal, meanVal, maxVal;
29 bool hasCachedValues =
false;
30 std::vector<std::vector<std::vector<float>>> currentFieldU, currentFieldV, currentFieldW;
35 void readNCFile(
const char *filename);
41 int cacheCurrentField();
54 void getDomainBounds(
float* bounds);
56 int getVar(
char* name);
58 int getCurrentSpeedAt(
float x,
float y,
float z,
float *value);
59 int calculateDescriptorValues(
float *values);
Definition: netcdf_handler.h:12