Celeritas 0.6.0-13+develop.01c2c09e
Loading...
Searching...
No Matches
Public Member Functions | List of all members
celeritas::ElementCdfCalculator Class Reference

Calculate the microscopic cross section CDF table for a material. More...

#include <ElementCdfCalculator.hh>

Public Types

Type aliases
using SpanConstElement = Span< MatElementComponent const >
 
using XsTable = Model::XsTable
 

Public Member Functions

 ElementCdfCalculator (SpanConstElement elements)
 Construct from elements in a material.
 
void operator() (XsTable &grids)
 Calculate the CDF in place from the microscopic cross sections.
 

Detailed Description

Calculate the microscopic cross section CDF table for a material.

The CDF is used to sample an element from a material for a discrete interaction. It's computed for each energy bin across all constituent elements.


The documentation for this class was generated from the following files: