Diamond difference approximation in two dimensions.
More...
List of all members.
Public Member Functions |
| function | DD2D (in mesh, in mat, in quadrature) |
| | Class constructor.
|
| function | get_con_x (in obj, in octant) |
| function | get_con_y (in obj, in octant) |
| function | setup_group (in obj, in group) |
| | Setup the equations for a group.
|
| function | setup_octant (in obj, in octant) |
| | Setup the equations for an octant.
|
| function | setup_angle (in obj, in mu, in eta, in xi) |
| | Setup the equations for an angle.
|
| function | solve (in obj, in g, in psi_in, in s, in i, in j, in k) |
| | Solve for the cell-center and outgoing edge fluxes.
|
Public Attributes |
| Property | d_con_x |
| Property | d_con_y |
| Property | d_sig_all |
| Property | d_sig |
| Property | d_beta |
| Constant Property | HORZ = 1 |
| Constant Property | VERT = 2 |
Protected Attributes |
| Property | d_mesh |
| | Problem mesh.
|
| Property | d_mat |
| | Material definitions.
|
| Property | d_quadrature |
| | Quadrature.
|
| Property | d_mu |
| | Current mu value.
|
| Property | d_eta |
| | current eta value
|
| Property | d_ksi |
| | Current ksi value.
|
| Property | d_alpha |
| | Weighted diamond difference parameter.
|
| Property | d_mat_map |
| | Material map.
|
Detailed Description
Diamond difference approximation in two dimensions.
Finish me.
Constructor & Destructor Documentation
| function DD2D |
( |
in |
mesh, |
|
|
in |
mat, |
|
|
in |
quadrature |
|
) |
| |
Class constructor.
Set the mesh and material.
- Parameters:
-
| mesh | Problem mesh. |
| mat | Material definitions. |
- Returns:
- Instance of the Equation class.
Member Function Documentation
| function get_con_x |
( |
in |
obj, |
|
|
in |
octant |
|
) |
| |
| function get_con_y |
( |
in |
obj, |
|
|
in |
octant |
|
) |
| |
| function setup_angle |
( |
in |
obj, |
|
|
in |
mu, |
|
|
in |
eta, |
|
|
in |
xi |
|
) |
| |
Setup the equations for an angle.
- Parameters:
-
| mu | Cosine with respect to x axis. |
| eta | Cosine with respect to y axis. |
| xi | Cosine with respect to y axis. |
| function setup_group |
( |
in |
obj, |
|
|
in |
group |
|
) |
| |
Setup the equations for a group.
Here, we'll go through the grid and produce a fine mesh matrix of total cross-sections. This isn't the best thing for memory, but it cuts down a lot on the time within solve.
- Parameters:
-
| function setup_octant |
( |
in |
obj, |
|
|
in |
octant |
|
) |
| |
Setup the equations for an octant.
- Parameters:
-
| function solve |
( |
in |
obj, |
|
|
in |
g, |
|
|
in |
psi_in, |
|
|
in |
s, |
|
|
in |
i, |
|
|
in |
j, |
|
|
in |
k |
|
) |
| |
Solve for the cell-center and outgoing edge fluxes.
- Parameters:
-
| g | Group index |
| psi_in | Incident flux vector, [horz=1, vert=2] |
| s | Cell source |
| i | Cell x index |
| j | Cell y index |
| k | Cell z index (NOT PRESENT) |
- Returns:
- Cell center angular flux and outgoing edge fluxes.
Member Data Documentation
Property d_alpha [protected, inherited] |
Weighted diamond difference parameter.
Property d_eta [protected, inherited] |
Property d_ksi [protected, inherited] |
Property d_mat [protected, inherited] |
Property d_mesh [protected, inherited] |
Property d_mu [protected, inherited] |
Constant Property HORZ = 1 [inherited] |
Constant Property VERT = 2 [inherited] |
The documentation for this class was generated from the following file:
- /home/robertsj/Research/matlab_transport_pack/source/DD2D.m