Chi-Tech
sweepscheduler_utils.cc
Go to the documentation of this file.
1#include "sweepscheduler.h"
2
3using namespace chi_mesh::sweep_management;
4
5//=============================================== Phi functions
6/**Sets the location where flux moments are to be written.*/
7void SweepScheduler::SetDestinationPhi(std::vector<double> &in_destination_phi)
8{
9 sweep_chunk_.SetDestinationPhi(in_destination_phi);
10}
11
12/**Sets all elements of the output vector to zero.*/
15}
16
17/**Returns a reference to the output flux moments vector.*/
19{
21}
22
23
24//=============================================== Psi functions
25/**Sets the location where angular fluxes are to be written.*/
26void SweepScheduler::SetDestinationPsi(std::vector<double>& in_destination_psi)
27{
28 sweep_chunk_.SetDestinationPsi(in_destination_psi);
29}
30
31/**Sets all elements of the output angular flux vector to zero.*/
34}
35
36/**Returns a reference to the output angular flux vector.*/
38{
40}
41
42
43/** Resets all the incoming intra-location and inter-location
44 * cyclic interfaces.*/
46{
48}
49
50/** Resets all the outgoing intra-location and inter-location
51 * cyclic interfaces.*/
53{
55}
56
57/** Clear the output angular flux vector, the flux moments
58 * vector, and the outgoing delayed psi.
59 */
61{
65}
66
67/**Activates or deactives the surface src flag.*/
69{
71}
std::vector< double > & GetDestinationPsi()
std::vector< double > & GetDestinationPhi()
void SetDestinationPsi(std::vector< double > &in_destination_psi)
void SetDestinationPhi(std::vector< double > &in_destination_phi)
void SetBoundarySourceActiveFlag(bool flag_value)
void SetDestinationPsi(std::vector< double > &in_destination_psi)