https://mooseframework.inl.gov
Public Member Functions | Public Attributes | Friends | List of all members
Moose::ElemArg Struct Reference

A structure that is used to evaluate Moose functors logically at an element/cell center. More...

#include <MooseFunctorArguments.h>

Public Member Functions

Point getPoint () const
 

Public Attributes

const libMesh::Elemelem
 
bool correct_skewness
 

Friends

bool operator< (const ElemArg &l, const ElemArg &r)
 friend function that allows this structure to be used as keys in ordered containers like sets and maps More...
 

Detailed Description

A structure that is used to evaluate Moose functors logically at an element/cell center.

Definition at line 28 of file MooseFunctorArguments.h.

Member Function Documentation

◆ getPoint()

Point Moose::ElemArg::getPoint ( ) const
inline
Returns
The conceptual physical location of this data structure

Definition at line 36 of file MooseFunctorArguments.h.

36 { return elem->vertex_average(); }
const libMesh::Elem * elem
Point vertex_average() const

Friends And Related Function Documentation

◆ operator<

bool operator< ( const ElemArg l,
const ElemArg r 
)
friend

friend function that allows this structure to be used as keys in ordered containers like sets and maps

Definition at line 42 of file MooseFunctorArguments.h.

43  {
44  return std::make_tuple(l.elem, l.correct_skewness) <
45  std::make_tuple(r.elem, r.correct_skewness);
46  }

Member Data Documentation

◆ correct_skewness

bool Moose::ElemArg::correct_skewness

◆ elem

const libMesh::Elem* Moose::ElemArg::elem

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