An open source method of characteristics neutron transport code.
dev_material Struct Reference

A Material's nuclear data to be stored on a GPU. More...

#include <DeviceMaterial.h>

Public Member Functions

 dev_material ()
 Constructor for a dev_material struct on a GPU.
 
 ~dev_material ()
 Destructor releases data for all Material's cross-sections on GPU.
 

Public Attributes

int _id
 
FP_PRECISION * _sigma_t
 
FP_PRECISION * _sigma_f
 
FP_PRECISION * _nu_sigma_f
 
FP_PRECISION * _chi
 
FP_PRECISION * _fiss_matrix
 
FP_PRECISION * _sigma_s
 

Detailed Description

A Material's nuclear data to be stored on a GPU.

Member Data Documentation

◆ _chi

FP_PRECISION* dev_material::_chi

An array of the chi $ \chi $ values for each energy group

◆ _fiss_matrix

FP_PRECISION* dev_material::_fiss_matrix

A 2D array of the fission matrix from/into each group

◆ _id

int dev_material::_id

A user-defined ID for each Material created

◆ _nu_sigma_f

FP_PRECISION* dev_material::_nu_sigma_f

An array of the fission cross-sections multiplied by nu $ \nu $ for each energy group

◆ _sigma_f

FP_PRECISION* dev_material::_sigma_f

A 2D array of the scattering cross-section matrix. The first index is row number and second index is column number

◆ _sigma_s

FP_PRECISION* dev_material::_sigma_s

A 2D array of the scattering cross-section matrix from/into each group

◆ _sigma_t

FP_PRECISION* dev_material::_sigma_t

An array of the total cross-sections for each energy group


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