MatlabTransportPack
Public Member Functions | Public Attributes

Source Class Reference

External isotropic volume source. More...

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

List of all members.

Public Member Functions

function Source (in mesh, in number_groups)
 Class constructor.
function set_sources (in obj, in sources, in source_map)
 Set external sources.
function set_sources_mesh (in obj, in sources, in source_map)
 Set external sources on a fine mesh.
function cell_source (in obj, in i, in j, in g)
function region_source (in obj, in r, in g)
function source (in obj, in g)
function initialized (in obj)

Public Attributes

Property d_mesh
Property d_sources
Property d_source_map
Property d_number_groups
Property d_source_vec
Property d_initialized

Detailed Description

External isotropic volume source.

More here...


Constructor & Destructor Documentation

function Source ( in  mesh,
in  number_groups 
)

Class constructor.

All boundary flux arrays are sized, and the boundary conditions are constructed for each surface.

Parameters:
meshMesh.
number_groupsNumber of energy groups.
Returns:
Instance of the Source class.

Member Function Documentation

function cell_source ( in  obj,
in  i,
in  j,
in  g 
)
function initialized ( in  obj)
function region_source ( in  obj,
in  r,
in  g 
)
function set_sources ( in  obj,
in  sources,
in  source_map 
)

Set external sources.

The sources are defined in columns. Each column must be equal to the number of groups. The map is defined per coarse mesh or region. Note, if a region has no source, a zero strength must be defined. For the case of MOC, the the source map is a single vector arranged in the order of the regions.

Parameters:
sourcesUnique source spectrum * strength
source_mapCoarse mesh or region map of sources.
function set_sources_mesh ( in  obj,
in  sources,
in  source_map 
)

Set external sources on a fine mesh.

Parameters:
sourcesUnique sources.
source_mapFine mesh map of sources.
function source ( in  obj,
in  g 
)

Member Data Documentation

Property d_initialized
Property d_mesh
Property d_number_groups
Property d_source_map
Property d_source_vec
Property d_sources

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