https://mooseframework.inl.gov
Public Member Functions | Public Attributes | List of all members
ViewFactorRayStudy::StartElem Struct Reference

Data structure used for storing all of the information needed to spawn Rays from a single element. More...

#include <ViewFactorRayStudy.h>

Public Member Functions

 StartElem ()
 
 StartElem (const Elem *elem, const Elem *start_elem, const unsigned short int incoming_side, const BoundaryID bnd_id, const std::vector< Point > &points, const std::vector< Real > &weights)
 

Public Attributes

const Elem * _elem
 The element the points originate from. More...
 
const Elem * _start_elem
 The element the trace will start from. More...
 
unsigned short int _incoming_side
 The incoming side on start_elem that the trace will start from. More...
 
BoundaryID _bnd_id
 The boundary ID associated with this start elem. More...
 
std::vector< Point > _points
 The points on start_elem to spawn Rays from. More...
 
std::vector< Real_weights
 The weights associated with each point. More...
 

Detailed Description

Data structure used for storing all of the information needed to spawn Rays from a single element.

Definition at line 33 of file ViewFactorRayStudy.h.

Constructor & Destructor Documentation

◆ StartElem() [1/2]

ViewFactorRayStudy::StartElem::StartElem ( )
inline

Definition at line 35 of file ViewFactorRayStudy.h.

35 {}

◆ StartElem() [2/2]

ViewFactorRayStudy::StartElem::StartElem ( const Elem *  elem,
const Elem *  start_elem,
const unsigned short int  incoming_side,
const BoundaryID  bnd_id,
const std::vector< Point > &  points,
const std::vector< Real > &  weights 
)
inline

Definition at line 37 of file ViewFactorRayStudy.h.

43  : _elem(elem),
44  _start_elem(start_elem),
45  _incoming_side(incoming_side),
46  _bnd_id(bnd_id),
47  _points(points),
48  _weights(weights)
49  {
50  mooseAssert(_points.size() == _weights.size(), "Point and weight size not equal");
51  }
const Elem * _start_elem
The element the trace will start from.
std::vector< Real > _weights
The weights associated with each point.
std::vector< Point > _points
The points on start_elem to spawn Rays from.
const Elem * _elem
The element the points originate from.
BoundaryID _bnd_id
The boundary ID associated with this start elem.
unsigned short int _incoming_side
The incoming side on start_elem that the trace will start from.

Member Data Documentation

◆ _bnd_id

BoundaryID ViewFactorRayStudy::StartElem::_bnd_id

◆ _elem

const Elem* ViewFactorRayStudy::StartElem::_elem

◆ _incoming_side

unsigned short int ViewFactorRayStudy::StartElem::_incoming_side

The incoming side on start_elem that the trace will start from.

Definition at line 58 of file ViewFactorRayStudy.h.

Referenced by libMesh::Parallel::Packing< ViewFactorRayStudy::StartElem >::pack(), and libMesh::Parallel::Packing< ViewFactorRayStudy::StartElem >::unpack().

◆ _points

std::vector<Point> ViewFactorRayStudy::StartElem::_points

◆ _start_elem

const Elem* ViewFactorRayStudy::StartElem::_start_elem

◆ _weights

std::vector<Real> ViewFactorRayStudy::StartElem::_weights

The documentation for this struct was generated from the following file: