1#ifndef CHI_SWEEPCHUNK_BASE_H
2#define CHI_SWEEPCHUNK_BASE_H
32 std::vector<double>& in_destination_psi)
50 virtual void SetCells(
const std::vector<const chi_mesh::Cell*>& cell_ptrs) {}
65 (*destination_phi).assign((*destination_phi).size(), 0.0);
80 (*destination_psi).assign((*destination_psi).size(), 0.0);
virtual void SetCell(chi_mesh::Cell const *cell_ptr, chi_mesh::sweep_management::AngleSet &angle_set)
void ZeroDestinationPhi()
bool surface_source_active
virtual void SetAngleSet(AngleSet &angle_set)
std::vector< double > & GetDestinationPsi()
bool IsSurfaceSourceActive() const
virtual ~SweepChunk()=default
std::vector< double > & GetDestinationPhi()
std::vector< double > * destination_psi
void SetDestinationPsi(std::vector< double > &in_destination_psi)
SweepChunk(std::vector< double > &in_destination_phi, std::vector< double > &in_destination_psi)
std::function< void(chi_mesh::sweep_management::SweepChunk *sweeper, chi_mesh::sweep_management::AngleSet *angle_set)> MomentCallbackF
virtual void Sweep(AngleSet &angle_set)
void SetDestinationPhi(std::vector< double > &in_destination_phi)
virtual void SetCells(const std::vector< const chi_mesh::Cell * > &cell_ptrs)
void SetBoundarySourceActiveFlag(bool flag_value)
void ZeroDestinationPsi()
std::vector< MomentCallbackF > moment_callbacks
std::vector< double > * destination_phi