From f328e64bb16ebe3c2a64bb1b15601206c6b70b3f Mon Sep 17 00:00:00 2001 From: jthorn Date: Mon, 7 Jul 2003 13:17:56 +0000 Subject: 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 --- param.ccl | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) (limited to 'param.ccl') diff --git a/param.ccl b/param.ccl index 21cd349..edea376 100644 --- a/param.ccl +++ b/param.ccl @@ -311,9 +311,9 @@ string HDF5_file_name_extension "extension for HDF5 data files" # where # - the first %s is the base file name, # - the first %d is the global Cactus time iteration number cctk_iteration, -# - the second %d is the apparent horizon number, ande +# - the second %d is the apparent horizon number, # - the optional third %d is the horizon finder iteration number -# - the second %s is the file name extension as set by the +# - the second %s is the file name extension # {ASCII,HDF5}_data_file_name_extension # @@ -334,6 +334,28 @@ string Delta_h_base_file_name \ .+ :: "any nonempty string" } "Delta_h" +# +# Thomas Radke has written a set of OpenDX macros to read AHFinderDirect +# ASCII (gnuplot) format files. These macros require a "control file" +# for each patch to specify some of the patch metadata. +# +# If we write them, the control file names are given by a printf() format +# "%s.ah%d.%s", where +# - the first %s is h_base_file_name +# - the %d is the apparent horizon number +# - the second %s is the file name extension OpenDX_control_file_name_extension +# +boolean output_OpenDX_control_files \ + "should we output OpenDX control files to allow reading of AHFinderDirect \ + 'ASCII (gnuplot)' format data files?" +{ +} "true" +string OpenDX_control_file_name_extension \ + "file name extension for OpenDX control files" +{ +.+ :: "any nonempty string" +} "dx" + ######################################## # -- cgit v1.2.3