Chi-Tech
lbs::acceleration Namespace Reference

Data Structures

struct  BoundaryCondition
 
class  DiffusionMIPSolver
 
class  DiffusionPWLCSolver
 
class  DiffusionSolver
 
struct  Multigroup_D_and_sigR
 
struct  NLKEigenDiffContext
 
class  NLKEigenDiffSolver
 
struct  TwoGridCollapsedInfo
 

Typedefs

typedef std::shared_ptr< chi_mesh::sweep_management::SweepBoundarySwpBndryPtr
 
typedef std::shared_ptr< chi_physics::MultiGroupXSMGXSPtr
 

Enumerations

enum class  BCType { DIRICHLET = 1 , ROBIN = 2 }
 
enum class  EnergyCollapseScheme { JFULL = 1 , JPARTIAL = 2 }
 

Functions

std::map< uint64_t, BoundaryConditionTranslateBCs (const std::map< uint64_t, SwpBndryPtr > &sweep_boundaries, bool vaccum_bcs_are_dirichlet)
 
std::map< int, Multigroup_D_and_sigRPackGroupsetXS (const std::map< int, MGXSPtr > &matid_to_xs_map, int first_grp_index, int last_group_index)
 
TwoGridCollapsedInfo MakeTwoGridCollapsedInfo (const chi_physics::MultiGroupXS &xs, EnergyCollapseScheme scheme)
 
PetscErrorCode NLKEigenAccResidualFunction (SNES snes, Vec phi, Vec r, void *ctx)
 

Typedef Documentation

◆ MGXSPtr

Definition at line 83 of file acceleration.h.

◆ SwpBndryPtr

Definition at line 75 of file acceleration.h.

Enumeration Type Documentation

◆ BCType

enum class lbs::acceleration::BCType
strong

Boundary condition type. We essentially only support two types: Dirichlet and Reflecting, the latter is covered under the ROBIN-type boundary condition.

Enumerator
DIRICHLET 
ROBIN 

Definition at line 25 of file acceleration.h.

◆ EnergyCollapseScheme

Enumerator
JFULL 

Jacobi with full conv. of within-group scattering.

JPARTIAL 

Jacobi with partially conv. of within-group scattering.

Definition at line 58 of file acceleration.h.

Function Documentation

◆ MakeTwoGridCollapsedInfo()

TwoGridCollapsedInfo lbs::acceleration::MakeTwoGridCollapsedInfo ( const chi_physics::MultiGroupXS xs,
EnergyCollapseScheme  scheme 
)

Definition at line 13 of file energy_collapse.cc.

◆ NLKEigenAccResidualFunction()

PetscErrorCode lbs::acceleration::NLKEigenAccResidualFunction ( SNES  snes,
Vec  phi,
Vec  r,
void *  ctx 
)

Definition at line 11 of file nl_keigen_acc_residual_func.cc.

◆ PackGroupsetXS()

std::map< int, Multigroup_D_and_sigR > lbs::acceleration::PackGroupsetXS ( const std::map< int, MGXSPtr > &  matid_to_xs_map,
int  first_grp_index,
int  last_group_index 
)

Makes a packaged set of XSs, suitable for diffusion, for a particular set of groups.

Definition at line 37 of file acceleration.cc.

◆ TranslateBCs()

std::map< uint64_t, BoundaryCondition > lbs::acceleration::TranslateBCs ( const std::map< uint64_t, SwpBndryPtr > &  sweep_boundaries,
bool  vaccum_bcs_are_dirichlet = true 
)

Translates sweep boundary conditions to that used in diffusion acceleration methods.

Definition at line 12 of file acceleration.cc.