Nbody6
Main Page
Files
File List
File Members
All
Files
Functions
Variables
magbrk.f
Go to the documentation of this file.
1
***
2
SUBROUTINE
magbrk
(kw,m1,menv,r,ospin,djmb)
3
implicit none
4
integer
kw
5
real*8
m1,menv,r,ospin,djmb
6
*
7
* Calculate spin changes owing to magnetic braking.
8
*
9
djmb = 0.d0
10
if
(kw.lt.10.and.m1.ge.0.35d0)
then
11
djmb = 5.83d-16*(menv/m1)*(r*ospin)**3
12
endif
13
*
14
RETURN
15
END
16
***
Nbody6
Ncode
magbrk.f
Generated on Sat Nov 30 2013 19:04:37 for Nbody6 by
1.8.2