GPUmonty
  • Documentation
    • compton.cu
      • Functions
        • sample_scattered_photon()
        • boost()
        • sample_thomson()
        • sample_klein_nishina()
        • klein_nishina()
        • sample_electron_distr_p()
        • sample_beta_distr()
        • sample_y_distr()
        • sample_mu_distr()
        • scatter_super_photon()
    • config.h
      • Macros
        • KFAC
        • N_BLOCKS
        • N_THREADS
        • N_THBINS
        • MINW
        • MAXW
        • MINT
        • MAXT
        • NW
        • NT
        • HOTCROSS
        • MAXGAMMA
        • DMUE
        • DGAMMAE
        • MMW
        • NDIM
        • KRHO
        • UU
        • U1
        • U2
        • U3
        • B1
        • B2
        • B3
        • KEL
        • KTOT
        • SMALL
        • NPRIM_INDEX
        • SLOOP_DEVICE
        • DLOOP
        • MAX
        • d_lmint
        • d_lminw
        • d_lT_min
        • d_dlw
        • d_dlT1
        • d_dlT2
        • KMAX
        • KMIN
        • SMALL_VECTOR
        • EPSABS
        • EPSREL
        • TMIN
        • TMAX
        • SCATTERINGS_PER_PHOTON
        • NINT
        • BTHSQMIN
        • BTHSQMAX
        • MAX_LAYER_SCA
        • EPS
        • FAST_CPY
        • ETOL
        • MAX_ITER
        • MAXNSTEP
    • constants.h
      • Macros
        • EE
        • CL
        • ME
        • MP
        • MN
        • AMU
        • HPL
        • HBAR
        • KBOL
        • GNEWT
        • SIG
        • RGAS
        • EV
        • SIGMA_THOMSON
        • JY
        • PC
        • AU
        • YEAR
        • DAY
        • HOUR
        • MSUN
        • RSUN
        • LSUN
        • TSUN
        • MEARTH
        • REARTH
        • DSGRA
        • TCBR
        • SOLX
        • SOLY
        • SOLZ
        • FOUR_PI
        • FOUR_PISQ
        • THREEPI_TWO
        • CST
        • KFAC
    • curand.cu
      • Functions
        • init_monty_rand()
        • generate_random_direction()
        • chi_square()
        • legacy_standard_exponential()
        • legacy_gauss()
        • legacy_standard_gamma()
    • defs.h
      • Global Variables
        • geom
        • w
        • F
        • wgt
        • N_scatt
        • N_superph_recorded
        • Rin
        • Rout
        • Rh
        • R0
        • hslope
        • startx
        • stopx
        • dx
        • gam
        • Thetae_unit
        • max_tau_scatt
        • dMact
        • Ladv
        • bias_norm
        • p
        • N1
        • N2
        • N3
        • L_unit
        • B_unit
        • Ne_unit
        • Rho_unit
        • U_unit
        • M_unit
        • T_unit
        • table
        • dlw
        • dlT
        • lminw
        • lmint
        • nint
        • K2
        • dndlnu_max
        • my_curand_state
        • d_table
        • photon_count
        • d_N_superph_recorded
        • d_Ns
        • d_N_scatt
        • d_thetae_unit
        • d_startx
        • d_dx
        • d_wgt
        • d_F
        • d_K2
        • d_bias_norm
        • d_stopx
        • d_Rh
        • d_max_tau_scatt
        • scattering_counter
        • d_num_scat_phs
        • tracking_counter
        • d_nint
        • d_dndlnu_max
        • d_hslope
        • d_R0
        • tracking_counter_sampling
        • d_N1
        • d_N2
        • d_N3
        • d_trat_small
        • d_trat_large
        • d_beta_crit
        • d_thetae_max
        • d_tp_over_te
        • d_scattering
        • d_MBH
        • d_L_unit
        • d_B_unit
        • d_Ne_unit
        • bhspin
        • d_bhspin
        • params
        • of_geom
        • of_spectrum
        • params_t
    • hdf5_utils.cu
      • Functions
        • hdf5_get_blob()
        • hdf5_write_blob()
        • hdf5_close_blob()
        • hdf5_create()
        • hdf5_open()
        • hdf5_close()
        • hdf5_make_directory()
    • hotcross.cu
      • Functions
        • init_hotcross()
        • total_compton_cross_lkup()
        • total_compton_cross_num()
        • dNdgammae()
        • boostcross()
        • hc_klein_nishina()
        • bessi0()
        • bessi1()
        • bessk0()
        • bessk1()
        • bessk2()
    • jnu_mixed.cu
      • Functions
        • jnu_synch()
        • int_jnu()
        • jnu_integrand()
        • init_emiss_tables()
        • K2_eval()
        • F_eval()
        • linear_interp_F()
        • linear_interp_K2()
    • kernels.cu
      • Functions
        • generate_photons()
        • init_zone()
        • sample_photons_batch()
        • sample_zone_photon()
        • track()
        • track_scat()
        • record()
        • record_scattering()
        • mainFlowControl()
    • main.cu
      • Functions
        • main()
        • set_units()
        • init_model()
        • init_geometry()
        • report_spectrum()
    • memory.cu
      • Functions
        • transferParams()
        • setMaxBlocks()
        • cummulativePhotonsPerZone()
        • photonsPerBatch()
        • allocatePhotonData()
        • freePhotonData()
        • createdPTextureObj()
        • create1DTextureObj()
    • metrics.cu
      • Macros
        • FIND_GCON_MATRIX_INV
      • Functions
        • gdet_func()
        • LU_decompose()
        • LU_substitution()
        • invert_matrix()
        • gcon_func()
        • get_connection()
        • lower()
    • model.cu
      • Macros
        • NUMIN
        • NUMAX
        • IHARM
        • DO_NOT_USE_TEXTURE_MEMORY
        • THETAE_MIN
        • THETAE_MAX
        • dlE
        • lE0
        • N_ESAMP
        • N_EBINS
        • WEIGHT_MIN
        • RMAX
        • ROULETTE
        • NPRIM
        • MODEL_FUNCTIONS
        • GAME
        • GAMP
        • GAM
        • USE_FIXED_TPTE
        • USE_MIXED_TPTE
        • WITH_ELECTRONS
        • ZLOOP
      • Functions
        • init_storage()
        • init_data()
        • record_criterion()
        • stop_criterion()
        • Xtoijk()
        • coord()
        • gcov_func()
        • dOmega_func()
        • bl_coord()
        • get_fluid_zone()
        • get_fluid_params()
        • bias_func()
        • record_super_photon()
        • stepsize()
        • thetae_func()
    • par.cu
      • Macros
        • TYPE_INT
        • TYPE_DBL
        • TYPE_STR
      • Functions
        • load_par_from_argv()
        • load_par()
        • read_param()
    • radiation.cu
      • Functions
        • jnu_inv()
        • Bnu_inv()
        • kappa_es()
        • get_fluid_nu()
        • alpha_inv_scatt()
        • alpha_inv_abs()
        • get_bk_angle()
    • tetrads.cu
      • Functions
        • make_tetrad()
        • tetrad_to_coordinate()
        • coordinate_to_tetrad()
        • delta()
        • normalize()
        • project_out()
    • track.cu
      • Functions
        • track_super_photon()
        • init_dKdlam()
        • push_photon()
    • utils.cu
      • Functions
        • interp_scalar()
        • findPhotonIndex()
        • interp_scalar_pointer()
        • NPRIM_INDEX3D()
        • SPATIAL_INDEX2D()
        • SPATIAL_INDEX3D()
    • weights.cu
      • Functions
        • init_weight_table()
        • init_nint_table()
        • linear_interp_weight()
  • Quick Start Guide for GPUmonty
    • Prerequisites
      • Environment Configuration
      • CUDA Number of Blocks Configuration
      • Multi-Core Acceleration (OpenMP)
      • Configuration Parameters
    • Analyzing the Output
      • Spectral Data Structure
    • GRMHD Data File for Testing
    • LICENSE
  • Documentation Guidelines
    • File-Based Organization and Commenting
      • Function Documentation
      • Guidelines:
    • Update Workflow and Repository Structure
      • Documentation Directories Organization
      • Website Navigation and Tabs
      • How it Works
    • Local Testing and Building
      • Prerequisites
      • Testing Workflow
GPUmonty
  • Search


© Copyright 2025, Pedro Naethe Motta.

Built with Sphinx using a theme provided by Read the Docs.