Line data Source code
1 : ! ***********************************************************************
2 : !
3 : ! Copyright (C) 2012 The MESA Team
4 : !
5 : ! This program is free software: you can redistribute it and/or modify
6 : ! it under the terms of the GNU Lesser General Public License
7 : ! as published by the Free Software Foundation,
8 : ! either version 3 of the License, or (at your option) any later version.
9 : !
10 : ! This program is distributed in the hope that it will be useful,
11 : ! but WITHOUT ANY WARRANTY; without even the implied warranty of
12 : ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 : ! See the GNU Lesser General Public License for more details.
14 : !
15 : ! You should have received a copy of the GNU Lesser General Public License
16 : ! along with this program. If not, see <https://www.gnu.org/licenses/>.
17 : !
18 : ! ***********************************************************************
19 :
20 : module other_mlt_results
21 :
22 : ! consult star/other/README for general usage instructions
23 : ! control name: use_other_mlt_results = .true.
24 : ! procedure pointer: s% other_mlt_results => my_routine
25 :
26 : implicit none
27 :
28 : contains
29 :
30 0 : subroutine null_other_mlt_results(id, k, MLT_option, & ! NOTE: k=0 is a valid arg
31 : r, L, T, P, opacity, rho, chiRho, chiT, Cp, gradr, grada, scale_height, &
32 : iso, XH1, cgrav, m, gradL_composition_term, mixing_length_alpha, &
33 : alpha_semiconvection, thermohaline_coeff, &
34 : mixing_type, gradT, Y_face, conv_vel, D, Gamma, ierr)
35 : use const_def, only: dp
36 : use auto_diff
37 : use star_def
38 : integer, intent(in) :: id
39 : integer, intent(in) :: k
40 : character(len=*), intent(in) :: MLT_option
41 : type(auto_diff_real_star_order1), intent(in) :: &
42 : r, L, T, P, opacity, rho, chiRho, chiT, Cp, gradr, grada, scale_height
43 : integer, intent(in) :: iso
44 : real(dp), intent(in) :: &
45 : XH1, cgrav, m, gradL_composition_term, &
46 : mixing_length_alpha, alpha_semiconvection, thermohaline_coeff
47 : integer, intent(out) :: mixing_type
48 : type(auto_diff_real_star_order1), intent(out) :: &
49 : gradT, Y_face, conv_vel, D, Gamma
50 : integer, intent(out) :: ierr
51 0 : ierr = 0
52 0 : end subroutine null_other_mlt_results
53 :
54 : end module other_mlt_results
55 :
|