Struct SweepWGSContext

Inheritance Relationships

Base Type

Struct Documentation

struct SweepWGSContext : public opensn::WGSContext

Public Functions

SweepWGSContext(DiscreteOrdinatesProblem &do_problem, LBSGroupset &groupset, const SetSourceFunction &set_source_function, SourceFlags lhs_scope, SourceFlags rhs_scope, bool log_info, std::shared_ptr<SweepChunk> swp_chnk)
virtual void SetPreconditioner(KSP &solver) override
virtual std::pair<int64_t, int64_t> GetSystemSize() override
virtual void ApplyInverseTransportOperator(SourceFlags scope) override

This operation applies the inverse of the transform operator in the form Ay = x where the the vector x’s underlying implementing is always LBS’s q_moments_local vextor.

virtual void PostSolveCallback() override

Public Members

std::shared_ptr<SweepChunk> sweep_chunk
SweepScheduler sweep_scheduler
std::vector<double> sweep_times