@@ -130,7 +130,8 @@ class StructuredField : public Field
intn[3];
double*data;
boolerror_status;
booltext_format;
booltext_format,outside_value_set;
doubleoutside_value;
std::stringfile_name;
public:
StructuredField()
...
...
@@ -142,6 +143,8 @@ class StructuredField : public Field
(text_format,"True for ASCII input files, false for binary files (4 bite "
"signed integers for n, double precision floating points for v, D and O)",
&update_needed);
options["SetOutsideValue"]=newFieldOptionBool(outside_value_set,"True to use the \"OutsideValue\" option. If False, the last values of the grid are used.");
options["OutsideValue"]=newFieldOptionDouble(outside_value,"Value of the field outside the grid (only used if the \"SetOutsideValue\" option is true).");
data=0;
}
std::stringgetDescription()
...
...
@@ -221,6 +224,8 @@ class StructuredField : public Field