A class for storing MooseObjects based on execution flag. More...
#include <BoundaryElemIntegrityCheckThread.h>
Public Member Functions | |
ExecuteMooseObjectWarehouse (const ExecFlagEnum &flags, bool threaded=true) | |
Constructor. More... | |
virtual | ~ExecuteMooseObjectWarehouse () |
void | addObject (std::shared_ptr< T > object, THREAD_ID tid=0, bool recurse=true) override |
Adds an object to the storage structure. More... | |
void | updateActive (THREAD_ID tid=0) override |
Updates the active objects storage. More... | |
void | sort (THREAD_ID tid=0) |
Performs a sort using the DependencyResolver. More... | |
bool | hasExecType (const ExecFlagType &exec_flag) |
bool | hasVariableObjects (unsigned int variable_id, THREAD_ID tid=0) const |
Checks for whether this warehouse has objects for a given variable. More... | |
unsigned int | size (THREAD_ID tid=0) const |
Return how many kernels we store in the current warehouse. More... | |
std::set< SubdomainID > | getActiveBlocks (THREAD_ID tid=0) const |
Return a set of active SubdomainsIDs. More... | |
void | subdomainsCovered (std::set< SubdomainID > &subdomains_covered, std::set< std::string > &unique_variables, THREAD_ID tid=0) const |
Populates a set of covered subdomains and the associated variable names. More... | |
THREAD_ID | numThreads () const |
Return the number of threads. More... | |
std::string | activeObjectsToFormattedString (THREAD_ID tid=0, const std::string &prefix="[DBG]") const |
Output the active content of the warehouse to a string, meant to be output to the console. More... | |
const MooseObjectWarehouse< T > & | operator[] (ExecFlagType exec_flag) const |
Retrieve shared pointers for the given thread and execution type for all/active objects. More... | |
MooseObjectWarehouse< T > & | operator[] (ExecFlagType exec_flag) |
std::map< ExecFlagType, MooseObjectWarehouse< T > >::const_iterator | begin () const |
Provide access to begin/end iterators of the underlying map of execution flags. More... | |
std::map< ExecFlagType, MooseObjectWarehouse< T > >::const_iterator | end () const |
void | jacobianSetup (THREAD_ID tid=0) const override |
Convenience methods for calling object setup methods. More... | |
void | residualSetup (THREAD_ID tid=0) const override |
void | setup (const ExecFlagType &exec_flag, THREAD_ID tid=0) const |
virtual void | initialSetup (THREAD_ID tid=0) const |
Convenience methods for calling object setup methods. More... | |
virtual void | timestepSetup (THREAD_ID tid=0) const |
virtual void | customSetup (const ExecFlagType &exec_type, THREAD_ID tid=0) const |
virtual void | subdomainSetup (THREAD_ID tid=0) const |
virtual void | subdomainSetup (SubdomainID id, THREAD_ID tid=0) const |
bool | hasActiveVariableBlockObjects (unsigned int variable_id, SubdomainID block_id, THREAD_ID tid=0) const |
Methods for checking/getting variable kernels for a variable and SubdomainID. More... | |
const std::vector< std::shared_ptr< T > > & | getActiveVariableBlockObjects (unsigned int variable_id, SubdomainID block_id, THREAD_ID tid=0) const |
const std::vector< std::shared_ptr< T > > & | getObjects (THREAD_ID tid=0) const |
Retrieve complete vector to the all/block/boundary restricted objects for a given thread. More... | |
const std::map< SubdomainID, std::vector< std::shared_ptr< T > > > & | getBlockObjects (THREAD_ID tid=0) const |
const std::vector< std::shared_ptr< T > > & | getBlockObjects (SubdomainID id, THREAD_ID tid=0) const |
const std::map< BoundaryID, std::vector< std::shared_ptr< T > > > & | getBoundaryObjects (THREAD_ID tid=0) const |
const std::vector< std::shared_ptr< T > > & | getBoundaryObjects (BoundaryID id, THREAD_ID tid=0) const |
const std::vector< std::shared_ptr< T > > & | getActiveObjects (THREAD_ID tid=0) const |
Retrieve complete vector to the active all/block/boundary restricted objects for a given thread. More... | |
const std::map< SubdomainID, std::vector< std::shared_ptr< T > > > & | getActiveBlockObjects (THREAD_ID tid=0) const |
const std::vector< std::shared_ptr< T > > & | getActiveBlockObjects (SubdomainID id, THREAD_ID tid=0) const |
const std::map< BoundaryID, std::vector< std::shared_ptr< T > > > & | getActiveBoundaryObjects (THREAD_ID tid=0) const |
const std::vector< std::shared_ptr< T > > & | getActiveBoundaryObjects (BoundaryID id, THREAD_ID tid=0) const |
bool | hasObjects (THREAD_ID tid=0) const |
Convenience functions for determining if objects exist. More... | |
bool | hasActiveObjects (THREAD_ID tid=0) const |
bool | hasActiveBlockObjects (THREAD_ID tid=0) const |
bool | hasActiveBlockObjects (SubdomainID id, THREAD_ID tid=0) const |
bool | hasActiveBoundaryObjects (THREAD_ID tid=0) const |
bool | hasActiveBoundaryObjects (BoundaryID id, THREAD_ID tid=0) const |
bool | hasBoundaryObjects (BoundaryID id, THREAD_ID tid=0) const |
bool | hasActiveObject (const std::string &name, THREAD_ID tid=0) const |
Convenience functions for checking/getting specific objects. More... | |
std::shared_ptr< T > | getObject (const std::string &name, THREAD_ID tid=0) const |
std::shared_ptr< T > | getActiveObject (const std::string &name, THREAD_ID tid=0) const |
void | updateVariableDependency (std::set< MooseVariableFieldBase *> &needed_moose_vars, THREAD_ID tid=0) const |
Update variable dependency vector. More... | |
void | updateBlockVariableDependency (SubdomainID id, std::set< MooseVariableFieldBase *> &needed_moose_vars, THREAD_ID tid=0) const |
void | updateBoundaryVariableDependency (std::set< MooseVariableFieldBase *> &needed_moose_vars, THREAD_ID tid=0) const |
void | updateBoundaryVariableDependency (BoundaryID id, std::set< MooseVariableFieldBase *> &needed_moose_vars, THREAD_ID tid=0) const |
void | updateBlockFEVariableCoupledVectorTagDependency (SubdomainID id, std::set< TagID > &needed_fe_var_vector_tags, THREAD_ID tid=0) const |
Update FE variable coupleable vector tag vector. More... | |
void | updateBoundaryFEVariableCoupledVectorTagDependency (BoundaryID id, std::set< TagID > &needed_fe_var_vector_tags, THREAD_ID tid=0) const |
void | updateMatPropDependency (std::unordered_set< unsigned int > &needed_mat_props, THREAD_ID tid=0) const |
Update material property dependency vector. More... | |
void | updateBlockMatPropDependency (SubdomainID id, std::unordered_set< unsigned int > &needed_mat_props, THREAD_ID tid=0) const |
void | updateBoundaryMatPropDependency (std::unordered_set< unsigned int > &needed_mat_props, THREAD_ID tid=0) const |
void | updateBoundaryMatPropDependency (BoundaryID id, std::unordered_set< unsigned int > &needed_mat_props, THREAD_ID tid=0) const |
Protected Member Functions | |
std::map< ExecFlagType, MooseObjectWarehouse< T > >::iterator | getStorageHelper (std::map< ExecFlagType, MooseObjectWarehouse< T >> &objects, ExecFlagType exec_flag) const |
A helper method for extracting objects from the various storage containers. More... | |
void | checkThreadID (THREAD_ID tid) const |
Calls assert on thread id. More... | |
Static Protected Member Functions | |
static void | updateActiveHelper (std::vector< std::shared_ptr< T >> &active, const std::vector< std::shared_ptr< T >> &all) |
Helper method for updating active vectors. More... | |
static void | sortHelper (std::vector< std::shared_ptr< T >> &objects) |
Helper method for sorting vectors of objects. More... | |
static void | updateVariableDependencyHelper (std::set< MooseVariableFieldBase *> &needed_moose_vars, const std::vector< std::shared_ptr< T >> &objects) |
Helper method for updating variable dependency vector. More... | |
static void | updateFEVariableCoupledVectorTagDependencyHelper (std::set< TagID > &needed_fe_var_vector_tags, const std::vector< std::shared_ptr< T >> &objects) |
Helper method for updating FE variable coupleable vector tag vector. More... | |
static void | updateMatPropDependencyHelper (std::unordered_set< unsigned int > &needed_mat_props, const std::vector< std::shared_ptr< T >> &objects) |
Helper method for updating material property dependency vector. More... | |
Protected Attributes | |
std::map< ExecFlagType, MooseObjectWarehouse< T > > | _execute_objects |
std::map< unsigned int, MooseObjectWarehouse< T > > | _variable_objects |
Variable based storage. More... | |
const THREAD_ID | _num_threads |
Convenience member storing the number of threads used for storage (1 or libMesh::n_threads) More... | |
std::vector< std::vector< std::shared_ptr< T > > > | _all_objects |
Storage container for the ALL pointers (THREAD_ID on outer vector) More... | |
std::vector< std::vector< std::shared_ptr< T > > > | _active_objects |
All active objects (THREAD_ID on outer vector) More... | |
std::vector< std::map< SubdomainID, std::vector< std::shared_ptr< T > > > > | _all_block_objects |
std::vector< std::map< SubdomainID, std::vector< std::shared_ptr< T > > > > | _active_block_objects |
Active block restricted objects (THREAD_ID on outer vector) More... | |
std::vector< std::map< BoundaryID, std::vector< std::shared_ptr< T > > > > | _all_boundary_objects |
std::vector< std::map< BoundaryID, std::vector< std::shared_ptr< T > > > > | _active_boundary_objects |
Active boundary restricted objects (THREAD_ID on outer vector) More... | |
A class for storing MooseObjects based on execution flag.
Note: The global list of objects, those accessed via the "get" methods of this class, are not sorted when the sort method is called. This is because cyclic errors occur even when the execution flags differ.
Definition at line 21 of file BoundaryElemIntegrityCheckThread.h.
ExecuteMooseObjectWarehouse< T >::ExecuteMooseObjectWarehouse | ( | const ExecFlagEnum & | flags, |
bool | threaded = true |
||
) |
Constructor.
threaded | True enables threaded object storage (default). |
Definition at line 105 of file ExecuteMooseObjectWarehouse.h.
|
virtual |
Definition at line 115 of file ExecuteMooseObjectWarehouse.h.
|
inherited |
Output the active content of the warehouse to a string, meant to be output to the console.
tid | the thread id |
prefix | a string to prepend to the string |
Definition at line 761 of file MooseObjectWarehouseBase.h.
Referenced by NonlinearThread::printBlockExecutionInformation(), NonlinearThread::printBoundaryExecutionInformation(), ComputeNodalKernelBcsThread::printGeneralExecutionInformation(), ComputeNodalKernelsThread::printGeneralExecutionInformation(), ComputeNodalKernelBCJacobiansThread::printGeneralExecutionInformation(), and ComputeNodalKernelJacobiansThread::printGeneralExecutionInformation().
|
overridevirtual |
Adds an object to the storage structure.
object | A shared pointer to the object being added |
Reimplemented from MooseObjectWarehouse< T >.
Definition at line 202 of file ExecuteMooseObjectWarehouse.h.
Referenced by FEProblemBase::addMultiApp(), AuxiliarySystem::addScalarKernel(), FEProblemBase::addTransfer(), and FEProblemBase::addUserObject().
|
inline |
Provide access to begin/end iterators of the underlying map of execution flags.
Definition at line 60 of file ExecuteMooseObjectWarehouse.h.
|
inlineprotectedinherited |
Calls assert on thread id.
Definition at line 792 of file MooseObjectWarehouseBase.h.
|
virtualinherited |
Definition at line 176 of file MooseObjectWarehouse.h.
Referenced by AuxiliarySystem::customSetup(), NonlinearSystemBase::customSetup(), and FEProblemBase::customSetup().
|
inline |
Definition at line 64 of file ExecuteMooseObjectWarehouse.h.
|
inlineinherited |
Definition at line 427 of file MooseObjectWarehouseBase.h.
Referenced by MaterialPropertyInterface::buildRequiredMaterials(), FEProblemBase::checkProblemIntegrity(), NonlinearThread::computeOnElement(), ComputeFullJacobianThread::computeOnInternalFace(), NonlinearThread::computeOnInternalFace(), FEProblemBase::getFVMatsAndDependencies(), BlockRestrictable::hasBlockMaterialPropertyHelper(), ComputeMarkerThread::onElement(), ComputeIndicatorThread::onElement(), ComputeMaterialsObjectThread::onElement(), HDGPrimalSolutionUpdateThread::onElement(), ComputeIndicatorThread::onInternalSide(), ComputeNodalKernelsThread::onNode(), ComputeNodalKernelJacobiansThread::onNode(), ComputeInitialConditionThread::operator()(), ComputeFVInitialConditionThread::operator()(), ComputeMarkerThread::printBlockExecutionInformation(), ComputeDiracThread::printBlockExecutionInformation(), ComputeIndicatorThread::printBlockExecutionInformation(), FEProblemBase::reinitMaterials(), and Moose::Mortar::setupMortarMaterials().
|
inherited |
Definition at line 435 of file MooseObjectWarehouseBase.h.
|
inherited |
Return a set of active SubdomainsIDs.
Definition at line 535 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::checkProblemIntegrity().
|
inlineinherited |
Definition at line 408 of file MooseObjectWarehouseBase.h.
Referenced by HDGKernel::assemble(), NonlinearSystemBase::computeJacobianBlocks(), NonlinearSystemBase::computeJacobianInternal(), AuxiliarySystem::computeMortarNodalVars(), NonlinearSystemBase::computeNodalBCs(), NonlinearSystemBase::computeNodalBCsResidualAndJacobian(), ComputeFullJacobianThread::computeOnBoundary(), NonlinearThread::computeOnBoundary(), ComputeFullJacobianThread::computeOnInterface(), NonlinearThread::computeOnInterface(), BoundaryRestrictable::hasBoundaryMaterialPropertyHelper(), ComputeMaterialsObjectThread::onBoundary(), ComputeMaterialsObjectThread::onInterface(), ComputeBoundaryInitialConditionThread::onNode(), ComputeNodalKernelBcsThread::onNode(), ComputeNodalKernelBCJacobiansThread::onNode(), FEProblemBase::reinitMaterialsBoundary(), FEProblemBase::reinitMaterialsInterface(), and NonlinearSystemBase::setInitialSolution().
|
inherited |
Definition at line 416 of file MooseObjectWarehouseBase.h.
|
inherited |
Definition at line 524 of file MooseObjectWarehouseBase.h.
Referenced by DerivativeParsedMaterialHelperTempl< is_ad >::assembleDerivatives(), FEProblemBase::getConvergence(), FEProblemBase::getFunction(), FEProblemBase::getMaterial(), FEProblemBase::getMeshDivision(), NonlinearSystemBase::getSplit(), LibtorchArtificialNeuralNetParameters::initialSetup(), and LibtorchControlValuePostprocessor::initialSetup().
|
inlineinherited |
Retrieve complete vector to the active all/block/boundary restricted objects for a given thread.
tid | The thread id to retrieve objects from |
Definition at line 400 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::backupMultiApps(), NonlinearEigenSystem::checkIntegrity(), FEProblemBase::checkProblemIntegrity(), NonlinearSystemBase::computeDamping(), NonlinearSystemBase::computeDiracContributions(), FEProblemBase::computeIndicators(), FEProblemBase::computeMarkers(), FEProblemBase::computeMultiAppsDT(), NonlinearSystemBase::computeResidualInternal(), NonlinearSystemBase::computeScalarKernelsJacobians(), AuxiliarySystem::computeScalarVars(), FEProblemBase::execMultiApps(), FEProblemBase::execMultiAppTransfers(), FEProblemBase::execTransfers(), FEProblemBase::finalizeMultiApps(), FEProblemBase::finishMultiAppStep(), ConstraintWarehouse::getActiveNodalConstraints(), FEProblemBase::getConvergenceObjects(), FEProblemBase::getTransfers(), FEProblemBase::incrementMultiAppTStep(), FEProblemBase::initialSetup(), ComputeElemDampingThread::onElement(), ComputeDiracThread::onElement(), ComputeNodalDampingThread::onNode(), FEProblemBase::postExecute(), FEProblemBase::projectInitialConditionOnCustomRange(), FEProblemBase::projectSolution(), FEProblemBase::restoreMultiApps(), and AuxiliarySystem::setScalarVariableCoupleableTags().
|
inherited |
Definition at line 143 of file MooseObjectWarehouse.h.
Referenced by ComputeFullJacobianThread::computeOnElement().
|
inlineinherited |
Definition at line 381 of file MooseObjectWarehouseBase.h.
Referenced by MaterialPropertyDebugOutput::printMaterialMap().
|
inherited |
Definition at line 389 of file MooseObjectWarehouseBase.h.
|
inlineinherited |
Definition at line 354 of file MooseObjectWarehouseBase.h.
Referenced by ComputeFullJacobianThread::computeOnBoundary(), and MaterialPropertyDebugOutput::printMaterialMap().
|
inherited |
Definition at line 370 of file MooseObjectWarehouseBase.h.
|
inherited |
Definition at line 513 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::getMultiApp().
|
inlineinherited |
Retrieve complete vector to the all/block/boundary restricted objects for a given thread.
tid | The thread id to retrieve objects from |
Definition at line 346 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::checkNonlocalCoupling(), MooseApp::errorCheck(), MooseObjectTagWarehouse< DiracKernelBase >::getMatrixTagObjectWarehouse(), MooseObjectTagWarehouse< DiracKernelBase >::getMatrixTagsObjectWarehouse(), MooseObjectTagWarehouse< DiracKernelBase >::getVectorTagObjectWarehouse(), MooseObjectTagWarehouse< DiracKernelBase >::getVectorTagsObjectWarehouse(), HDGKernel::initialSetup(), BlockRestrictionDebugOutput::printBlockRestrictionMap(), FEProblemBase::setActiveMaterialProperties(), and FEProblemBase::setNonlocalCouplingMatrix().
|
protected |
A helper method for extracting objects from the various storage containers.
|
inherited |
Definition at line 462 of file MooseObjectWarehouseBase.h.
Referenced by AuxiliarySystem::computeElementalVarsHelper(), NonlinearSystemBase::computeJacobianInternal(), AuxiliarySystem::computeMortarNodalVars(), AuxiliarySystem::computeNodalVarsHelper(), NonlinearThread::computeOnElement(), ComputeFullJacobianThread::computeOnInternalFace(), NonlinearSystemBase::computeResidualInternal(), BlockRestrictable::hasBlockMaterialPropertyHelper(), ComputeMarkerThread::onElement(), ComputeIndicatorThread::onElement(), ComputeMaterialsObjectThread::onElement(), ProjectMaterialProperties::onElement(), ComputeIndicatorThread::onInternalSide(), NonlinearThread::onInternalSide(), ComputeNodalKernelsThread::onNode(), ComputeNodalKernelJacobiansThread::onNode(), ComputeInitialConditionThread::operator()(), ComputeFVInitialConditionThread::operator()(), ComputeJacobianBlocksThread::postInternalSide(), FEProblemBase::prepareMaterials(), ComputeMarkerThread::printBlockExecutionInformation(), ComputeDiracThread::printBlockExecutionInformation(), ComputeIndicatorThread::printBlockExecutionInformation(), NonlinearThread::printBlockExecutionInformation(), and FEProblemBase::reinitMaterials().
|
inherited |
Definition at line 473 of file MooseObjectWarehouseBase.h.
|
inherited |
Definition at line 482 of file MooseObjectWarehouseBase.h.
Referenced by HDGKernel::assemble(), AuxiliarySystem::computeElementalVarsHelper(), NonlinearSystemBase::computeJacobianBlocks(), NonlinearSystemBase::computeJacobianInternal(), AuxiliarySystem::computeMortarNodalVars(), NonlinearSystemBase::computeNodalBCs(), NonlinearSystemBase::computeNodalBCsResidualAndJacobian(), AuxiliarySystem::computeNodalVarsHelper(), ComputeFullJacobianThread::computeOnBoundary(), ComputeFullJacobianThread::computeOnInterface(), NonlinearSystemBase::computeResidualInternal(), BoundaryRestrictable::hasBoundaryMaterialPropertyHelper(), NonlinearSystemBase::needBoundaryMaterialOnSide(), NonlinearSystemBase::needInterfaceMaterialOnSide(), FEProblemBase::needInterfaceMaterialOnSide(), ComputeMaterialsObjectThread::onBoundary(), NonlinearThread::onBoundary(), ComputeMaterialsObjectThread::onInterface(), NonlinearThread::onInterface(), ComputeBoundaryInitialConditionThread::onNode(), ComputeNodalKernelBcsThread::onNode(), ComputeNodalKernelBCJacobiansThread::onNode(), NonlinearThread::printBoundaryExecutionInformation(), ComputeNodalKernelBCJacobiansThread::printGeneralExecutionInformation(), FEProblemBase::reinitMaterialsBoundary(), FEProblemBase::reinitMaterialsInterface(), and NonlinearSystemBase::setInitialSolution().
|
inherited |
Definition at line 493 of file MooseObjectWarehouseBase.h.
|
inherited |
Convenience functions for checking/getting specific objects.
Definition at line 502 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::hasConvergence(), FEProblemBase::hasFunction(), and FEProblemBase::hasMultiApp().
|
inherited |
Definition at line 454 of file MooseObjectWarehouseBase.h.
Referenced by NonlinearEigenSystem::checkIntegrity(), NonlinearSystemBase::checkKernelCoverage(), NonlinearSystemBase::computeDamping(), NonlinearSystemBase::computeDiracContributions(), FEProblemBase::computeIndicators(), NonlinearSystemBase::computeJacobianInternal(), FEProblemBase::computeMarkers(), NonlinearSystemBase::computeResidualInternal(), NonlinearSystemBase::computeScalarKernelsJacobians(), AuxiliarySystem::computeScalarVars(), NonlinearSystemBase::containsTimeKernel(), FEProblemBase::execMultiAppTransfers(), ConstraintWarehouse::hasActiveNodalConstraints(), FEProblemBase::hasMultiApps(), HDGPrimalSolutionUpdateThread::HDGPrimalSolutionUpdateThread(), FEProblemBase::initialSetup(), ElementSubdomainModifierBase::modify(), NonlinearSystem::precheck(), ComputeNodalKernelBcsThread::printGeneralExecutionInformation(), ComputeNodalKernelsThread::printGeneralExecutionInformation(), ComputeNodalKernelJacobiansThread::printGeneralExecutionInformation(), FEProblemBase::projectInitialConditionOnCustomRange(), FEProblemBase::projectSolution(), and FEProblemBase::timestepSetup().
|
inherited |
Methods for checking/getting variable kernels for a variable and SubdomainID.
Definition at line 133 of file MooseObjectWarehouse.h.
Referenced by ComputeFullJacobianThread::computeOnElement().
|
inherited |
Definition at line 362 of file MooseObjectWarehouseBase.h.
|
inline |
Definition at line 92 of file ExecuteMooseObjectWarehouse.h.
|
inherited |
Convenience functions for determining if objects exist.
Definition at line 446 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::initialSetup(), and NonlinearSystem::preInit().
|
inherited |
Checks for whether this warehouse has objects for a given variable.
Definition at line 125 of file MooseObjectWarehouse.h.
Referenced by ExplicitTimeIntegrator::initialSetup().
|
virtualinherited |
Convenience methods for calling object setup methods.
Reimplemented in MaterialWarehouse.
Definition at line 157 of file MooseObjectWarehouse.h.
Referenced by MaterialWarehouse::initialSetup(), AuxiliarySystem::initialSetup(), NonlinearSystemBase::initialSetup(), and FEProblemBase::initialSetup().
|
overridevirtual |
Convenience methods for calling object setup methods.
Limits call to these methods only to objects being executed on linear/nonlinear iterations.
Reimplemented from MooseObjectWarehouse< T >.
Definition at line 165 of file ExecuteMooseObjectWarehouse.h.
Referenced by AuxiliarySystem::jacobianSetup().
|
inlineinherited |
Return the number of threads.
Definition at line 177 of file MooseObjectWarehouseBase.h.
const MooseObjectWarehouse< T > & ExecuteMooseObjectWarehouse< T >::operator[] | ( | ExecFlagType | exec_flag | ) | const |
Retrieve shared pointers for the given thread and execution type for all/active objects.
exec_flag | The execution flag to retrieve objects from |
Definition at line 121 of file ExecuteMooseObjectWarehouse.h.
MooseObjectWarehouse< T > & ExecuteMooseObjectWarehouse< T >::operator[] | ( | ExecFlagType | exec_flag | ) |
Definition at line 137 of file ExecuteMooseObjectWarehouse.h.
|
overridevirtual |
Reimplemented from MooseObjectWarehouse< T >.
Definition at line 175 of file ExecuteMooseObjectWarehouse.h.
Referenced by AuxiliarySystem::residualSetup().
void ExecuteMooseObjectWarehouse< T >::setup | ( | const ExecFlagType & | exec_flag, |
THREAD_ID | tid = 0 |
||
) | const |
Definition at line 185 of file ExecuteMooseObjectWarehouse.h.
Referenced by FEProblemBase::executeControls().
|
inherited |
Return how many kernels we store in the current warehouse.
Definition at line 266 of file MooseObjectWarehouseBase.h.
Referenced by NonlinearSystemBase::computeNodalBCs(), and NonlinearThread::printBlockExecutionInformation().
void ExecuteMooseObjectWarehouse< T >::sort | ( | THREAD_ID | tid = 0 | ) |
Performs a sort using the DependencyResolver.
tid | The thread id to access. |
Definition at line 222 of file ExecuteMooseObjectWarehouse.h.
Referenced by AuxiliarySystem::initialSetup().
|
staticprotectedinherited |
Helper method for sorting vectors of objects.
Definition at line 772 of file MooseObjectWarehouseBase.h.
|
inherited |
Populates a set of covered subdomains and the associated variable names.
Definition at line 748 of file MooseObjectWarehouseBase.h.
Referenced by NonlinearSystemBase::checkKernelCoverage().
|
virtualinherited |
Reimplemented in MaterialWarehouse.
Definition at line 198 of file MooseObjectWarehouse.h.
Referenced by MaterialWarehouse::neighborSubdomainSetup(), ComputeMarkerThread::subdomainChanged(), ComputeIndicatorThread::subdomainChanged(), MaterialWarehouse::subdomainSetup(), AuxiliarySystem::subdomainSetup(), and NonlinearSystemBase::subdomainSetup().
|
virtualinherited |
Reimplemented in MaterialWarehouse.
Definition at line 185 of file MooseObjectWarehouse.h.
|
virtualinherited |
Reimplemented in MaterialWarehouse.
Definition at line 167 of file MooseObjectWarehouse.h.
Referenced by MaterialWarehouse::timestepSetup(), AuxiliarySystem::timestepSetup(), NonlinearSystemBase::timestepSetup(), and FEProblemBase::timestepSetup().
|
overridevirtual |
Updates the active objects storage.
Reimplemented from MooseObjectWarehouse< T >.
Definition at line 153 of file ExecuteMooseObjectWarehouse.h.
Referenced by AuxiliarySystem::updateActive(), and FEProblemBase::updateActiveObjects().
|
staticprotectedinherited |
Helper method for updating active vectors.
Definition at line 561 of file MooseObjectWarehouseBase.h.
|
inherited |
Update FE variable coupleable vector tag vector.
Definition at line 654 of file MooseObjectWarehouseBase.h.
Referenced by ComputeNodalKernelsThread::onNode(), ComputeMaterialsObjectThread::subdomainChanged(), ComputeIndicatorThread::subdomainChanged(), NonlinearThread::subdomainChanged(), and ComputeUserObjectsThread::subdomainChanged().
|
inherited |
Definition at line 699 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::prepareMaterials(), HDGPrimalSolutionUpdateThread::subdomainChanged(), and NonlinearThread::subdomainChanged().
|
inherited |
Definition at line 602 of file MooseObjectWarehouseBase.h.
Referenced by HDGPrimalSolutionUpdateThread::subdomainChanged(), and NonlinearThread::subdomainChanged().
|
inherited |
Definition at line 664 of file MooseObjectWarehouseBase.h.
Referenced by ComputeNodalKernelBcsThread::onNode().
|
inherited |
Definition at line 710 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::prepareMaterials(), and NonlinearThread::subdomainChanged().
|
inherited |
Definition at line 720 of file MooseObjectWarehouseBase.h.
|
inherited |
Definition at line 613 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::prepareMaterials(), and NonlinearThread::subdomainChanged().
|
inherited |
Definition at line 626 of file MooseObjectWarehouseBase.h.
|
staticprotectedinherited |
Helper method for updating FE variable coupleable vector tag vector.
Definition at line 674 of file MooseObjectWarehouseBase.h.
|
inherited |
Update material property dependency vector.
Definition at line 690 of file MooseObjectWarehouseBase.h.
Referenced by ComputeMarkerThread::subdomainChanged(), ComputeIndicatorThread::subdomainChanged(), and ComputeDiracThread::subdomainChanged().
|
staticprotectedinherited |
Helper method for updating material property dependency vector.
Definition at line 731 of file MooseObjectWarehouseBase.h.
|
inherited |
Update variable dependency vector.
Definition at line 593 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::prepareMaterials(), ComputeMarkerThread::subdomainChanged(), ComputeMaterialsObjectThread::subdomainChanged(), ComputeIndicatorThread::subdomainChanged(), and ComputeDiracThread::subdomainChanged().
|
staticprotectedinherited |
Helper method for updating variable dependency vector.
Definition at line 637 of file MooseObjectWarehouseBase.h.
|
protectedinherited |
Active block restricted objects (THREAD_ID on outer vector)
Definition at line 201 of file MooseObjectWarehouseBase.h.
|
protectedinherited |
Active boundary restricted objects (THREAD_ID on outer vector)
Definition at line 207 of file MooseObjectWarehouseBase.h.
|
protectedinherited |
All active objects (THREAD_ID on outer vector)
Definition at line 195 of file MooseObjectWarehouseBase.h.
|
protectedinherited |
Definition at line 198 of file MooseObjectWarehouseBase.h.
Referenced by MaterialWarehouse::sort().
|
protectedinherited |
Definition at line 204 of file MooseObjectWarehouseBase.h.
Referenced by MaterialWarehouse::sort().
|
protectedinherited |
Storage container for the ALL pointers (THREAD_ID on outer vector)
Definition at line 192 of file MooseObjectWarehouseBase.h.
|
protected |
Definition at line 96 of file ExecuteMooseObjectWarehouse.h.
Referenced by ExecuteMooseObjectWarehouse< Transfer >::begin(), ExecuteMooseObjectWarehouse< Transfer >::end(), ExecuteMooseObjectWarehouse< Transfer >::ExecuteMooseObjectWarehouse(), and ExecuteMooseObjectWarehouse< Transfer >::hasExecType().
|
protectedinherited |
Convenience member storing the number of threads used for storage (1 or libMesh::n_threads)
Definition at line 189 of file MooseObjectWarehouseBase.h.
Referenced by MooseObjectWarehouseBase< Indicator >::numThreads().
|
protectedinherited |
Variable based storage.
Definition at line 88 of file MooseObjectWarehouse.h.