OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
logger.h File Reference
#include "oofemcfg.h"
#include <cstdio>
#include <string>
#include <mpi.h>

Go to the source code of this file.

Classes

class  oofem::Logger
 Logger class used by OOFEM to print information during analysis. More...
 

Namespaces

 oofem
 the oofem namespace is to define a context or scope in which all oofem names are defined.
 

Macros

#define OOFEM_LOG_FATAL(...)   oofem_logger.writeELogMsg(Logger :: LOG_LEVEL_FATAL, __func__, __FILE__, __LINE__, __VA_ARGS__)
 Log reporting macros. More...
 
#define OOFEM_LOG_ERROR(...)   oofem_logger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, __func__, __FILE__, __LINE__, __VA_ARGS__)
 
#define OOFEM_LOG_WARNING(...)   oofem_logger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, __func__, __FILE__, __LINE__, __VA_ARGS__)
 
#define OOFEM_LOG_FORCED(...)   oofem_logger.writeLogMsg(Logger :: LOG_LEVEL_FORCED, __VA_ARGS__)
 
#define OOFEM_LOG_RELEVANT(...)   oofem_logger.writeLogMsg(Logger :: LOG_LEVEL_RELEVANT, __VA_ARGS__)
 
#define OOFEM_LOG_INFO(...)   oofem_logger.writeLogMsg(Logger :: LOG_LEVEL_INFO, __VA_ARGS__)
 
#define OOFEM_LOG_DEBUG(...)   oofem_logger.writeLogMsg(Logger :: LOG_LEVEL_DEBUG, __VA_ARGS__)
 

Macro Definition Documentation

#define OOFEM_LOG_DEBUG (   ...)    oofem_logger.writeLogMsg(Logger :: LOG_LEVEL_DEBUG, __VA_ARGS__)

Definition at line 128 of file logger.h.

Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), oofem::PrescribedGradientBCNeumann::assemble(), oofem::NonLinearDynamic::assemble(), oofem::NonLinearStatic::assemble(), oofem::PetscSparseMtrx::buildInternalStructure(), oofem::DynCompRow::buildInternalStructure(), oofem::DynCompCol::buildInternalStructure(), oofem::CompCol::buildInternalStructure(), oofem::OctreeSpatialLocalizer::buildOctreeDataStructure(), oofem::StaggeredProblem::checkProblemConsistency(), oofem::EngngModel::checkProblemConsistency(), oofem::DustMaterial::computeQFromPlastVolEps(), oofem::NonLinearDynamic::determineConstants(), oofem::VTKExportModule::doOutput(), oofem::HuertaErrorEstimator::estimateError(), oofem::DirectErrorIndicatorRC::estimateMeshDensities(), oofem::SkylineUnsym::factorized(), oofem::Skyline::factorized(), oofem::EngngModel::forceEquationNumbering(), oofem::RVEStokesFlow::giveCharacteristicMatrix(), oofem::AbaqusUserMaterial::giveFirstPKStressVector_3d(), oofem::RVEStokesFlow::giveFluxVector(), 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::FETICommunicator::setUpCommunicationMaps(), oofem::FETISolver::setUpCommunicationMaps(), oofem::ElementCommunicator::setUpCommunicationMaps(), oofem::MKLPardisoSolver::solve(), oofem::DynamicRelaxationSolver::solve(), oofem::PardisoProjectOrgSolver::solve(), oofem::GJacobi::solve(), oofem::LineSearchNM::solve(), oofem::SpoolesSolver::solve(), oofem::FETISolver::solve(), oofem::StaggeredSolver::solve(), oofem::NRSolver::solve(), oofem::HuertaErrorEstimator::solveRefinedElementProblem(), oofem::HuertaErrorEstimator::solveRefinedPatchProblem(), oofem::HuertaErrorEstimator::solveRefinedWholeProblem(), oofem::EngngModel::solveYourself(), oofem::LinearStatic::solveYourselfAt(), oofem::FreeWarping::solveYourselfAt(), oofem::DIIDynamic::solveYourselfAt(), oofem::NlDEIDynamic::solveYourselfAt(), oofem::Communicator::unpackAllData(), oofem::FETISolver::unpackSolution(), oofem::NonLinearDynamic::updateComponent(), oofem::NonLinearStatic::updateComponent(), oofem::NonlocalMaterialExtensionInterface::updateDomainBeforeNonlocAverage(), oofem::SUPG::updateElementsForNewInterfacePosition(), and oofem::NonLinearStatic::updateLoadVectors().

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

Log reporting macros.

Definition at line 121 of file logger.h.

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

Definition at line 125 of file logger.h.

Referenced by oofem::EngngModel::terminateAnalysis().

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

Definition at line 127 of file logger.h.

Referenced by oofem::AdaptiveNonLinearStatic::adaptiveRemap(), oofem::TransientTransportProblem::applyIC(), oofem::SUPG::applyIC(), oofem::NonStationaryTransportProblem::applyIC(), oofem::CBS::applyIC(), oofem::PFEM::applyIC(), oofem::Subdivision::assignGlobalNumbersToElements(), oofem::EngngModel::balanceLoad(), oofem::HydrationModel::bintreefindroot(), oofem::Subdivision::RS_Triangle::bisect(), oofem::Subdivision::RS_Tetra::bisect(), oofem::Subdivision::bisectMesh(), oofem::PetscSparseMtrx::buildInternalStructure(), oofem::SymCompCol::buildInternalStructure(), oofem::NRSolver::checkConvergence(), oofem::CylindricalALM::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::Targe2Interface::createInput(), oofem::FreemInterface::createInput(), oofem::T3DInterface::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::Q27Space::giveInterface(), oofem::LWedge::giveInterface(), oofem::QSpace::giveInterface(), oofem::QWedge::giveInterface(), oofem::QTRSpace::giveInterface(), oofem::Wedge_ht::giveInterface(), oofem::QWedge_ht::giveInterface(), oofem::MacroLSpace::giveInternalForcesVector(), oofem::MicroMaterial::giveMacroStiffnessMatrix(), oofem::SUPG::giveNextStep(), oofem::StaggeredProblem::giveNextStep(), oofem::PFEM::giveNextStep(), oofem::CBS::giveNextStep(), oofem::OctreeSpatialLocalizerT< oofem::UnstructuredGridField::Cell >::giveReport(), oofem::CompCol_ILUPreconditioner::init(), oofem::Natural2GlobalOrdering::init(), oofem::NodalAveragingRecoveryModel::initCommMaps(), oofem::ZZNodalRecoveryModel::initCommMaps(), oofem::SPRNodalRecoveryModel::initCommMaps(), oofem::AdaptiveNonLinearStatic::initializeAdaptive(), oofem::AdaptiveNonLinearStatic::initializeAdaptiveFrom(), oofem::MicroMaterial::initializeFrom(), oofem::DIIDynamic::initializeFrom(), oofem::NonLinearDynamic::initializeFrom(), oofem::HydrationModel::initializeFrom(), oofem::MDM::initializeFrom(), oofem::HydrationModelInterface::initializeFrom(), oofem::SolutionbasedShapeFunction::loadProblem(), oofem::TR21_2D_SUPG::LS_PCS_computeVOFFractions(), oofem::HydrationModel::mixedfindroot(), oofem::OOFEMTXTDataReader::OOFEMTXTDataReader(), oofem::Subdivision::packIrregularSharedGlobnums(), oofem::Subdivision::packSharedEdges(), oofem::Subdivision::packSharedIrregulars(), oofem::LevelSetPCS::pcs_stage1(), oofem::ConcreteDPM2::performPlasticityReturn(), oofem::PetscSolver::petsc_solve(), 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::MKLPardisoSolver::solve(), oofem::SLEPcSolver::solve(), oofem::DynamicRelaxationSolver::solve(), oofem::PardisoProjectOrgSolver::solve(), oofem::SuperLUSolver::solve(), oofem::InverseIteration::solve(), oofem::SubspaceIteration::solve(), oofem::IMLSolver::solve(), oofem::FETISolver::solve(), oofem::StaggeredSolver::solve(), oofem::NRSolver::solve(), oofem::CylindricalALM::solve(), oofem::HuertaErrorEstimator::solveRefinedPatchProblem(), oofem::HuertaErrorEstimator::solveRefinedWholeProblem(), oofem::LinearStatic::solveYourself(), oofem::StructuralMaterialEvaluator::solveYourself(), oofem::FreeWarping::solveYourself(), oofem::StaticStructural::solveYourself(), oofem::NonLinearDynamic::solveYourself(), oofem::NlDEIDynamic::solveYourself(), oofem::NonLinearStatic::solveYourself(), oofem::StaggeredProblem::solveYourself(), oofem::EngngModel::solveYourself(), oofem::DarcyFlow::solveYourselfAt(), oofem::NLTransientTransportProblem::solveYourselfAt(), oofem::StationaryTransportProblem::solveYourselfAt(), oofem::LinearStatic::solveYourselfAt(), oofem::FreeWarping::solveYourselfAt(), oofem::DEIDynamic::solveYourselfAt(), oofem::IncrementalLinearStatic::solveYourselfAt(), oofem::EigenValueDynamic::solveYourselfAt(), oofem::StaticStructural::solveYourselfAt(), oofem::LinearStability::solveYourselfAt(), oofem::StokesFlow::solveYourselfAt(), oofem::TransientTransportProblem::solveYourselfAt(), oofem::DIIDynamic::solveYourselfAt(), oofem::NonLinearDynamic::solveYourselfAt(), oofem::NonStationaryTransportProblem::solveYourselfAt(), oofem::SUPG::solveYourselfAt(), oofem::PFEM::solveYourselfAt(), oofem::CBS::solveYourselfAt(), oofem::Subdivision::unpackIrregularSharedGlobnums(), oofem::DirectErrorIndicatorRC::unpackSharedDofManLocalDensities(), oofem::DirectErrorIndicatorRC::unpackSharedDofManLocalIndicatorVals(), oofem::Subdivision::unpackSharedEdges(), oofem::Subdivision::unpackSharedIrregulars(), oofem::NonLinearStatic::updateLoadVectors(), oofem::MacroLSpace::updateYourself(), oofem::ParticleTopologyDescription::updateYourself(), and oofem::SparseMtrx::writeToFile().

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

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:32 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011