|
MatlabTransportPack
|
Represents reactor Core. More...


Public Member Functions | |
| function | Core (in assemblies, in assembly_map) |
| Class constructor. | |
| function | meshify (in obj) |
| Construct a mesh over the core. | |
| function | add_mesh_map (in obj, in mesh_map, in map_key) |
| Add a map to the mesh. | |
| function | plot_mesh_map (in obj, in mapkey) |
| Plot a mesh map on the mesh. | |
| function | plot_flux (in obj, in f) |
| Plot a given flux or flux-shaped vector on the mesh. | |
| function | widths (in obj) |
| Get cell array of width vectors. | |
| function | dx (in obj, in i) |
| Width along x-axis for a cell. | |
| function | dy (in obj, in i) |
| Width along y-axis for a cell. | |
| function | dz (in obj, in i) |
| Width along z-axis for a cell. | |
| function | number_cells (in obj) |
| Get the total number of cells. | |
| function | number_cells_x (in obj) |
| Get the number of cells along the x axis. | |
| function | number_cells_y (in obj) |
| Get the number of cells along the y axis. | |
| function | number_cells_z (in obj) |
| Get the number of cells along the z axis. | |
| function | dim (in obj, in i) |
| Get the number of cells along the an axis. | |
| function | index (in obj, in i, in j, in k) |
| Returns the cardinal index for i, j, and k. | |
| function | mesh_map (in obj, in map_key) |
| Get a mesh map. | |
| function | meshed (in obj) |
Public Attributes | |
| Property | d_assembly |
| Cell array of assembly objects. | |
| Property | d_assembly_map |
| Array of assembly locations. | |
| Property | d_number_assemblies_row |
| Number of assemblies per row. | |
| Property | d_number_assemblies |
| Total number of assemblies. | |
| Constant Property | DIM = 2 |
| Constant Property | LEFT = 1 |
| Constant Property | RIGHT = 2 |
| Constant Property | BOTTOM = 3 |
| Constant Property | TOP = 4 |
| Constant Property | SOUTH = 5 |
| Constant Property | NORTH = 6 |
Protected Attributes | |
| Property | d_xcm |
| x coarse mesh boundaries | |
| Property | d_ycm |
| y coarse mesh boundaries | |
| Property | d_zcm |
| z coarse mesh boundaries | |
| Property | d_xfm |
| x fine meshes in each x coarse mesh | |
| Property | d_yfm |
| y fine meshes in each y coarse mesh | |
| Property | d_zfm |
| z fine meshes in each y coarse mesh | |
| Property | d_dx |
| x widths | |
| Property | d_dy |
| y widths | |
| Property | d_dz |
| z widths | |
| Property | d_number_cells |
| Total number of cells. | |
| Property | d_number_cells_x |
| Number of cells in x direction. | |
| Property | d_number_cells_y |
| Number of cells in y direction. | |
| Property | d_number_cells_z |
| Number of cells in y direction. | |
| Property | d_mesh_map |
| Map container containing a key describing a mesh property and a fine mesh map defining the property in each cell. | |
| Property | d_meshed |
| Flag indicating I'm meshed. | |
Represents reactor Core.
More here.
| function Core | ( | in | assemblies, |
| in | assembly_map | ||
| ) |
Class constructor.
| assemblies | Cell array of pin objects. |
| assembly_map | 2-D array of pin locations. |
| function add_mesh_map | ( | in | obj, |
| in | mesh_map, | ||
| in | map_key | ||
| ) | [inherited] |
Add a map to the mesh.
| mesh_map | Map on the coarse mesh. |
| map_key | Key (descriptor) for this map. |
| function dim | ( | in | obj, |
| in | i | ||
| ) | [inherited] |
| function dx | ( | in | obj, |
| in | i | ||
| ) | [inherited] |
| function dy | ( | in | obj, |
| in | i | ||
| ) | [inherited] |
| function dz | ( | in | obj, |
| in | i | ||
| ) | [inherited] |
Width along z-axis for a cell.
| function index | ( | in | obj, |
| in | i, | ||
| in | j, | ||
| in | k | ||
| ) | [inherited] |
Returns the cardinal index for i, j, and k.
For efficiency, the client may want to hardcode the indexing into their routine, as this is suboptimal within a loop.
| function mesh_map | ( | in | obj, |
| in | map_key | ||
| ) | [inherited] |
| function meshed | ( | in | obj | ) | [inherited] |
| function meshify | ( | in | obj | ) |
Construct a mesh over the core.
Using the underlying pin assembly meshes, this constructs a core mesh. The assembly mesh maps are translated to the assembly. More work will be to differentiate pins.
| function number_cells | ( | in | obj | ) | [inherited] |
| function number_cells_x | ( | in | obj | ) | [inherited] |
| function number_cells_y | ( | in | obj | ) | [inherited] |
| function number_cells_z | ( | in | obj | ) | [inherited] |
Get the number of cells along the z axis.
| function plot_flux | ( | in | obj, |
| in | f | ||
| ) | [inherited] |
Plot a given flux or flux-shaped vector on the mesh.
| f | A vector of values that live on the mesh. |
| function plot_mesh_map | ( | in | obj, |
| in | mapkey | ||
| ) | [inherited] |
Plot a mesh map on the mesh.
| map_key | A mesh map key. |
| function widths | ( | in | obj | ) | [inherited] |
Constant Property BOTTOM = 3 [inherited] |
| Property d_assembly |
Cell array of assembly objects.
| Property d_assembly_map |
Array of assembly locations.
Property d_dx [protected, inherited] |
x widths
Property d_dy [protected, inherited] |
y widths
Property d_dz [protected, inherited] |
z widths
Property d_mesh_map [protected, inherited] |
Map container containing a key describing a mesh property and a fine mesh map defining the property in each cell.
These properties include materials, coarse mesh regions (pins, assembly, fuel, moderator, etc.), and anything else the user wants to edit.
Property d_meshed [protected, inherited] |
Flag indicating I'm meshed.
| Property d_number_assemblies |
Total number of assemblies.
| Property d_number_assemblies_row |
Number of assemblies per row.
Property d_number_cells [protected, inherited] |
Total number of cells.
Property d_number_cells_x [protected, inherited] |
Number of cells in x direction.
Property d_number_cells_y [protected, inherited] |
Number of cells in y direction.
Property d_number_cells_z [protected, inherited] |
Number of cells in y direction.
Property d_xcm [protected, inherited] |
x coarse mesh boundaries
Property d_xfm [protected, inherited] |
x fine meshes in each x coarse mesh
Property d_ycm [protected, inherited] |
y coarse mesh boundaries
Property d_yfm [protected, inherited] |
y fine meshes in each y coarse mesh
Property d_zcm [protected, inherited] |
z coarse mesh boundaries
Property d_zfm [protected, inherited] |
z fine meshes in each y coarse mesh
Constant Property DIM = 2 [inherited] |
Constant Property LEFT = 1 [inherited] |
Constant Property NORTH = 6 [inherited] |
Constant Property RIGHT = 2 [inherited] |
Constant Property SOUTH = 5 [inherited] |
Constant Property TOP = 4 [inherited] |
1.7.3