A storage container for MooseObjects that inherit from SetupInterface. More...
#include <ComputeDiracThread.h>
Public Member Functions | |
| MooseObjectWarehouse (bool threaded=true) | |
| Constructor. More... | |
| virtual void | addObject (std::shared_ptr< T > object, THREAD_ID tid=0, bool recurse=true) override |
| Adds an object to the storage structure. More... | |
| bool | hasVariableObjects (unsigned int variable_id, THREAD_ID tid=0) const |
| Checks for whether this warehouse has objects for a given variable. More... | |
| virtual void | updateActive (THREAD_ID tid=0) override |
| Update the active status of Kernels. More... | |
| unsigned int | size (THREAD_ID tid=0) const |
| Return how many kernels we store in the current warehouse. More... | |
| 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. More... | |
| std::set< SubdomainID > | getActiveBlocks (THREAD_ID tid=0) const |
| Return a set of active SubdomainsIDs. More... | |
| 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. More... | |
| void | sort (THREAD_ID tid=0) |
| Sort the objects using the DependencyResolver. 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... | |
| 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 |
| virtual void | jacobianSetup (THREAD_ID tid=0) const |
| virtual void | residualSetup (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 | 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 (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 | 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. More... | |
| 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. More... | |
| 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 | |
| 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. 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... | |
Protected Attributes | |
| 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... | |
| 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. More... | |
A storage container for MooseObjects that inherit from SetupInterface.
Objects that inherit from SetupInterface have various functions (e.g., initialSetup). This class provides convenience functions for looping over all active objects stored in the warehouse and calling the setup methods.
Definition at line 22 of file ComputeDiracThread.h.
| MooseObjectWarehouse< T >::MooseObjectWarehouse | ( | bool | threaded = true | ) |
Constructor.
| threaded | When true (default) threaded storage is enabled. |
Definition at line 92 of file MooseObjectWarehouse.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 874 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 |
| tid | The thread ID (default is 0) |
| recurse | Whether or not to build recusive warehouses (typically for Kernels) |
Reimplemented from MooseObjectWarehouseBase< T >.
Reimplemented in ExecuteMooseObjectWarehouse< T >, ExecuteMooseObjectWarehouse< TransientMultiApp >, ExecuteMooseObjectWarehouse< AuxKernelTempl >, ExecuteMooseObjectWarehouse< AuxScalarKernel >, ExecuteMooseObjectWarehouse< AuxKernelBase >, ExecuteMooseObjectWarehouse< MultiApp >, ExecuteMooseObjectWarehouse< Control >, ExecuteMooseObjectWarehouse< Transfer >, and ConstraintWarehouse.
Definition at line 99 of file MooseObjectWarehouse.h.
Referenced by NonlinearSystemBase::addBoundaryCondition(), FEProblemBase::addConvergence(), NonlinearSystemBase::addDamper(), NonlinearSystemBase::addDGKernel(), NonlinearSystemBase::addDiracKernel(), FEProblemBase::addFunction(), FEProblemBase::addFunctorMaterial(), NonlinearSystemBase::addHDGKernel(), FEProblemBase::addIndicator(), NonlinearSystemBase::addInterfaceKernel(), MooseEigenSystem::addKernel(), NonlinearSystemBase::addKernel(), FEProblemBase::addMarker(), FEProblemBase::addMaterialHelper(), FEProblemBase::addMeshDivision(), NonlinearSystemBase::addNodalKernel(), ConstraintWarehouse::addObject(), ExecuteMooseObjectWarehouse< Transfer >::addObject(), MaterialWarehouse::addObjects(), NonlinearSystemBase::addScalarKernel(), and FEProblemBase::checkNonlocalCoupling().
|
inlineprotectedinherited |
Calls assert on thread id.
Definition at line 905 of file MooseObjectWarehouseBase.h.
|
virtual |
Definition at line 176 of file MooseObjectWarehouse.h.
Referenced by AuxiliarySystem::customSetup(), NonlinearSystemBase::customSetup(), and FEProblemBase::customSetup().
|
inlineinherited |
Definition at line 461 of file MooseObjectWarehouseBase.h.
Referenced by MaterialPropertyInterface::buildRequiredMaterials(), FEProblemBase::checkProblemIntegrity(), NonlinearThread::computeOnElement(), ComputeResidualThread::computeOnInternalFace(), ComputeFullJacobianThread::computeOnInternalFace(), ComputeResidualAndJacobianThread::computeOnInternalFace(), NonlinearThread::computeOnInternalFace(), FEProblemBase::getFVMatsAndDependencies(), BlockRestrictable::hasBlockMaterialPropertyHelper(), NonlinearSystemBase::needInternalNeighborSideMaterial(), ComputeMarkerThread::onElement(), ComputeMaterialsObjectThread::onElement(), ComputeIndicatorThread::onElement(), ComputeIndicatorThread::onInternalSide(), ComputeNodalKernelsThread::onNode(), ComputeNodalKernelJacobiansThread::onNode(), ComputeFVInitialConditionThread::operator()(), ComputeInitialConditionThread::operator()(), ComputeMarkerThread::printBlockExecutionInformation(), ComputeDiracThread::printBlockExecutionInformation(), ComputeIndicatorThread::printBlockExecutionInformation(), FEProblemBase::reinitMaterials(), and Moose::Mortar::setupMortarMaterials().
|
inherited |
Definition at line 469 of file MooseObjectWarehouseBase.h.
|
inherited |
Return a set of active SubdomainsIDs.
Definition at line 625 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::checkProblemIntegrity().
|
inlineinherited |
Definition at line 442 of file MooseObjectWarehouseBase.h.
Referenced by NonlinearSystemBase::computeJacobianBlocks(), AuxiliarySystem::computeMortarNodalVars(), NonlinearSystemBase::computeNodalBCsJacobian(), NonlinearSystemBase::computeNodalBCsResidual(), NonlinearSystemBase::computeNodalBCsResidualAndJacobian(), ComputeFullJacobianThread::computeOnBoundary(), NonlinearThread::computeOnBoundary(), ComputeFullJacobianThread::computeOnInterface(), NonlinearThread::computeOnInterface(), BoundaryRestrictable::hasBoundaryMaterialPropertyHelper(), NonlinearSystemBase::needBoundaryMaterialOnSide(), NonlinearSystemBase::needInterfaceMaterialOnSide(), ComputeMaterialsObjectThread::onBoundary(), ComputeMaterialsObjectThread::onInterface(), ComputeBoundaryInitialConditionThread::onNode(), ComputeNodalKernelBcsThread::onNode(), ComputeNodalKernelBCJacobiansThread::onNode(), FEProblemBase::reinitMaterialsBoundary(), FEProblemBase::reinitMaterialsInterface(), and NonlinearSystemBase::setInitialSolution().
|
inherited |
Definition at line 450 of file MooseObjectWarehouseBase.h.
|
inherited |
Definition at line 606 of file MooseObjectWarehouseBase.h.
Referenced by DerivativeParsedMaterialHelperTempl< is_ad >::assembleDerivatives(), FEProblemBase::getConvergence(), FEProblemBase::getFunction(), FEProblemBase::getKokkosFunction(), 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 434 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::execTransfers(), FEProblemBase::finalizeMultiApps(), FEProblemBase::finishMultiAppStep(), ConstraintWarehouse::getActiveNodalConstraints(), FEProblemBase::getConvergenceObjects(), AuxiliarySystem::getDependObjects(), FEProblemBase::getTransfers(), FEProblemBase::incrementMultiAppTStep(), FEProblemBase::initialSetup(), NonlinearSystemBase::needBoundaryMaterialOnSide(), ComputeElemDampingThread::onElement(), ComputeDiracThread::onElement(), ComputeNodalDampingThread::onNode(), FEProblemBase::postExecute(), FEProblemBase::projectInitialConditionOnCustomRange(), FEProblemBase::projectSolution(), FEProblemBase::restoreMultiApps(), and AuxiliarySystem::setScalarVariableCoupleableTags().
| const std::vector< std::shared_ptr< T > > & MooseObjectWarehouse< T >::getActiveVariableBlockObjects | ( | unsigned int | variable_id, |
| SubdomainID | block_id, | ||
| THREAD_ID | tid = 0 |
||
| ) | const |
Definition at line 143 of file MooseObjectWarehouse.h.
Referenced by ComputeFullJacobianThread::computeOnElement().
|
inlineinherited |
Definition at line 415 of file MooseObjectWarehouseBase.h.
Referenced by MaterialPropertyDebugOutput::printMaterialMap().
|
inherited |
Definition at line 423 of file MooseObjectWarehouseBase.h.
|
inlineinherited |
Definition at line 388 of file MooseObjectWarehouseBase.h.
Referenced by ComputeFullJacobianThread::computeOnBoundary(), and MaterialPropertyDebugOutput::printMaterialMap().
|
inherited |
Definition at line 404 of file MooseObjectWarehouseBase.h.
|
inherited |
Definition at line 595 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 380 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::checkNonlocalCoupling(), MooseApp::errorCheck(), MooseObjectTagWarehouse< DiracKernelBase >::getMatrixTagObjectWarehouse(), MooseObjectTagWarehouse< DiracKernelBase >::getMatrixTagsObjectWarehouse(), MooseObjectTagWarehouse< DiracKernelBase >::getVectorTagObjectWarehouse(), MooseObjectTagWarehouse< DiracKernelBase >::getVectorTagsObjectWarehouse(), ConsoleUtils::outputExecutionInformation(), BlockRestrictionDebugOutput::printBlockRestrictionMap(), FEProblemBase::setActiveMaterialProperties(), and FEProblemBase::setNonlocalCouplingMatrix().
|
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 617 of file MooseObjectWarehouseBase.h.
|
inherited |
Definition at line 544 of file MooseObjectWarehouseBase.h.
Referenced by AuxiliarySystem::computeElementalVarsHelper(), NonlinearSystemBase::computeJacobianInternal(), AuxiliarySystem::computeMortarNodalVars(), AuxiliarySystem::computeNodalVarsHelper(), NonlinearThread::computeOnElement(), ComputeResidualThread::computeOnInternalFace(), ComputeFullJacobianThread::computeOnInternalFace(), ComputeResidualAndJacobianThread::computeOnInternalFace(), ComputeJacobianThread::computeOnInternalFace(), NonlinearSystemBase::computeResidualInternal(), BlockRestrictable::hasBlockMaterialPropertyHelper(), NonlinearSystemBase::needInternalNeighborSideMaterial(), ComputeMarkerThread::onElement(), ComputeIndicatorThread::onElement(), ComputeMaterialsObjectThread::onElement(), ProjectMaterialProperties::onElement(), ComputeIndicatorThread::onInternalSide(), ComputeNodalKernelsThread::onNode(), ComputeNodalKernelJacobiansThread::onNode(), ComputeFVInitialConditionThread::operator()(), ComputeInitialConditionThread::operator()(), ComputeJacobianBlocksThread::postInternalSide(), FEProblemBase::prepareMaterials(), ComputeMarkerThread::printBlockExecutionInformation(), ComputeDiracThread::printBlockExecutionInformation(), ComputeIndicatorThread::printBlockExecutionInformation(), NonlinearThread::printBlockExecutionInformation(), FEProblemBase::reinitMaterials(), and NonlinearThread::subdomainChanged().
|
inherited |
Definition at line 555 of file MooseObjectWarehouseBase.h.
|
inherited |
Definition at line 564 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::computeResidualInternal(), BoundaryRestrictable::hasBoundaryMaterialPropertyHelper(), NonlinearSystemBase::needBoundaryMaterialOnSide(), NonlinearSystemBase::needInterfaceMaterialOnSide(), FEProblemBase::needInterfaceMaterialOnSide(), ComputeMaterialsObjectThread::onBoundary(), NonlinearThread::onBoundary(), NonlinearThread::onExternalSide(), 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 575 of file MooseObjectWarehouseBase.h.
|
inherited |
Convenience functions for checking/getting specific objects.
Definition at line 584 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::hasConvergence(), FEProblemBase::hasFunction(), and FEProblemBase::hasMultiApp().
|
inherited |
Definition at line 488 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::computeResidualInternal(), NonlinearSystemBase::computeScalarKernelsJacobians(), AuxiliarySystem::computeScalarVars(), NonlinearSystemBase::containsTimeKernel(), FEProblemBase::execMultiAppTransfers(), ConstraintWarehouse::hasActiveNodalConstraints(), FEProblemBase::hasMultiApps(), FEProblemBase::initialSetup(), ElementSubdomainModifierBase::modify(), NonlinearSystemBase::needBoundaryMaterialOnSide(), ComputeNodalKernelBcsThread::printGeneralExecutionInformation(), ComputeNodalKernelsThread::printGeneralExecutionInformation(), ComputeNodalKernelJacobiansThread::printGeneralExecutionInformation(), FEProblemBase::projectInitialConditionOnCustomRange(), FEProblemBase::projectSolution(), and FEProblemBase::timestepSetup().
| bool MooseObjectWarehouse< T >::hasActiveVariableBlockObjects | ( | unsigned int | variable_id, |
| SubdomainID | block_id, | ||
| THREAD_ID | tid = 0 |
||
| ) | const |
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 396 of file MooseObjectWarehouseBase.h.
|
inherited |
Convenience functions for determining if objects exist.
Definition at line 480 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::initialSetup(), and NonlinearSystemBase::setInitialSolution().
|
inherited |
Definition at line 496 of file MooseObjectWarehouseBase.h.
|
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 505 of file MooseObjectWarehouseBase.h.
| bool MooseObjectWarehouse< T >::hasVariableObjects | ( | unsigned int | variable_id, |
| THREAD_ID | tid = 0 |
||
| ) | const |
Checks for whether this warehouse has objects for a given variable.
Definition at line 125 of file MooseObjectWarehouse.h.
Referenced by ExplicitTimeIntegrator::initialSetup().
|
virtual |
Convenience methods for calling object setup methods.
Reimplemented in MaterialWarehouse.
Definition at line 157 of file MooseObjectWarehouse.h.
Referenced by AuxiliarySystem::AuxiliarySystem(), MaterialWarehouse::initialSetup(), DumpObjectsProblem::initialSetup(), NonlinearSystemBase::initialSetup(), and FEProblemBase::initialSetup().
|
virtual |
Reimplemented in ExecuteMooseObjectWarehouse< T >, ExecuteMooseObjectWarehouse< TransientMultiApp >, ExecuteMooseObjectWarehouse< AuxKernelTempl >, ExecuteMooseObjectWarehouse< AuxScalarKernel >, ExecuteMooseObjectWarehouse< AuxKernelBase >, ExecuteMooseObjectWarehouse< MultiApp >, ExecuteMooseObjectWarehouse< Control >, ExecuteMooseObjectWarehouse< Transfer >, and MaterialWarehouse.
Definition at line 207 of file MooseObjectWarehouse.h.
Referenced by FEProblemBase::computeJacobianTags(), FEProblemBase::computeLinearSystemTags(), MaterialWarehouse::jacobianSetup(), and NonlinearSystemBase::jacobianSetup().
|
inlineinherited |
Return the number of threads.
Definition at line 204 of file MooseObjectWarehouseBase.h.
|
virtual |
Reimplemented in ExecuteMooseObjectWarehouse< T >, ExecuteMooseObjectWarehouse< TransientMultiApp >, ExecuteMooseObjectWarehouse< AuxKernelTempl >, ExecuteMooseObjectWarehouse< AuxScalarKernel >, ExecuteMooseObjectWarehouse< AuxKernelBase >, ExecuteMooseObjectWarehouse< MultiApp >, ExecuteMooseObjectWarehouse< Control >, ExecuteMooseObjectWarehouse< Transfer >, and MaterialWarehouse.
Definition at line 216 of file MooseObjectWarehouse.h.
Referenced by FEProblemBase::computeResidualAndJacobian(), FEProblemBase::computeResidualTags(), NonlinearSystemBase::initialSetup(), MaterialWarehouse::residualSetup(), and NonlinearSystemBase::residualSetup().
|
inherited |
Return how many kernels we store in the current warehouse.
Definition at line 298 of file MooseObjectWarehouseBase.h.
Referenced by NonlinearThread::printBlockExecutionInformation().
|
inherited |
Sort the objects using the DependencyResolver.
Definition at line 665 of file MooseObjectWarehouseBase.h.
Referenced by FVInitialConditionWarehouse::initialSetup(), InitialConditionWarehouse::initialSetup(), ScalarInitialConditionWarehouse::initialSetup(), and FEProblemBase::initialSetup().
|
staticprotectedinherited |
Helper method for sorting vectors of objects.
Definition at line 885 of file MooseObjectWarehouseBase.h.
|
inherited |
Populates a set of covered subdomains and the associated variable names.
Definition at line 856 of file MooseObjectWarehouseBase.h.
Referenced by NonlinearSystemBase::checkKernelCoverage().
|
virtual |
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().
|
virtual |
Reimplemented in MaterialWarehouse.
Definition at line 185 of file MooseObjectWarehouse.h.
|
virtual |
Reimplemented in MaterialWarehouse.
Definition at line 167 of file MooseObjectWarehouse.h.
Referenced by MaterialWarehouse::timestepSetup(), AuxiliarySystem::timestepSetup(), NonlinearSystemBase::timestepSetup(), and FEProblemBase::timestepSetup().
|
overridevirtual |
Update the active status of Kernels.
Reimplemented from MooseObjectWarehouseBase< T >.
Reimplemented in ConstraintWarehouse, ExecuteMooseObjectWarehouse< T >, ExecuteMooseObjectWarehouse< TransientMultiApp >, ExecuteMooseObjectWarehouse< AuxKernelTempl >, ExecuteMooseObjectWarehouse< AuxScalarKernel >, ExecuteMooseObjectWarehouse< AuxKernelBase >, ExecuteMooseObjectWarehouse< MultiApp >, ExecuteMooseObjectWarehouse< Control >, ExecuteMooseObjectWarehouse< Transfer >, MaterialWarehouse, MooseObjectTagWarehouse< T >, MooseObjectTagWarehouse< NodalBCBase >, MooseObjectTagWarehouse< ResidualObject >, MooseObjectTagWarehouse< IntegratedBCBase >, MooseObjectTagWarehouse< NodalKernelBase >, MooseObjectTagWarehouse< HDGKernel >, MooseObjectTagWarehouse< KernelBase >, MooseObjectTagWarehouse< DGKernelBase >, MooseObjectTagWarehouse< ScalarKernelBase >, MooseObjectTagWarehouse< InterfaceKernelBase >, and MooseObjectTagWarehouse< DiracKernelBase >.
Definition at line 225 of file MooseObjectWarehouse.h.
Referenced by MooseObjectTagWarehouse< DiracKernelBase >::updateActive(), MaterialWarehouse::updateActive(), ExecuteMooseObjectWarehouse< Transfer >::updateActive(), ConstraintWarehouse::updateActive(), NonlinearSystemBase::updateActive(), and FEProblemBase::updateActiveObjects().
|
staticprotectedinherited |
Helper method for updating active vectors.
Definition at line 651 of file MooseObjectWarehouseBase.h.
|
inherited |
Definition at line 754 of file MooseObjectWarehouseBase.h.
Referenced by ComputeNodalKernelsThread::onNode(), ComputeMaterialsObjectThread::subdomainChanged(), ComputeIndicatorThread::subdomainChanged(), NonlinearThread::subdomainChanged(), and ComputeUserObjectsThread::subdomainChanged().
|
inherited |
Definition at line 801 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::prepareMaterials(), and NonlinearThread::subdomainChanged().
|
inherited |
Definition at line 692 of file MooseObjectWarehouseBase.h.
Referenced by NonlinearThread::subdomainChanged().
|
inherited |
Definition at line 764 of file MooseObjectWarehouseBase.h.
Referenced by ComputeNodalKernelBcsThread::onNode().
|
inherited |
Definition at line 813 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::prepareMaterials(), and NonlinearThread::subdomainChanged().
|
inherited |
Definition at line 825 of file MooseObjectWarehouseBase.h.
|
inherited |
Definition at line 703 of file MooseObjectWarehouseBase.h.
Referenced by FEProblemBase::prepareMaterials(), and NonlinearThread::subdomainChanged().
|
inherited |
Definition at line 716 of file MooseObjectWarehouseBase.h.
|
inherited |
Update FE variable coupleable vector tag vector for all objects, block-restricted objects, and boundary-restricted objects.
Definition at line 744 of file MooseObjectWarehouseBase.h.
|
staticprotectedinherited |
Helper method for updating FE variable coupleable vector tag vector.
Definition at line 774 of file MooseObjectWarehouseBase.h.
|
inherited |
Update material property dependency vector.
| producer_only | Only append dependencies of materials producing the needed_mat_props |
Definition at line 790 of file MooseObjectWarehouseBase.h.
Referenced by ComputeMarkerThread::subdomainChanged(), ComputeIndicatorThread::subdomainChanged(), and ComputeDiracThread::subdomainChanged().
|
protectedvirtualinherited |
Helper method for updating material property dependency vector.
Reimplemented in MaterialWarehouse.
Definition at line 838 of file MooseObjectWarehouseBase.h.
Referenced by MaterialWarehouse::updateMatPropDependencyHelper().
|
inherited |
Update variable dependency vector.
Definition at line 683 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 727 of file MooseObjectWarehouseBase.h.
|
protectedinherited |
Active block restricted objects (THREAD_ID on outer vector)
Definition at line 228 of file MooseObjectWarehouseBase.h.
|
protectedinherited |
Active boundary restricted objects (THREAD_ID on outer vector)
Definition at line 234 of file MooseObjectWarehouseBase.h.
|
protectedinherited |
All active objects (THREAD_ID on outer vector)
Definition at line 222 of file MooseObjectWarehouseBase.h.
|
protectedinherited |
Definition at line 225 of file MooseObjectWarehouseBase.h.
Referenced by MaterialWarehouse::sort().
|
protectedinherited |
Definition at line 231 of file MooseObjectWarehouseBase.h.
Referenced by MaterialWarehouse::sort().
|
protectedinherited |
Storage container for the ALL pointers (THREAD_ID on outer vector)
Definition at line 219 of file MooseObjectWarehouseBase.h.
Referenced by MaterialWarehouse::sort().
|
protectedinherited |
All objects with a certain variable selected, as the 'variable' parameter.
Definition at line 237 of file MooseObjectWarehouseBase.h.
|
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< Indicator >::numThreads().
|
protected |
Variable based storage.
Definition at line 88 of file MooseObjectWarehouse.h.
1.8.14