Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
MiyamotoNagaiPotential Struct Reference

#include <potentials.h>

Public Member Functions

Real gr_disk_D3D (Real R, Real z) const noexcept
 
Real gz_disk_D3D (Real R, Real z) const noexcept
 
__host__ __device__ Real phi_disk_D3D (Real R, Real z) const noexcept
 
__host__ __device__ Real rho_disk_D3D (const Real r, const Real z) const noexcept
 

Public Attributes

Real M_d
 
Real R_d
 
Real Z_d
 

Detailed Description

Encapsulates properties of an analytic Miyamoto Nagai gravitational potential.

This is commonly used to model the static potential of a stellar disk. Take note that this is NOT the same as an exponential disk!

Member Data Documentation

◆ M_d

Real MiyamotoNagaiPotential::M_d

total mass (in Msolar)

◆ R_d

Real MiyamotoNagaiPotential::R_d

scale-length (in kpc)

◆ Z_d

Real MiyamotoNagaiPotential::Z_d

scale-height (in kpc).


The documentation for this struct was generated from the following file: