An open source method of characteristics neutron transport code.
|
A class used to ray trace and apply the MOC transport equations simultaneously On-The-Fly. More...
#include <TrackTraversingAlgorithms.h>
Public Member Functions | |
TransportSweepOTF (TrackGenerator *track_generator) | |
Constructor for TransportSweepOTF calls the TraverseSegments constructor. More... | |
void | setCPUSolver (CPUSolver *cpu_solver) |
Set the solver for the OTF TransportSweep. More... | |
void | onTrack (Track *track, segment *segments) |
Placeholder, an onTrack routine is not required when performing track generation and transport simultaneously. More... | |
void | execute () |
When executed, the Kernel loops over all tracks, both generating them and solving the MOC equations. | |
Additional Inherited Members | |
Protected Member Functions inherited from TraverseSegments | |
TraverseSegments (TrackGenerator *track_generator) | |
Constructor for the TraverseSegments class assigns the TrackGenerator and pulls relevant information from it. | |
virtual | ~TraverseSegments () |
Destructor for TraverseSegments. | |
void | loopOverTracks (MOCKernel *kernel) |
Loops over Tracks, applying the provided kernel to all segments and the functionality described in onTrack(...) to all Tracks. More... | |
void | loopOverTracksByStackTwoWay (TransportKernel *kernel) |
Loops over all 3D Tracks using axial on-the-fly ray tracking by z-stack, going forward then backward on each 3D Track. More... | |
template<class KernelType > | |
MOCKernel * | getKernel () |
Protected Attributes inherited from TraverseSegments | |
TrackGenerator * | _track_generator |
TrackGenerator3D * | _track_generator_3D |
double * | _global_z_mesh |
int | _mesh_size |
segmentationType | _segment_formation |
A class used to ray trace and apply the MOC transport equations simultaneously On-The-Fly.
"src/TrackTraversingAlgorithms.h"
TransportSweepOTF uses a track generator and a CPUSolver to solve the ray-trace and solve the MOC equations at the same time. NOT FULLY IMPLEMENTED //TODO
TransportSweepOTF::TransportSweepOTF | ( | TrackGenerator * | track_generator | ) |
Constructor for TransportSweepOTF calls the TraverseSegments constructor.
track_generator | Track generator to generate the tracks |
Placeholder, an onTrack routine is not required when performing track generation and transport simultaneously.
track | the Track of interest |
segments | array of segments on that track |
Implements TraverseSegments.
void TransportSweepOTF::setCPUSolver | ( | CPUSolver * | cpu_solver | ) |
Set the solver for the OTF TransportSweep.
cpu_solver | Solver to use to solve MOC equations |