Template:RT3D Code Reaction Workflow: Difference between revisions
From XMS Wiki
Jump to navigationJump to search
No edit summary |
m (Protected "Template:RT3D Code Reaction Workflow" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|- | |- | ||
| | | | ||
:# Dynamically linked library (DLL) DLL option. | |||
:# Linked subroutine option | |||
|} | |||
{| class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #CDB7B5; margin-bottom:0.4em;" | |||
|- | |||
!style="text-align:left;"|2. Select method for coding a new user-defined package. | |||
|- | |||
| | |||
:# In the first method, all reaction parameter values are explicitly assigned within the reaction module prior to compilation. This is not an efficient method since it requires recompilation of the reaction routine whenever a reaction parameter value is modified. However, this method is recommended for testing a new reaction module with the BATCHRXN utility. | |||
:# In the second method, all of the reaction parameter values are spatially constant but are assigned/modified externally, as input data, via the RCT file (to run RT3D) or batch.in file (to run BATCHRXN). | |||
:# In the third method, some or all of the reaction parameters are treated as spatially variable (i.e., a different value may be assigned to each cell). The parameter values should be externally assigned/modified as input data via the RCT file. This option should be used with caution because it may require significant computer resources, both execution time and memory. | |||
|} | |} | ||
{| class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #CDB7B5; margin-bottom:0.4em;" | {| class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #CDB7B5; margin-bottom:0.4em;" | ||
|- | |- | ||
!style="text-align:left;"| | !style="text-align:left;"|3. Edit source code of the reaction module. | ||
|- | |- | ||
| | | | ||
:# Open and edit the package file using an ASCII editor (Notepad, WordPad, etc.). | |||
|} | |} | ||
{| class="mw-collapsible mw-collapsed" style="width:100%; border:1px solid #CDB7B5; margin-bottom:0.4em;" | |||
|- | |||
!style="text-align:left;"|4. Compile source code. | |||
|- | |||
| | |||
:# Use a command prompt to compile the DLL file. | |||
|}<noinclude>[[Category:RT3D Workflow Templates|Code]]</noinclude> |
Latest revision as of 19:09, 17 October 2016
1. Select package coding approach. |
---|
|
2. Select method for coding a new user-defined package. |
---|
|
3. Edit source code of the reaction module. |
---|
|
4. Compile source code. |
---|
|