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


Public Member Functions | |
| function | BoundaryMesh (in input, in mesh, in quadrature) |
| Class constructor. | |
| function | get_psi_v (in this, in o, in a, in inout) |
| Get a vertical face incident/exiting boundary flux. | |
| function | get_psi_h (in this, in o, in a, in inout) |
| Get a horizontal face incident/exiting boundary flux. | |
| function | get_psi_v_octant (in this, in o, in inout) |
| Get a vertical face incident/exiting boundary flux. | |
| function | get_psi_h_octant (in this, in o, in inout) |
| Get a horizontal face incident/exiting boundary flux. | |
| function | set_psi_v (in this, in o, in a, in f, in inout) |
| Set a vertical face incident boundary flux. | |
| function | set_psi_h (in this, in o, in a, in f, in inout) |
| Set a horizontal face incident boundary flux. | |
| function | set_psi_v_octant (in this, in o, in f, in inout) |
| Set a vertical face incident boundary flux for all angles. | |
| function | set_psi_h_octant (in this, in o, in f, in inout) |
| Set a horizontal face incident boundary flux for all angles. | |
| function | initialize (in this, in g) |
| Initialize for a within-group solve. | |
| function | set_group (in this, in g) |
| function | group (in this) |
| Get the current group. | |
| function | set (in this) |
| Set the incident boundary fluxes. | |
| function | reset (in this) |
| Reset the incident boundary fluxes to zero. | |
Public Attributes | |
| Property | d_octant_indices |
| Octant indices. | |
| Constant Property | IN = 1 |
| Constant Property | OUT |
| Property | d_input |
| Input. | |
| Property | d_mesh |
| Spatial mesh. | |
| Property | d_quadrature |
| Angular mesh. | |
| Property | d_boundary_flux |
| Boundary flux cell array. | |
| Property | d_bc |
| Cell array of BoundaryCondition thisects for each surface. | |
| Property | d_g |
| Current group. | |
Holds the incident and outgoing boundary fluxes for a mesh.
For now, this class is largely limited to 1-d and 2-d problems. Access is with respect to "vertical" (1-d/2-d) and "horizontal (2-d only) edges, specified as a function of octant and whether the incident or outgoing flux is desired.
| function BoundaryMesh | ( | in | input, |
| in | mesh, | ||
| in | quadrature | ||
| ) |
Class constructor.
All boundary flux arrays are sized, and the boundary conditions are constructed for each surface.
| input | User input. |
| mesh | Spatial mesh. |
| quadrature | Angular mesh. |
| function get_psi_h | ( | in | this, |
| in | o, | ||
| in | a, | ||
| in | inout | ||
| ) |
Get a horizontal face incident/exiting boundary flux.
| o | Octant index. |
| a | Angle index (within an octant). |
| inout | Incoming/outgoing switch |
| function get_psi_h_octant | ( | in | this, |
| in | o, | ||
| in | inout | ||
| ) |
Get a horizontal face incident/exiting boundary flux.
| o | Octant index. |
| a | Angle index (within an octant). |
| inout | Incoming/outgoing switch |
| function get_psi_v | ( | in | this, |
| in | o, | ||
| in | a, | ||
| in | inout | ||
| ) |
Get a vertical face incident/exiting boundary flux.
| o | Octant index. |
| a | Angle index (within an octant). |
| inout | Incoming/outgoing switch |
| function get_psi_v_octant | ( | in | this, |
| in | o, | ||
| in | inout | ||
| ) |
Get a vertical face incident/exiting boundary flux.
| o | Octant index. |
| a | Angle index (within an octant). |
| inout | Incoming/outgoing switch |
| function group | ( | in | this | ) | [inherited] |
Get the current group.
| function initialize | ( | in | this, |
| in | g | ||
| ) | [inherited] |
Initialize for a within-group solve.
More detailed description of what the constructor does.
| input | User input. |
| mesh | Spatial mesh. |
| quadrature | Angular mesh. |
| function reset | ( | in | this | ) | [inherited] |
Reset the incident boundary fluxes to zero.
| function set | ( | in | this | ) | [inherited] |
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_group | ( | in | this, |
| in | g | ||
| ) | [inherited] |
| function set_psi_h | ( | in | this, |
| in | o, | ||
| in | a, | ||
| in | f, | ||
| in | inout | ||
| ) |
Set a horizontal face incident boundary flux.
| o | Octant index. |
| a | Angle index (within an octant). |
| f | Flux array. |
| inout | Incoming/outgoing switch |
| function set_psi_h_octant | ( | in | this, |
| in | o, | ||
| in | f, | ||
| in | inout | ||
| ) |
Set a horizontal face incident boundary flux for all angles.
| o | Octant index. |
| f | Flux array. |
| inout | Incoming/outgoing switch |
| function set_psi_v | ( | in | this, |
| in | o, | ||
| in | a, | ||
| in | f, | ||
| in | inout | ||
| ) |
Set a vertical face incident boundary flux.
| o | Octant index. |
| a | Angle index (within an octant). |
| f | Flux array. |
| inout | Incoming/outgoing switch |
| function set_psi_v_octant | ( | in | this, |
| in | o, | ||
| in | f, | ||
| in | inout | ||
| ) |
Set a vertical face incident boundary flux for all angles.
| o | Octant index. |
| f | Flux array. |
| inout | Incoming/outgoing switch |
Property d_bc [inherited] |
Cell array of BoundaryCondition thisects for each surface.
Property d_boundary_flux [inherited] |
Boundary flux cell array.
Property d_g [inherited] |
Current group.
Property d_mesh [inherited] |
Spatial mesh.
| Property d_octant_indices |
Octant indices.
Property d_quadrature [inherited] |
Angular mesh.
Constant Property IN = 1 [inherited] |
Constant Property OUT [inherited] |
1.7.3