www.mooseframework.org
Namespaces | Functions
MooseError.h File Reference

Go to the source code of this file.

Namespaces

 moose
 
 moose::internal
 

Functions

template<typename... Args>
void mooseError (Args &&...args)
 Emit an error message with the given stringified, concatenated args and terminate the application. More...
 
std::string moose::internal::mooseMsgFmt (const std::string &msg, const std::string &title, const std::string &color)
 
void moose::internal::mooseErrorRaw (std::string msg, const std::string prefix="")
 
void moose::internal::mooseStreamAll (std::ostringstream &ss)
 
template<typename T , typename... Args>
void moose::internal::mooseStreamAll (std::ostringstream &ss, T &&val, Args &&...args)
 
template<typename S , typename... Args>
void moose::internal::mooseWarningStream (S &oss, Args &&...args)
 
template<typename S , typename... Args>
void moose::internal::mooseInfoStream (S &oss, Args &&...args)
 
template<typename S , typename... Args>
void moose::internal::mooseDeprecatedStream (S &oss, Args &&...args)
 
template<typename... Args>
void mooseWarning (Args &&...args)
 Emit a warning message with the given stringified, concatenated args. More...
 
template<typename... Args>
void mooseDeprecated (Args &&...args)
 Emit a deprecated code/feature message with the given stringified, concatenated args. More...
 
template<typename... Args>
void mooseInfo (Args &&...args)
 Emit an informational message with the given stringified, concatenated args. More...
 

Function Documentation

template<typename... Args>
void mooseDeprecated ( Args &&...  args)
template<typename... Args>
void mooseError ( Args &&...  args)

Emit an error message with the given stringified, concatenated args and terminate the application.

Inside static functions, you will need to explicitly scope your mooseError call - i.e. do "::mooseError(arg1, ...);".

Definition at line 182 of file MooseError.h.

Referenced by AddVectorPostprocessorAction::act(), CreateExecutionerAction::act(), InitProblemAction::act(), AdaptivityAction::act(), CreateProblemAction::act(), SetupMeshAction::act(), SetupMeshCompleteAction::act(), SetupTimeStepperAction::act(), CreateDisplacedProblemAction::act(), DeprecatedBlockAction::act(), SetupPredictorAction::act(), MaterialDerivativeTestAction::act(), AddOutputAction::act(), AddAuxVariableAction::act(), SetupRecoverFileBaseAction::act(), AddPeriodicBCAction::act(), MaterialOutputAction::act(), VariableWarehouse::add(), ActionWarehouse::addActionBlock(), NonlinearSystemBase::addBoundaryCondition(), NonlinearSystemBase::addDamper(), Syntax::addDependency(), InputParameters::addDeprecatedParam(), FunctionParserUtils::addFParserConstants(), InputParameterWarehouse::addInputParameters(), InitialConditionWarehouse::addObject(), ConstraintWarehouse::addObject(), ExecuteMooseObjectWarehouse< T >::addObjectMask(), OutputWarehouse::addOutputFilename(), InputParameters::addParam(), InputParameters::addParamNamesToGroup(), InputParameters::addRequiredParam(), MooseVariableBase::allDofIndices(), Syntax::appendTaskName(), MooseApp::appNameToLibName(), Moose::assemble_matrix(), MultiMooseEnum::assign(), AddPeriodicBCAction::autoTranslationBoundaries(), MooseObjectParameterName::check(), MooseObjectName::check(), InputParameters::checkConsistentType(), MaterialPropertyInterface::checkExecutionStage(), MooseUtils::checkFileReadable(), MooseUtils::checkFileWriteable(), NonlinearEigenSystem::checkIntegrity(), NonlinearSystemBase::checkKernelCoverage(), OutputWarehouse::checkOutputs(), InputParameters::checkParamName(), InputParameters::checkParams(), ActionWarehouse::checkUnsatisfiedActions(), BlockRestrictable::checkVariable(), FunctionPeriodicBoundary::clone(), PenetrationThread::competeInteractions(), CompositeTensorBase< T, U >::CompositeTensorBase(), SplineInterpolationBase::computeCoeffs(), ComputeFullJacobianThread::ComputeFullJacobianThread(), MooseVariable::computeIncrementAtNode(), ComputeJacobianThread::computeJacobian(), NonlinearSystemBase::computeResidualInternal(), SystemBase::copyVars(), Coupleable::Coupleable(), Coupleable::coupled(), Coupleable::coupledGradient(), Coupleable::coupledGradientOld(), Coupleable::coupledGradientOlder(), Coupleable::coupledGradientPreviousNL(), NeighborCoupleable::coupledNeighborGradient(), NeighborCoupleable::coupledNeighborGradientOld(), NeighborCoupleable::coupledNeighborGradientOlder(), NeighborCoupleable::coupledNeighborSecond(), NeighborCoupleable::coupledNeighborSolutionDoFs(), NeighborCoupleable::coupledNeighborSolutionDoFsOld(), NeighborCoupleable::coupledNeighborSolutionDoFsOlder(), NeighborCoupleable::coupledNeighborValueOlder(), Coupleable::coupledNodalValueOlder(), ScalarCoupleable::coupledScalarValueOlder(), Coupleable::coupledSecond(), Coupleable::coupledSecondOld(), Coupleable::coupledSecondOlder(), Coupleable::coupledSecondPreviousNL(), Coupleable::coupledSolutionDoFs(), Coupleable::coupledSolutionDoFsOld(), Coupleable::coupledSolutionDoFsOlder(), Coupleable::coupledValueOlder(), ActionFactory::create(), AppFactory::create(), Factory::create(), DependencyResolverInterface::cyclicDependencyError(), dataLoad(), dataStore(), Restartable::declareRecoverableData(), Restartable::declareRestartableDataWithContext(), InputParameters::defaultCoupledValue(), RestartableDataIO::deserializeRestartableData(), DMMooseFunction(), DMMooseGetEmbedding_Private(), DMSetUp_Moose_Pre(), MooseApp::dynamicAppRegistration(), ColumnMajorMatrix::eigen(), ColumnMajorMatrix::eigenNonsym(), FileRangeBuilder::errorCheck(), SplineInterpolation::errorCheck(), BicubicSplineInterpolation::errorCheck(), Parser::errorCheck(), FunctionParserUtils::evaluate(), evaluate(), GriddedData::evaluateFcn(), MooseApp::executeExecutioner(), MooseApp::executeMeshModifiers(), Parser::extractParams(), FileRangeBuilder::FileRangeBuilder(), RankFourTensor::fillAntisymmetricFromInputVector(), RankFourTensor::fillAntisymmetricIsotropicFromInputVector(), RankFourTensor::fillAxisymmetricRZFromInputVector(), RankTwoTensor::fillFromInputVector(), RankThreeTensor::fillFromInputVector(), RankFourTensor::fillFromInputVector(), RankThreeTensor::fillGeneralFromInputVector(), RankFourTensor::fillGeneralFromInputVector(), RankFourTensor::fillGeneralIsotropicFromInputVector(), MooseEnumBase::fillNames(), RankFourTensor::fillPrincipalFromInputVector(), RankFourTensor::fillSymmetricFromInputVector(), RankFourTensor::fillSymmetricIsotropicEandNuFromInputVector(), RankFourTensor::fillSymmetricIsotropicFromInputVector(), SamplerBase::finalize(), DiracKernelInfo::findPoint(), FormattedTable::FormattedTable(), FunctionPeriodicBoundary::FunctionPeriodicBoundary(), FunctionPeriodicBoundary::get_corresponding_pos(), ActionWarehouse::getAction(), ActionWarehouse::getActionListByName(), MooseObjectWarehouseBase< T >::getActiveObject(), BlockRestrictable::getBlockCoordSystem(), MaterialPropertyInterface::getBlockMaterialProperty(), InputParameters::getCheckedPointerParam(), InputParameterWarehouse::getControllableParameter(), NonlinearEigenSystem::getCurrentNonlinearIterationNumber(), MooseUtils::DelimitedFileReader::getData(), InputParameters::getDefaultPostprocessorValue(), InputParameters::getDescription(), ElementPairLocator::getElemPairInfo(), ElementPairLocator::getElemPairs(), Moose::getExecutablePath(), PenetrationThread::getInfoForFacesWithCommonNodes(), InputParameterWarehouse::getInputParameters(), FormattedTable::getLastData(), LayeredBase::getLayerValue(), MaterialPropertyInterface::getMaterialByName(), MaterialPropertyInterface::getMaterialPropertyOld(), MaterialPropertyInterface::getMaterialPropertyOldByName(), MaterialPropertyInterface::getMaterialPropertyOlder(), MaterialPropertyInterface::getMaterialPropertyOlderByName(), NonlinearEigenSystem::getNthConvergedEigenvalue(), OutputWarehouse::getOutput(), InputParameters::getParamHelper(), Moose::PetscSupport::getPetscKSPNormType(), Moose::PetscSupport::getPetscPCSide(), MaterialData::getProperty(), RankTwoTensor::getRUDecompositionRotation(), ScalarCoupleable::getScalarVar(), SystemBase::getScalarVariable(), PenetrationThread::getSideCornerNodes(), PenetrationThread::getSmoothingEdgeNodesAndWeights(), PenetrationThread::getSmoothingFacesAndWeights(), DependencyResolver< T >::getSortedValuesSets(), FEProblemBase::getUserObject(), ActionFactory::getValidParams(), AppFactory::getValidParams(), Coupleable::getVar(), SystemBase::getVariable(), MooseVariableInterface::gradient(), MooseVariableInterface::gradientOld(), MooseVariableInterface::gradientOlder(), NonlinearSystemBase::hasResidualVector(), Parser::hitCLIFilter(), if(), ImageSampler::ImageSampler(), UpdateDisplacedMeshThread::init(), FunctionPeriodicBoundary::init(), MooseParsedFunctionWrapper::initialize(), BlockRestrictable::initializeBlockRestrictable(), BoundaryRestrictable::initializeBoundaryRestrictable(), Parser::initSyntaxFormatter(), InputParameters::addDeprecatedParam< std::vector< MooseEnum > >(), InputParameters::addParam< std::vector< MooseEnum > >(), LayeredBase::integralValue(), RankTwoTensor::inverse(), Coupleable::isCoupled(), ScalarCoupleable::isCoupledScalar(), LayeredBase::LayeredBase(), MooseApp::libNameToAppName(), MooseApp::loadLibraryAndDependencies(), LockFile::LockFile(), FormattedTable::makeGnuplot(), MaterialOutputAction::materialOutputHelper(), MaterialProperty< Real >::MaterialProperty(), MooseApp::MooseApp(), moose::internal::mooseDeprecatedStream(), MooseParsedFunctionBase::MooseParsedFunctionBase(), mooseSetToZero(), moose::internal::mooseWarningStream(), NeighborMooseVariableInterface::neighborGradient(), NeighborMooseVariableInterface::neighborGradientOld(), NeighborMooseVariableInterface::neighborGradientOlder(), KDTree::neighborSearch(), NeighborMooseVariableInterface::neighborSecond(), NeighborMooseVariableInterface::neighborSecondOld(), NeighborMooseVariableInterface::neighborSecondOlder(), NeighborMooseVariableInterface::neighborSecondPhi(), NeighborMooseVariableInterface::neighborSecondTest(), MooseVariable::nodalValue(), MooseVariable::nodalValueDot(), MooseVariable::nodalValueDotNeighbor(), MooseVariable::nodalValueNeighbor(), MooseVariable::nodalValueOld(), MooseVariable::nodalValueOlder(), MooseVariable::nodalValueOlderNeighbor(), MooseVariable::nodalValueOldNeighbor(), MooseVariable::nodalValuePreviousNL(), MooseVariable::nodalValuePreviousNLNeighbor(), NonlinearEigenSystem::nonlinearSolver(), FlagElementsThread::onElement(), ComputeResidualThread::onElement(), ComputeResidualThread::onInterface(), MooseEnumItem::operator!=(), NearestNodeThread::operator()(), PenetrationThread::operator()(), MooseEnum::operator=(), MaterialProperty< Real >::operator=(), RankTwoTensor::operator=(), InputParameters::operator=(), MooseEnumItem::operator==(), ExecuteMooseObjectWarehouse< T >::operator[](), OutputMapWrapper< OutputData >::operator[](), OrientedBoxInterface::OrientedBoxInterface(), GriddedData::parse(), Parser::parse(), PenetrationLocator::PenetrationLocator(), Moose::PetscSupport::petscSetOptions(), CommandLine::populateInputParams(), MooseUtils::DelimitedFileReader::preprocessLine(), MooseUtils::DelimitedFileReader::processLine(), RankFourTensor::RankFourTensor(), RankThreeTensor::RankThreeTensor(), RankTwoTensor::RankTwoTensor(), MooseUtils::DelimitedFileReader::readColumnData(), RestartableDataIO::readRestartableData(), RestartableDataIO::readRestartableDataHeader(), Factory::reg(), MooseApp::registerRestartableData(), Syntax::registerTaskName(), Assembly::reinitNeighbor(), Factory::reportUnregisteredError(), SystemBase::residualCopy(), SystemBase::residualGhosted(), NonlinearSystemBase::residualVector(), MooseApp::restoreCachedBackup(), Moose::restrictPointToFace(), PenetrationThread::restrictPointToFace(), PenetrationThread::restrictPointToSpecifiedEdgeOfFace(), MaterialPropertyStorage::retrievePropertyId(), NonlinearEigenSystem::RHS(), MooseApp::run(), BicubicSplineInterpolation::sample2ndDerivative(), BicubicSplineInterpolation::sampleDerivative(), ScalarCoupleable::ScalarCoupleable(), CommandLine::search(), MooseVariableInterface::second(), MooseVariableInterface::secondOld(), MooseVariableInterface::secondOlder(), MooseVariableInterface::secondPhi(), MooseVariableInterface::secondPhiFace(), MooseVariableInterface::secondTest(), MooseVariableInterface::secondTestFace(), Adaptivity::setAdaptivityOn(), Assembly::setCoordinateTransformation(), NonlinearSystemBase::setDecomposition(), InputParameters::setDocString(), Parser::setDoubleIndexParameter(), Moose::SlepcSupport::setEigenProblemOptions(), Moose::SlepcSupport::setEigenSolverOptions(), Adaptivity::setErrorEstimator(), NonlinearSystemBase::setMooseKSPNormType(), MooseVariable::setNodalValueNeighbor(), PenetrationLocator::setNormalSmoothingMethod(), Adaptivity::setParam(), NonlinearSystemBase::setPCSide(), NonlinearSystemBase::setPreconditioner(), Parser::setScalarComponentParameter(), Parser::setScalarParameter(), Moose::PetscSupport::setSinglePetscOption(), NonlinearSystem::setupColoringFiniteDifferencedPreconditioner(), NonlinearSystem::setupFiniteDifferencedPreconditioner(), NonlinearEigenSystem::setupFiniteDifferencedPreconditioner(), ImageSampler::setupImageSampler(), SetupMeshAction::setupMesh(), MooseApp::setupOptions(), Parser::setVectorComponentParameter(), Parser::setVectorParameter(), Moose::SlepcSupport::setWhichEigenPairsOptions(), SplineInterpolationBase::spline(), MooseUtils::splitFileName(), NonlinearEigenSystem::stopSolve(), Moose::PetscSupport::storePetscOptions(), Moose::SlepcSupport::storeSlepcEigenProblemOptions(), Moose::PetscSupport::stringify(), Moose::stringToEnum(), Moose::stringToEnum< CoordinateSystemType >(), Moose::stringToEnum< EigenProblemType >(), Moose::stringToEnum< EigenSolveType >(), Moose::stringToEnum< LineSearchType >(), Moose::stringToEnum< MffdType >(), Moose::stringToEnum< QuadratureType >(), Moose::stringToEnum< SolveType >(), Moose::stringToEnum< TimeIntegratorType >(), Moose::stringToEnum< WhichEigenPairs >(), InputParameters::suppressParameter(), RankFourTensor::surfaceFillFromInputVector(), RankTwoTensor::surfaceFillFromInputVector(), RankTwoTensor::syev(), system(), libMesh::DTKInterpolationHelper::transferWithOffset(), TrilinearInterpolation::TrilinearInterpolation(), Coupleable::validateExecutionerType(), MooseParsedFunctionBase::verifyFunction(), ImageSampler::vtkThreshold(), and Parser::walkRaw().

183 {
184  std::ostringstream oss;
185  moose::internal::mooseStreamAll(oss, std::forward<Args>(args)...);
187 }
void mooseStreamAll(std::ostringstream &ss)
Definition: MooseError.C:78
void mooseErrorRaw(std::string msg, const std::string prefix="")
Definition: MooseError.C:34
template<typename... Args>
void mooseInfo ( Args &&...  args)

Emit an informational message with the given stringified, concatenated args.

Definition at line 210 of file MooseError.h.

Referenced by MooseApp::setCheckUnusedFlag().

211 {
212  moose::internal::mooseInfoStream(Moose::out, std::forward<Args>(args)...);
213 }
void mooseInfoStream(S &oss, Args &&...args)
Definition: MooseError.h:145
template<typename... Args>
void mooseWarning ( Args &&...  args)