Line data Source code
1 : ! ***********************************************************************
2 : !
3 : ! Copyright (C) 2010 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_eval_fp_ft
21 :
22 : ! consult star/other/README for general usage instructions
23 : ! control name: use_other_eval_fp_ft = .true.
24 : ! procedure pointer: s% other_eval_fp_ft => my_routine
25 :
26 : implicit none
27 :
28 : contains
29 :
30 0 : subroutine null_other_eval_fp_ft( &
31 : id, nz, xm, r, rho, aw, ft, fp, r_polar, r_equatorial, report_ierr, ierr)
32 : use num_lib
33 : use star_utils
34 : use auto_diff_support
35 : use star_def
36 : integer, intent(in) :: id
37 : integer, intent(in) :: nz
38 : real(dp), intent(in) :: aw(:), r(:), rho(:), xm(:) ! (nz)
39 : type(auto_diff_real_star_order1), intent(out) :: ft(:), fp(:) ! (nz)
40 : real(dp), intent(inout) :: r_polar(:), r_equatorial(:) ! (nz)
41 : logical, intent(in) :: report_ierr
42 : integer, intent(out) :: ierr
43 :
44 0 : write (*, *) 'no implementation for other_eval_fp_ft'
45 : ! must set fp, ft, r_polar and r_equatorial
46 0 : ierr = -1
47 :
48 0 : end subroutine null_other_eval_fp_ft
49 :
50 : end module other_eval_fp_ft
51 :
|