[1682] | 1 | !> @file user_dvrp_coltab.f90 |
---|
[1036] | 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 | ! |
---|
[1818] | 16 | ! Copyright 1997-2016 Leibniz Universitaet Hannover |
---|
[1036] | 17 | !--------------------------------------------------------------------------------! |
---|
| 18 | ! |
---|
[258] | 19 | ! Current revisions: |
---|
[211] | 20 | ! ----------------- |
---|
[1683] | 21 | ! |
---|
| 22 | ! |
---|
[211] | 23 | ! Former revisions: |
---|
| 24 | ! ----------------- |
---|
| 25 | ! $Id: user_dvrp_coltab.f90 1818 2016-04-06 15:53:27Z maronga $ |
---|
| 26 | ! |
---|
[1683] | 27 | ! 1682 2015-10-07 23:56:08Z knoop |
---|
| 28 | ! Code annotations made doxygen readable |
---|
| 29 | ! |
---|
[1321] | 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 | ! |
---|
[1037] | 35 | ! 1036 2012-10-22 13:43:42Z raasch |
---|
| 36 | ! code put under GPL (PALM 3.9) |
---|
| 37 | ! |
---|
[226] | 38 | ! 211 2008-11-11 04:46:24Z raasch |
---|
| 39 | ! Former file user_interface.f90 split into one file per subroutine |
---|
| 40 | ! |
---|
[211] | 41 | ! Description: |
---|
| 42 | ! ------------ |
---|
[1682] | 43 | !> Definition of the colour table to be used by the dvrp software. |
---|
[211] | 44 | !------------------------------------------------------------------------------! |
---|
[1682] | 45 | SUBROUTINE user_dvrp_coltab( mode, variable ) |
---|
| 46 | |
---|
[258] | 47 | |
---|
| 48 | USE control_parameters |
---|
[1320] | 49 | |
---|
[211] | 50 | USE dvrp_variables |
---|
[1320] | 51 | |
---|
| 52 | USE kinds |
---|
| 53 | |
---|
[211] | 54 | USE pegrid |
---|
[1320] | 55 | |
---|
[211] | 56 | USE user |
---|
| 57 | |
---|
| 58 | IMPLICIT NONE |
---|
| 59 | |
---|
[1682] | 60 | CHARACTER (LEN=*) :: mode !< |
---|
| 61 | CHARACTER (LEN=*) :: variable !< |
---|
[211] | 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 |
---|
[258] | 73 | message_string = 'unknown mode "' // mode // '"' |
---|
| 74 | CALL message( 'user_dvrp_coltab', 'UI0004', 1, 2, 0, 6, 0 ) |
---|
[211] | 75 | |
---|
[258] | 76 | |
---|
[211] | 77 | END SELECT |
---|
| 78 | |
---|
| 79 | END SUBROUTINE user_dvrp_coltab |
---|
| 80 | |
---|