EMPIRE DA  v1.9.1
Data assimilation codes using EMPIRE communication
 All Classes Files Functions Variables Pages
user_relaxation_profile.f90
Go to the documentation of this file.
1 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2 !!! Time-stamp: <2016-11-23 11:36:57 pbrowne>
3 !!!
4 !!! Subroutine to compute the relaxation strength via something
5 !!! the user has coded
6 !!! Copyright (C) 2016 Philip A. Browne
7 !!!
8 !!! This program is free software: you can redistribute it and/or modify
9 !!! it under the terms of the GNU General Public License as published by
10 !!! the Free Software Foundation, either version 3 of the License, or
11 !!! (at your option) any later version.
12 !!!
13 !!! This program is distributed in the hope that it will be useful,
14 !!! but WITHOUT ANY WARRANTY; without even the implied warranty of
15 !!! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 !!! GNU General Public License for more details.
17 !!!
18 !!! You should have received a copy of the GNU General Public License
19 !!! along with this program. If not, see <http://www.gnu.org/licenses/>.
20 !!!
21 !!! Email: p.browne @ reading.ac.uk
22 !!! Mail: School of Mathematical and Physical Sciences,
23 !!! University of Reading,
24 !!! Reading, UK
25 !!! RG6 6BB
26 !!!
27 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
29 subroutine user_relaxation_profile(tau,p,zero)
30  use output_empire, only : emp_e
31  use pf_control
32  implicit none
33  integer, parameter :: rk = kind(1.0d0)
34  real(kind=rk), intent(in) :: tau
36  real(kind=rk), intent(out) :: p
37  logical, intent(out) :: zero
38  write(emp_e,*) 'EMPIRE ERROR: YOU HAVE CALLED A USER DEFINED RELAXAT&
39  &ION PROFILE'
40  write(emp_e,*) 'EMPIRE ERROR: BUT YOU HAVE NOT CODED THIS YOURSELF.'
41  write(emp_e,*) 'EMPIRE ERROR: STOPPING. PLEASE CODE src/user/user_re&
42  &laxation_profile.f90'
43  stop 'EMPIRE ERROR IN USER_RELAXATION_PROFILE'
44 end subroutine user_relaxation_profile
Module that stores the information about the outputting from empire.
module pf_control holds all the information to control the the main program
Definition: pf_control.f90:29
subroutine user_relaxation_profile(tau, p, zero)
subroutine to compute the relaxation strength that the user codes