An open source method of characteristics neutron transport code.
CPULSSolver.h File Reference

The CPULSSolver class. More...

Go to the source code of this file.

Classes

class  CPULSSolver
 This a subclass of the CPUSolver class for using the linear source approximation. More...
 

Macros

#define _scalar_flux_xyz(r, e, x)   (_scalar_flux_xyz[(r)*_num_groups*3 + (x)*_num_groups + (e)])
 
#define _reduced_sources_xyz(r, e, x)   (_reduced_sources_xyz[(r)*_num_groups*3 + (x)*_num_groups + (e)])
 
#define _stabilizing_flux_xyz(r, e, x)   (_stabilizing_flux_xyz[(r)*_num_groups*3 + (e)*3 + (x)])
 
#define _fixed_sources_xyz(r, e, i)   (_fixed_sources_xyz[(r)*_num_groups + (e)][i])
 

Detailed Description

The CPULSSolver class.

Date
February 19, 2016
Author
Samuel Shaner, MIT, Course 22 (shane.nosp@m.r@mi.nosp@m.t.edu)

Macro Definition Documentation

◆ _fixed_sources_xyz

#define _fixed_sources_xyz (   r,
  e,
 
)    (_fixed_sources_xyz[(r)*_num_groups + (e)][i])

Indexing scheme for fixed source moments for each FSR and energy group

◆ _reduced_sources_xyz

#define _reduced_sources_xyz (   r,
  e,
 
)    (_reduced_sources_xyz[(r)*_num_groups*3 + (x)*_num_groups + (e)])

Indexing macro for the total source divided by the total cross-section ( $ \frac{Q}{\Sigma_t} $) in each FSR and energy group

◆ _scalar_flux_xyz

#define _scalar_flux_xyz (   r,
  e,
 
)    (_scalar_flux_xyz[(r)*_num_groups*3 + (x)*_num_groups + (e)])

Indexing macro for the scalar flux in each FSR and energy group

◆ _stabilizing_flux_xyz

#define _stabilizing_flux_xyz (   r,
  e,
 
)    (_stabilizing_flux_xyz[(r)*_num_groups*3 + (e)*3 + (x)])

Indexing macro for the stabilizing scalar flux moments in each FSR and energy group