lines 7-54 of file: bin/xam_main.py # {xrst_begin xam_main.py} # {xrst_spell # src # } # {xrst_comment_ch #} # # Example and Test Using Main Programs # #################################### # # Python # ****** # The python cmpad main program is # {xrst_code py} py_run_cmpad = 'python/bin/run_cmpad.py' # {xrst_code} # # C++ # *** # The C++ main program is # {xrst_code py} cpp_run_cmpad = 'cpp/build/src/run_cmpad' # {xrst_code} # # xam_main.csv # ************ # The ``xam_main.py`` program creates the file ``xam_main.csv`` . # If this file already exists, the previous version is removed # and a completely new version is created. # The meaning of the columns are described in :ref:`csv_column-name` . # Below is a display of an # :download:`example xam_man.csv <{xrst_dir xam_main.csv}>` . # The values *n_arg* and *n_other* determine the number of floating # point operations and are small for these cases so that the # program runs quickly: # # # .. csv-table:: # :widths: auto # :header-rows: 1 # :file: {xrst_dir xam_main.csv} # # Source Code # *********** # {xrst_literal # # BEGIN PYTHON # # END PYTHON # } # {xrst_end xam_main.py}