source: palm/trunk/SOURCE/user_data_output_dvrp.f90 @ 273

Last change on this file since 273 was 258, checked in by heinze, 16 years ago

Output of messages replaced by message handling routine.

  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1 SUBROUTINE user_data_output_dvrp( output_variable, local_pf )
2
3!------------------------------------------------------------------------------!
4! Current revisions:
5! -----------------
6! Output of messages replaced by message handling routine.
7! Clipping implemented
8!
9! Former revisions:
10! -----------------
11! $Id: user_data_output_dvrp.f90 258 2009-03-13 12:36:03Z raasch $
12!
13! 211 2008-11-11 04:46:24Z raasch
14! Former file user_interface.f90 split into one file per subroutine
15!
16! Description:
17! ------------
18! Execution of user-defined dvrp output
19!------------------------------------------------------------------------------!
20
21    USE control_parameters
22    USE dvrp_variables
23    USE indices
24    USE pegrid
25    USE user
26
27    IMPLICIT NONE
28
29    CHARACTER (LEN=*) ::  output_variable
30
31    INTEGER ::  i, j, k
32
33    REAL, DIMENSION(nxl_dvrp:nxr_dvrp+1,nys_dvrp:nyn_dvrp+1,nzb:nz_do3d) ::  &
34                                                                       local_pf
35
36!
37!-- Here the user-defined DVRP output follows:
38
39!
40!-- Move original array to intermediate array
41    SELECT CASE ( output_variable )
42
43!       CASE ( 'u2', 'u2_xy', 'u2_xz', 'u2_yz'  )
44!!
45!!--       Here the user can add user_defined output quantities.
46!!--       Uncomment and extend the following lines, if necessary.
47!          DO  i = nxl_dvrp, nxr_dvrp+1
48!             DO  j = nys_dvrp, nyn_dvrp+1
49!                DO  k = nzb, nz_do3d
50!                   local_pf(i,j,k) = u2(k,j,i)
51!                ENDDO
52!             ENDDO
53!          ENDDO
54
55
56       CASE DEFAULT
57!
58!--       The DEFAULT case is reached if output_variable contains a
59!--       wrong character string that is neither recognized in data_output_dvrp
60!--       nor here in user_data_output_dvrp.
61          WRITE( message_string, * ) 'no output possible for: ', &
62                                     output_variable
63          CALL message( 'user_data_output_dvrp', 'UI0003', 0, 0, 0, 6, 0 )
64         
65
66    END SELECT
67
68
69 END SUBROUTINE user_data_output_dvrp
70
Note: See TracBrowser for help on using the repository browser.