aboutsummaryrefslogtreecommitdiff
path: root/src/driver/driver.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/driver.hh')
-rw-r--r--src/driver/driver.hh17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/driver/driver.hh b/src/driver/driver.hh
index f01a64c..38efffc 100644
--- a/src/driver/driver.hh
+++ b/src/driver/driver.hh
@@ -38,6 +38,16 @@ enum Jacobian_method
Jacobian_method__symbolic_diff // no comma
};
+//
+// this enum holds the (a) decoded file_format parameter,
+// i.e. it specifies what format of input/output file(s) we should use
+//
+enum file_format
+ {
+ file_format__ASCII,
+ file_format__HDF5 // no comma
+ };
+
//******************************************************************************
//
@@ -56,7 +66,6 @@ struct Jacobian_info
struct solver_info
{
int max_Newton_iterations;
- bool output_h_and_H_at_each_Newton_iteration;
fp max_Delta_h_over_h;
fp H_norm_for_convergence;
fp Delta_h_norm_for_convergence;
@@ -68,6 +77,12 @@ struct solver_info
//
struct IO_info
{
+ bool output_initial_guess;
+ bool output_h_and_H_at_each_Newton_iteration;
+ bool output_h, output_H;
+ enum file_format file_format;
+ const char* ASCII_file_name_extension;
+ const char* HDF5_file_name_extension;
const char* h_base_file_name;
const char* H_base_file_name;
const char* Jacobian_base_file_name;