115 | | 6. After each timestep, the quantity has to be calculated at all gridpoints and to be stored. This has to be done in subroutine user_actions at location 'after_integration': |
116 | | |
117 | | CASE ( 'after_integration' ) |
118 | | ! |
119 | | !-- Enter actions to be done after every time integration (before |
120 | | !-- data output) |
121 | | !-- Sample for user-defined output: |
122 | | DO i = nxl-1, nxr+1 |
123 | | DO j = nys-1, nyn+1 |
124 | | DO k = nzb, nzt+1 |
125 | | u2(k,j,i) = u(k,j,i)**2 |
126 | | ENDDO |
127 | | ENDDO |
128 | | ENDDO |
129 | | |
| 115 | 6. After each timestep, the quantity has to be calculated at all gridpoints and to be stored. This has to be done in subroutine user_actions at location 'after_integration': \\ |
| 116 | |
| 117 | {{{ CASE ( 'after_integration' ) }}} \\ |
| 118 | {{{!}}} \\ |
| 119 | {{{!-- Enter actions to be done after every time integration (before}}} \\ |
| 120 | {{{!-- data output) }}} \\ |
| 121 | {{{!-- Sample for user-defined output: }}} \\ |
| 122 | {{{ DO i = nxld, nxrd }}} \\ |
| 123 | {{{ DO j = nysd, nynd }}} \\ |
| 124 | {{{ DO k = nzb, nzt+1 }}} \\ |
| 125 | {{{ u2(k,j,i) = u(k,j,i)**2 }}} \\ |
| 126 | {{{ ENDDO }}} \\ |
| 127 | {{{ ENDDO }}} \\ |
| 128 | {{{ ENDDO }}} \\ |