1#ifndef LBTS_SWEEPCHUNK_PWL_H
2#define LBTS_SWEEPCHUNK_PWL_H
10#include "Ca_DO_SteadyState/lbs_DO_steady_state.h"
21 const std::shared_ptr<chi_mesh::MeshContinuum>
grid_view_;
27 const std::map<int, XSPtr>&
xs_;
39 std::vector<std::vector<double>>
Amat_;
40 std::vector<std::vector<double>>
Atemp_;
45 std::vector<std::vector<double>>
b_;
48 std::shared_ptr<chi_mesh::MeshContinuum> grid_ptr,
50 const std::vector<UnitCellMatrices>& unit_cell_matrices,
51 std::vector<lbs::CellLBSView>& cell_transport_views,
54 const std::vector<double>& psi_prev_ref,
57 const std::vector<double>& source_moments,
59 const std::map<int, XSPtr>& xs,
61 int max_num_cell_dofs);
84 const double*
GetUpwindPsi(
int fj,
bool local,
bool boundary)
const;
88 bool reflecting_bndry)
const;
std::vector< double > * destination_psi
std::vector< double > * destination_phi
std::vector< std::vector< double > > Amat_
std::vector< std::vector< double > > Atemp_
std::vector< double > source_
const int max_num_cell_dofs_
std::vector< lbs::CellLBSView > & grid_transport_view_
const std::vector< double > & psi_prev_
void Sweep(chi_mesh::sweep_management::AngleSet *angle_set) override
std::vector< std::vector< double > > b_
chi_math::SpatialDiscretization & grid_fe_view_
const std::vector< UnitCellMatrices > & unit_cell_matrices_
const bool save_angular_flux_
const std::map< int, XSPtr > & xs_
const std::vector< double > & q_moments_
SweepChunkPWLTransientTheta(std::shared_ptr< chi_mesh::MeshContinuum > grid_ptr, 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 > &psi_prev_ref, double input_theta, double time_step, const std::vector< double > &source_moments, LBSGroupset &groupset, const std::map< int, XSPtr > &xs, int num_moments, int max_num_cell_dofs)
const std::shared_ptr< chi_mesh::MeshContinuum > grid_view_
bool a_and_b_initialized_
double * GetDownwindPsi(int fi, bool local, bool boundary, bool reflecting_bndry) const
chi_mesh::sweep_management::FLUDS & fluds
const double * GetUpwindPsi(int fj, bool local, bool boundary) const
bool surface_source_active
chi_mesh::sweep_management::AngleSet * angle_set