1 | !> @file user_dvrp_coltab.f90 |
---|
2 | !--------------------------------------------------------------------------------! |
---|
3 | ! This file is part of PALM. |
---|
4 | ! |
---|
5 | ! PALM is free software: you can redistribute it and/or modify it under the terms |
---|
6 | ! of the GNU General Public License as published by the Free Software Foundation, |
---|
7 | ! either version 3 of the License, or (at your option) any later version. |
---|
8 | ! |
---|
9 | ! PALM is distributed in the hope that it will be useful, but WITHOUT ANY |
---|
10 | ! WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR |
---|
11 | ! A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
---|
12 | ! |
---|
13 | ! You should have received a copy of the GNU General Public License along with |
---|
14 | ! PALM. If not, see <http://www.gnu.org/licenses/>. |
---|
15 | ! |
---|
16 | ! Copyright 1997-2016 Leibniz Universitaet Hannover |
---|
17 | !--------------------------------------------------------------------------------! |
---|
18 | ! |
---|
19 | ! Current revisions: |
---|
20 | ! ----------------- |
---|
21 | ! |
---|
22 | ! |
---|
23 | ! Former revisions: |
---|
24 | ! ----------------- |
---|
25 | ! $Id: user_dvrp_coltab.f90 1818 2016-04-06 15:53:27Z witha $ |
---|
26 | ! |
---|
27 | ! 1682 2015-10-07 23:56:08Z knoop |
---|
28 | ! Code annotations made doxygen readable |
---|
29 | ! |
---|
30 | ! 1320 2014-03-20 08:40:49Z raasch |
---|
31 | ! revision history before 2012 removed, |
---|
32 | ! comment fields (!:) to be used for variable explanations added to |
---|
33 | ! all variable declaration statements |
---|
34 | ! |
---|
35 | ! 1036 2012-10-22 13:43:42Z raasch |
---|
36 | ! code put under GPL (PALM 3.9) |
---|
37 | ! |
---|
38 | ! 211 2008-11-11 04:46:24Z raasch |
---|
39 | ! Former file user_interface.f90 split into one file per subroutine |
---|
40 | ! |
---|
41 | ! Description: |
---|
42 | ! ------------ |
---|
43 | !> Definition of the colour table to be used by the dvrp software. |
---|
44 | !------------------------------------------------------------------------------! |
---|
45 | SUBROUTINE user_dvrp_coltab( mode, variable ) |
---|
46 | |
---|
47 | |
---|
48 | USE control_parameters |
---|
49 | |
---|
50 | USE dvrp_variables |
---|
51 | |
---|
52 | USE kinds |
---|
53 | |
---|
54 | USE pegrid |
---|
55 | |
---|
56 | USE user |
---|
57 | |
---|
58 | IMPLICIT NONE |
---|
59 | |
---|
60 | CHARACTER (LEN=*) :: mode !< |
---|
61 | CHARACTER (LEN=*) :: variable !< |
---|
62 | |
---|
63 | |
---|
64 | ! |
---|
65 | !-- Here the user-defined actions follow |
---|
66 | SELECT CASE ( mode ) |
---|
67 | |
---|
68 | CASE ( 'particles' ) |
---|
69 | |
---|
70 | CASE ( 'slicer' ) |
---|
71 | |
---|
72 | CASE DEFAULT |
---|
73 | message_string = 'unknown mode "' // mode // '"' |
---|
74 | CALL message( 'user_dvrp_coltab', 'UI0004', 1, 2, 0, 6, 0 ) |
---|
75 | |
---|
76 | |
---|
77 | END SELECT |
---|
78 | |
---|
79 | END SUBROUTINE user_dvrp_coltab |
---|
80 | |
---|