Class IsotropicBoundary

Inheritance Relationships

Base Type

Class Documentation

class IsotropicBoundary : public opensn::SweepBoundary

Specified isotropic incident fluxes on a boundary.

Public Functions

explicit IsotropicBoundary(BoundaryBank &bank, const std::vector<LBSGroupset> &groupsets, const std::vector<double> &boundary_flux, double start_time, double end_time)
inline virtual double *PsiIncoming(std::uint32_t cell_local_id, unsigned int face_num, unsigned int fi, unsigned int angle_num, int groupset_id, unsigned int group_idx) override

Return a pointer to the location of the incoming flux.

virtual void UpdateBoundaryFlux(const std::vector<LBSGroupset> &groupsets) override
virtual std::uint64_t GetOffsetToAngleset(const FaceNode &face_node, AngleSet &anglset, bool is_outgoing) override

Get offset to the data region of a given angleset.

Protected Attributes

bool current_state_ = false
std::vector<double> active_boundary_flux_
double start_time_
double end_time_