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

Public Member Functions

Real gr_halo_D3D (Real R, Real z) const noexcept
 
Real gz_halo_D3D (Real R, Real z)
 
__host__ __device__ Real rho_halo_D3D (Real R, Real z) const noexcept
 
__host__ __device__ Real phi_halo_D3D (Real R, Real z) const noexcept
 

Static Public Member Functions

__host__ static __device__ Real log_func (Real y)
 

Public Attributes

Real M_h
 
Real R_h
 
Real c_vir
 

Member Data Documentation

◆ c_vir

Real NFWHaloPotential::c_vir

halo concentration parameter (to account for adiabatic contraction)

◆ M_h

Real NFWHaloPotential::M_h

total halo mass in Msolar

◆ R_h

Real NFWHaloPotential::R_h

halo scale length (NOT the virial radius)


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