Chi-Tech
|
#include <lbts_sweepchunk_pwl.h>
Data Structures | |
struct | Upwinder |
Public Member Functions | |
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) | |
void | Sweep (chi_mesh::sweep_management::AngleSet *angle_set) override |
Public Member Functions inherited from chi_mesh::sweep_management::SweepChunk | |
SweepChunk (std::vector< double > &in_destination_phi, std::vector< double > &in_destination_psi) | |
virtual void | Sweep (AngleSet &angle_set) |
virtual void | SetAngleSet (AngleSet &angle_set) |
virtual void | SetCell (chi_mesh::Cell const *cell_ptr, chi_mesh::sweep_management::AngleSet &angle_set) |
virtual void | SetCells (const std::vector< const chi_mesh::Cell * > &cell_ptrs) |
virtual | ~SweepChunk ()=default |
Data Fields | |
std::vector< std::vector< double > > | b_ |
Data Fields inherited from chi_mesh::sweep_management::SweepChunk | |
std::vector< MomentCallbackF > | moment_callbacks |
Protected Attributes | |
const std::shared_ptr< chi_mesh::MeshContinuum > | grid_view_ |
chi_math::SpatialDiscretization & | grid_fe_view_ |
const std::vector< UnitCellMatrices > & | unit_cell_matrices_ |
std::vector< lbs::CellLBSView > & | grid_transport_view_ |
const std::vector< double > & | q_moments_ |
LBSGroupset & | groupset_ |
const std::map< int, XSPtr > & | xs_ |
const int | num_moments_ |
const size_t | num_groups_ |
const int | max_num_cell_dofs_ |
const bool | save_angular_flux_ |
const std::vector< double > & | psi_prev_ |
const double | theta_ |
const double | dt_ |
bool | a_and_b_initialized_ |
std::vector< std::vector< double > > | Amat_ |
std::vector< std::vector< double > > | Atemp_ |
std::vector< double > | source_ |
Additional Inherited Members | |
Public Types inherited from chi_mesh::sweep_management::SweepChunk | |
typedef std::function< void(chi_mesh::sweep_management::SweepChunk *sweeper, chi_mesh::sweep_management::AngleSet *angle_set)> | MomentCallbackF |
Protected Member Functions inherited from chi_mesh::sweep_management::SweepChunk | |
void | SetDestinationPhi (std::vector< double > &in_destination_phi) |
void | ZeroDestinationPhi () |
std::vector< double > & | GetDestinationPhi () |
void | SetDestinationPsi (std::vector< double > &in_destination_psi) |
void | ZeroDestinationPsi () |
std::vector< double > & | GetDestinationPsi () |
void | SetBoundarySourceActiveFlag (bool flag_value) |
bool | IsSurfaceSourceActive () const |
Sweep chunk for cartesian PWLD discretization Theta-scheme timestepping.
Definition at line 18 of file lbts_sweepchunk_pwl.h.
lbs::SweepChunkPWLTransientTheta::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 | ||
) |
Constructor.
Definition at line 10 of file lbts_sweepchunk_pwl.cc.
|
override |
Actual sweep function
Definition at line 86 of file lbts_sweepchunk_pwl.cc.
|
protected |
Definition at line 38 of file lbts_sweepchunk_pwl.h.
|
protected |
Definition at line 39 of file lbts_sweepchunk_pwl.h.
|
protected |
Definition at line 40 of file lbts_sweepchunk_pwl.h.
std::vector<std::vector<double> > lbs::SweepChunkPWLTransientTheta::b_ |
Definition at line 45 of file lbts_sweepchunk_pwl.h.
|
protected |
Definition at line 35 of file lbts_sweepchunk_pwl.h.
|
protected |
Definition at line 22 of file lbts_sweepchunk_pwl.h.
|
protected |
Definition at line 24 of file lbts_sweepchunk_pwl.h.
|
protected |
Definition at line 21 of file lbts_sweepchunk_pwl.h.
|
protected |
Definition at line 26 of file lbts_sweepchunk_pwl.h.
|
protected |
Definition at line 30 of file lbts_sweepchunk_pwl.h.
|
protected |
Definition at line 29 of file lbts_sweepchunk_pwl.h.
|
protected |
Definition at line 28 of file lbts_sweepchunk_pwl.h.
|
protected |
Definition at line 33 of file lbts_sweepchunk_pwl.h.
|
protected |
Definition at line 25 of file lbts_sweepchunk_pwl.h.
|
protected |
Definition at line 31 of file lbts_sweepchunk_pwl.h.
|
protected |
Definition at line 41 of file lbts_sweepchunk_pwl.h.
|
protected |
Definition at line 34 of file lbts_sweepchunk_pwl.h.
|
protected |
Definition at line 23 of file lbts_sweepchunk_pwl.h.
|
protected |
Definition at line 27 of file lbts_sweepchunk_pwl.h.