#include <ComputeFVFluxThread.h>
Public Member Functions | |
| ComputeFVFluxJacobianThread (FEProblemBase &fe_problem, const unsigned int nl_system_num, const std::set< TagID > &tags, bool on_displaced) | |
| ComputeFVFluxJacobianThread (ComputeFVFluxJacobianThread &x, Threads::split split) | |
| virtual void | onFace (const FaceInfo &fi) override |
| virtual void | pre () override |
| This is called once before all face-looping. | |
| virtual void | post () override |
| This is called once after all face-looping is finished. | |
| 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. | |
| virtual void | subdomainChanged () override |
| Called every time the current subdomain changes (i.e. | |
| virtual void | neighborSubdomainChanged () override |
| Called every time the neighbor subdomain changes (i.e. | |
| 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. | |
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. | |
| 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 | |
| void | setup (SetupInterface &obj) override |
| call either residualSetup or jacobianSetup depending on what derived class of this class is instantiated | |
| void | addCached () override |
| call either addCachedJacobian or addCachedResidual or both depending on what derived class of this class is instantiated | |
| void | resetExecutionPrinting () |
| Reset lists of blocks and boundaries for which execution printing has been done. | |
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. | |
| SubProblem & | _subproblem |
FEProblemBase or DisplacedProblem depending on _on_displaced. | |
| SubdomainID | _subdomain |
| The subdomain for the current element. | |
| SubdomainID | _old_subdomain |
| The subdomain for the last element. | |
| SubdomainID | _neighbor_subdomain |
| The subdomain for the current neighbor. | |
| SubdomainID | _old_neighbor_subdomain |
| The subdomain for the last neighbor. | |
| 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. | |
| std::set< BoundaryID > | _boundaries_exec_printed |
| Set to keep track of boundaries for which we have printed the execution pattern. | |
| std::string | _error_message |
| Holds caught runtime error messages. | |
Private Member Functions | |
| void | reinitVariables (const FaceInfo &fi) |
| void | finalizeContainers () |
| virtual void | printGeneralExecutionInformation () const override |
| Print list of object types executed and in which order. | |
| virtual void | printBlockExecutionInformation () const override |
| Print ordering of objects executed on each block. | |
| virtual void | printBoundaryExecutionInformation (const BoundaryID bnd_id) const override |
| Print ordering of objects exected on each boundary. | |
| std::pair< SubdomainName, SubdomainName > | getBlockNames () const |
| Utility to get the subdomain names from the ids. | |
Private Attributes | |
| std::set< MooseVariableFieldBase * > | _fv_vars |
| Variables. | |
| std::set< MooseVariableFieldBase * > | _elem_sub_fv_vars |
| std::set< MooseVariableFieldBase * > | _neigh_sub_fv_vars |
| std::set< FVFluxKernel * > | _fv_flux_kernels |
| FVFluxKernels. | |
| std::set< FVFluxKernel * > | _elem_sub_fv_flux_kernels |
| std::set< FVFluxKernel * > | _neigh_sub_fv_flux_kernels |
| std::vector< std::shared_ptr< MaterialBase > > | _elem_face_mats |
| Element face materials. | |
| std::vector< std::shared_ptr< MaterialBase > > | _elem_sub_elem_face_mats |
| std::vector< std::shared_ptr< MaterialBase > > | _neigh_sub_elem_face_mats |
| std::vector< std::shared_ptr< MaterialBase > > | _neigh_face_mats |
| std::vector< std::shared_ptr< MaterialBase > > | _elem_sub_neigh_face_mats |
| std::vector< std::shared_ptr< MaterialBase > > | _neigh_sub_neigh_face_mats |
| const bool | _scaling_jacobian |
| const bool | _scaling_residual |
| const bool | _zeroth_copy |
| Whether this is the zeroth threaded copy of this body. | |
| const bool | _incoming_throw_on_error |
The value of Moose::_throw_on_error at the time of construction. | |
Definition at line 871 of file ComputeFVFluxThread.h.
| ComputeFVFluxJacobianThread< RangeType >::ComputeFVFluxJacobianThread | ( | FEProblemBase & | fe_problem, |
| const unsigned int | nl_system_num, | ||
| const std::set< TagID > & | tags, | ||
| bool | on_displaced | ||
| ) |
Definition at line 893 of file ComputeFVFluxThread.h.
| ComputeFVFluxJacobianThread< RangeType >::ComputeFVFluxJacobianThread | ( | ComputeFVFluxJacobianThread< RangeType > & | x, |
| Threads::split | split | ||
| ) |
Definition at line 903 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, AttribMatrixTags >.
Definition at line 889 of file ComputeFVFluxThread.h.
|
inlineinherited |
Called if a MooseException is caught anywhere during the computation.
Definition at line 116 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, AttribMatrixTags >.
Definition at line 887 of file ComputeFVFluxThread.h.
|
privateinherited |
Definition at line 408 of file ComputeFVFluxThread.h.
|
privateinherited |
Utility to get the subdomain names from the ids.
Definition at line 420 of file ComputeFVFluxThread.h.
|
inherited |
Definition at line 227 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 372 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 369 of file ComputeFVFluxThread.h.
|
overridevirtualinherited |
Implements ThreadedFaceLoop< RangeType >.
Definition at line 365 of file ComputeFVFluxThread.h.
|
virtualinherited |
Definition at line 241 of file ComputeFVFluxThread.h.
|
overridevirtualinherited |
This is called once after all face-looping is finished.
Reimplemented from ThreadedFaceLoop< RangeType >.
Definition at line 367 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 911 of file ComputeFVFluxThread.h.
|
overridevirtualinherited |
This is called once before all face-looping.
Reimplemented from ThreadedFaceLoop< RangeType >.
Definition at line 366 of file ComputeFVFluxThread.h.
|
overrideprivatevirtualinherited |
Print ordering of objects executed on each block.
Reimplemented from ThreadedFaceLoop< RangeType >.
Definition at line 414 of file ComputeFVFluxThread.h.
|
overrideprivatevirtualinherited |
Print ordering of objects exected on each boundary.
Reimplemented from ThreadedFaceLoop< RangeType >.
Definition at line 417 of file ComputeFVFluxThread.h.
|
overrideprivatevirtualinherited |
Print list of object types executed and in which order.
Reimplemented from ThreadedFaceLoop< RangeType >.
Definition at line 411 of file ComputeFVFluxThread.h.
|
privateinherited |
Definition at line 407 of file ComputeFVFluxThread.h.
|
inlineprotectedinherited |
Reset lists of blocks and boundaries for which execution printing has been done.
Definition at line 134 of file ComputeFVFluxThread.h.
|
inlineoverrideprotectedvirtual |
call either residualSetup or jacobianSetup depending on what derived class of this class is instantiated
Implements ComputeFVFluxThread< RangeType, AttribMatrixTags >.
Definition at line 888 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 371 of file ComputeFVFluxThread.h.
|
mutableprotectedinherited |
Set to keep track of blocks for which we have printed the execution pattern.
Definition at line 165 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 168 of file ComputeFVFluxThread.h.
Referenced by ThreadedFaceLoop< RangeType >::resetExecutionPrinting().
|
privateinherited |
Element face materials.
Definition at line 433 of file ComputeFVFluxThread.h.
|
privateinherited |
Definition at line 434 of file ComputeFVFluxThread.h.
|
privateinherited |
Definition at line 429 of file ComputeFVFluxThread.h.
|
privateinherited |
Definition at line 424 of file ComputeFVFluxThread.h.
|
privateinherited |
Definition at line 439 of file ComputeFVFluxThread.h.
|
protectedinherited |
Holds caught runtime error messages.
Definition at line 171 of file ComputeFVFluxThread.h.
Referenced by ThreadedFaceLoop< RangeType >::join().
|
protectedinherited |
Definition at line 140 of file ComputeFVFluxThread.h.
Referenced by ThreadedFaceLoop< RangeType >::caughtMooseException(), ThreadedFaceLoop< RangeType >::neighborSubdomainChanged(), and ThreadedFaceLoop< RangeType >::subdomainChanged().
|
privateinherited |
FVFluxKernels.
Definition at line 428 of file ComputeFVFluxThread.h.
|
privateinherited |
Variables.
Definition at line 423 of file ComputeFVFluxThread.h.
|
privateinherited |
The value of Moose::_throw_on_error at the time of construction.
This data member only has meaning and will only be read if this is the thread 0 copy of the class
Definition at line 179 of file ComputeFVFluxThread.h.
|
protectedinherited |
Definition at line 141 of file ComputeFVFluxThread.h.
|
privateinherited |
Definition at line 438 of file ComputeFVFluxThread.h.
|
privateinherited |
Definition at line 435 of file ComputeFVFluxThread.h.
|
privateinherited |
Definition at line 430 of file ComputeFVFluxThread.h.
|
privateinherited |
Definition at line 425 of file ComputeFVFluxThread.h.
|
privateinherited |
Definition at line 440 of file ComputeFVFluxThread.h.
|
protectedinherited |
The subdomain for the current neighbor.
Definition at line 159 of file ComputeFVFluxThread.h.
Referenced by ThreadedFaceLoop< RangeType >::neighborSubdomainChanged().
|
protectedinherited |
Definition at line 144 of file ComputeFVFluxThread.h.
|
protectedinherited |
Definition at line 393 of file ComputeFVFluxThread.h.
|
protectedinherited |
The subdomain for the last neighbor.
Definition at line 162 of file ComputeFVFluxThread.h.
|
protectedinherited |
The subdomain for the last element.
Definition at line 156 of file ComputeFVFluxThread.h.
|
protectedinherited |
Whether this loop is operating on the displaced mesh.
Definition at line 147 of file ComputeFVFluxThread.h.
|
privateinherited |
Definition at line 442 of file ComputeFVFluxThread.h.
|
privateinherited |
Definition at line 443 of file ComputeFVFluxThread.h.
|
protectedinherited |
The subdomain for the current element.
Definition at line 153 of file ComputeFVFluxThread.h.
Referenced by ThreadedFaceLoop< RangeType >::subdomainChanged().
|
protectedinherited |
FEProblemBase or DisplacedProblem depending on _on_displaced.
Definition at line 150 of file ComputeFVFluxThread.h.
Referenced by ComputeFVFluxResidualThread< RangeType >::addCached(), ComputeFVFluxJacobianThread< RangeType >::addCached(), and ComputeFVFluxRJThread< RangeType >::addCached().
|
protectedinherited |
Definition at line 142 of file ComputeFVFluxThread.h.
|
protectedinherited |
Definition at line 143 of file ComputeFVFluxThread.h.
Referenced by ComputeFVFluxResidualThread< RangeType >::addCached(), ComputeFVFluxJacobianThread< RangeType >::addCached(), ComputeFVFluxRJThread< RangeType >::addCached(), ThreadedFaceLoop< RangeType >::neighborSubdomainChanged(), and ThreadedFaceLoop< RangeType >::subdomainChanged().
|
privateinherited |
Whether this is the zeroth threaded copy of this body.
Definition at line 175 of file ComputeFVFluxThread.h.