A class for storing MooseObjects based on execution flag. More...
#include <ExecuteMooseObjectWarehouse.h>
Public Member Functions | |
| ExecuteMooseObjectWarehouse (const ExecFlagEnum &flags, THREAD_ID num_threads=libMesh::n_threads()) | |
| Constructor. | |
| virtual | ~ExecuteMooseObjectWarehouse () |
| void | addObject (std::shared_ptr< T > object, THREAD_ID tid=0, bool recurse=true) override |
| Adds an object to the storage structure. | |
| void | updateActive (THREAD_ID tid=0) override |
| Updates the active objects storage. | |
| void | sort (THREAD_ID tid=0) |
| Performs a sort using the DependencyResolver. | |
| 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. | |
| unsigned int | size (THREAD_ID tid=0) const |
| Return how many kernels we store in the current warehouse. | |
| bool | hasObjectsForVariableAndBlocks (const VariableName &var_name, const std::set< SubdomainID > &blocks, std::set< SubdomainID > &blocks_covered, THREAD_ID tid) const |
| Whether there are objects for this variable and the set of blocks passed. | |
| std::set< SubdomainID > | getActiveBlocks (THREAD_ID tid=0) const |
| Return a set of active SubdomainsIDs. | |
| const std::vector< std::shared_ptr< T > > & | getObjectsForVariable (const VariableName &var_name, THREAD_ID tid) const |
| Getter for objects that have the 'variable' set to a particular variable Note that users should check whether there are objects using 'hasObjectsForVariable' before calling this routine, because it will throw if there are no objects for this variable. | |
| 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. | |
| THREAD_ID | numThreads () const |
| Return the number of threads. | |
| 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. | |
| const MooseObjectWarehouse< T > & | operator[] (ExecFlagType exec_flag) const |
| Retrieve shared pointers for the given thread and execution type for all/active objects. | |
| 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. | |
| std::map< ExecFlagType, MooseObjectWarehouse< T > >::const_iterator | end () const |
| void | jacobianSetup (THREAD_ID tid=0) const override |
| Convenience methods for calling object setup methods. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| bool | hasActiveObjects (THREAD_ID tid=0) const |
| bool | hasObjectsForVariable (const VariableName &var_name, THREAD_ID tid) 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 (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. | |
| 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. | |
| 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 | updateFEVariableCoupledVectorTagDependency (std::set< TagID > &needed_fe_var_vector_tags, THREAD_ID tid=0) const |
| Update FE variable coupleable vector tag vector for all objects, block-restricted objects, and boundary-restricted objects. | |
| void | updateBlockFEVariableCoupledVectorTagDependency (SubdomainID id, std::set< TagID > &needed_fe_var_vector_tags, THREAD_ID tid=0) const |
| 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 bool producer_only=false) const |
| Update material property dependency vector. | |
| void | updateBlockMatPropDependency (SubdomainID id, std::unordered_set< unsigned int > &needed_mat_props, THREAD_ID tid=0, const bool producer_only=false) const |
| void | updateBoundaryMatPropDependency (std::unordered_set< unsigned int > &needed_mat_props, THREAD_ID tid=0, const bool producer_only=false) const |
| void | updateBoundaryMatPropDependency (BoundaryID id, std::unordered_set< unsigned int > &needed_mat_props, THREAD_ID tid=0, const bool producer_only=false) 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. | |
| virtual void | updateMatPropDependencyHelper (std::unordered_set< unsigned int > &needed_mat_props, const std::vector< std::shared_ptr< T > > &objects, const bool producer_only) const |
| Helper method for updating material property dependency vector. | |
| void | checkThreadID (THREAD_ID tid) const |
| Calls assert on thread id. | |
| bool | hasBoundaryObjectsHelper (const std::vector< std::map< BoundaryID, std::vector< std::shared_ptr< T > > > > &boundary_objects, const THREAD_ID tid=0) const |
| Helper for determining whether we have boundary objects. | |
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. | |
| static void | sortHelper (std::vector< std::shared_ptr< T > > &objects) |
| Helper method for sorting vectors of objects. | |
| static void | updateVariableDependencyHelper (std::set< MooseVariableFieldBase * > &needed_moose_vars, const std::vector< std::shared_ptr< T > > &objects) |
| Helper method for updating variable dependency vector. | |
| 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. | |
Protected Attributes | |
| std::map< ExecFlagType, MooseObjectWarehouse< T > > | _execute_objects |
| std::map< unsigned int, MooseObjectWarehouse< T > > | _variable_objects |
| Variable based storage. | |
| const THREAD_ID | _num_threads |
| Convenience member storing the number of threads used for storage (1 or libMesh::n_threads) | |
| std::vector< std::vector< std::shared_ptr< T > > > | _all_objects |
| Storage container for the ALL pointers (THREAD_ID on outer vector) | |
| std::vector< std::vector< std::shared_ptr< T > > > | _active_objects |
| All active objects (THREAD_ID on outer vector) | |
| 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) | |
| 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) | |
| std::vector< std::map< VariableName, std::vector< std::shared_ptr< T > > > > | _all_variable_objects |
| All objects with a certain variable selected, as the 'variable' parameter. | |
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 25 of file ExecuteMooseObjectWarehouse.h.
| ExecuteMooseObjectWarehouse< T >::ExecuteMooseObjectWarehouse | ( | const ExecFlagEnum & | flags, |
| THREAD_ID | num_threads = libMesh::n_threads() |
||
| ) |
Constructor.
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 897 of file MooseObjectWarehouseBase.h.
Referenced by NonlinearThread::printBlockExecutionInformation(), NonlinearThread::printBoundaryExecutionInformation(), ComputeNodalKernelBCJacobiansThread::printGeneralExecutionInformation(), ComputeNodalKernelBcsThread::printGeneralExecutionInformation(), ComputeNodalKernelJacobiansThread::printGeneralExecutionInformation(), and ComputeNodalKernelsThread::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(), and FEProblemBase::addTransfer().
|
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 928 of file MooseObjectWarehouseBase.h.
Referenced by MooseObjectWarehouseBase< T >::addObject(), MooseObjectWarehouseBase< T >::getActiveBlockObjects(), MooseObjectWarehouseBase< T >::getActiveBlockObjects(), MooseObjectWarehouseBase< T >::getActiveBlocks(), MooseObjectWarehouseBase< T >::getActiveBoundaryObjects(), MooseObjectWarehouseBase< T >::getActiveBoundaryObjects(), MooseObjectWarehouseBase< T >::getActiveObject(), MooseObjectWarehouseBase< T >::getActiveObjects(), MooseObjectWarehouseBase< T >::getBlockObjects(), MooseObjectWarehouseBase< T >::getBlockObjects(), MooseObjectWarehouseBase< T >::getBoundaryObjects(), MooseObjectWarehouseBase< T >::getBoundaryObjects(), MooseObjectWarehouseBase< T >::getObject(), MooseObjectWarehouseBase< T >::getObjects(), MooseObjectWarehouseBase< T >::hasActiveBlockObjects(), MooseObjectWarehouseBase< T >::hasActiveBlockObjects(), MooseObjectWarehouseBase< T >::hasActiveBoundaryObjects(), MooseObjectWarehouseBase< T >::hasActiveObject(), MooseObjectWarehouseBase< T >::hasActiveObjects(), MooseObjectWarehouseBase< T >::hasBoundaryObjects(), MooseObjectWarehouseBase< T >::hasBoundaryObjectsHelper(), MooseObjectWarehouseBase< T >::hasObjects(), MooseObjectWarehouseBase< T >::hasObjectsForVariable(), MooseObjectWarehouseBase< T >::hasObjectsForVariableAndBlocks(), ConstraintWarehouse::residualEnd(), MooseObjectWarehouseBase< T >::size(), MooseObjectWarehouseBase< T >::sort(), MaterialWarehouse::sort(), and MooseObjectWarehouseBase< T >::updateActive().
|
virtualinherited |
Definition at line 175 of file MooseObjectWarehouse.h.
Referenced by FEProblemBase::customSetup(), AuxiliarySystem::customSetup(), and NonlinearSystemBase::customSetup().
|
inline |
Definition at line 64 of file ExecuteMooseObjectWarehouse.h.
|
inherited |
Definition at line 476 of file MooseObjectWarehouseBase.h.
|
inlineinherited |
Definition at line 468 of file MooseObjectWarehouseBase.h.
Referenced by MaterialPropertyInterface::buildRequiredMaterials(), Moose::checkArrayMaterialPropertySize(), FEProblemBase::checkProblemIntegrity(), NonlinearThread::computeOnElement(), ComputeFullJacobianThread::computeOnInternalFace(), ComputeResidualAndJacobianThread::computeOnInternalFace(), ComputeResidualThread::computeOnInternalFace(), NonlinearThread::computeOnInternalFace(), ComputeFullJacobianThread::computeOnInternalFace(), FEProblemBase::getFVMatsAndDependencies(), BlockRestrictable::hasBlockMaterialPropertyHelper(), NonlinearSystemBase::needInternalNeighborSideMaterial(), ComputeIndicatorThread::onElement(), ComputeMarkerThread::onElement(), ComputeMaterialsObjectThread::onElement(), ComputeIndicatorThread::onInternalSide(), ComputeNodalKernelJacobiansThread::onNode(), ComputeNodalKernelsThread::onNode(), ComputeFVInitialConditionThread::operator()(), ComputeInitialConditionThread::operator()(), ComputeDiracThread::printBlockExecutionInformation(), ComputeIndicatorThread::printBlockExecutionInformation(), ComputeMarkerThread::printBlockExecutionInformation(), FEProblemBase::reinitMaterials(), Moose::Mortar::setupMortarMaterials(), MooseObjectWarehouseBase< T >::updateBlockFEVariableCoupledVectorTagDependency(), MooseObjectWarehouseBase< T >::updateBlockMatPropDependency(), and MooseObjectWarehouseBase< T >::updateBlockVariableDependency().
|
inherited |
Return a set of active SubdomainsIDs.
Definition at line 648 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::checkProblemIntegrity().
|
inherited |
Definition at line 457 of file MooseObjectWarehouseBase.h.
|
inlineinherited |
Definition at line 449 of file MooseObjectWarehouseBase.h.
Referenced by NonlinearSystemBase::computeJacobianBlocks(), AuxiliarySystem::computeMortarNodalVars(), NonlinearSystemBase::computeNodalBCsJacobian(), NonlinearSystemBase::computeNodalBCsResidual(), NonlinearSystemBase::computeNodalBCsResidualAndJacobian(), NonlinearThread::computeOnBoundary(), ComputeFullJacobianThread::computeOnBoundary(), NonlinearThread::computeOnInterface(), ComputeFullJacobianThread::computeOnInterface(), BoundaryRestrictable::hasBoundaryMaterialPropertyHelper(), NonlinearSystemBase::needBoundaryMaterialOnSide(), NonlinearSystemBase::needInterfaceMaterialOnSide(), ComputeMaterialsObjectThread::onBoundary(), ComputeMaterialsObjectThread::onInterface(), NonlinearThread::onInterfaceWithHRefinementMismatch(), ComputeBoundaryInitialConditionThread::onNode(), ComputeNodalKernelBCJacobiansThread::onNode(), ComputeNodalKernelBcsThread::onNode(), FEProblemBase::reinitMaterialsBoundary(), FEProblemBase::reinitMaterialsInterface(), NonlinearSystemBase::setInitialSolution(), MooseObjectWarehouseBase< T >::updateBoundaryFEVariableCoupledVectorTagDependency(), MooseObjectWarehouseBase< T >::updateBoundaryMatPropDependency(), and MooseObjectWarehouseBase< T >::updateBoundaryVariableDependency().
|
inherited |
Definition at line 629 of file MooseObjectWarehouseBase.h.
Referenced by DerivativeParsedMaterialHelperTempl< is_ad >::assembleDerivatives(), FEProblemBase::getConvergence(), FEProblemBase::getFunction(), FEProblemBase::getKokkosFunction(), FEProblemBase::getMaterial(), FEProblemBase::getMeshDivision(), NonlinearSystemBase::getSplit(), LibtorchControlValuePostprocessor::initialSetup(), and LibtorchArtificialNeuralNetParameters::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 441 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::backupMultiApps(), NonlinearEigenSystem::checkIntegrity(), NonlinearSystemBase::checkKernelCoverage(), FEProblemBase::checkProblemIntegrity(), NonlinearSystemBase::computeDamping(), NonlinearSystemBase::computeDiracContributions(), FEProblemBase::computeIndicators(), FEProblemBase::computeMarkers(), FEProblemBase::computeMultiAppsDT(), NonlinearSystemBase::computeResidualInternal(), NonlinearSystemBase::computeScalarKernelsJacobians(), AuxiliarySystem::computeScalarVars(), FEProblemBase::execMultiApps(), FEProblemBase::execMultiAppTransfers(), FEProblemBase::finalizeMultiApps(), FEProblemBase::finishMultiAppStep(), ConstraintWarehouse::getActiveNodalConstraints(), FEProblemBase::getConvergenceObjects(), AuxiliarySystem::getDependObjects(), AuxiliarySystem::getDependObjects(), FEProblemBase::getTransfers(), FEProblemBase::getTransfers(), FEProblemBase::incrementMultiAppTStep(), NonlinearSystemBase::needBoundaryMaterialOnSide(), ComputeDiracThread::onElement(), ComputeElemDampingThread::onElement(), ComputeNodalDampingThread::onNode(), FEProblemBase::partitionConcurrentMultiApps(), FEProblemBase::postExecute(), FEProblemBase::projectInitialConditionOnCustomRange(), FEProblemBase::projectSolution(), FEProblemBase::restoreMultiApps(), and AuxiliarySystem::setScalarVariableCoupleableTags().
|
inherited |
Definition at line 142 of file MooseObjectWarehouse.h.
Referenced by ComputeFullJacobianThread::computeOnElement().
|
inherited |
Definition at line 430 of file MooseObjectWarehouseBase.h.
|
inlineinherited |
Definition at line 422 of file MooseObjectWarehouseBase.h.
Referenced by MaterialPropertyDebugOutput::printMaterialMap().
|
inherited |
Definition at line 411 of file MooseObjectWarehouseBase.h.
|
inlineinherited |
Definition at line 395 of file MooseObjectWarehouseBase.h.
Referenced by ComputeFullJacobianThread::computeOnBoundary(), and MaterialPropertyDebugOutput::printMaterialMap().
|
inherited |
Definition at line 618 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 387 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::checkNonlocalCoupling(), MooseApp::collectCitations(), MooseApp::errorCheck(), MooseObjectTagWarehouse< T >::getMatrixTagObjectWarehouse(), MooseObjectTagWarehouse< T >::getMatrixTagsObjectWarehouse(), MooseObjectTagWarehouse< T >::getVectorTagObjectWarehouse(), MooseObjectTagWarehouse< T >::getVectorTagsObjectWarehouse(), ConsoleUtils::outputExecutionInformation(), BlockRestrictionDebugOutput::printBlockRestrictionMap(), FEProblemBase::setActiveMaterialProperties(), FEProblemBase::setNonlocalCouplingMatrix(), and MooseApp::setOutputFileBase().
|
inherited |
Getter for objects that have the 'variable' set to a particular variable Note that users should check whether there are objects using 'hasObjectsForVariable' before calling this routine, because it will throw if there are no objects for this variable.
Definition at line 640 of file MooseObjectWarehouseBase.h.
|
protected |
A helper method for extracting objects from the various storage containers.
|
inherited |
Definition at line 562 of file MooseObjectWarehouseBase.h.
|
inherited |
Definition at line 551 of file MooseObjectWarehouseBase.h.
Referenced by Moose::checkArrayMaterialPropertySize(), AuxiliarySystem::computeElementalVarsHelper(), NonlinearSystemBase::computeJacobianInternal(), AuxiliarySystem::computeMortarNodalVars(), AuxiliarySystem::computeNodalVarsHelper(), NonlinearThread::computeOnElement(), ComputeFullJacobianThread::computeOnInternalFace(), ComputeJacobianThread::computeOnInternalFace(), ComputeResidualAndJacobianThread::computeOnInternalFace(), ComputeResidualThread::computeOnInternalFace(), ComputeFullJacobianThread::computeOnInternalFace(), NonlinearSystemBase::computeResidualAndJacobianInternal(), NonlinearSystemBase::computeResidualInternal(), BlockRestrictable::hasBlockMaterialPropertyHelper(), NonlinearSystemBase::needInternalNeighborSideMaterial(), ComputeIndicatorThread::onElement(), ComputeMarkerThread::onElement(), ComputeMaterialsObjectThread::onElement(), ProjectMaterialProperties::onElement(), ComputeIndicatorThread::onInternalSide(), ComputeNodalKernelJacobiansThread::onNode(), ComputeNodalKernelsThread::onNode(), ComputeFVInitialConditionThread::operator()(), ComputeInitialConditionThread::operator()(), ComputeJacobianBlocksThread::postInternalSide(), FEProblemBase::prepareMaterials(), ComputeDiracThread::printBlockExecutionInformation(), ComputeIndicatorThread::printBlockExecutionInformation(), ComputeMarkerThread::printBlockExecutionInformation(), NonlinearThread::printBlockExecutionInformation(), FEProblemBase::reinitMaterials(), MooseObjectWarehouseBase< T >::updateBlockFEVariableCoupledVectorTagDependency(), MooseObjectWarehouseBase< T >::updateBlockMatPropDependency(), and MooseObjectWarehouseBase< T >::updateBlockVariableDependency().
|
inherited |
Definition at line 598 of file MooseObjectWarehouseBase.h.
|
inherited |
Definition at line 591 of file MooseObjectWarehouseBase.h.
Referenced by AuxiliarySystem::computeElementalVarsHelper(), NonlinearSystemBase::computeJacobianBlocks(), NonlinearSystemBase::computeJacobianInternal(), AuxiliarySystem::computeMortarNodalVars(), NonlinearSystemBase::computeNodalBCsJacobian(), NonlinearSystemBase::computeNodalBCsResidual(), NonlinearSystemBase::computeNodalBCsResidualAndJacobian(), AuxiliarySystem::computeNodalVarsHelper(), ComputeFullJacobianThread::computeOnBoundary(), ComputeFullJacobianThread::computeOnInterface(), NonlinearSystemBase::computeResidualAndJacobianInternal(), NonlinearSystemBase::computeResidualInternal(), BoundaryRestrictable::hasBoundaryMaterialPropertyHelper(), NonlinearSystemBase::needBoundaryMaterialOnSide(), FEProblemBase::needInterfaceMaterialOnSide(), NonlinearSystemBase::needInterfaceMaterialOnSide(), ComputeMaterialsObjectThread::onBoundary(), NonlinearThread::onBoundary(), NonlinearThread::onExternalSide(), ComputeMaterialsObjectThread::onInterface(), NonlinearThread::onInterface(), ComputeBoundaryInitialConditionThread::onNode(), ComputeNodalKernelBCJacobiansThread::onNode(), ComputeNodalKernelBcsThread::onNode(), NonlinearThread::printBoundaryExecutionInformation(), ComputeNodalKernelBCJacobiansThread::printGeneralExecutionInformation(), FEProblemBase::reinitMaterialsBoundary(), FEProblemBase::reinitMaterialsInterface(), NonlinearSystemBase::setInitialSolution(), MooseObjectWarehouseBase< T >::updateBoundaryFEVariableCoupledVectorTagDependency(), MooseObjectWarehouseBase< T >::updateBoundaryMatPropDependency(), MooseObjectWarehouseBase< T >::updateBoundaryMatPropDependency(), MooseObjectWarehouseBase< T >::updateBoundaryVariableDependency(), and MooseObjectWarehouseBase< T >::updateBoundaryVariableDependency().
|
inherited |
Convenience functions for checking/getting specific objects.
Definition at line 607 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::hasConvergence(), FEProblemBase::hasFunction(), and FEProblemBase::hasMultiApp().
|
inherited |
Definition at line 495 of file MooseObjectWarehouseBase.h.
Referenced by NonlinearEigenSystem::checkIntegrity(), NonlinearSystemBase::checkKernelCoverage(), NonlinearSystemBase::computeDamping(), NonlinearSystemBase::computeDiracContributions(), FEProblemBase::computeIndicators(), FEProblemBase::computeMarkers(), NonlinearSystemBase::computeNodalBCsJacobian(), NonlinearSystemBase::computeNodalBCsResidual(), NonlinearSystemBase::computeNodalBCsResidualAndJacobian(), NonlinearSystemBase::computeResidualAndJacobianInternal(), NonlinearSystemBase::computeResidualInternal(), NonlinearSystemBase::computeScalarKernelsJacobians(), AuxiliarySystem::computeScalarVars(), NonlinearSystemBase::containsTimeKernel(), FEProblemBase::execMultiAppTransfers(), ConstraintWarehouse::hasActiveNodalConstraints(), FEProblemBase::hasMultiApps(), FEProblemBase::hasMultiApps(), ElementSubdomainModifierBase::modify(), NonlinearSystemBase::needBoundaryMaterialOnSide(), ComputeNodalKernelBcsThread::printGeneralExecutionInformation(), ComputeNodalKernelJacobiansThread::printGeneralExecutionInformation(), ComputeNodalKernelsThread::printGeneralExecutionInformation(), FEProblemBase::projectInitialConditionOnCustomRange(), FEProblemBase::projectSolution(), FEProblemBase::timestepSetup(), MooseObjectWarehouseBase< T >::updateFEVariableCoupledVectorTagDependency(), MooseObjectWarehouseBase< T >::updateMatPropDependency(), and MooseObjectWarehouseBase< T >::updateVariableDependency().
|
inherited |
Methods for checking/getting variable kernels for a variable and SubdomainID.
Definition at line 132 of file MooseObjectWarehouse.h.
Referenced by ComputeFullJacobianThread::computeOnElement().
|
inherited |
Definition at line 403 of file MooseObjectWarehouseBase.h.
|
inherited |
Definition at line 584 of file MooseObjectWarehouseBase.h.
|
protectedinherited |
Helper for determining whether we have boundary objects.
Definition at line 571 of file MooseObjectWarehouseBase.h.
Referenced by MooseObjectWarehouseBase< T >::hasActiveBoundaryObjects(), and MooseObjectWarehouseBase< T >::hasBoundaryObjects().
|
inline |
Definition at line 92 of file ExecuteMooseObjectWarehouse.h.
|
inherited |
Convenience functions for determining if objects exist.
Definition at line 487 of file MooseObjectWarehouseBase.h.
Referenced by NonlinearSystemBase::setInitialSolution().
|
inherited |
Definition at line 503 of file MooseObjectWarehouseBase.h.
Referenced by MooseObjectWarehouseBase< T >::hasObjectsForVariableAndBlocks().
|
inherited |
Whether there are objects for this variable and the set of blocks passed.
| var_name | name of the variable |
| blocks | blocks to consider |
| blocks_covered | subset of blocks for which there is an object |
Definition at line 512 of file MooseObjectWarehouseBase.h.
|
inherited |
Checks for whether this warehouse has objects for a given variable.
Definition at line 124 of file MooseObjectWarehouse.h.
Referenced by ExplicitTimeIntegrator::initialSetup().
|
virtualinherited |
Convenience methods for calling object setup methods.
Reimplemented in MaterialWarehouse.
Definition at line 156 of file MooseObjectWarehouse.h.
Referenced by DumpObjectsProblem::initialSetup(), AuxiliarySystem::initialSetup(), NonlinearSystemBase::initialSetup(), and MaterialWarehouse::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 |
| MooseObjectWarehouse< T > & ExecuteMooseObjectWarehouse< T >::operator[] | ( | ExecFlagType | exec_flag | ) |
Definition at line 137 of file ExecuteMooseObjectWarehouse.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.
|
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 305 of file MooseObjectWarehouseBase.h.
Referenced by 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 908 of file MooseObjectWarehouseBase.h.
Referenced by MooseObjectWarehouseBase< T >::sort(), and MaterialWarehouse::sort().
|
inherited |
Populates a set of covered subdomains and the associated variable names.
Definition at line 879 of file MooseObjectWarehouseBase.h.
Referenced by NonlinearSystemBase::checkKernelCoverage().
|
virtualinherited |
Reimplemented in MaterialWarehouse.
Definition at line 184 of file MooseObjectWarehouse.h.
|
virtualinherited |
Reimplemented in MaterialWarehouse.
Definition at line 197 of file MooseObjectWarehouse.h.
Referenced by MaterialWarehouse::neighborSubdomainSetup(), MaterialWarehouse::neighborSubdomainSetup(), ComputeIndicatorThread::subdomainChanged(), ComputeMarkerThread::subdomainChanged(), AuxiliarySystem::subdomainSetup(), MaterialWarehouse::subdomainSetup(), NonlinearSystemBase::subdomainSetup(), and MaterialWarehouse::subdomainSetup().
|
virtualinherited |
Reimplemented in MaterialWarehouse.
Definition at line 166 of file MooseObjectWarehouse.h.
Referenced by FEProblemBase::timestepSetup(), AuxiliarySystem::timestepSetup(), NonlinearSystemBase::timestepSetup(), and MaterialWarehouse::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 674 of file MooseObjectWarehouseBase.h.
Referenced by MooseObjectWarehouseBase< T >::updateActive().
|
inherited |
Definition at line 777 of file MooseObjectWarehouseBase.h.
Referenced by ComputeNodalKernelsThread::onNode(), ComputeIndicatorThread::subdomainChanged(), ComputeMaterialsObjectThread::subdomainChanged(), ComputeUserObjectsThread::subdomainChanged(), and NonlinearThread::subdomainChanged().
|
inherited |
Definition at line 824 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::prepareMaterials(), and NonlinearThread::subdomainChanged().
|
inherited |
Definition at line 715 of file MooseObjectWarehouseBase.h.
Referenced by NonlinearThread::subdomainChanged().
|
inherited |
Definition at line 787 of file MooseObjectWarehouseBase.h.
Referenced by ComputeNodalKernelBcsThread::onNode().
|
inherited |
Definition at line 848 of file MooseObjectWarehouseBase.h.
|
inherited |
Definition at line 836 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::prepareMaterials(), and NonlinearThread::subdomainChanged().
|
inherited |
Definition at line 739 of file MooseObjectWarehouseBase.h.
|
inherited |
Definition at line 726 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::prepareMaterials(), and NonlinearThread::subdomainChanged().
|
inherited |
Update FE variable coupleable vector tag vector for all objects, block-restricted objects, and boundary-restricted objects.
Definition at line 767 of file MooseObjectWarehouseBase.h.
|
staticprotectedinherited |
Helper method for updating FE variable coupleable vector tag vector.
Definition at line 797 of file MooseObjectWarehouseBase.h.
Referenced by MooseObjectWarehouseBase< T >::updateBlockFEVariableCoupledVectorTagDependency(), MooseObjectWarehouseBase< T >::updateBoundaryFEVariableCoupledVectorTagDependency(), and MooseObjectWarehouseBase< T >::updateFEVariableCoupledVectorTagDependency().
|
inherited |
Update material property dependency vector.
| producer_only | Only append dependencies of materials producing the needed_mat_props |
Definition at line 813 of file MooseObjectWarehouseBase.h.
Referenced by ComputeDiracThread::subdomainChanged(), ComputeIndicatorThread::subdomainChanged(), and ComputeMarkerThread::subdomainChanged().
|
protectedvirtualinherited |
Helper method for updating material property dependency vector.
Definition at line 861 of file MooseObjectWarehouseBase.h.
Referenced by MaterialWarehouse::updateMatPropDependencyHelper().
|
inherited |
Update variable dependency vector.
Definition at line 706 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::prepareMaterials(), ComputeDiracThread::subdomainChanged(), ComputeIndicatorThread::subdomainChanged(), ComputeMarkerThread::subdomainChanged(), and ComputeMaterialsObjectThread::subdomainChanged().
|
staticprotectedinherited |
Helper method for updating variable dependency vector.
Definition at line 750 of file MooseObjectWarehouseBase.h.
Referenced by MooseObjectWarehouseBase< T >::updateBlockVariableDependency(), MooseObjectWarehouseBase< T >::updateBoundaryVariableDependency(), MooseObjectWarehouseBase< T >::updateBoundaryVariableDependency(), and MooseObjectWarehouseBase< T >::updateVariableDependency().
|
protectedinherited |
Active block restricted objects (THREAD_ID on outer vector)
Definition at line 228 of file MooseObjectWarehouseBase.h.
Referenced by MooseObjectWarehouseBase< T >::addObject(), MooseObjectWarehouseBase< T >::getActiveBlockObjects(), MooseObjectWarehouseBase< T >::getActiveBlockObjects(), MooseObjectWarehouseBase< T >::getActiveBlocks(), MooseObjectWarehouseBase< T >::hasActiveBlockObjects(), MooseObjectWarehouseBase< T >::hasActiveBlockObjects(), MooseObjectWarehouseBase< T >::subdomainsCovered(), and MooseObjectWarehouseBase< T >::updateActive().
|
protectedinherited |
Active boundary restricted objects (THREAD_ID on outer vector)
Definition at line 234 of file MooseObjectWarehouseBase.h.
Referenced by MooseObjectWarehouseBase< T >::addObject(), MooseObjectWarehouseBase< T >::getActiveBoundaryObjects(), MooseObjectWarehouseBase< T >::getActiveBoundaryObjects(), MooseObjectWarehouseBase< T >::hasActiveBoundaryObjects(), MooseObjectWarehouseBase< T >::hasActiveBoundaryObjects(), MooseObjectWarehouseBase< T >::updateActive(), MooseObjectWarehouseBase< T >::updateBoundaryMatPropDependency(), and MooseObjectWarehouseBase< T >::updateBoundaryVariableDependency().
|
protectedinherited |
All active objects (THREAD_ID on outer vector)
Definition at line 222 of file MooseObjectWarehouseBase.h.
Referenced by MooseObjectWarehouseBase< T >::activeObjectsToFormattedString(), MooseObjectWarehouseBase< T >::addObject(), MooseObjectWarehouseBase< T >::getActiveObject(), MooseObjectWarehouseBase< T >::getActiveObjects(), MooseObjectWarehouseBase< T >::hasActiveObject(), MooseObjectWarehouseBase< T >::hasActiveObjects(), ConstraintWarehouse::residualEnd(), MooseObjectWarehouseBase< T >::subdomainsCovered(), MooseObjectWarehouseBase< T >::updateActive(), MooseObjectWarehouseBase< T >::updateFEVariableCoupledVectorTagDependency(), MooseObjectWarehouseBase< T >::updateMatPropDependency(), and MooseObjectWarehouseBase< T >::updateVariableDependency().
|
protectedinherited |
Definition at line 225 of file MooseObjectWarehouseBase.h.
Referenced by MooseObjectWarehouseBase< T >::addObject(), MooseObjectWarehouseBase< T >::getBlockObjects(), MooseObjectWarehouseBase< T >::getBlockObjects(), MooseObjectWarehouseBase< T >::sort(), MaterialWarehouse::sort(), and MooseObjectWarehouseBase< T >::updateActive().
|
protectedinherited |
Definition at line 231 of file MooseObjectWarehouseBase.h.
Referenced by MooseObjectWarehouseBase< T >::addObject(), MooseObjectWarehouseBase< T >::getBoundaryObjects(), MooseObjectWarehouseBase< T >::getBoundaryObjects(), MooseObjectWarehouseBase< T >::hasBoundaryObjects(), MooseObjectWarehouseBase< T >::hasBoundaryObjects(), MooseObjectWarehouseBase< T >::sort(), MaterialWarehouse::sort(), and MooseObjectWarehouseBase< T >::updateActive().
|
protectedinherited |
Storage container for the ALL pointers (THREAD_ID on outer vector)
Definition at line 219 of file MooseObjectWarehouseBase.h.
Referenced by MooseObjectWarehouseBase< T >::addObject(), MooseObjectWarehouseBase< T >::getObject(), MooseObjectWarehouseBase< T >::getObjects(), MooseObjectWarehouseBase< T >::hasObjects(), MooseObjectWarehouseBase< T >::size(), MooseObjectWarehouseBase< T >::sort(), MaterialWarehouse::sort(), and MooseObjectWarehouseBase< T >::updateActive().
|
protectedinherited |
All objects with a certain variable selected, as the 'variable' parameter.
Definition at line 237 of file MooseObjectWarehouseBase.h.
Referenced by MooseObjectWarehouseBase< T >::addObject(), MooseObjectWarehouseBase< T >::getObjectsForVariable(), MooseObjectWarehouseBase< T >::hasObjectsForVariable(), and MooseObjectWarehouseBase< T >::hasObjectsForVariableAndBlocks().
|
protected |
|
protectedinherited |
Convenience member storing the number of threads used for storage (1 or libMesh::n_threads)
Definition at line 216 of file MooseObjectWarehouseBase.h.
Referenced by MooseObjectWarehouseBase< T >::checkThreadID(), and MooseObjectWarehouseBase< T >::numThreads().
|
protectedinherited |
Variable based storage.
Definition at line 87 of file MooseObjectWarehouse.h.