[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 | ! |
---|
| 17 | ! Copyright 1997-2012 Leibniz University Hannover |
---|
| 18 | !--------------------------------------------------------------------------------! |
---|
| 19 | ! |
---|
[258] | 20 | ! Current revisions: |
---|
[211] | 21 | ! ----------------- |
---|
[392] | 22 | ! |
---|
[211] | 23 | ! |
---|
| 24 | ! Former revisions: |
---|
| 25 | ! ----------------- |
---|
| 26 | ! $Id: user_dvrp_coltab.f90 1036 2012-10-22 13:43:42Z raasch $ |
---|
| 27 | ! |
---|
[392] | 28 | ! 258 2009-03-13 12:36:03Z heinze |
---|
| 29 | ! Output of messages replaced by message handling routine. |
---|
| 30 | ! |
---|
[226] | 31 | ! 211 2008-11-11 04:46:24Z raasch |
---|
| 32 | ! Former file user_interface.f90 split into one file per subroutine |
---|
| 33 | ! |
---|
[211] | 34 | ! Description: |
---|
| 35 | ! ------------ |
---|
| 36 | ! Definition of the colour table to be used by the dvrp software. |
---|
| 37 | !------------------------------------------------------------------------------! |
---|
[258] | 38 | |
---|
| 39 | USE control_parameters |
---|
[211] | 40 | USE dvrp_variables |
---|
| 41 | USE pegrid |
---|
| 42 | USE user |
---|
| 43 | |
---|
| 44 | IMPLICIT NONE |
---|
| 45 | |
---|
| 46 | CHARACTER (LEN=*) :: mode |
---|
| 47 | CHARACTER (LEN=*) :: variable |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | ! |
---|
| 51 | !-- Here the user-defined actions follow |
---|
| 52 | SELECT CASE ( mode ) |
---|
| 53 | |
---|
| 54 | CASE ( 'particles' ) |
---|
| 55 | |
---|
| 56 | CASE ( 'slicer' ) |
---|
| 57 | |
---|
| 58 | CASE DEFAULT |
---|
[258] | 59 | message_string = 'unknown mode "' // mode // '"' |
---|
| 60 | CALL message( 'user_dvrp_coltab', 'UI0004', 1, 2, 0, 6, 0 ) |
---|
[211] | 61 | |
---|
[258] | 62 | |
---|
[211] | 63 | END SELECT |
---|
| 64 | |
---|
| 65 | END SUBROUTINE user_dvrp_coltab |
---|
| 66 | |
---|