1#ifndef CHITECH_CBC_SWEEPCHUNK_H
2#define CHITECH_CBC_SWEEPCHUNK_H
10class CBC_ASynchronousCommunicator;
32 const double*
GetUpwindPsi(
int face_node_local_idx)
const override;
35 size_t num_face_nodes,
38 bool on_boundary)
override;
40 size_t num_face_nodes,
44 int locality)
override;
54 const std::vector<UnitCellMatrices>& unit_cell_matrices,
55 std::vector<lbs::CellLBSView>& cell_transport_views,
56 const std::vector<double>& source_moments,
58 const std::map<int, XSPtr>& xs,
60 int max_num_cell_dofs);
67 void SetCells(
const std::vector<const chi_mesh::Cell*>& cell_ptrs)
override;
std::vector< double > * destination_psi
std::vector< double > * destination_phi
void SetAngleSet(chi_mesh::sweep_management::AngleSet &angle_set) override
chi_mesh::Cell const * cell_ptr_
void SetCells(const std::vector< const chi_mesh::Cell * > &cell_ptrs) override
CBC_SweepDependencyInterface & cbc_sweep_depinterf_
void Sweep(chi_mesh::sweep_management::AngleSet &angle_set) override
void SetCell(chi_mesh::Cell const *cell_ptr, chi_mesh::sweep_management::AngleSet &angle_set) override
std::vector< const chi_mesh::Cell * > cell_ptrs_
CBC_SweepChunk(std::vector< double > &destination_phi, std::vector< double > &destination_psi, const chi_mesh::MeshContinuum &grid, const chi_math::SpatialDiscretization &discretization, const std::vector< UnitCellMatrices > &unit_cell_matrices, std::vector< lbs::CellLBSView > &cell_transport_views, const std::vector< double > &source_moments, const LBSGroupset &groupset, const std::map< int, XSPtr > &xs, int num_moments, int max_num_cell_dofs)
void SetupIncomingFace(int face_id, size_t num_face_nodes, uint64_t neighbor_id, bool on_local_face, bool on_boundary) override
std::vector< double > * psi_dnwnd_data_
void SetupOutgoingFace(int face_id, size_t num_face_nodes, uint64_t neighbor_id, bool on_local_face, bool on_boundary, int locality) override
size_t group_angle_stride_
const chi_mesh::sweep_management::FaceNodalMapping * face_nodal_mapping_
const std::vector< double > * psi_upwnd_data_block_
const chi_mesh::Cell * neighbor_cell_ptr_
const CellLBSView * cell_transport_view_
const double * psi_local_face_upwnd_data_
double * GetDownwindPsi(int face_node_local_idx) const override
const double * GetUpwindPsi(int face_node_local_idx) const override