MatlabTransportPack
Public Member Functions | Public Attributes

SweepMOC Class Reference

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

Inheritance diagram for SweepMOC:
Inheritance graph
[legend]
Collaboration diagram for SweepMOC:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Sweep over a tracked 2D domain.

The within-group transport equation is

\[ \mathbf{T}\psi = Q \, , \]

where $ \mathbf{T} $ is the streaming and collision operator and $ Q $ is a discrete representation of all source contributions.

To invert the operator $ \mathbf{T} $, 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.


Constructor & Destructor Documentation

function SweepMOC ( in  input,
in  mesh,
in  mat,
in  quadrature,
in  boundary,
in  equation 
)

Class constructor.

Parameters:
inputUser input database.
meshTracked domain.
matMaterials definitions.
quadratureAngular quadrature.
boundaryBoundary fluxes.
equationSpatial discretization
Returns:
Instance of the SweepMOC class.

Member Function Documentation

function sweep ( in  obj,
in  source,
in  g 
)

Sweep the mesh for all angles.

This performs the action of $ \mathbf{T}^{-1} $ 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.

Parameters:
sourceDiscrete sweep source.
gGroup of this problem.
Returns:
Updated group flux.

Member Data Documentation

Property d_alpha

Weighted diamond-difference parameters.

Property d_boundary

Boundary fluxes.

Property d_equation

Spatial discretization.

Property d_input

User input.

Property d_mat
Property d_nx
Property d_quadrature

Angular mesh.

Property d_track

Tracking information.


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