gravity_binary.f90 File Reference

Go to the source code of this file.

Data Types

type  gravity_binary_mod::gravity_binary
 

Modules

module  gravity_binary_mod
 source terms module for gravitational acceleration due to two pointmasses
 

Functions/Subroutines

subroutine gravity_binary_mod::initgravity_binary (this, Mesh, Physics, config, IO)
 Constructor of gravity binary module. More...
 
subroutine gravity_binary_mod::infogravity (this)
 write binary parameters to screen More...
 
subroutine gravity_binary_mod::setoutput (this, Mesh, Physics, config, IO)
 
subroutine gravity_binary_mod::updategravity_single (this, Mesh, Physics, Fluxes, pvar, time, dt)
 calculates the resultant gravitational accerleration of a binary system More...
 
subroutine gravity_binary_mod::updatepositions (this, time)
 compute new positions for both components of the binary system More...
 
pure subroutine gravity_binary_mod::calcdiskheight_single (this, Mesh, Physics, pvar, bccsound, h_ext, height)
 compute the pressure scale height of a disk for the binary potential More...
 
real function gravity_binary_mod::getmass_primary (this, time)
 get mass of the primary component, eventually scaled by switch on factor More...
 
real function gravity_binary_mod::getmass_secondary (this, time)
 get mass of the primary component, eventually scaled by switch on factor More...
 
subroutine gravity_binary_mod::finalize (this)
 Closes the binary source term. More...
 
pure subroutine gravity_binary_mod::func (x, fx, plist)
 find root of the Kepler equation More...