include_and_ingest
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
include_and_ingest [2024/07/19 11:19] – johnsoevans | include_and_ingest [2024/07/20 06:32] (current) – johnsoevans | ||
---|---|---|---|
Line 6: | Line 6: | ||
<code topas># | <code topas># | ||
- | "# | + | "# |
- | The FILE_NAME can also be a macro name so macros get explicitly written to the INP. The macro itself can come from the following sources: | + | The FILE_NAME can also be a macro name. The macro itself can come from the following sources: |
* From TOPAS.INC | * From TOPAS.INC | ||
- | * From the command line, for example: tc test_examples\ingest-1.inp “macro | + | * From the command line, for example |
- | * From a #include file included at the command line, for example: tc test_examples\ingest-1.inp “#include SOME_INCLUDE_FILE “ | + | * From a #include file included at the command line, for example: tc ingest-1.inp “#include SOME_INCLUDE_FILE “ |
Any macro defined in SOME_INCLUDE_FILE can be used as a FILE_NAME for #ingest. | Any macro defined in SOME_INCLUDE_FILE can be used as a FILE_NAME for #ingest. | ||
Line 27: | Line 27: | ||
The above means that #ingest can be used with num_rums etc. | The above means that #ingest can be used with num_rums etc. | ||
+ | Examples will be in test_examples\ingest\. | ||
include_and_ingest.1721387972.txt.gz · Last modified: 2024/07/19 11:19 by johnsoevans