|
MatlabTransportPack
|
Sweep over a tracked 2D domain. More...


Public Member Functions | |
| function | SweepMOC (in input, in mesh, in mat, in quadrature, in boundary, in equation) |
| Class constructor. | |
| function | sweep (in obj, in source, in g) |
| Sweep the mesh for all angles. | |
Public Attributes | |
| Property | d_input |
| User input. | |
| Property | d_track |
| Tracking information. | |
| Property | d_mat |
| Materials. | |
| Property | d_quadrature |
| Angular mesh. | |
| Property | d_equation |
| Spatial discretization. | |
| Property | d_alpha |
| Weighted diamond-difference parameters. | |
| Property | d_boundary |
| Boundary fluxes. | |
| Property | d_nx |
Sweep over a tracked 2D domain.
The within-group transport equation is
where
is the streaming and collision operator and
is a discrete representation of all source contributions.
To invert the operator
, we "sweep" over the mesh for all angles, which gives us updated angular fluxes in each cell. However, we don't store the angular flux, but rather add its contribution to the scalar flux directly since storing the angular flux is too expensive.
| function SweepMOC | ( | in | input, |
| in | mesh, | ||
| in | mat, | ||
| in | quadrature, | ||
| in | boundary, | ||
| in | equation | ||
| ) |
| function sweep | ( | in | obj, |
| in | source, | ||
| in | g | ||
| ) |
Sweep the mesh for all angles.
This performs the action of
on a given discrete right hand side vector. Currently, a single vector applicable to all angles is provided, since we work only with isotropic sources and scattering.
| source | Discrete sweep source. |
| g | Group of this problem. |
| Property d_alpha |
Weighted diamond-difference parameters.
| Property d_boundary |
Boundary fluxes.
| Property d_equation |
Spatial discretization.
| Property d_input |
User input.
| Property d_nx |
| Property d_quadrature |
Angular mesh.
| Property d_track |
Tracking information.
1.7.3