Changes between Version 29 and Version 30 of doc/app/userint/int
- Timestamp:
- Sep 14, 2010 1:59:47 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
doc/app/userint/int
v29 v30 150 150 Important: this subroutine is written as a {{{FORTRAN}}} module, which uses so-called function overloading. It can be called in two ways: with one argument ({{{location}}}) and with three arguments {{{(i, j, location)}}}. The three argument version is used in the cache-optimized version of {{{prognostic_equations}}}. Depending on the number of given arguments the subroutine internally calls {{{user_actions}}} or {{{user_actions_ij}}}. So the user must insert the actions (code extensions) desired for the respective prognostic equation either in the {{{CASE}}} structure of {{{user_actions}}}, or/and in the {{{CASE}}} structure of {{{user_actions_ij}}}! 151 151 }}} 152 152 |---------------- 153 {{{#!td style="vertical-align:top; text-align:left;width: 150px" 154 SUBROUTINE {{{preprocess_spectra}}} in {{{calc_spectra.f90}}} and {{{data_output_spectra.f90}}} 155 }}} 156 {{{#!td style="vertical-align:top; text-align:left;style="width: 50px" 157 [=#user_spectra {{{user_spectra}}} 158 }}} 159 {{{#!td 160 [../output#spectra Spectra] [../output#spectra of] [../output#spectra user-defined] [../output#spectra quantities] can be computed here. 161 The routine contains some simple examples (as comment lines) in order to demonstrate how to use it. 162 }}}