https://mooseframework.inl.gov
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Friends | List of all members
Moose::NodeArg Struct Reference

#include <MooseFunctorArguments.h>

Public Member Functions

libMesh::Point getPoint () const
 

Public Attributes

const libMesh::Nodenode
 The node which defines our location in space.
 
const std::set< SubdomainID > * subdomain_ids
 Indicates what subdomains this argument should be associated with.
 

Static Public Attributes

static const std::set< SubdomainIDundefined_subdomain_connection = {Moose::INVALID_BLOCK_ID}
 A static member that can be used when the connection of a node to subdomains is unknown.
 

Friends

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

Detailed Description

Definition at line 244 of file MooseFunctorArguments.h.

Member Function Documentation

◆ getPoint()

libMesh::Point Moose::NodeArg::getPoint ( ) const
inline

Definition at line 258 of file MooseFunctorArguments.h.

258{ return *node; }
const libMesh::Node * node
The node which defines our location in space.

Friends And Related Symbol Documentation

◆ operator<

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

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

Definition at line 269 of file MooseFunctorArguments.h.

270 {
271 return std::make_tuple(l.node, l.subdomain_ids) < std::make_tuple(r.node, r.subdomain_ids);
272 }

Member Data Documentation

◆ node

const libMesh::Node* Moose::NodeArg::node

◆ subdomain_ids

const std::set<SubdomainID>* Moose::NodeArg::subdomain_ids

Indicates what subdomains this argument should be associated with.

If a single subdomain is given, then there is no ambiguity when this argument is used to evaluate functors at the intersection of different blocks. If multiple subdomains are given at such an intersection point, it is up to the functor whether it can be evaluated unambiguously, perform an average, or error

Definition at line 256 of file MooseFunctorArguments.h.

Referenced by PiecewiseByBlockLambdaFunctor< T >::evaluate(), and Moose::FunctorBase< T >::operator()().

◆ undefined_subdomain_connection

const std::set< SubdomainID > Moose::NodeArg::undefined_subdomain_connection = {Moose::INVALID_BLOCK_ID}
static

A static member that can be used when the connection of a node to subdomains is unknown.

Functors may still be able to evaluate a NodeArg with this as the provided subdomain_ids if the functor has no "sidedness", e.g. like a H1 finite element family variable

Definition at line 263 of file MooseFunctorArguments.h.

Referenced by MultiAppGeneralFieldFunctorTransfer::buildKDTrees(), FunctorDirichletBC::computeQpValue(), FunctorAux::computeValue(), FunctorCoordinatesFunctionAux::computeValue(), ParsedAux::computeValue(), FunctorIC::gradient(), ComputeNodalKernelBCJacobiansThread::onNode(), ComputeNodalKernelBcsThread::onNode(), and FunctorIC::value().


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