Class ArbitraryBoundary

Inheritance Relationships

Base Type

Class Documentation

class ArbitraryBoundary : public opensn::SweepBoundary

Arbitrary incident angular flux specified by a user-supplied function.

The AngularFluxFunction is expected to return the incoming angular flux for a given energy group index and quadrature direction index. The returned values are uniform for all faces with this boundary id.

Public Functions

inline ArbitraryBoundary(size_t num_groups, std::shared_ptr<AngularFluxFunction> angular_flux_function, CoordinateSystemType coord_type = CoordinateSystemType::CARTESIAN)
inline virtual double *PsiIncoming(std::uint32_t cell_local_id, unsigned int face_num, unsigned int fi, unsigned int angle_num, unsigned int group_num) override

Returns a pointer to the location of the incoming flux.

inline virtual void ResetAnglesReadyStatus() override