Class CBCSweepChunk

Inheritance Relationships

Base Type

Class Documentation

class CBCSweepChunk : public opensn::SweepChunk

Host CBC sweep chunk.

Public Functions

CBCSweepChunk(DiscreteOrdinatesProblem &problem, LBSGroupset &groupset)
virtual void SetAngleSet(AngleSet &angle_set) override

Sets the currently active angleset.

virtual void Sweep(AngleSet &angle_set) override

Sweep chunks should override this.

Protected Attributes

CBC_FLUDS *fluds_ = nullptr
CBC_AsynchronousCommunicator *async_comm_ = nullptr
unsigned int group_block_size_ = 0
CBCSweepWorkspace workspace_

Friends

template<bool time_dependent, class SweepChunkT>
friend void CBC_Sweep_Generic(SweepChunkT &sweep_chunk, AngleSet &angle_set)

Sweep one host CBC cell using the generic dense-kernel path.

Template Parameters:

time_dependent – Whether transient time terms are assembled.

template<unsigned int NumNodes, bool time_dependent, class SweepChunkT>
friend void CBC_Sweep_FixedN(SweepChunkT &sweep_chunk, AngleSet &angle_set)

Sweep one host CBC cell using a fixed-node-count dense-kernel path.

Template Parameters:
  • NumNodes – Number of cell nodes.

  • time_dependent – Whether transient time terms are assembled.