#include <ComputeFVFluxThread.h>
Public Member Functions | |
ComputeFVFluxResidualThread (FEProblemBase &fe_problem, const unsigned int nl_system_num, const std::set< TagID > &tags, bool on_displaced) | |
ComputeFVFluxResidualThread (ComputeFVFluxResidualThread &x, Threads::split split) | |
virtual void | onFace (const FaceInfo &fi) override |
virtual void | pre () override |
This is called once before all face-looping. More... | |
virtual void | post () override |
This is called once after all face-looping is finished. More... | |
virtual void | onBoundary (const FaceInfo &fi, BoundaryID boundary) override |
This is called once for every face that is on a boundary after onFace is called for the face. More... | |
virtual void | subdomainChanged () override |
Called every time the current subdomain changes (i.e. More... | |
virtual void | neighborSubdomainChanged () override |
Called every time the neighbor subdomain changes (i.e. More... | |
virtual void | operator() (const RangeType &range, bool bypass_threading=false) |
void | join (const ThreadedFaceLoop &y) |
void | caughtMooseException (MooseException &e) |
Called if a MooseException is caught anywhere during the computation. More... | |
Protected Member Functions | |
void | postFace (const FaceInfo &fi) override |
This is called once for each face after all face and boundary callbacks have been finished for that face. More... | |
void | compute (FVFaceResidualObject &ro, const FaceInfo &fi) override |
call either computeResidual, computeJacobian, or computeResidualAndJacobian on the provided residual object depending on what derived class of this class is instantiated More... | |
void | setup (SetupInterface &obj) override |
call either residualSetup or jacobianSetup depending on what derived class of this class is instantiated More... | |
void | addCached () override |
call either addCachedJacobian or addCachedResidual or both depending on what derived class of this class is instantiated More... | |
void | resetExecutionPrinting () |
Reset lists of blocks and boundaries for which execution printing has been done. More... | |
Protected Attributes | |
unsigned int | _num_cached |
FEProblemBase & | _fe_problem |
MooseMesh & | _mesh |
const std::set< TagID > & | _tags |
THREAD_ID | _tid |
const unsigned int | _nl_system_num |
const bool | _on_displaced |
Whether this loop is operating on the displaced mesh. More... | |
SubProblem & | _subproblem |
FEProblemBase or DisplacedProblem depending on _on_displaced . More... | |
SubdomainID | _subdomain |
The subdomain for the current element. More... | |
SubdomainID | _old_subdomain |
The subdomain for the last element. More... | |
SubdomainID | _neighbor_subdomain |
The subdomain for the current neighbor. More... | |
SubdomainID | _old_neighbor_subdomain |
The subdomain for the last neighbor. More... | |
std::set< std::pair< const SubdomainID, const SubdomainID > > | _blocks_exec_printed |
Set to keep track of blocks for which we have printed the execution pattern. More... | |
std::set< BoundaryID > | _boundaries_exec_printed |
Set to keep track of boundaries for which we have printed the execution pattern. More... | |
std::string | _error_message |
Holds caught runtime error messages. More... | |
Definition at line 809 of file ComputeFVFluxThread.h.
ComputeFVFluxResidualThread< RangeType >::ComputeFVFluxResidualThread | ( | FEProblemBase & | fe_problem, |
const unsigned int | nl_system_num, | ||
const std::set< TagID > & | tags, | ||
bool | on_displaced | ||
) |
Definition at line 833 of file ComputeFVFluxThread.h.
ComputeFVFluxResidualThread< RangeType >::ComputeFVFluxResidualThread | ( | ComputeFVFluxResidualThread< RangeType > & | x, |
Threads::split | split | ||
) |
Definition at line 843 of file ComputeFVFluxThread.h.
|
inlineoverrideprotectedvirtual |
call either addCachedJacobian or addCachedResidual or both depending on what derived class of this class is instantiated
Implements ComputeFVFluxThread< RangeType, AttribVectorTags >.
Definition at line 829 of file ComputeFVFluxThread.h.
|
inlineinherited |
Called if a MooseException is caught anywhere during the computation.
Definition at line 114 of file ComputeFVFluxThread.h.
|
inlineoverrideprotectedvirtual |
call either computeResidual, computeJacobian, or computeResidualAndJacobian on the provided residual object depending on what derived class of this class is instantiated
Implements ComputeFVFluxThread< RangeType, AttribVectorTags >.
Definition at line 827 of file ComputeFVFluxThread.h.
|
inherited |
Definition at line 225 of file ComputeFVFluxThread.h.
|
overridevirtualinherited |
Called every time the neighbor subdomain changes (i.e.
the subdomain of this face's neighbor element is not the same as the subdomain of the last face's neighbor element).
Reimplemented from ThreadedFaceLoop< RangeType >.
Definition at line 685 of file ComputeFVFluxThread.h.
|
overridevirtualinherited |
This is called once for every face that is on a boundary after onFace is called for the face.
Implements ThreadedFaceLoop< RangeType >.
Definition at line 521 of file ComputeFVFluxThread.h.
|
overridevirtualinherited |
Implements ThreadedFaceLoop< RangeType >.
Definition at line 511 of file ComputeFVFluxThread.h.
|
virtualinherited |
Definition at line 239 of file ComputeFVFluxThread.h.
|
overridevirtualinherited |
This is called once after all face-looping is finished.
Reimplemented from ThreadedFaceLoop< RangeType >.
Definition at line 557 of file ComputeFVFluxThread.h.
|
overrideprotectedvirtual |
This is called once for each face after all face and boundary callbacks have been finished for that face.
Reimplemented from ThreadedFaceLoop< RangeType >.
Definition at line 851 of file ComputeFVFluxThread.h.
|
overridevirtualinherited |
This is called once before all face-looping.
Reimplemented from ThreadedFaceLoop< RangeType >.
Definition at line 748 of file ComputeFVFluxThread.h.
|
inlineprotectedinherited |
Reset lists of blocks and boundaries for which execution printing has been done.
Definition at line 132 of file ComputeFVFluxThread.h.
|
inlineoverrideprotectedvirtual |
call either residualSetup or jacobianSetup depending on what derived class of this class is instantiated
Implements ComputeFVFluxThread< RangeType, AttribVectorTags >.
Definition at line 828 of file ComputeFVFluxThread.h.
|
overridevirtualinherited |
Called every time the current subdomain changes (i.e.
the subdomain of this face's elem element is not the same as the subdomain of the last face's elem element).
Reimplemented from ThreadedFaceLoop< RangeType >.
Definition at line 625 of file ComputeFVFluxThread.h.
|
mutableprotectedinherited |
Set to keep track of blocks for which we have printed the execution pattern.
Definition at line 163 of file ComputeFVFluxThread.h.
Referenced by ThreadedFaceLoop< RangeType >::resetExecutionPrinting().
|
mutableprotectedinherited |
Set to keep track of boundaries for which we have printed the execution pattern.
Definition at line 166 of file ComputeFVFluxThread.h.
Referenced by ThreadedFaceLoop< RangeType >::resetExecutionPrinting().
|
protectedinherited |
Holds caught runtime error messages.
Definition at line 169 of file ComputeFVFluxThread.h.
Referenced by ThreadedFaceLoop< RangeType >::join().
|
protectedinherited |
Definition at line 138 of file ComputeFVFluxThread.h.
Referenced by ThreadedFaceLoop< RangeType >::caughtMooseException(), ThreadedFaceLoop< RangeType >::neighborSubdomainChanged(), and ThreadedFaceLoop< RangeType >::subdomainChanged().
|
protectedinherited |
Definition at line 139 of file ComputeFVFluxThread.h.
|
protectedinherited |
The subdomain for the current neighbor.
Definition at line 157 of file ComputeFVFluxThread.h.
Referenced by ThreadedFaceLoop< RangeType >::neighborSubdomainChanged().
|
protectedinherited |
Definition at line 142 of file ComputeFVFluxThread.h.
|
protectedinherited |
Definition at line 384 of file ComputeFVFluxThread.h.
|
protectedinherited |
The subdomain for the last neighbor.
Definition at line 160 of file ComputeFVFluxThread.h.
|
protectedinherited |
The subdomain for the last element.
Definition at line 154 of file ComputeFVFluxThread.h.
|
protectedinherited |
Whether this loop is operating on the displaced mesh.
Definition at line 145 of file ComputeFVFluxThread.h.
|
protectedinherited |
The subdomain for the current element.
Definition at line 151 of file ComputeFVFluxThread.h.
Referenced by ThreadedFaceLoop< RangeType >::subdomainChanged().
|
protectedinherited |
FEProblemBase or DisplacedProblem depending on _on_displaced
.
Definition at line 148 of file ComputeFVFluxThread.h.
Referenced by ComputeFVFluxResidualThread< RangeType >::addCached(), ComputeFVFluxJacobianThread< RangeType >::addCached(), and ComputeFVFluxRJThread< RangeType >::addCached().
|
protectedinherited |
Definition at line 140 of file ComputeFVFluxThread.h.
|
protectedinherited |
Definition at line 141 of file ComputeFVFluxThread.h.
Referenced by ComputeFVFluxResidualThread< RangeType >::addCached(), ComputeFVFluxJacobianThread< RangeType >::addCached(), ComputeFVFluxRJThread< RangeType >::addCached(), ThreadedFaceLoop< RangeType >::neighborSubdomainChanged(), and ThreadedFaceLoop< RangeType >::subdomainChanged().