Chi-Tech
|
#include <sweepscheduler.h>
Data Structures | |
struct | RULE_VALUES |
Public Member Functions | |
SweepScheduler (SchedulingAlgorithm in_scheduler_type, AngleAggregation &in_angle_agg, SweepChunk &in_sweep_chunk) | |
AngleAggregation & | AngleAgg () |
size_t | SweepEventTag () const |
void | Sweep () |
double | GetAverageSweepTime () const |
std::vector< double > | GetAngleSetTimings () |
SweepChunk & | GetSweepChunk () |
void | SetDestinationPhi (std::vector< double > &in_destination_phi) |
void | ZeroDestinationPhi () |
std::vector< double > & | GetDestinationPhi () |
void | SetDestinationPsi (std::vector< double > &in_destination_psi) |
void | ZeroDestinationPsi () |
std::vector< double > & | GetDestinationPsi () |
void | ZeroIncomingDelayedPsi () |
void | ZeroOutgoingDelayedPsi () |
void | ZeroOutputFluxDataStructures () |
void | SetBoundarySourceActiveFlag (bool flag_value) |
Private Member Functions | |
void | ScheduleAlgoFIFO (SweepChunk &sweep_chunk) |
void | InitializeAlgoDOG () |
void | ScheduleAlgoDOG (SweepChunk &sweep_chunk) |
Private Attributes | |
SchedulingAlgorithm | scheduler_type_ |
AngleAggregation & | angle_agg_ |
std::vector< RULE_VALUES > | rule_values_ |
SweepChunk & | sweep_chunk_ |
const size_t | sweep_event_tag_ |
const std::vector< size_t > | sweep_timing_events_tag_ |
Definition at line 23 of file sweepscheduler.h.
chi_mesh::sweep_management::SweepScheduler::SweepScheduler | ( | SchedulingAlgorithm | in_scheduler_type, |
AngleAggregation & | in_angle_agg, | ||
SweepChunk & | in_sweep_chunk | ||
) |
Sweep scheduler constructor
Definition at line 8 of file sweepscheduler_constrdestr.cc.
|
inline |
Definition at line 60 of file sweepscheduler.h.
std::vector< double > chi_mesh::sweep_management::SweepScheduler::GetAngleSetTimings | ( | ) |
Get relevant sweep timing information.
[0] Total sweep time [1] Total chunk time [2] Total chunk time / total sweep time
Definition at line 33 of file sweepscheduler_sweep.cc.
double chi_mesh::sweep_management::SweepScheduler::GetAverageSweepTime | ( | ) | const |
Get average sweep time from logging system.
Definition at line 19 of file sweepscheduler_sweep.cc.
std::vector< double > & SweepScheduler::GetDestinationPhi | ( | ) |
Returns a reference to the output flux moments vector.
Definition at line 18 of file sweepscheduler_utils.cc.
std::vector< double > & SweepScheduler::GetDestinationPsi | ( | ) |
Returns a reference to the output angular flux vector.
Definition at line 37 of file sweepscheduler_utils.cc.
chi_mesh::sweep_management::SweepChunk & chi_mesh::sweep_management::SweepScheduler::GetSweepChunk | ( | ) |
Returns the referenced sweep chunk.
Definition at line 57 of file sweepscheduler_constrdestr.cc.
|
private |
Initializes the Depth-Of-Graph algorithm.
Definition at line 14 of file sweepscheduler_dog.cc.
|
private |
Executes the Depth-Of-Graph algorithm.
Definition at line 121 of file sweepscheduler_dog.cc.
|
private |
Applies a First-In-First-Out sweep scheduling.
Definition at line 8 of file sweepscheduler_fifo.cc.
void SweepScheduler::SetBoundarySourceActiveFlag | ( | bool | flag_value | ) |
Activates or deactives the surface src flag.
Definition at line 68 of file sweepscheduler_utils.cc.
void SweepScheduler::SetDestinationPhi | ( | std::vector< double > & | in_destination_phi | ) |
Sets the location where flux moments are to be written.
Definition at line 7 of file sweepscheduler_utils.cc.
void SweepScheduler::SetDestinationPsi | ( | std::vector< double > & | in_destination_psi | ) |
Sets the location where angular fluxes are to be written.
Definition at line 26 of file sweepscheduler_utils.cc.
void chi_mesh::sweep_management::SweepScheduler::Sweep | ( | ) |
This is the entry point for sweeping.
Definition at line 8 of file sweepscheduler_sweep.cc.
|
inline |
Definition at line 62 of file sweepscheduler.h.
void SweepScheduler::ZeroDestinationPhi | ( | ) |
Sets all elements of the output vector to zero.
Definition at line 13 of file sweepscheduler_utils.cc.
void SweepScheduler::ZeroDestinationPsi | ( | ) |
Sets all elements of the output angular flux vector to zero.
Definition at line 32 of file sweepscheduler_utils.cc.
void SweepScheduler::ZeroIncomingDelayedPsi | ( | ) |
Resets all the incoming intra-location and inter-location cyclic interfaces.
Definition at line 45 of file sweepscheduler_utils.cc.
void SweepScheduler::ZeroOutgoingDelayedPsi | ( | ) |
Resets all the outgoing intra-location and inter-location cyclic interfaces.
Definition at line 52 of file sweepscheduler_utils.cc.
void SweepScheduler::ZeroOutputFluxDataStructures | ( | ) |
Clear the output angular flux vector, the flux moments vector, and the outgoing delayed psi.
Definition at line 60 of file sweepscheduler_utils.cc.
|
private |
Definition at line 27 of file sweepscheduler.h.
|
private |
Definition at line 48 of file sweepscheduler.h.
|
private |
Definition at line 26 of file sweepscheduler.h.
|
private |
Definition at line 50 of file sweepscheduler.h.
|
private |
Definition at line 51 of file sweepscheduler.h.
|
private |
Definition at line 52 of file sweepscheduler.h.