aboutsummaryrefslogtreecommitdiff
path: root/src/driver/driver.hh
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-07-07 13:17:56 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-07-07 13:17:56 +0000
commitf328e64bb16ebe3c2a64bb1b15601206c6b70b3f (patch)
tree6a54c88cb064dc6b541787ad590f4dc75542f7ab /src/driver/driver.hh
parent06d86f26e4b38c3aa06d6e26136fc7309452dcaf (diff)
add code to automagically generate control files for Thomas Radke's
new OpenDX macros (which can read AHFinderDirect gnuplot-format output files) > Update of /numrelcvs/AEIPhysics/Visualization/OpenDX/Macros > In directory cvsserv:/tmp/cvs-serv29388 > > Added Files: > ImportAHFinderDirectGnuplot.net > ImportAHFinderDirectGnuplotPatch.net > Log Message: > > Macros which can read the AHFinderDirect gnuplot output files > directly into OpenDX. There is a new Boolean parameter output_OpenDX_control_files to control whether the control files (one per horizon) should be written, but this defaults to true, so you don't need to do anything special to get the control files. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1125 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/driver/driver.hh')
-rw-r--r--src/driver/driver.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/driver/driver.hh b/src/driver/driver.hh
index 5826fa0..146b49f 100644
--- a/src/driver/driver.hh
+++ b/src/driver/driver.hh
@@ -135,6 +135,8 @@ struct IO_info
const char* Theta_base_file_name;
const char* Delta_h_base_file_name;
const char* Jacobian_base_file_name;
+ bool output_OpenDX_control_files;
+ const char* OpenDX_control_file_name_extension;
bool output_BH_diagnostics;
const char* BH_diagnostics_base_file_name;
@@ -277,6 +279,10 @@ struct AH_data
struct initial_guess_info initial_guess_info;
bool found_flag; // did we find this horizon (successfully)
+ bool OpenDX_control_file_written; // have we written an
+ // OpenDX control file
+ // (for this horizon) yet?
+
struct BH_diagnostics BH_diagnostics;
FILE *BH_diagnostics_fileptr;
@@ -380,6 +386,9 @@ void input_gridfn__explicit_name(patch_system& ps, int unknown_gfn,
void output_gridfn(patch_system& ps, int unknown_gfn,
const struct IO_info& IO_info, const char base_file_name[],
int hn, bool print_msg_flag, int AHF_iteration = 0);
+void output_OpenDX_control_file(const patch_system& ps,
+ const struct IO_info& IO_info,
+ int hn);
void output_Jacobians(const patch_system& ps,
const Jacobian* Jac_NP_ptr,
const Jacobian* Jac_SD_FDdr_ptr,