Chi-Tech
chi_mesh::sweep_management::BoundaryIncidentHeterogeneous Class Reference

#include <sweep_boundaries.h>

Inheritance diagram for chi_mesh::sweep_management::BoundaryIncidentHeterogeneous:
chi_mesh::sweep_management::SweepBoundary

Public Member Functions

 BoundaryIncidentHeterogeneous (size_t in_num_groups, std::unique_ptr< BoundaryFunction > in_bndry_function, uint64_t in_ref_boundary_id, chi_math::CoordinateSystemType coord_type=chi_math::CoordinateSystemType::CARTESIAN)
 
double * HeterogeneousPsiIncoming (uint64_t cell_local_id, unsigned int face_num, unsigned int fi, unsigned int angle_num, int group_num, size_t gs_ss_begin) override
 
void Setup (const chi_mesh::MeshContinuum &grid, const chi_math::AngularQuadrature &quadrature) override
 
- Public Member Functions inherited from chi_mesh::sweep_management::SweepBoundary
 SweepBoundary (BoundaryType bndry_type, size_t in_num_groups, chi_math::CoordinateSystemType coord_type)
 
virtual ~SweepBoundary ()=default
 
BoundaryType Type () const
 
chi_math::CoordinateSystemType CoordType () const
 
bool IsReflecting () const
 
double GetEvaluationTime () const
 
void SetEvaluationTime (double time)
 
virtual double * HeterogeneousPsiIncoming (uint64_t cell_local_id, unsigned int face_num, unsigned int fi, unsigned int angle_num, int group_num, size_t gs_ss_begin)
 
virtual double * HeterogeneousPsiOutgoing (uint64_t cell_local_id, unsigned int face_num, unsigned int fi, unsigned int angle_num, size_t gs_ss_begin)
 
virtual void UpdateAnglesReadyStatus (const std::vector< size_t > &angles, size_t gs_ss)
 
virtual bool CheckAnglesReadyStatus (const std::vector< size_t > &angles, size_t gs_ss)
 
virtual void Setup (const chi_mesh::MeshContinuum &grid, const chi_math::AngularQuadrature &quadrature)
 
double * ZeroFlux (int group_num)
 

Private Types

typedef std::vector< double > FaceNodeData
 
typedef std::vector< FaceNodeDataFaceData
 
typedef std::vector< FaceDataCellData
 

Private Attributes

std::unique_ptr< BoundaryFunctionboundary_function_
 
const uint64_t ref_boundary_id_
 
std::vector< CellDatalocal_cell_data_
 

Additional Inherited Members

- Protected Attributes inherited from chi_mesh::sweep_management::SweepBoundary
std::vector< double > zero_boundary_flux_
 
size_t num_groups_
 

Detailed Description

Specified incident fluxes homogenous on a boundary.

Definition at line 214 of file sweep_boundaries.h.

Member Typedef Documentation

◆ CellData

◆ FaceData

◆ FaceNodeData

Definition at line 220 of file sweep_boundaries.h.

Constructor & Destructor Documentation

◆ BoundaryIncidentHeterogeneous()

chi_mesh::sweep_management::BoundaryIncidentHeterogeneous::BoundaryIncidentHeterogeneous ( size_t  in_num_groups,
std::unique_ptr< BoundaryFunction in_bndry_function,
uint64_t  in_ref_boundary_id,
chi_math::CoordinateSystemType  coord_type = chi_math::CoordinateSystemType::CARTESIAN 
)
inlineexplicit

Definition at line 227 of file sweep_boundaries.h.

Member Function Documentation

◆ HeterogeneousPsiIncoming()

double * chi_mesh::sweep_management::BoundaryIncidentHeterogeneous::HeterogeneousPsiIncoming ( uint64_t  cell_local_id,
unsigned int  face_num,
unsigned int  fi,
unsigned int  angle_num,
int  group_num,
size_t  gs_ss_begin 
)
overridevirtual

Returns a pointer to a heterogeneous flux storage location.

Reimplemented from chi_mesh::sweep_management::SweepBoundary.

Definition at line 11 of file boundary_aniso_hetero.cc.

◆ Setup()

void chi_mesh::sweep_management::BoundaryIncidentHeterogeneous::Setup ( const chi_mesh::MeshContinuum grid,
const chi_math::AngularQuadrature quadrature 
)
overridevirtual

Performs the setup for a particular quadrature.

Reimplemented from chi_mesh::sweep_management::SweepBoundary.

Definition at line 34 of file boundary_aniso_hetero.cc.

Field Documentation

◆ boundary_function_

std::unique_ptr<BoundaryFunction> chi_mesh::sweep_management::BoundaryIncidentHeterogeneous::boundary_function_
private

Definition at line 217 of file sweep_boundaries.h.

◆ local_cell_data_

std::vector<CellData> chi_mesh::sweep_management::BoundaryIncidentHeterogeneous::local_cell_data_
private

Definition at line 224 of file sweep_boundaries.h.

◆ ref_boundary_id_

const uint64_t chi_mesh::sweep_management::BoundaryIncidentHeterogeneous::ref_boundary_id_
private

Definition at line 218 of file sweep_boundaries.h.


The documentation for this class was generated from the following files: