LCOV - code coverage report
Current view: top level - star/other - other_surface_pt.f90 (source / functions) Coverage Total Hit
Test: coverage.info Lines: 0.0 % 13 0
Test Date: 2025-05-08 18:23:42 Functions: 0.0 % 1 0

            Line data    Source code
       1              : ! ***********************************************************************
       2              : !
       3              : !   Copyright (C) 2014  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_surface_PT
      21              : 
      22              :    ! consult star/other/README for general usage instructions
      23              :    ! control name: use_other_surface_PT = .true.
      24              :    ! procedure pointer: s% other_surface_PT => my_routine
      25              : 
      26              :    implicit none
      27              : 
      28              : contains
      29              : 
      30              :    ! star_utils:set_phot_info sets s% Teff before this is called
      31              :    ! see hydro_vars:set_Teff_info_for_eqns
      32              : 
      33            0 :    subroutine null_other_surface_PT(id, &
      34              :                                     skip_partials, &
      35              :                                     lnT_surf, dlnT_dL, dlnT_dlnR, dlnT_dlnM, dlnT_dlnkap, &
      36              :                                     lnP_surf, dlnP_dL, dlnP_dlnR, dlnP_dlnM, dlnP_dlnkap, ierr)
      37              :       use const_def, only: dp
      38              :       use star_def
      39              :       !use star_lib, only: star_get_surf_PT
      40              :       integer, intent(in) :: id
      41              :       logical, intent(in) :: skip_partials
      42              :       real(dp), intent(out) :: &
      43              :          lnT_surf, dlnT_dL, dlnT_dlnR, dlnT_dlnM, dlnT_dlnkap, &
      44              :          lnP_surf, dlnP_dL, dlnP_dlnR, dlnP_dlnM, dlnP_dlnkap
      45              :       integer, intent(out) :: ierr
      46            0 :       lnT_surf = 0
      47            0 :       dlnT_dL = 0
      48            0 :       dlnT_dlnR = 0
      49            0 :       dlnT_dlnM = 0
      50            0 :       dlnT_dlnkap = 0
      51            0 :       lnP_surf = 0
      52            0 :       dlnP_dL = 0
      53            0 :       dlnP_dlnR = 0
      54            0 :       dlnP_dlnM = 0
      55            0 :       dlnP_dlnkap = 0
      56            0 :       ierr = -1
      57              : 
      58              :       !call star_get_surf_PT(id, &
      59              :       !   skip_partials, &
      60              :       !   Teff, lnT_surf, dlnT_dL, dlnT_dlnR, dlnT_dlnM, dlnT_dlnkap, &
      61              :       !   lnP_surf, dlnP_dL, dlnP_dlnR, dlnP_dlnM, dlnP_dlnkap, ierr)
      62              : 
      63            0 :    end subroutine null_other_surface_PT
      64              : 
      65              : end module other_surface_PT
      66              : 
        

Generated by: LCOV version 2.0-1