Line data Source code
1 : ! ***********************************************************************
2 : !
3 : ! Copyright (C) 2012 Bill Paxton, Pablo Marchant & 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 mod_other_binary_wind_transfer
21 :
22 : ! NOTE: remember to set true:
23 : ! use_other_binary_wind_transfer = .true.
24 :
25 : implicit none
26 :
27 : contains
28 :
29 0 : subroutine null_other_binary_wind_transfer(binary_id, s_i, ierr)
30 : use binary_def, only : binary_info, binary_ptr
31 : integer, intent(in) :: binary_id, s_i
32 : integer, intent(out) :: ierr
33 : type (binary_info), pointer :: b
34 : ierr = 0
35 0 : call binary_ptr(binary_id, b, ierr)
36 0 : if (ierr /= 0) then
37 0 : write(*,*) 'failed in binary_ptr'
38 : return
39 : end if
40 0 : b% wind_xfer_fraction(s_i) = 0
41 0 : end subroutine null_other_binary_wind_transfer
42 :
43 : end module mod_other_binary_wind_transfer
|