An open source method of characteristics neutron transport code.
Cmfd.h File Reference

The Cmfd class. More...

Go to the source code of this file.

Classes

class  Cmfd
 A class for Coarse Mesh Finite Difference (CMFD) acceleration. More...
 

Macros

#define track_flux(p, e)   (track_flux[(p)*_num_moc_groups + (e)]
 

Functions

bool stencilCompare (const std::pair< int, double > &firstElem, const std::pair< int, double > &secondElem)
 

Detailed Description

The Cmfd class.

Date
October 14, 2013
Author
Sam Shaner, MIT, Course 22 (shane.nosp@m.r@mi.nosp@m.t.edu)

Macro Definition Documentation

◆ track_flux

#define track_flux (   p,
 
)    (track_flux[(p)*_num_moc_groups + (e)]

Indexing macro for the angular fluxes for each polar angle and energy group for either the forward or reverse direction for a given Track

Function Documentation

◆ stencilCompare()

bool stencilCompare ( const std::pair< int, double > &  firstElem,
const std::pair< int, double > &  secondElem 
)
inline

Comparator for sorting k-nearest stencil std::pair objects