The Solver class.
More...
Go to the source code of this file.
|
| class | Solver |
| | This is an abstract base class which different Solver subclasses implement for different architectures or source iteration algorithms. More...
|
| |
|
| #define | _scalar_flux(r, e) (_scalar_flux[(r)*_num_groups + (e)]) |
| |
| #define | _old_scalar_flux(r, e) (_old_scalar_flux[(r)*_num_groups + (e)]) |
| |
| #define | _reference_flux(r, e) (_reference_flux[(r)*_num_groups + (e)]) |
| |
| #define | reference_flux(r, e) (reference_flux[(r)*_num_groups + (e)]) |
| |
| #define | _stabilizing_flux(r, e) (_stabilizing_flux[(r)*_num_groups + (e)]) |
| |
| #define | _reduced_sources(r, e) (_reduced_sources[(r)*_num_groups + (e)]) |
| |
| #define | _boundary_flux(i, j, pe) |
| |
| #define | _start_flux(i, j, pe) |
| |
| #define | _fixed_sources(r, e) (_fixed_sources[(r)*_num_groups + (e)]) |
| |
| #define | fission_sources(r, e) (fission_sources[(r)*_num_groups + (e)]) |
| |
| #define | scatter_sources(r, e) (scatter_sources[(r)*_num_groups + (e)]) |
| |
The Solver class.
- Date
- February 7, 2012
- Author
- William Boyd, MIT, Course 22 (wboyd.nosp@m.@mit.nosp@m..edu)
◆ _boundary_flux
| #define _boundary_flux |
( |
|
i, |
|
|
|
j, |
|
|
|
pe |
|
) |
| |
Value: + (j)*_fluxes_per_track \
+ (pe)])
#define _boundary_flux(i, j, pe)
Definition: Solver.h:49
Indexing macro for the angular fluxes for each polar angle and energy group for the outgoing reflective track for both the forward and reverse direction for a given track
◆ _fixed_sources
| #define _fixed_sources |
( |
|
r, |
|
|
|
e |
|
) |
| (_fixed_sources[(r)*_num_groups + (e)]) |
Indexing scheme for fixed sources for each FSR and energy group
◆ _old_scalar_flux
| #define _old_scalar_flux |
( |
|
r, |
|
|
|
e |
|
) |
| (_old_scalar_flux[(r)*_num_groups + (e)]) |
Indexing macro for the old scalar flux in each FSR and energy group
◆ _reduced_sources
| #define _reduced_sources |
( |
|
r, |
|
|
|
e |
|
) |
| (_reduced_sources[(r)*_num_groups + (e)]) |
Indexing macro for the total source divided by the total cross-section (
) in each FSR and energy group
◆ _reference_flux
| #define _reference_flux |
( |
|
r, |
|
|
|
e |
|
) |
| (_reference_flux[(r)*_num_groups + (e)]) |
Indexing macro for the reference scalar flux in each FSR and energy group
◆ _scalar_flux
| #define _scalar_flux |
( |
|
r, |
|
|
|
e |
|
) |
| (_scalar_flux[(r)*_num_groups + (e)]) |
Indexing macro for the scalar flux in each FSR and energy group
◆ _stabilizing_flux
| #define _stabilizing_flux |
( |
|
r, |
|
|
|
e |
|
) |
| (_stabilizing_flux[(r)*_num_groups + (e)]) |
Indexing macro for the stabilizing flux in each FSR and energy group
◆ _start_flux
| #define _start_flux |
( |
|
i, |
|
|
|
j, |
|
|
|
pe |
|
) |
| |
Value:(_start_flux[(i)*2*_fluxes_per_track \
+ (j)*_fluxes_per_track \
+ (pe)])
◆ fission_sources
| #define fission_sources |
( |
|
r, |
|
|
|
e |
|
) |
| (fission_sources[(r)*_num_groups + (e)]) |
Indexing scheme for the total fission source (
) for each FSR and energy group
◆ reference_flux
| #define reference_flux |
( |
|
r, |
|
|
|
e |
|
) |
| (reference_flux[(r)*_num_groups + (e)]) |
Indexing macro for the reference scalar flux in each FSR and energy group
◆ scatter_sources
| #define scatter_sources |
( |
|
r, |
|
|
|
e |
|
) |
| (scatter_sources[(r)*_num_groups + (e)]) |
Indexing scheme for the total in-scatter source (
) for each FSR and energy group
◆ residualType
The type of residual used for the convergence criterion.
| Enumerator |
|---|
| SCALAR_FLUX | A residual on the scalar flux distribution
|
| FISSION_SOURCE | A residual on the fission source distribution
|
| TOTAL_SOURCE | A residual on the total source distribution
|
◆ solverMode
The solution mode used by the MOC solver.
| Enumerator |
|---|
| FORWARD | The forward flux distribution
|
| ADJOINT | The adjoint flux distribution
|
◆ stabilizationType
The type of stabilization to use on source iteration.
| Enumerator |
|---|
| DIAGONAL | General diagonal stabilization
|
| YAMAMOTO | Yamamoto's groupwise stabilization
|
| GLOBAL | Global damping on the scalar flux update
|