OOFEM 3.0
Loading...
Searching...
No Matches
logger.h File Reference
#include "oofemenv.h"
#include <cstdio>
#include <string>
#include <mpi.h>

Go to the source code of this file.

Classes

class  oofem::Logger

Namespaces

namespace  oofem

Macros

#define OOFEM_LOG_FATAL(...)
#define OOFEM_LOG_ERROR(...)
#define OOFEM_LOG_WARNING(...)
#define OOFEM_LOG_FORCED(...)
#define OOFEM_LOG_RELEVANT(...)
#define OOFEM_LOG_INFO(...)
#define OOFEM_LOG_DEBUG(...)

Macro Definition Documentation

◆ OOFEM_LOG_DEBUG

#define OOFEM_LOG_DEBUG ( ...)
Value:
oofem_logger.writeLogMsg(Logger :: LOG_LEVEL_DEBUG, __VA_ARGS__)
void writeLogMsg(logLevelType level, const char *format,...)
Writes the normal log message.
Definition logger.C:148

Definition at line 144 of file logger.h.

Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), oofem::NonLinearDynamic::assemble(), oofem::NonLinearStatic::assemble(), oofem::PrescribedDispSlipBCNeumannRC::assemble(), oofem::PrescribedGradientBCNeumann::assemble(), oofem::TransverseReinfConstraint::assemble(), oofem::CompCol::buildInternalStructure(), oofem::DynCompCol::buildInternalStructure(), oofem::DynCompRow::buildInternalStructure(), oofem::PetscSparseMtrx::buildInternalStructure(), oofem::OctreeSpatialLocalizer::buildOctreeDataStructure(), oofem::AdditiveManufacturingProblem::checkProblemConsistency(), oofem::EngngModel::checkProblemConsistency(), oofem::StaggeredProblem::checkProblemConsistency(), oofem::RVEStokesFlow::computeFlux3D(), oofem::DustMaterial::computeQFromPlastVolEps(), oofem::RVEStokesFlow::computeTangent3D(), oofem::NonLinearDynamic::determineConstants(), oofem::VTKExportModule::doOutput(), oofem::HuertaErrorEstimator::estimateError(), oofem::DirectErrorIndicatorRC::estimateMeshDensities(), oofem::Skyline::factorized(), oofem::SkylineUnsym::factorized(), oofem::EngngModel::forceEquationNumbering(), oofem::EngngModel::forceEquationNumbering(), oofem::AbaqusUserMaterial::giveFirstPKStressVector_3d(), oofem::AbaqusUserMaterial::giveRealStressVector_3d(), oofem::DynCompRow::ILUPYourself(), oofem::EngngModel::instanciateYourself(), oofem::DustMaterial::performF1return(), oofem::DruckerPragerPlasticitySM::performRegularReturn(), oofem::DruckerPragerPlasticitySM::performVertexReturn(), oofem::B3Material::predictParametersFrom(), oofem::B3SolidMaterial::predictParametersFrom(), oofem::MPSMaterial::predictParametersFrom(), oofem::DynCompCol::printStatistics(), oofem::NonLinearDynamic::proceedStep(), oofem::NonLinearStatic::proceedStep(), oofem::RefinedMesh::refineMeshGlobally(), oofem::ElementCommunicator::setUpCommunicationMaps(), oofem::FETICommunicator::setUpCommunicationMaps(), oofem::FETISolver::setUpCommunicationMaps(), oofem::DynamicRelaxationSolver::solve(), oofem::FETISolver::solve(), oofem::GJacobi::solve(), oofem::LineSearchNM::solve(), oofem::MKLPardisoSolver::solve(), oofem::PardisoProjectOrgSolver::solve(), oofem::SpoolesSolver::solve(), oofem::StaggeredSolver::solve(), oofem::SuperLUSolver::solve(), oofem::HuertaErrorEstimator::solveRefinedElementProblem(), oofem::HuertaErrorEstimator::solveRefinedPatchProblem(), oofem::HuertaErrorEstimator::solveRefinedWholeProblem(), oofem::EngngModel::solveYourself(), oofem::DIIDynamic::solveYourselfAt(), oofem::FreeWarping::solveYourselfAt(), oofem::LinearStatic::solveYourselfAt(), oofem::NlDEIDynamic::solveYourselfAt(), oofem::Pdelta::solveYourselfAt(), oofem::Communicator::unpackAllData(), oofem::Communicator::unpackAllData(), oofem::FETISolver::unpackSolution(), oofem::NonLinearDynamic::updateComponent(), oofem::NonLinearStatic::updateComponent(), oofem::NonlocalMaterialExtensionInterface::updateDomainBeforeNonlocAverage(), oofem::SUPG::updateElementsForNewInterfacePosition(), oofem::NonLinearDynamic::updateInternalRHS(), oofem::StructuralEngngModel::updateInternalRHS(), oofem::NonLinearStatic::updateLoadVectors(), oofem::NonLinearDynamic::updateMatrix(), and oofem::NonLinearStatic::updateMatrix().

◆ OOFEM_LOG_ERROR

#define OOFEM_LOG_ERROR ( ...)
Value:
oofem_logger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, __func__, __FILE__, __LINE__, __VA_ARGS__)
void writeELogMsg(logLevelType level, const char *_func, const char *_file, int _line, const char *format,...)
Writes extended log message with file and line info.
Definition logger.C:179

Definition at line 138 of file logger.h.

Referenced by oofem::StructuralMaterialEvaluator::checkConsistency(), oofem::UnstructuredGridField::Cell::getInterpolation(), oofem::Domain::giveConnectivityTable(), and oofem::Domain::giveSpatialLocalizer().

◆ OOFEM_LOG_FATAL

#define OOFEM_LOG_FATAL ( ...)
Value:
oofem_logger.writeELogMsg(Logger :: LOG_LEVEL_FATAL, __func__, __FILE__, __LINE__, __VA_ARGS__)

Log reporting macros

Definition at line 137 of file logger.h.

◆ OOFEM_LOG_FORCED

#define OOFEM_LOG_FORCED ( ...)
Value:
oofem_logger.writeLogMsg(Logger :: LOG_LEVEL_FORCED, __VA_ARGS__)

Definition at line 141 of file logger.h.

Referenced by oofem::EngngModel::terminateAnalysis(), and oofem::DummyMonitor::update().

◆ OOFEM_LOG_INFO

#define OOFEM_LOG_INFO ( ...)
Value:
oofem_logger.writeLogMsg(Logger :: LOG_LEVEL_INFO, __VA_ARGS__)

Definition at line 143 of file logger.h.

Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), oofem::CBS::applyIC(), oofem::DGProblem::applyIC(), oofem::MPMProblem::applyIC(), oofem::NonStationaryTransportProblem::applyIC(), oofem::PFEM::applyIC(), oofem::SUPG::applyIC(), oofem::TransientTransportProblem::applyIC(), oofem::Subdivision::assignGlobalNumbersToElements(), oofem::EngngModel::balanceLoad(), oofem::HydrationModel::bintreefindroot(), oofem::Subdivision::RS_Tetra::bisect(), oofem::Subdivision::RS_Triangle::bisect(), oofem::Subdivision::bisectMesh(), oofem::PetscSparseMtrx::buildInternalStructure(), oofem::SymCompCol::buildInternalStructure(), oofem::CylindricalALM::checkConvergence(), oofem::NRSolver::checkConvergence(), oofem::StaggeredSolver::checkConvergenceDofIdArray(), oofem::CompoDamageMat::checkSnapBack(), oofem::TransportGradientNeumann::computeEta(), oofem::HydrationModel::computeHydrationDegreeIncrement(), oofem::MacroLSpace::computeStiffnessMatrix(), oofem::Concrete3::computeStrength(), oofem::TransportGradientDirichlet::computeTangent(), oofem::TransportGradientDirichlet::computeXi(), oofem::DGProblem::constructBoundaryEntities(), oofem::FreemInterface::createInput(), oofem::T3DInterface::createInput(), oofem::Targe2Interface::createInput(), oofem::Subdivision::createMesh(), oofem::CylindricalALM::do_lineSearch(), oofem::LEPlic::doInterfaceRemapping(), oofem::ErrorCheckingExportModule::doOutput(), oofem::HuertaErrorEstimator::estimateError(), oofem::DirectErrorIndicatorRC::estimateMeshDensities(), oofem::HuertaRemeshingCriteria::estimateMeshDensities(), oofem::Subdivision::exchangeSharedEdges(), oofem::Subdivision::exchangeSharedIrregulars(), oofem::SloanGraph::findBestRoot(), oofem::EngngModel::forceEquationNumbering(), oofem::Subdivision::RS_Tetra::generate(), oofem::LWedge::giveInterface(), oofem::Q27Space::giveInterface(), oofem::QSpace::giveInterface(), oofem::QTRSpace::giveInterface(), oofem::QWedge::giveInterface(), oofem::QWedge_ht::giveInterface(), oofem::Wedge_ht::giveInterface(), oofem::MacroLSpace::giveInternalForcesVector(), oofem::MicroMaterial::giveMacroStiffnessMatrix(), oofem::AdditiveManufacturingProblem::giveNextStep(), oofem::CBS::giveNextStep(), oofem::PFEM::giveNextStep(), oofem::StaggeredProblem::giveNextStep(), oofem::SUPG::giveNextStep(), oofem::OctreeSpatialLocalizerT< T > *::giveReport(), oofem::CompCol_ILUPreconditioner::init(), oofem::Natural2GlobalOrdering::init(), oofem::OctreeSpatialLocalizer::init(), oofem::NodalAveragingRecoveryModel::initCommMaps(), oofem::SPRNodalRecoveryModel::initCommMaps(), oofem::ZZNodalRecoveryModel::initCommMaps(), oofem::AdaptiveNonLinearStatic::initializeAdaptive(), oofem::AdaptiveNonLinearStatic::initializeAdaptiveFrom(), oofem::MPMSymbolicTerm::initializeCell(), oofem::Domain::initializeFinish(), oofem::AdditiveManufacturingProblem::initializeFrom(), oofem::DIIDynamic::initializeFrom(), oofem::HydrationModel::initializeFrom(), oofem::HydrationModelInterface::initializeFrom(), oofem::MDM::initializeFrom(), oofem::MicroMaterial::initializeFrom(), oofem::NonLinearDynamic::initializeFrom(), oofem::SolutionbasedShapeFunction::loadProblem(), oofem::TR21_2D_SUPG::LS_PCS_computeVOFFractions(), oofem::HydrationModel::mixedfindroot(), oofem::Subdivision::packIrregularSharedGlobnums(), oofem::Subdivision::packSharedEdges(), oofem::Subdivision::packSharedIrregulars(), oofem::LevelSetPCS::pcs_stage1(), oofem::ConcreteDPM2::performPlasticityReturn(), oofem::LatticePlasticityDamage::performPlasticityReturn(), oofem::PetscSolver::petsc_solve(), oofem::HangingNode::postInitialize(), oofem::CommunicationPacketPool::printInfo(), oofem::SkylineUnsym::printStatistics(), oofem::SparseMtrx::printStatistics(), oofem::SparseMtrx::printYourself(), oofem::NonLinearStatic::proceedStep(), oofem::Skyline::rbmodes(), oofem::LevelSetPCS::redistance(), oofem::HydrationModel::regulafindroot(), oofem::Domain::restoreContext(), oofem::RVEStokesFlowMaterialStatus::RVEStokesFlowMaterialStatus(), oofem::Subdivision::smoothMesh(), oofem::CylindricalALM::solve(), oofem::DynamicRelaxationSolver::solve(), oofem::FETISolver::solve(), oofem::IMLSolver::solve(), oofem::InverseIteration::solve(), oofem::MKLPardisoSolver::solve(), oofem::NRSolver::solve(), oofem::PardisoProjectOrgSolver::solve(), oofem::SLEPcSolver::solve(), oofem::StaggeredSolver::solve(), oofem::SubspaceIteration::solve(), oofem::SuperLUSolver::solve(), oofem::HuertaErrorEstimator::solveRefinedPatchProblem(), oofem::HuertaErrorEstimator::solveRefinedWholeProblem(), oofem::AdditiveManufacturingProblem::solveYourself(), oofem::EigenValueDynamic::solveYourself(), oofem::EngngModel::solveYourself(), oofem::FreeWarping::solveYourself(), oofem::LinearStatic::solveYourself(), oofem::NlDEIDynamic::solveYourself(), oofem::NonLinearDynamic::solveYourself(), oofem::NonLinearStatic::solveYourself(), oofem::StaggeredProblem::solveYourself(), oofem::StaticStructural::solveYourself(), oofem::StructuralMaterialEvaluator::solveYourself(), oofem::CBS::solveYourselfAt(), oofem::DEIDynamic::solveYourselfAt(), oofem::DGProblem::solveYourselfAt(), oofem::DIIDynamic::solveYourselfAt(), oofem::FreeWarping::solveYourselfAt(), oofem::IncrementalLinearStatic::solveYourselfAt(), oofem::LinearStability::solveYourselfAt(), oofem::LinearStatic::solveYourselfAt(), oofem::MPMProblem::solveYourselfAt(), oofem::NLTransientTransportProblem::solveYourselfAt(), oofem::NonLinearDynamic::solveYourselfAt(), oofem::NonStationaryTransportProblem::solveYourselfAt(), oofem::Pdelta::solveYourselfAt(), oofem::PFEM::solveYourselfAt(), oofem::StaticStructural::solveYourselfAt(), oofem::StationaryMPMSProblem::solveYourselfAt(), oofem::StationaryTransportProblem::solveYourselfAt(), oofem::StokesFlow::solveYourselfAt(), oofem::SUPG::solveYourselfAt(), oofem::TestProblem::solveYourselfAt(), oofem::TransientTransportProblem::solveYourselfAt(), oofem::Subdivision::unpackIrregularSharedGlobnums(), oofem::DirectErrorIndicatorRC::unpackSharedDofManLocalDensities(), oofem::DirectErrorIndicatorRC::unpackSharedDofManLocalIndicatorVals(), oofem::Subdivision::unpackSharedEdges(), oofem::Subdivision::unpackSharedIrregulars(), oofem::NonLinearStatic::updateLoadVectors(), oofem::MacroLSpace::updateYourself(), oofem::SparseMtrx::writeToFile(), and oofem::AdditiveManufacturingProblem::~AdditiveManufacturingProblem().

◆ OOFEM_LOG_RELEVANT

#define OOFEM_LOG_RELEVANT ( ...)
Value:
oofem_logger.writeLogMsg(Logger :: LOG_LEVEL_RELEVANT, __VA_ARGS__)

Definition at line 142 of file logger.h.

Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), oofem::RCSDEMaterial::computeStrength(), oofem::RCSDMaterial::computeStrength(), oofem::WallClockLoadBalancerMonitor::decide(), oofem::HuertaErrorEstimator::estimateError(), oofem::ZZErrorEstimator::estimateError(), oofem::AdaptiveNonLinearStatic::initializeAdaptiveFrom(), oofem::AdditiveManufacturingProblem::initializeFrom(), oofem::DGProblem::initializeFrom(), oofem::MPMProblem::initializeFrom(), oofem::EngngModel::initParallel(), oofem::LoadBalancer::migrateLoad(), oofem::LoadBalancer::packMigratingData(), oofem::BSplineInterpolation::postInitialize(), oofem::LoadBalancer::printStatistics(), oofem::NonLinearStatic::proceedStep(), oofem::XfemSolverInterface::propagateXfemInterfaces(), oofem::NodalAveragingRecoveryModel::recoverValues(), oofem::ZZNodalRecoveryModel::recoverValues(), oofem::ElementCommunicator::setUpCommunicationMaps(), oofem::FETISolver::solve(), oofem::FluidMaterialEvaluator::solveYourself(), oofem::AdditiveManufacturingProblem::solveYourselfAt(), oofem::DEIDynamic::solveYourselfAt(), oofem::DIIDynamic::solveYourselfAt(), oofem::FluidStructureProblem::solveYourselfAt(), oofem::IncrementalLinearStatic::solveYourselfAt(), oofem::NlDEIDynamic::solveYourselfAt(), oofem::NLTransientTransportProblem::solveYourselfAt(), oofem::NonLinearDynamic::solveYourselfAt(), oofem::NonStationaryTransportProblem::solveYourselfAt(), oofem::StaggeredProblem::solveYourselfAt(), oofem::StaticStructural::solveYourselfAt(), and oofem::LoadBalancer::unpackMigratingData().

◆ OOFEM_LOG_WARNING

#define OOFEM_LOG_WARNING ( ...)
Value:
oofem_logger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, __func__, __FILE__, __LINE__, __VA_ARGS__)

Definition at line 139 of file logger.h.

Referenced by oofem::brent(), and oofem::LobattoIntegrationRule::giveLineCoordsAndWeights().


This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011