A class that gathers body force data from elemental kernels contributing to the Navier-Stokes momentum residuals. More...
#include <GatherRCDataElementThread.h>
Public Member Functions | |
GatherRCDataElementThread (FEProblemBase &fe_problem, const unsigned int _nl_sys_number, const std::vector< unsigned int > &vars) | |
GatherRCDataElementThread (GatherRCDataElementThread &x, Threads::split split) | |
void | join (const GatherRCDataElementThread &) |
virtual void | caughtMooseException (MooseException &e) override |
virtual bool | keepGoing () override |
virtual void | preElement (const Elem *elem) override |
virtual void | preInternalSide (const Elem *elem, unsigned int side) override |
virtual void | preBoundary (const Elem *elem, unsigned int side, BoundaryID bnd_id, const Elem *lower_d_elem=nullptr) override |
virtual void | neighborSubdomainChanged () override |
virtual void | operator() (const ConstElemRange &range, bool bypass_threading=false) |
virtual void | pre () |
virtual void | post () |
virtual void | postElement (const Elem *elem) |
virtual void | onBoundary (const Elem *elem, unsigned int side, BoundaryID bnd_id, const Elem *lower_d_elem=nullptr) |
virtual void | postInternalSide (const Elem *elem, unsigned int side) |
virtual void | onInternalSide (const Elem *elem, unsigned int side) |
virtual void | onExternalSide (const Elem *elem, unsigned int side) |
virtual void | onInterface (const Elem *elem, unsigned int side, BoundaryID bnd_id) |
Protected Member Functions | |
void | subdomainChanged () override final |
void | onElement (const Elem *elem) override final |
void | prepareElement (const Elem *elem) |
void | clearVarsAndMaterials () |
void | printExecutionOrdering (const std::vector< T *> &objs, const bool print_header=true, const std::string &line_prefix="[DBG]") const |
void | printExecutionOrdering (const std::vector< std::shared_ptr< T >> &objs_ptrs, const bool print_header=true, const std::string &line_prefix="[DBG]") const |
virtual void | printGeneralExecutionInformation () const |
virtual void | printBlockExecutionInformation () const |
virtual void | printBoundaryExecutionInformation (const unsigned int) const |
void | resetExecPrintedSets () const |
virtual bool | shouldComputeInternalSide (const Elem &elem, const Elem &neighbor) const |
Protected Attributes | |
const unsigned int | _nl_system_num |
FEProblemBase & | _fe_problem |
MooseMesh & | _mesh |
THREAD_ID | _tid |
SubdomainID | _subdomain |
SubdomainID | _old_subdomain |
SubdomainID | _neighbor_subdomain |
SubdomainID | _old_neighbor_subdomain |
std::set< SubdomainID > | _blocks_exec_printed |
std::set< BoundaryID > | _boundaries_exec_printed |
Private Attributes | |
const std::vector< unsigned int > & | _vars |
The velocity variable numbers. More... | |
std::vector< INSFVMomentumResidualObject * > | _insfv_elemental_kernels |
The collection of elemental kernels that contributive to the momentum equation residuals. More... | |
A class that gathers body force data from elemental kernels contributing to the Navier-Stokes momentum residuals.
We loop over each active, local element and call the gatherRCData method on each kernel with the current element as an argument
Definition at line 23 of file GatherRCDataElementThread.h.
GatherRCDataElementThread::GatherRCDataElementThread | ( | FEProblemBase & | fe_problem, |
const unsigned int | _nl_sys_number, | ||
const std::vector< unsigned int > & | vars | ||
) |
Definition at line 16 of file GatherRCDataElementThread.C.
GatherRCDataElementThread::GatherRCDataElementThread | ( | GatherRCDataElementThread & | x, |
Threads::split | split | ||
) |
Definition at line 24 of file GatherRCDataElementThread.C.
|
inline |
Definition at line 33 of file GatherRCDataElementThread.h.
|
finaloverrideprotectedvirtual |
Reimplemented from ThreadedElementLoop< ConstElemRange >.
Definition at line 59 of file GatherRCDataElementThread.C.
|
finaloverrideprotectedvirtual |
Reimplemented from ThreadedElementLoop< ConstElemRange >.
Definition at line 31 of file GatherRCDataElementThread.C.
|
private |
The collection of elemental kernels that contributive to the momentum equation residuals.
Definition at line 46 of file GatherRCDataElementThread.h.
Referenced by onElement(), and subdomainChanged().
|
protected |
Definition at line 39 of file GatherRCDataElementThread.h.
Referenced by subdomainChanged().
|
private |
The velocity variable numbers.
Definition at line 43 of file GatherRCDataElementThread.h.
Referenced by subdomainChanged().