Chi-Tech
|
#include <lbs_curvilinear_sweepchunk_pwl.h>
Public Member Functions | |
SweepChunkPWLRZ (const chi_mesh::MeshContinuum &grid, const chi_math::SpatialDiscretization &discretization_primary, const std::vector< lbs::UnitCellMatrices > &unit_cell_matrices, const std::vector< lbs::UnitCellMatrices > &secondary_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, lbs::LBSGroupset &groupset, const std::map< int, lbs::XSPtr > &xs, int num_moments, int max_num_cell_dofs) | |
Public Member Functions inherited from lbs::AAH_SweepChunk | |
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 |
Public Member Functions inherited from lbs::SweepChunk | |
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, std::unique_ptr< SweepDependencyInterface > sweep_dependency_interface_ptr) | |
void | KernelFEMVolumetricGradientTerm () |
void | KernelFEMUpwindSurfaceIntegrals () |
void | KernelFEMSTDMassTerms () |
void | KernelPhiUpdate () |
void | KernelPsiUpdate () |
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 |
Protected Member Functions | |
void | CellDataCallback () |
void | DirectionDataCallback () |
void | PostCellDirSweepCallback () |
void | KernelFEMRZVolumetricGradientTerm () |
void | KernelFEMRZUpwindSurfaceIntegrals () |
Protected Member Functions inherited from lbs::SweepChunk | |
void | RegisterKernel (const std::string &name, CallbackFunction function) |
CallbackFunction | Kernel (const std::string &name) const |
virtual void | OutgoingSurfaceOperations () |
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 |
Private Attributes | |
const std::vector< lbs::UnitCellMatrices > & | secondary_unit_cell_matrices_ |
chi_math::UnknownManager | unknown_manager_ |
std::vector< double > | psi_sweep_ |
std::map< unsigned int, unsigned int > | map_polar_level_ |
chi_mesh::Vector3 | normal_vector_boundary_ |
const MatDbl * | Maux_ = nullptr |
unsigned int | polar_level_ = 0 |
double | fac_diamond_difference_ = 0.0 |
double | fac_streaming_operator_ = 0.0 |
A sweep-chunk in point-symmetric and axial-symmetric curvilinear coordinates.
Definition at line 12 of file lbs_curvilinear_sweepchunk_pwl.h.
lbs::SweepChunkPWLRZ::SweepChunkPWLRZ | ( | const chi_mesh::MeshContinuum & | grid, |
const chi_math::SpatialDiscretization & | discretization_primary, | ||
const std::vector< lbs::UnitCellMatrices > & | unit_cell_matrices, | ||
const std::vector< lbs::UnitCellMatrices > & | secondary_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, | ||
lbs::LBSGroupset & | groupset, | ||
const std::map< int, lbs::XSPtr > & | xs, | ||
int | num_moments, | ||
int | max_num_cell_dofs | ||
) |
Constructor.
Definition at line 13 of file lbs_curvilinear_sweepchunk_pwl.cc.
|
protected |
Cell data callback.
Definition at line 98 of file lbs_curvilinear_sweepchunk_pwl.cc.
|
protected |
Direction data callback.
Definition at line 108 of file lbs_curvilinear_sweepchunk_pwl.cc.
|
protected |
Performs the integral over the surface of a face.
Definition at line 161 of file lbs_curvilinear_sweepchunk_pwl.cc.
|
protected |
Assembles the volumetric gradient term.
Definition at line 142 of file lbs_curvilinear_sweepchunk_pwl.cc.
|
protected |
Applies diamond differencing on azimuthal directions.
Definition at line 127 of file lbs_curvilinear_sweepchunk_pwl.cc.
|
private |
Definition at line 30 of file lbs_curvilinear_sweepchunk_pwl.h.
|
private |
Definition at line 31 of file lbs_curvilinear_sweepchunk_pwl.h.
|
private |
Mapping from direction linear index to direction polar level.
Definition at line 22 of file lbs_curvilinear_sweepchunk_pwl.h.
|
private |
Definition at line 27 of file lbs_curvilinear_sweepchunk_pwl.h.
|
private |
Normal vector to determine symmetric boundary condition.
Definition at line 24 of file lbs_curvilinear_sweepchunk_pwl.h.
|
private |
Definition at line 29 of file lbs_curvilinear_sweepchunk_pwl.h.
|
private |
Sweeping dependency angular intensity (for each polar level).
Definition at line 20 of file lbs_curvilinear_sweepchunk_pwl.h.
|
private |
Definition at line 16 of file lbs_curvilinear_sweepchunk_pwl.h.
|
private |
Unknown manager.
Definition at line 18 of file lbs_curvilinear_sweepchunk_pwl.h.