Go to the source code of this file.
Classes | |
class | libMesh::NumericVector< T > |
class | libMesh::SparseMatrix< T > |
class | Moose::ScopedCommSwapper |
Namespaces | |
libMesh | |
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines for std::strings. | |
Moose | |
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to address this in their environment if C++17 compatibility isn't found. | |
Typedefs | |
template<typename T > | |
using | libMesh::UniquePtr = std::unique_ptr< T > |
using | ExecFlagType = MooseEnumItem |
Functions | |
void | MooseVecView (NumericVector< Number > &vector) |
void | MooseVecView (const NumericVector< Number > &vector) |
void | MooseMatView (SparseMatrix< Number > &mat) |
void | MooseMatView (const SparseMatrix< Number > &mat) |
template<class M , class... Args> | |
std::pair< typename M::iterator, bool > | moose_try_emplace (M &m, const typename M::key_type &k, Args &&... args) |
Function to mirror the behavior of the C++17 std::map::try_emplace() method (no hint). More... | |
bool | Moose::colorConsole () |
Returns whether Console coloring is turned on (default: true). More... | |
bool | Moose::setColorConsole (bool use_color, bool force=false) |
Turns color escape sequences on/off for info written to stdout. More... | |
void | Moose::registerAll (Factory &f, ActionFactory &af, Syntax &s) |
Register objects that are in MOOSE. More... | |
void | Moose::registerObjects (Factory &factory) |
void | Moose::registerObjects (Factory &factory, const std::set< std::string > &obj_labels) |
void | Moose::addActionTypes (Syntax &syntax) |
void | Moose::registerActions (Syntax &syntax, ActionFactory &action_factory) |
Multiple Action class can be associated with a single input file section, in which case all associated Actions will be created and "acted" on when the associated input file section is seen. More... | |
void | Moose::registerActions (Syntax &syntax, ActionFactory &action_factory, const std::set< std::string > &obj_labels) |
void | Moose::associateSyntax (Syntax &syntax, ActionFactory &action_factory) |
void | Moose::setSolverDefaults (FEProblemBase &problem) |
MPI_Comm | Moose::swapLibMeshComm (MPI_Comm new_comm) |
Swap the libMesh MPI communicator out for ours. More... | |
Variables | |
const ExecFlagType | EXEC_NONE |
const ExecFlagType | EXEC_INITIAL |
const ExecFlagType | EXEC_LINEAR |
const ExecFlagType | EXEC_NONLINEAR |
const ExecFlagType | EXEC_POSTCHECK |
const ExecFlagType | EXEC_TIMESTEP_END |
const ExecFlagType | EXEC_TIMESTEP_BEGIN |
const ExecFlagType | EXEC_MULTIAPP_FIXED_POINT_BEGIN |
const ExecFlagType | EXEC_MULTIAPP_FIXED_POINT_END |
const ExecFlagType | EXEC_FINAL |
const ExecFlagType | EXEC_FORCED |
const ExecFlagType | EXEC_FAILED |
const ExecFlagType | EXEC_CUSTOM |
const ExecFlagType | EXEC_SUBDOMAIN |
const ExecFlagType | EXEC_PRE_DISPLACE |
const ExecFlagType | EXEC_SAME_AS_MULTIAPP |
const ExecFlagType | EXEC_PRE_MULTIAPP_SETUP |
const ExecFlagType | EXEC_TRANSFER |
const ExecFlagType | EXEC_PRE_KERNELS |
const ExecFlagType | EXEC_ALWAYS |
static constexpr std::size_t | Moose::dim = LIBMESH_DIM |
This is the dimension of all vector and tensor datastructures used in MOOSE. More... | |
int | Moose::interrupt_signal_number = 0 |
Used by the signal handler to determine if we should write a checkpoint file out at any point during operation. More... | |
bool | Moose::show_trace = true |
Set to true (the default) to print the stack trace with error and warning messages - false to omit it. More... | |
bool | Moose::show_multiple = false |
Set to false (the default) to display an error message only once for each error call code location (as opposed to every time the code is executed). More... | |
PerfLog | Moose::perf_log |
Perflog to be used by applications. More... | |
bool | Moose::_trap_fpe |
Variable indicating whether we will enable FPE trapping for this run. More... | |
bool | Moose::_warnings_are_errors = false |
Variable to toggle any warning into an error (includes deprecated code warnings) More... | |
bool | Moose::_deprecated_is_error = false |
Variable to toggle only deprecated warnings as errors. More... | |
bool | Moose::_throw_on_error = false |
Variable to turn on exceptions during mooseError(), should only be used within MOOSE unit tests or when about to perform threaded operations because exception throwing in threaded regions is safe while aborting is inherently not when singletons are involved (e.g. More... | |
bool | Moose::_throw_on_warning = false |
Variable to turn on exceptions during mooseWarning(), should only be used in MOOSE unit tests. More... | |
ExecFlagEnum | Moose::execute_flags |
Storage for the registered execute flags. More... | |
using ExecFlagType = MooseEnumItem |
std::pair<typename M::iterator, bool> moose_try_emplace | ( | M & | m, |
const typename M::key_type & | k, | ||
Args &&... | args | ||
) |
Function to mirror the behavior of the C++17 std::map::try_emplace() method (no hint).
m | The std::map |
k | The key use to insert the pair |
args | The value to be inserted. This can be a moveable type but won't be moved if the insertion is successful. |
Definition at line 94 of file Moose.h.
Referenced by Adaptivity::getErrorVector(), TableOutput::outputReporter(), TableOutput::outputVectorPostprocessors(), and FEProblemBase::registerRandomInterface().
void MooseMatView | ( | SparseMatrix< Number > & | mat | ) |
void MooseMatView | ( | const SparseMatrix< Number > & | mat | ) |
void MooseVecView | ( | NumericVector< Number > & | vector | ) |
void MooseVecView | ( | const NumericVector< Number > & | vector | ) |
const ExecFlagType EXEC_ALWAYS |
Definition at line 43 of file Moose.C.
Referenced by Moose::ADWrapperFunctor< T >::ADWrapperFunctor(), Moose::FunctorBase< libMesh::VectorValue >::FunctorBase(), Moose::FunctorBase< libMesh::VectorValue >::operator()(), Moose::RawValueFunctor< T >::RawValueFunctor(), FEProblemBase::shouldPrintExecution(), SetupDebugAction::validParams(), FunctorMaterial::validParams(), VectorMagnitudeFunctorMaterialTempl< is_ad >::validParams(), GenericFunctorMaterialTempl< is_ad >::validParams(), GenericFunctorGradientMaterialTempl< is_ad >::validParams(), and GenericVectorFunctorMaterialTempl< is_ad >::validParams().
const ExecFlagType EXEC_CUSTOM |
Definition at line 41 of file Moose.C.
Referenced by EigenExecutionerBase::postExecute(), and DiscreteElementUserObject::validParams().
const ExecFlagType EXEC_FAILED |
Definition at line 40 of file Moose.C.
Referenced by AdvancedOutput::addValidParams(), Output::getDefaultExecFlagEnum(), FixedPointSolve::solveStep(), SetupDebugAction::validParams(), and Console::validParams().
const ExecFlagType EXEC_FINAL |
Definition at line 38 of file Moose.C.
Referenced by Checkpoint::Checkpoint(), Transient::execute(), Steady::execute(), Eigenvalue::execute(), MultiApp::finalize(), Terminator::initialSetup(), CSV::output(), Console::output(), OversampleOutput::outputStep(), Output::outputStep(), EigenExecutionerBase::postExecute(), Checkpoint::shouldOutput(), PerfGraphOutput::validParams(), PropertyReadFile::validParams(), and AdvancedOutput::wantOutput().
const ExecFlagType EXEC_FORCED |
Definition at line 39 of file Moose.C.
Referenced by OversampleOutput::outputStep(), Output::outputStep(), OutputWarehouse::outputStep(), Output::shouldOutput(), TransientMultiApp::solveStep(), and AdvancedOutput::wantOutput().
const ExecFlagType EXEC_INITIAL |
Definition at line 28 of file Moose.C.
Referenced by MultiAppGeneralFieldTransfer::acceptPointInOriginMesh(), ElementIDOutputAction::act(), AddNodalNormalsAction::act(), FEProblemBase::addOutput(), ChangeOverFixedPointPostprocessor::ChangeOverFixedPointPostprocessor(), ChangeOverTimePostprocessor::ChangeOverTimePostprocessor(), Checkpoint::Checkpoint(), MultiAppGeneralFieldTransfer::closestToPosition(), CartesianGridDivision::divisionIndex(), CylindricalGridDivision::divisionIndex(), SphericalGridDivision::divisionIndex(), NearestPositionsDivision::divisionIndex(), PseudoTimestep::execute(), PositionsFunctorValueSampler::execute(), Steady::execute(), Eigenvalue::execute(), EigenProblem::execute(), FEProblemBase::execute(), Control::getExecuteOptions(), Material::getMaterialByName(), MultiAppGeneralFieldNearestLocationTransfer::getNumDivisions(), MultiAppGeneralFieldNearestLocationTransfer::getNumSources(), MaterialOutputAction::getParams(), NumPositions::getValue(), groupUserObjects(), NonlinearEigen::init(), InversePowerMethod::init(), EigenExecutionerBase::init(), DistributedPositions::initialize(), TransformedPositions::initialize(), PositionsFunctorValueSampler::initialize(), IntegralPreservingFunctionIC::initialSetup(), Console::initialSetup(), RandomICBase::initialSetup(), FEProblemBase::initialSetup(), EigenExecutionerBase::normalizeSolution(), FEProblemBase::objectSetupHelper(), ControlOutput::output(), Console::output(), OutputOnWarehouse::OutputOnWarehouse(), OversampleOutput::outputStep(), Output::outputStep(), Transient::preExecute(), ProjectedStatefulMaterialStorageAction::processProperty(), RandomICBase::RandomICBase(), MultiApp::restore(), ExecuteMooseObjectWarehouse< Transfer >::setup(), RandomData::updateSeeds(), JSONOutput::validParams(), ElementQualityChecker::validParams(), JSONFileReader::validParams(), Console::validParams(), AccumulateReporter::validParams(), PseudoTimestep::validParams(), MultiAppPositions::validParams(), MessageFromInput::validParams(), ControlOutput::validParams(), GhostingAux::validParams(), ReporterDebugOutput::validParams(), DOFMapOutput::validParams(), InterfaceQpUserObjectBase::validParams(), MaterialPropertyDebugOutput::validParams(), Exodus::validParams(), CommonOutputAction::validParams(), GhostingUserObject::validParams(), PropertyReadFile::validParams(), Control::validParams(), and Output::validParams().
const ExecFlagType EXEC_LINEAR |
Definition at line 29 of file Moose.C.
Referenced by SetupResidualDebugAction::act(), EigenExecutionerBase::chebyshev(), FEProblemBase::checkExceptionAndStopSolve(), FEProblemBase::computeBounds(), FEProblemBase::computeResidualAndJacobian(), FEProblemBase::computeResidualTags(), FEProblemBase::computeUserObjectsInternal(), Terminator::execute(), FEProblemBase::execute(), CSV::getVectorPostprocessorFileName(), EigenExecutionerBase::init(), Eigenvalue::init(), EigenExecutionerBase::inversePowerIteration(), EigenExecutionerBase::makeBXConsistent(), FEProblemBase::objectSetupHelper(), Console::output(), JSONOutput::outputReporters(), XMLOutput::outputVectorPostprocessors(), PetscOutputInterface::petscLinearOutput(), EigenExecutionerBase::postExecute(), EigenProblem::postScaleEigenVector(), ExecuteMooseObjectWarehouse< Transfer >::residualSetup(), Moose::FunctorBase< libMesh::VectorValue >::residualSetup(), AuxiliarySystem::setPreviousNewtonSolution(), ExecuteMooseObjectWarehouse< Transfer >::setup(), EigenProblem::solve(), NonlinearSystem::stopSolve(), TransformedPositions::validParams(), Console::validParams(), FunctorPositions::validParams(), DistributedPositions::validParams(), SetupInterface::validParams(), PropertyReadFile::validParams(), AuxKernelTempl< Real >::validParams(), and TopResidualDebugOutput::validParams().
const ExecFlagType EXEC_MULTIAPP_FIXED_POINT_BEGIN |
Definition at line 36 of file Moose.C.
Referenced by Transient::computeConstrainedDT(), Transient::execute(), Transient::incrementStepOrReject(), FixedPointSolve::solve(), and FixedPointSolve::solveStep().
const ExecFlagType EXEC_MULTIAPP_FIXED_POINT_END |
Definition at line 34 of file Moose.C.
Referenced by Transient::computeConstrainedDT(), Transient::execute(), Transient::incrementStepOrReject(), and FixedPointSolve::solve().
const ExecFlagType EXEC_NONE |
Definition at line 27 of file Moose.C.
Referenced by FEProblemBase::computePostCheck(), FEProblemBase::execute(), CSV::initialSetup(), FEProblemBase::initialSetup(), OversampleOutput::outputStep(), Output::outputStep(), FEProblemBase::outputStep(), FEProblemBase::resetState(), CSVReaderVectorPostprocessor::validParams(), Positions::validParams(), and Executor::validParams().
const ExecFlagType EXEC_NONLINEAR |
Definition at line 30 of file Moose.C.
Referenced by FEProblemBase::checkExceptionAndStopSolve(), EigenProblem::computeJacobianBlocks(), FEProblemBase::computeJacobianBlocks(), FEProblemBase::computeJacobianTags(), FEProblemBase::computeUserObjectsInternal(), Terminator::execute(), FEProblemBase::execute(), CSV::getVectorPostprocessorFileName(), ExecuteMooseObjectWarehouse< Transfer >::jacobianSetup(), Moose::FunctorBase< libMesh::VectorValue >::jacobianSetup(), FEProblemBase::objectSetupHelper(), Console::output(), JSONOutput::outputReporters(), XMLOutput::outputVectorPostprocessors(), PetscOutputInterface::petscNonlinearOutput(), ExecuteMooseObjectWarehouse< Transfer >::setup(), NonlinearSystem::stopSolve(), Console::validParams(), VariableResidualNormsDebugOutput::validParams(), PropertyReadFile::validParams(), and TopResidualDebugOutput::validParams().
const ExecFlagType EXEC_POSTCHECK |
Definition at line 31 of file Moose.C.
Referenced by FEProblemBase::checkExceptionAndStopSolve(), FEProblemBase::computePostCheck(), and NonlinearSystem::stopSolve().
const ExecFlagType EXEC_PRE_DISPLACE |
Definition at line 44 of file Moose.C.
Referenced by EigenProblem::computeJacobianBlocks(), FEProblemBase::computeJacobianBlocks(), FEProblemBase::computeJacobianTags(), FEProblemBase::computeResidualAndJacobian(), FEProblemBase::computeResidualTags(), and AuxKernelTempl< Real >::validParams().
const ExecFlagType EXEC_PRE_KERNELS |
Definition at line 48 of file Moose.C.
Referenced by NonlinearSystemBase::computeJacobianInternal(), NonlinearSystemBase::computeResidualAndJacobianInternal(), and NonlinearSystemBase::computeResidualInternal().
const ExecFlagType EXEC_PRE_MULTIAPP_SETUP |
Definition at line 46 of file Moose.C.
Referenced by Transient::init(), Steady::init(), Eigenvalue::init(), Control::validParams(), Sampler::validParams(), and MultiApp::validParams().
const ExecFlagType EXEC_SAME_AS_MULTIAPP |
Definition at line 45 of file Moose.C.
Referenced by FEProblemBase::addTransfer(), and MultiAppTransfer::validParams().
const ExecFlagType EXEC_SUBDOMAIN |
Definition at line 42 of file Moose.C.
Referenced by FEProblemBase::execute(), FEProblemBase::objectSetupHelper(), and ExecuteMooseObjectWarehouse< Transfer >::setup().
const ExecFlagType EXEC_TIMESTEP_BEGIN |
Definition at line 33 of file Moose.C.
Referenced by AddNodalNormalsAction::act(), Transient::computeConstrainedDT(), Transient::execute(), FEProblemBase::execute(), TransientMultiApp::finishStep(), Transient::incrementStepOrReject(), FEProblemBase::objectSetupHelper(), ExecuteMooseObjectWarehouse< Transfer >::setup(), FixedPointSolve::solve(), FixedPointSolve::solveStep(), NonlinearEigen::takeStep(), Moose::FunctorBase< libMesh::VectorValue >::timestepSetup(), FEProblemBase::timestepSetup(), ElemSideNeighborLayersTester::validParams(), Console::validParams(), ControlOutput::validParams(), SimulationTimes::validParams(), TransformedPositions::validParams(), DistributedPositions::validParams(), FunctorTimes::validParams(), FunctorPositions::validParams(), ElementUOAux::validParams(), RadialAverage::validParams(), Transfer::validParams(), and MultiApp::validParams().
const ExecFlagType EXEC_TIMESTEP_END |
Definition at line 32 of file Moose.C.
Referenced by SetupResidualDebugAction::act(), Checkpoint::Checkpoint(), Transient::computeConstrainedDT(), Transient::endStep(), PseudoTimestep::execute(), Transient::execute(), Steady::execute(), Eigenvalue::execute(), TransientMultiApp::finishStep(), Control::getExecuteOptions(), MaterialOutputAction::getParams(), Transient::incrementStepOrReject(), NonlinearEigen::init(), ProgressOutput::output(), Console::output(), EigenExecutionerBase::postExecute(), ProjectedStatefulMaterialStorageAction::processProperty(), FixedPointSolve::solve(), FixedPointSolve::solveStep(), TagAuxBase< AuxKernel >::TagAuxBase(), NonlinearEigen::takeStep(), InversePowerMethod::takeStep(), GhostingAux::validParams(), Console::validParams(), AccumulateReporter::validParams(), PseudoTimestep::validParams(), ProgressOutput::validParams(), TagAuxBase< AuxKernel >::validParams(), InterfaceQpUserObjectBase::validParams(), CommonOutputAction::validParams(), Control::validParams(), Output::validParams(), UserObject::validParams(), Checkpoint::validParams(), AuxKernelTempl< Real >::validParams(), and TopResidualDebugOutput::validParams().
const ExecFlagType EXEC_TRANSFER |
Definition at line 47 of file Moose.C.
Referenced by MultiAppConservativeTransfer::adjustTransferredSolution(), MultiAppConservativeTransfer::adjustTransferredSolutionNearestPoint(), MultiAppConservativeTransfer::initialSetup(), MultiAppConservativeTransfer::postExecute(), SetupDebugAction::validParams(), and Postprocessor::validParams().