aboutsummaryrefslogtreecommitdiff
path: root/src/AMRPlus/AMRfilereaderPlus.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/AMRPlus/AMRfilereaderPlus.h')
-rw-r--r--src/AMRPlus/AMRfilereaderPlus.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/AMRPlus/AMRfilereaderPlus.h b/src/AMRPlus/AMRfilereaderPlus.h
index a90569d..9a89a3c 100644
--- a/src/AMRPlus/AMRfilereaderPlus.h
+++ b/src/AMRPlus/AMRfilereaderPlus.h
@@ -33,10 +33,14 @@ public:
min=mintime;
max=maxtime;
}
+ void getScalarRange(float &min, float &max){
+ min=smin;max=smax;
+ }
void getScalarRange(double &min, double &max){
min=smin;max=smax;
}
void getBounds(double *bnds){for (int ii=0;ii<6;ii++){bnds[ii]=bounds[ii];}}
+ void getBounds(float *bnds){for (int ii=0;ii<6;ii++){bnds[ii]=bounds[ii];}}
void setTime(int timestep);
// starts out with all selected
void showLevel(int level=-1){ // default is all (-1)