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