Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
sequential_refinements [2020/07/16 11:29]
127.0.0.1 external edit
sequential_refinements [2021/04/01 02:26] (current)
rowlesmr3 Moved some sentences to clarify which macros they refer to
Line 77: Line 77:
 } }
 </​code>​ </​code>​
-This macro can be called in many different ways. To output a parameter value, the macro ''​O_R''​ is used.+ 
 +The ''​Out_Results'' ​macro can be called in many different ways. To output a parameter value, the macro ''​O_R''​ is used. This macro incorporates some error checking to ensure that it can still operate even when trying to report values for parameters that don't exist. This is good for reporting parameters for multiple structures, where some things may not exist in each structure.
 <code topas> <code topas>
 macro O_R(& value) { macro O_R(& value) {
Line 88: Line 89:
 } }
 </​code>​ </​code>​
-This macro incorporates some error checking to ensure that it can still operate even when trying to report values for parameters that don't exist. This is good for reporting parameters for multiple structures, where some things may not exist in each structure. 
  
-To output all cell parameters, the macro ''​O_R_cellprms''​ is provided.+ 
 +To output all cell parameters, the macro ''​O_R_cellprms''​ is provided. This macro allows for the outputting, or not, of cell parameters, in order to maintain each type of parameter in the correct column in the output file.
 <code topas> <code topas>
 macro O_R_cellprms(themacroval) { macro O_R_cellprms(themacroval) {
Line 114: Line 115:
 } }
 </​code>​ </​code>​
-This macro allows for the outputting, or not, of cell parameters, in order to maintain each type of parameter in the correct column in the output file.+
  
 === Example usage === === Example usage ===
Line 133: Line 134:
  
 ==== Column headers ==== ==== Column headers ====
-Describing each of the columns is also of importance. The following macros allow for the writing of descriptive text to head each column of data in the output.+Describing each of the columns is also of importance. The following macros allow for the writing of descriptive text to head each column of data in the output. The parameter and header macros must be manually updated to ensure that they both correspond.
  
 Please note the "​@"​ present in the first entry of the header. This is important for the subsequent data processing and plotting. Please note the "​@"​ present in the first entry of the header. This is important for the subsequent data processing and plotting.
Line 168: Line 169:
 } }
 </​code>​ </​code>​
-The parameter and header macros must be manually updated to ensure that they both correspond.+
  
 === Example usage === === Example usage ===

Personal Tools