Chi-Tech
AAH_SweepChunk.h
Go to the documentation of this file.
1#ifndef CHITECH_AAH_SWEEPCHUNK_H
2#define CHITECH_AAH_SWEEPCHUNK_H
3
4#include "SweepChunk.h"
5
8
9namespace lbs
10{
11
12// ##################################################################
13/**Simple utility structure for controlling counters and calls
14 * to upstream data.*/
16{
18
19 size_t spls_index = 0;
20
25
26 const double* GetUpwindPsi(int face_node_local_idx) const override;
27 double* GetDownwindPsi(int face_node_local_idx) const override;
28};
29
30// ##################################################################
31/**The new sweep chunk class.*/
33{
34public:
36 const chi_math::SpatialDiscretization& discretization,
37 const std::vector<UnitCellMatrices>& unit_cell_matrices,
38 std::vector<lbs::CellLBSView>& cell_transport_views,
39 std::vector<double>& destination_phi,
40 std::vector<double>& destination_psi,
41 const std::vector<double>& source_moments,
42 const LBSGroupset& groupset,
43 const std::map<int, XSPtr>& xs,
44 int num_moments,
45 int max_num_cell_dofs);
46
47 // 01
48 void Sweep(chi_mesh::sweep_management::AngleSet& angle_set) override;
49
50};
51
52} // namespace lbs
53
54#endif // CHITECH_AAH_SWEEPCHUNK_H
std::vector< double > * destination_psi
std::vector< double > * destination_phi
AAH_SweepChunk(const chi_mesh::MeshContinuum &grid, const chi_math::SpatialDiscretization &discretization, const std::vector< UnitCellMatrices > &unit_cell_matrices, std::vector< lbs::CellLBSView > &cell_transport_views, std::vector< double > &destination_phi, std::vector< double > &destination_psi, const std::vector< double > &source_moments, const LBSGroupset &groupset, const std::map< int, XSPtr > &xs, int num_moments, int max_num_cell_dofs)
void Sweep(chi_mesh::sweep_management::AngleSet &angle_set) override
const double * GetUpwindPsi(int face_node_local_idx) const override
double * GetDownwindPsi(int face_node_local_idx) const override
chi_mesh::sweep_management::AAH_FLUDS * fluds_