diff options
Diffstat (limited to 'src/driver/Newton.cc')
-rw-r--r-- | src/driver/Newton.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/driver/Newton.cc b/src/driver/Newton.cc index 1e7efbc..dd92984 100644 --- a/src/driver/Newton.cc +++ b/src/driver/Newton.cc @@ -376,10 +376,8 @@ if (hs.has_genuine_horizons()) then { // if this is the first time we've output h for this // horizon, maybe output an OpenDX control file? - if (IO_info.output_OpenDX_control_files - && !AH_data_ptr->OpenDX_control_file_written) - then output_OpenDX_control_file(*ps_ptr, - IO_info, hn); + if (!AH_data_ptr->h_files_written) + then setup_h_files(*ps_ptr, IO_info, hn); output_gridfn(*ps_ptr, gfns::gfn__h, IO_info, IO_info.h_base_file_name, hn, verbose_info |