An open source method of characteristics neutron transport code.
TransportSweepOTF Class Reference

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 >
MOCKernelgetKernel ()
 
- Protected Attributes inherited from TraverseSegments
TrackGenerator_track_generator
 
TrackGenerator3D_track_generator_3D
 
double * _global_z_mesh
 
int _mesh_size
 
segmentationType _segment_formation
 

Detailed Description

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

Constructor & Destructor Documentation

◆ TransportSweepOTF()

TransportSweepOTF::TransportSweepOTF ( TrackGenerator track_generator)

Constructor for TransportSweepOTF calls the TraverseSegments constructor.

Parameters
track_generatorTrack generator to generate the tracks

Member Function Documentation

◆ onTrack()

void TransportSweepOTF::onTrack ( Track track,
segment segments 
)
virtual

Placeholder, an onTrack routine is not required when performing track generation and transport simultaneously.

Parameters
trackthe Track of interest
segmentsarray of segments on that track

Implements TraverseSegments.

◆ setCPUSolver()

void TransportSweepOTF::setCPUSolver ( CPUSolver cpu_solver)

Set the solver for the OTF TransportSweep.

Parameters
cpu_solverSolver to use to solve MOC equations

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