|
MatlabTransportPack
|
Holds the incident and outgoing boundary fluxes for tracks. More...


Public Member Functions | |
| function | BoundaryTrack (in input, in track, in quadrature) |
| Class constructor. | |
| function | initialize (in this, in g) |
| Initialize for a within-group solve. | |
| function | set (in this) |
| Set the incident boundary fluxes. | |
| function | get_psi (in this, in o, in a, in inout) |
| Get incident or exiting flux for an angle. | |
| function | set_psi (in this, in o, in a, in f, in inout) |
| Set incident or exiting flux for an angle. | |
| function | get_single_psi (in this, in o, in a, in p, in t, in inout) |
| Get incident or exiting flux for an angle and track. | |
| function | set_single_psi (in this, in o, in a, in t, in p, in f, in inout) |
| Set incident or exiting flux for an angle and track. | |
| function | get_boundary_flux (in this, in inout) |
| Get incident or exiting flux for all angles. | |
| function | get_side_flux (in this, in side, in polar, in inout) |
| Get incident or exiting flux for all angles for a side. | |
| function | set_side_flux (in this, in side, in f, in inout) |
| Set incident or exiting flux for all angles for a side. | |
| function | get_bc (in this, in side) |
| function | build_reflect_index (in this) |
| Build index of (o, a) -> (o', a') pairs and its inverse. | |
| function | build_side_index (in this) |
| Build index of (o, a, t) for each side. | |
Public Attributes | |
| Constant Property | INCIDENT = 1 |
| Constant Property | EXITING = 2 |
| Property | d_track |
| Spatial track. | |
| Property | d_quadrature |
| Angular track. | |
| Property | d_boundary_flux |
| Boundary flux cell array. | |
| Property | d_bc |
| Cell array of BoundaryCondition thisects for each surface. | |
| Property | d_g |
| Current group. | |
| Property | d_octants |
| Property | d_index |
| Property | d_bindex |
| Property | d_side_index |
Holds the incident and outgoing boundary fluxes for tracks.
More here...
| function BoundaryTrack | ( | in | input, |
| in | track, | ||
| in | quadrature | ||
| ) |
Class constructor.
All boundary flux arrays are sized, and the boundary conditions are constructed for each surface.
| input | User input. |
| track | Spatial track. |
| quadrature | Angular track. |
| function build_reflect_index | ( | in | this | ) |
Build index of (o, a) -> (o', a') pairs and its inverse.
| function build_side_index | ( | in | this | ) |
Build index of (o, a, t) for each side.
For a given side, have an array of three columns listing o, a, and t that it has as input. Note, for each side, the tracks are listed by angle-space, from (pi, 0) and (i=1, i=# points). This facilitates defining functions on a boundary as a function of angle or space.
| function get_bc | ( | in | this, |
| in | side | ||
| ) |
| function get_boundary_flux | ( | in | this, |
| in | inout | ||
| ) |
Get incident or exiting flux for all angles.
| inout | Incoming/outgoing switch |
| function get_psi | ( | in | this, |
| in | o, | ||
| in | a, | ||
| in | inout | ||
| ) |
Get incident or exiting flux for an angle.
| o | Octant index. |
| a | Angle index (within an octant). |
| inout | Incoming/outgoing switch |
| function get_side_flux | ( | in | this, |
| in | side, | ||
| in | polar, | ||
| in | inout | ||
| ) |
Get incident or exiting flux for all angles for a side.
| inout | Incoming/outgoing switch |
| function get_single_psi | ( | in | this, |
| in | o, | ||
| in | a, | ||
| in | p, | ||
| in | t, | ||
| in | inout | ||
| ) |
Get incident or exiting flux for an angle and track.
| o | Octant index. |
| a | Angle index (within an octant). |
| inout | Incoming/outgoing switch |
| function initialize | ( | in | this, |
| in | g | ||
| ) |
Initialize for a within-group solve.
More detailed description of what the constructor does.
| input | User input. |
| mesh | Spatial mesh. |
| quadrature | Angular mesh. |
| function set | ( | in | this | ) |
Set the incident boundary fluxes.
This is called after every sweep. The sweeper updates all the outgoing angular fluxes. This routine updates the incident fluxes according to the boundary condition.
| order | Quadrature order. This differs from quadrature to quadrature, but e.g. for level symmetric, it's the number of unique directional cosines. |
| function set_psi | ( | in | this, |
| in | o, | ||
| in | a, | ||
| in | f, | ||
| in | inout | ||
| ) |
Set incident or exiting flux for an angle.
| o | Octant index. |
| a | Angle index (within an octant). |
| f | Flux array (polar, track) |
| inout | Incoming/outgoing switch |
| function set_side_flux | ( | in | this, |
| in | side, | ||
| in | f, | ||
| in | inout | ||
| ) |
Set incident or exiting flux for all angles for a side.
| inout | Incoming/outgoing switch |
| function set_single_psi | ( | in | this, |
| in | o, | ||
| in | a, | ||
| in | t, | ||
| in | p, | ||
| in | f, | ||
| in | inout | ||
| ) |
Set incident or exiting flux for an angle and track.
| o | Octant index. |
| a | Angle index (within an octant). |
| f | Flux array (polar, track) |
| inout | Incoming/outgoing switch |
| Property d_bc |
Cell array of BoundaryCondition thisects for each surface.
| Property d_bindex |
| Property d_boundary_flux |
Boundary flux cell array.
| Property d_g |
Current group.
| Property d_index |
| Property d_octants |
| Property d_quadrature |
Angular track.
| Property d_side_index |
| Property d_track |
Spatial track.
| Constant Property EXITING = 2 |
| Constant Property INCIDENT = 1 |
1.7.3