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

            Line data    Source code
       1              : ! ***********************************************************************
       2              : !
       3              : !   Copyright (C) 2018  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_rsp_build_model
      21              : 
      22              :    ! consult star/other/README for general usage instructions
      23              :    ! control name: use_other_RSP_build_model = .true.
      24              :    ! procedure pointer: s% other_rsp_build_model => my_routine
      25              : 
      26              :    implicit none
      27              : 
      28              : contains
      29              : 
      30              :    ! here is a list of what this routine needs to set.
      31              :    ! star arrays have been allocated but nothing else.
      32              :    ! note that nz is set by RSP_nz.
      33              : 
      34              :    ! scalars
      35              :    ! M_center, L_center, R_center, v_center
      36              :    ! star_mass, mstar, xmstar, tau_factor, rsp_period
      37              : 
      38              :    ! vectors
      39              :    ! m, dm, dm_bar, r, Vol, v, T, w, Fr, erad, L
      40              :    ! don't need to set xh or xa
      41              : 
      42            0 :    subroutine null_other_rsp_build_model(id, ierr)
      43              :       use star_def
      44              :       integer, intent(in) :: id  ! star id if available; 0 otherwise
      45              :       integer, intent(out) :: ierr  ! 0 means AOK.
      46            0 :       write (*, *) 'no implementation for other_rsp_build_model'
      47            0 :       ierr = -1
      48            0 :    end subroutine null_other_rsp_build_model
      49              : 
      50              : end module other_rsp_build_model
      51              : 
        

Generated by: LCOV version 2.0-1