A class that gathers 'a' coefficient data from flux kernels, boundary conditions, and interface kernels contributing to the Navier-Stokes momentum residuals. More...
#include <GatherRCDataFaceThread.h>
Public Types | |
using | Parent = ThreadedFaceLoop< RangeType > |
Public Member Functions | |
GatherRCDataFaceThread (FEProblemBase &fe_problem, const unsigned int nl_sys_number, const std::vector< unsigned int > &vars, bool on_displaced) | |
GatherRCDataFaceThread (GatherRCDataFaceThread &x, Threads::split split) | |
void | onFace (const FaceInfo &fi) override final |
void | onBoundary (const FaceInfo &fi, BoundaryID boundary) override final |
void | subdomainChanged () override final |
void | neighborSubdomainChanged () override final |
void | join (const ThreadedFaceLoop &y) |
virtual void | operator() (const RangeType &range, bool bypass_threading=false) |
void | join (const ThreadedFaceLoop &y) |
virtual void | postFace (const FaceInfo &) |
virtual void | pre () |
virtual void | post () |
void | caughtMooseException (MooseException &e) |
Protected Member Functions | |
virtual void | printGeneralExecutionInformation () const |
virtual void | printBlockExecutionInformation () const |
virtual void | printBoundaryExecutionInformation (const BoundaryID) const |
void | resetExecutionPrinting () |
Protected Attributes | |
FEProblemBase & | _fe_problem |
MooseMesh & | _mesh |
const std::set< TagID > & | _tags |
THREAD_ID | _tid |
const unsigned int | _nl_system_num |
const bool | _on_displaced |
SubProblem & | _subproblem |
SubdomainID | _subdomain |
SubdomainID | _old_subdomain |
SubdomainID | _neighbor_subdomain |
SubdomainID | _old_neighbor_subdomain |
std::set< std::pair< const SubdomainID, const SubdomainID > > | _blocks_exec_printed |
std::set< BoundaryID > | _boundaries_exec_printed |
std::string | _error_message |
Private Member Functions | |
void | finalizeContainers () |
Called at the end of either subdomainChanged or neighborSubdomainChanged , this method computes the final _fv_flux_kernels set. More... | |
template<typename... Attribs> | |
void | getVarROs (std::vector< INSFVMomentumResidualObject *> &ros, TheWarehouse::QueryCache< Attribs... > &queries) |
This determines all the momentum residual objects for all the variables. More... | |
Private Attributes | |
const std::vector< unsigned int > & | _vars |
The velocity variable numbers. More... | |
std::set< INSFVMomentumResidualObject * > | _fv_flux_kernels |
The collection of flux kernels that contribute to the momentum equation residuals. More... | |
std::set< INSFVMomentumResidualObject * > | _elem_sub_fv_flux_kernels |
The subset of flux kernels that contribute to the momentum equation residual from the element side of the face. More... | |
std::set< INSFVMomentumResidualObject * > | _neigh_sub_fv_flux_kernels |
The subset of flux kernels that contribute to the momentum equation residual from the neighbor side of the face. More... | |
A class that gathers 'a' coefficient data from flux kernels, boundary conditions, and interface kernels contributing to the Navier-Stokes momentum residuals.
We loop over each active, local face and call the gatherRCData method on each kernel with the current face as an argument
Definition at line 23 of file GatherRCDataFaceThread.h.
using GatherRCDataFaceThread< RangeType >::Parent = ThreadedFaceLoop<RangeType> |
Definition at line 26 of file GatherRCDataFaceThread.h.
GatherRCDataFaceThread< RangeType >::GatherRCDataFaceThread | ( | FEProblemBase & | fe_problem, |
const unsigned int | nl_sys_number, | ||
const std::vector< unsigned int > & | vars, | ||
bool | on_displaced | ||
) |
Definition at line 75 of file GatherRCDataFaceThread.h.
GatherRCDataFaceThread< RangeType >::GatherRCDataFaceThread | ( | GatherRCDataFaceThread< RangeType > & | x, |
Threads::split | split | ||
) |
Definition at line 84 of file GatherRCDataFaceThread.h.
|
private |
Called at the end of either subdomainChanged
or neighborSubdomainChanged
, this method computes the final _fv_flux_kernels
set.
Definition at line 214 of file GatherRCDataFaceThread.h.
|
private |
This determines all the momentum residual objects for all the variables.
ros | The output of this method; all the momentum residual objects for all the variables |
queries | Candidate MooseObjects for momentum residual object consideration that have been pre-filtered based on attributes such as thread ID, boundary ID, subdomain ID, etc. |
Definition at line 93 of file GatherRCDataFaceThread.h.
void ThreadedFaceLoop< RangeType >::join |
|
finaloverridevirtual |
Reimplemented from ThreadedFaceLoop< RangeType >.
Definition at line 186 of file GatherRCDataFaceThread.h.
|
finaloverridevirtual |
Implements ThreadedFaceLoop< RangeType >.
Definition at line 119 of file GatherRCDataFaceThread.h.
|
finaloverridevirtual |
Implements ThreadedFaceLoop< RangeType >.
Definition at line 111 of file GatherRCDataFaceThread.h.
|
finaloverridevirtual |
Reimplemented from ThreadedFaceLoop< RangeType >.
Definition at line 158 of file GatherRCDataFaceThread.h.
|
private |
The subset of flux kernels that contribute to the momentum equation residual from the element side of the face.
Definition at line 67 of file GatherRCDataFaceThread.h.
|
private |
The collection of flux kernels that contribute to the momentum equation residuals.
Definition at line 63 of file GatherRCDataFaceThread.h.
|
private |
The subset of flux kernels that contribute to the momentum equation residual from the neighbor side of the face.
Definition at line 71 of file GatherRCDataFaceThread.h.
|
private |
The velocity variable numbers.
Definition at line 60 of file GatherRCDataFaceThread.h.