error.h File Reference

#include "oofemcfg.h"
#include "logger.h"
#include <stdlib.h>

Go to the source code of this file.

Namespaces

namespace  oofem

Defines

#define OOFEM_CLASS_ERROR1(_1)   error(__FILE__, __LINE__, _1);
 @ Macros calling the error/warning service, which is defined for all classes derived form FEMComponent and some others classes.
#define OOFEM_CLASS_ERROR2(_1, _2)   error(__FILE__, __LINE__, _1, _2);
#define OOFEM_CLASS_ERROR3(_1, _2, _3)   error(__FILE__, __LINE__, _1, _2, _3);
#define OOFEM_CLASS_ERROR4(_1, _2, _3, _4)   error(__FILE__, __LINE__, _1, _2, _3, _4);
#define OOFEM_CLASS_ERROR5(_1, _2, _3, _4, _5)   error(__FILE__, __LINE__, _1, _2, _3, _4, _5);
#define _error1(_1)   OOFEM_CLASS_ERROR1(_1)
#define _error2(_1, _2)   OOFEM_CLASS_ERROR2(_1, _2)
#define _error3(_1, _2, _3)   OOFEM_CLASS_ERROR3(_1, _2, _3)
#define _error4(_1, _2, _3, _4)   OOFEM_CLASS_ERROR4(_1, _2, _3, _4)
#define _error5(_1, _2, _3, _4, _5)   OOFEM_CLASS_ERROR5(_1, _2, _3, _4, _5)
#define OOFEM_CLASS_WARNING1(_1)   warning(__FILE__, __LINE__, _1);
#define OOFEM_CLASS_WARNING2(_1, _2)   warning(__FILE__, __LINE__, _1, _2);
#define OOFEM_CLASS_WARNING3(_1, _2, _3)   warning(__FILE__, __LINE__, _1, _2, _3);
#define OOFEM_CLASS_WARNING4(_1, _2, _3, _4)   warning(__FILE__, __LINE__, _1, _2, _3, _4);
#define _warning1(_1)   OOFEM_CLASS_WARNING1(_1)
#define _warning2(_1, _2)   OOFEM_CLASS_WARNING2(_1, _2)
#define _warning3(_1, _2, _3)   OOFEM_CLASS_WARNING3(_1, _2, _3)
#define _warning4(_1, _2, _3, _4)   OOFEM_CLASS_WARNING4(_1, _2, _3, _4)
#define OOFEM_CLASS_ERROR(_1)   OOFEM_CLASS_ERROR1(_1)
#define _error(_1)   _error1(_1)
#define OOFEM_CLASS_WARNING(_1)   OOFEM_CLASS_WARNING1(_1)
#define _warning(_1)   _warning1(_1)

#define OOFEM_FATAL1(_1)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_FATAL, __FILE__, __LINE__, _1); oofem_exit(1); }
 @ Log-family macros that use OOFEM loggers and exit (for errors and fatals).
#define OOFEM_FATAL2(_1, _2)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_FATAL, __FILE__, __LINE__, _1, _2); oofem_exit(1); }
#define OOFEM_FATAL3(_1, _2, _3)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_FATAL, __FILE__, __LINE__, _1, _2, _3); oofem_exit(1); }
#define OOFEM_ERROR1(_1)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, __FILE__, __LINE__, _1); oofem_exit(1); }
#define OOFEM_ERROR2(_1, _2)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, __FILE__, __LINE__, _1, _2); oofem_exit(1); }
#define OOFEM_ERROR3(_1, _2, _3)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, __FILE__, __LINE__, _1, _2, _3); oofem_exit(1); }
#define OOFEM_ERROR4(_1, _2, _3, _4)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, __FILE__, __LINE__, _1, _2, _3, _4); oofem_exit(1); }
#define OOFEM_ERROR5(_1, _2, _3, _4, _5)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, __FILE__, __LINE__, _1, _2, _3, _4, _5); oofem_exit(1); }
#define OOFEM_ERROR6(_1, _2, _3, _4, _5, _6)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, __FILE__, __LINE__, _1, _2, _3, _4, _5, _6); oofem_exit(1); }
#define OOFEM_WARNING1(_1)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, __FILE__, __LINE__, _1); }
#define OOFEM_WARNING2(_1, _2)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, __FILE__, __LINE__, _1, _2); }
#define OOFEM_WARNING3(_1, _2, _3)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, __FILE__, __LINE__, _1, _2, _3); }
#define OOFEM_WARNING4(_1, _2, _3, _4)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, __FILE__, __LINE__, _1, _2, _3, _4); }
#define OOFEM_WARNING5(_1, _2, _3, _4, _5)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, __FILE__, __LINE__, _1, _2, _3, _4, _5); }
#define OOFEM_WARNING6(_1, _2, _3, _4, _5, _6)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, __FILE__, __LINE__, _1, _2, _3, _4, _5, _6); }
#define OOFEM_FATAL(_1)   OOFEM_FATAL1(_1)
#define OOFEM_ERROR(_1)   OOFEM_ERROR1(_1)
#define OOFEM_WARNING(_1)   OOFEM_WARNING1(_1)

#define __OOFEM_FATAL1(_file, _line, _1)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_FATAL, _file, _line, _1); oofem_exit(1); }
 @ Log-family macros that allow to pass file and line info.
#define __OOFEM_FATAL2(_file, _line, _1, _2)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_FATAL, _file, _line, _1, _2); oofem_exit(1); }
#define __OOFEM_FATAL3(_file, _line, _1, _2, _3)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_FATAL, _file, _line, _1, _2, _3); oofem_exit(1); }
#define __OOFEM_ERROR1(_file, _line, _1)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, _file, _line, _1); oofem_exit(1); }
#define __OOFEM_ERROR2(_file, _line, _1, _2)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, _file, _line, _1, _2); oofem_exit(1); }
#define __OOFEM_ERROR3(_file, _line, _1, _2, _3)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, _file, _line, _1, _2, _3); oofem_exit(1); }
#define __OOFEM_ERROR4(_file, _line, _1, _2, _3, _4)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, _file, _line, _1, _2, _3, _4); oofem_exit(1); }
#define __OOFEM_ERROR5(_file, _line, _1, _2, _3, _4, _5)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, _file, _line, _1, _2, _3, _4, _5); oofem_exit(1); }
#define __OOFEM_ERROR6(_file, _line, _1, _2, _3, _4, _5, _6)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, _file, _line, _1, _2, _3, _4, _5, _6); oofem_exit(1); }
#define __OOFEM_WARNING1(_file, _line, _1)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, _file, _line, _1); }
#define __OOFEM_WARNING2(_file, _line, _1, _2)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, _file, _line, _1, _2); }
#define __OOFEM_WARNING3(_file, _line, _1, _2, _3)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, _file, _line, _1, _2, _3); }
#define __OOFEM_WARNING4(_file, _line, _1, _2, _3, _4)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, _file, _line, _1, _2, _3, _4); }
#define __OOFEM_WARNING5(_file, _line, _1, _2, _3, _4, _5)   { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, _file, _line, _1, _2, _3, _4, _5); }
#define __OOFEM_FATAL(_file, _line, _1)   __OOFEM_FATAL1(_file, _line, _1)
#define __OOFEM_ERROR(_file, _line, _1)   __OOFEM_ERROR1(_file, _line, _1)
#define __OOFEM_WARNING(_file, _line, _1)   __OOFEM_WARNING1(_file, _line, _1)

Functions

void oofem::oofem_exit (int code)
 Global variable containing warning level, should be in interval (0,3).

Define Documentation

#define __OOFEM_ERROR ( _file,
_line,
_1   )     __OOFEM_ERROR1(_file, _line, _1)

Definition at line 166 of file error.h.

#define __OOFEM_ERROR1 ( _file,
_line,
_1   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, _file, _line, _1); oofem_exit(1); }

Definition at line 151 of file error.h.

#define __OOFEM_ERROR2 ( _file,
_line,
_1,
_2   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, _file, _line, _1, _2); oofem_exit(1); }

Definition at line 152 of file error.h.

Referenced by oofem::PrimaryUnknownMapper::error(), and oofem::ContextIOERR::print().

#define __OOFEM_ERROR3 ( _file,
_line,
_1,
_2,
_3   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, _file, _line, _1, _2, _3); oofem_exit(1); }
#define __OOFEM_ERROR4 ( _file,
_line,
_1,
_2,
_3,
_4   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, _file, _line, _1, _2, _3, _4); oofem_exit(1); }

Definition at line 154 of file error.h.

Referenced by oofem::FEMComponent::error().

#define __OOFEM_ERROR5 ( _file,
_line,
_1,
_2,
_3,
_4,
_5   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, _file, _line, _1, _2, _3, _4, _5); oofem_exit(1); }

Definition at line 155 of file error.h.

#define __OOFEM_ERROR6 ( _file,
_line,
_1,
_2,
_3,
_4,
_5,
_6   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, _file, _line, _1, _2, _3, _4, _5, _6); oofem_exit(1); }

Definition at line 156 of file error.h.

Referenced by oofem::InputRecord::report_error().

#define __OOFEM_FATAL ( _file,
_line,
_1   )     __OOFEM_FATAL1(_file, _line, _1)

Definition at line 165 of file error.h.

#define __OOFEM_FATAL1 ( _file,
_line,
_1   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_FATAL, _file, _line, _1); oofem_exit(1); }

@ Log-family macros that allow to pass file and line info.

They use OOFEM loggers and exit (fatals and errors).

Definition at line 146 of file error.h.

#define __OOFEM_FATAL2 ( _file,
_line,
_1,
_2   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_FATAL, _file, _line, _1, _2); oofem_exit(1); }

Definition at line 147 of file error.h.

#define __OOFEM_FATAL3 ( _file,
_line,
_1,
_2,
_3   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_FATAL, _file, _line, _1, _2, _3); oofem_exit(1); }

Definition at line 148 of file error.h.

#define __OOFEM_WARNING ( _file,
_line,
_1   )     __OOFEM_WARNING1(_file, _line, _1)

Definition at line 167 of file error.h.

#define __OOFEM_WARNING1 ( _file,
_line,
_1   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, _file, _line, _1); }

Definition at line 159 of file error.h.

#define __OOFEM_WARNING2 ( _file,
_line,
_1,
_2   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, _file, _line, _1, _2); }

Definition at line 160 of file error.h.

Referenced by oofem::PrimaryUnknownMapper::warning().

#define __OOFEM_WARNING3 ( _file,
_line,
_1,
_2,
_3   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, _file, _line, _1, _2, _3); }

Definition at line 161 of file error.h.

Referenced by oofem::Field::warning().

#define __OOFEM_WARNING4 ( _file,
_line,
_1,
_2,
_3,
_4   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, _file, _line, _1, _2, _3, _4); }

Definition at line 162 of file error.h.

Referenced by oofem::FEMComponent::warning().

#define __OOFEM_WARNING5 ( _file,
_line,
_1,
_2,
_3,
_4,
_5   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, _file, _line, _1, _2, _3, _4, _5); }

Definition at line 163 of file error.h.

#define _error ( _1   )     _error1(_1)

Definition at line 96 of file error.h.

Referenced by oofem::UserDefinedLoadTimeFunction::__accelAt(), oofem::UserDefinedLoadTimeFunction::__at(), oofem::PeriodicPiecewiseLinFunction::__at(), oofem::PiecewiseLinFunction::__at(), oofem::PrimaryField::__evaluateAt(), oofem::SlaveDof::__giveEquationNumber(), oofem::SlaveDof::__givePrescribedEquationNumber(), oofem::MMALeastSquareProjection::__init(), oofem::AdaptiveNonLinearStatic::adaptiveRemap(), oofem::PrimaryField::advanceSolution(), oofem::DofManager::appendDof(), oofem::NRSolver::applyConstraintsToStiffness(), oofem::CBS::applyIC(), oofem::EngngModel::assemble(), oofem::HuertaErrorEstimator::buildRefinedMesh(), oofem::TwoFluidMaterial::checkConsistency(), oofem::RigidArmNode::checkConsistency(), oofem::MPlasticMaterial2::closestPointReturn(), oofem::TransportElement::computeBCMtrxAt(), oofem::SUPGElement2::computeBCRhsTerm_MB(), oofem::SUPGElement2::computeBCRhsTerm_MC(), oofem::TransportElement::computeBCSubMtrxAt(), oofem::TransportElement::computeBCSubVectorAt(), oofem::TransportElement::computeBCVectorAt(), oofem::TrPlaneStrRot::computeBmatrixAt(), oofem::TR_SHELL01::computeBmatrixAt(), oofem::LIBeam3dNL2::computeBmatrixAt(), oofem::LIBeam3dNL::computeBmatrixAt(), oofem::TrPlaneStrRot3d::computeBodyLoadVectorAt(), oofem::TrPlaneStrRot::computeBodyLoadVectorAt(), oofem::TR_SHELL01::computeBodyLoadVectorAt(), oofem::LIBeam2d::computeBodyLoadVectorAt(), oofem::CCTPlate::computeBodyLoadVectorAt(), oofem::HeMoTKMaterial::computeCapacityCoeff(), oofem::TransportElement::computeCapacityMatrix(), oofem::RheoChainMaterial::computeCharTimes(), oofem::TransportElement::computeConductivityMatrix(), oofem::HeMoTKMaterial::computeConductivityMtrx(), oofem::CylindricalALM::computeDeltaLambda(), oofem::TransportElement::computeEdgeBCSubVectorAt(), oofem::TrPlaneStress2d::computeEdgeIpGlobalCoords(), oofem::SUPGElement2::computeEdgeLoadVector_MB(), oofem::SUPGElement2::computeEdgeLoadVector_MC(), oofem::Truss3d::computeEdgeVolumeAround(), oofem::Truss2d::computeEdgeVolumeAround(), oofem::TrPlaneStress2d::computeEdgeVolumeAround(), oofem::LIBeam3dNL2::computeEdgeVolumeAround(), oofem::LIBeam3dNL::computeEdgeVolumeAround(), oofem::LIBeam3d::computeEdgeVolumeAround(), oofem::LIBeam2dNL::computeEdgeVolumeAround(), oofem::MPSMaterial::computeEquivalentTime(), oofem::NonLinearStatic::computeExternalLoadReactionContribution(), oofem::MPSMaterial::computeFlowTermViscosity(), oofem::TR_SHELL01::computeForceLoadVector(), oofem::TR_SHELL01::computeGaussPoints(), oofem::TR1_2D_SUPG2::computeGNDofRotationMatrix(), oofem::SUPGElement2::computeGNDofRotationMatrix(), oofem::SUPGElement2::computeGNLoadRotationMatrix(), oofem::StructuralElement::computeInitialStressMatrix(), oofem::HydrationModel::computeIntSource(), oofem::TransportElement::computeIntSourceLHSMatrix(), oofem::LIBeam3d2::computeLoadGToLRotationMtrx(), oofem::TrPlaneStress2d::computeLoadLEToLRotationMatrix(), oofem::Node::computeLoadTransformation(), oofem::Node::computeLoadVectorAt(), oofem::TR1_2D_SUPG::computeLocalCoordinates(), oofem::TR_SHELL01::computeMassMatrix(), oofem::Element::computeMidPlaneNormal(), oofem::TR_SHELL01::computeNmatrixAt(), oofem::TR1_2D_SUPG::computeNMtrx(), oofem::TR_SHELL01::computeNonForceLoadVector(), oofem::TR_SHELL01::computePrescribedStrainLocalLoadVectorAt(), oofem::StructuralMaterial::computePrincipalValDir(), oofem::StructuralMaterial::computePrincipalValues(), oofem::StructuralElement::computeResultingIPTemperatureAt(), oofem::LIBeam3dNL::computeRotMtrx(), oofem::LIBeam3d2::computeSMtrx(), oofem::TR_SHELL01::computeStiffnessMatrix(), oofem::TrPlaneStrRot::computeStrainVector(), oofem::LayeredCrossSection::computeStressIndependentStrainVector(), oofem::FiberedCrossSection::computeStressIndependentStrainVector(), oofem::TR_SHELL01::computeStressVector(), oofem::TransportElement::computeSurfaceBCSubVectorAt(), oofem::SUPGElement2::computeSurfaceLoadVector_MB(), oofem::SUPGElement2::computeSurfaceLoadVector_MC(), oofem::PlasticMaterial::computeTrialStressIncrement(), oofem::UserDefinedTemperatureField::computeValueAt(), oofem::Element::computeVectorOf(), oofem::Element::computeVectorOfPrescribed(), oofem::DruckerPragerPlasticitySM::computeYieldStressInShear(), oofem::TwoFluidMaterial::CreateStatus(), oofem::IsotropicDamageMaterial1::damageFunction(), oofem::Element::drawYourself(), oofem::TransportElement::EIPrimaryFieldI_evaluateFieldVectorAt(), oofem::TrPlaneStrain::EIPrimaryUnknownMI_computePrimaryUnknownVectorAt(), oofem::ZZErrorEstimator::estimateError(), oofem::HuertaErrorEstimator::estimateError(), oofem::ZZRemeshingCriteria::estimateMeshDensities(), oofem::LayeredCrossSection::estimatePackSize(), oofem::FiberedCrossSection::estimatePackSize(), oofem::NonLinearStatic::exchangeRemoteElementData(), oofem::DofManager::findDofWithDofId(), oofem::OctreeSpatialLocalizer::findTerminalContaining(), oofem::RCM2Material::give(), oofem::LayeredCrossSection::give2dBeamMaterialStiffnessMatrix(), oofem::LinearElasticMaterial::give2dPlaneStressRotStiffMtrx(), oofem::LayeredCrossSection::give2dPlateMaterialStiffnessMatrix(), oofem::LinearElasticMaterial::give2dPlateStiffMtrx(), oofem::FiberedCrossSection::give3dBeamMaterialStiffnessMatrix(), oofem::StructuralMaterial::give3dMaterialStiffnessMatrix(), oofem::PlasticMaterial::give3dMaterialStiffnessMatrix(), oofem::MPlasticMaterial2::give3dMaterialStiffnessMatrix(), oofem::MPlasticMaterial::give3dMaterialStiffnessMatrix(), oofem::LayeredCrossSection::give3dShellMaterialStiffness(), oofem::LinearElasticMaterial::give3dShellStiffMtrx(), oofem::HeMoTKMaterial::give_delta_gw(), oofem::OctreeSpatialLocalizer::giveAllElementsWithIpWithinBox(), oofem::RefinedElement::giveBcDofArray2D(), oofem::RefinedElement::giveBcDofArray3D(), oofem::RefinedElement::giveBoundaryFlagArray(), oofem::RefinedElement::giveBoundaryLoadArray2D(), oofem::RefinedElement::giveBoundaryLoadArray3D(), oofem::StructuralMaterial::giveCharacteristicComplianceMatrix(), oofem::SUPGElement2::giveCharacteristicMatrix(), oofem::SUPGElement::giveCharacteristicMatrix(), oofem::Material::giveCharacteristicMatrix(), oofem::Element::giveCharacteristicMatrix(), oofem::CBSElement::giveCharacteristicMatrix(), oofem::TrPlaneStrRot3d::giveCharacteristicTensor(), oofem::RerShell::giveCharacteristicTensor(), oofem::SUPGElement2::giveCharacteristicValue(), oofem::SUPGElement::giveCharacteristicValue(), oofem::Material::giveCharacteristicValue(), oofem::HydrationModel::giveCharacteristicValue(), oofem::Element::giveCharacteristicValue(), oofem::CBSElement::giveCharacteristicValue(), oofem::SUPGElement2::giveCharacteristicVector(), oofem::SUPGElement::giveCharacteristicVector(), oofem::Element::giveCharacteristicVector(), oofem::CBSElement::giveCharacteristicVector(), oofem::StructuralCrossSection::giveCharMaterialComplianceMatrixOf(), oofem::RheoChainMaterial::giveCharTime(), oofem::OctreeSpatialLocalizer::giveClosestIP(), oofem::OctreeSpatialLocalizer::giveClosestIPWithinOctant(), oofem::RefinedElement::giveCompatibleBcDofArray(), oofem::LayeredCrossSection::giveCorrespondingSlaveMaterialMode(), oofem::FiberedCrossSection::giveCorrespondingSlaveMaterialMode(), oofem::Element::giveCrossSection(), oofem::LayeredCrossSection::giveDerivedMaterialStiffnessMatrix(), oofem::ZZRemeshingCriteria::giveDofManDensity(), oofem::Tr21Stokes::giveDofManDofIDMask(), oofem::TrPlaneStress2d::giveEdgeDofMapping(), oofem::MPSMaterial::giveEigenStrainVector(), oofem::MaxwellChainMaterial::giveEigenStrainVector(), oofem::KelvinChainMaterial::giveEigenStrainVector(), oofem::OctreeSpatialLocalizer::giveElementCloseToPoint(), oofem::OctreeSpatialLocalizer::giveElementCloseToPointWithinOctant(), oofem::TransportElement::giveElementDofIDMask(), oofem::OctreeSpatialLocalizer::giveElementsWithIPWithinBox(), oofem::MPSMaterial::giveEModulus(), oofem::StructuralMaterial::giveFullCharacteristicVector(), oofem::LayeredCrossSection::giveFullCharacteristicVector(), oofem::FiberedCrossSection::giveFullCharacteristicVector(), oofem::MPSMaterial::giveHumidity(), oofem::HeMoTKMaterial::giveHumidity(), oofem::MasterDof::giveIc(), oofem::MPSMaterial::giveInitViscosity(), oofem::GeneralBoundaryCondition::giveInputRecordString(), oofem::TR_SHELL01::giveInternalForcesVector(), oofem::Beam2d::giveInternalForcesVector(), oofem::Material::giveIPValueType(), oofem::IGAElement::giveKnotSpanParallelMode(), oofem::CylindricalALM::giveLinearSolver(), oofem::AdaptiveNonLinearStatic::giveLoadBalancerMonitor(), oofem::TrPlaneStrRot3d::giveLocalCoordinates(), oofem::CCTPlate3d::giveLocalCoordinates(), oofem::CCTPlate3d::giveLocalCoordinateSystem(), oofem::SlaveDof::giveLocalUnknown(), oofem::SimpleSlaveDof::giveMasterDof(), oofem::SimpleCrossSection::giveMaterialStiffnessMatrixOf(), oofem::LayeredCrossSection::giveMaterialStiffnessMatrixOf(), oofem::FiberedCrossSection::giveMaterialStiffnessMatrixOf(), oofem::MicroplaneMaterial::giveMicroplane(), oofem::TrPlaneStrRot3d::giveMiddleGaussPoint(), oofem::CBS::giveNewPrescribedEquationNumber(), oofem::SUPG::giveNextStep(), oofem::StationaryFlow::giveNextStep(), oofem::PNlDEIDynamic::giveNextStep(), oofem::IncrementalLinearStatic::giveNextStep(), oofem::Element::giveNode(), oofem::CBS::giveNumberOfEquations(), oofem::PLinearStatic::giveNumericalMethod(), oofem::NonLinearStatic::giveNumericalMethod(), oofem::LinearStatic::giveNumericalMethod(), oofem::RCM2Material::giveRealPrincipalStressVector3d(), oofem::StructuralCrossSection::giveRealStresses(), oofem::SimpleCrossSection::giveRealStresses(), oofem::LayeredCrossSection::giveRealStresses(), oofem::FiberedCrossSection::giveRealStresses(), oofem::SimpleInterfaceMaterial::giveRealStressVector(), oofem::CebFipSlip90Material::giveRealStressVector(), oofem::IsoInterfaceDamageMaterial::giveRealStressVector(), oofem::IsotropicDamageMaterial::giveRealStressVector(), oofem::StructuralMaterial::giveReducedCharacteristicVector(), oofem::SimpleCrossSection::giveReducedCharacteristicVector(), oofem::LayeredCrossSection::giveReducedCharacteristicVector(), oofem::FiberedCrossSection::giveReducedCharacteristicVector(), oofem::MPSMaterial::giveShrinkageStrainVector(), oofem::Element::giveSide(), oofem::CohesiveInterfaceMaterial::giveSizeOfReducedStressStrainVector(), oofem::LayeredCrossSection::giveSlaveGaussPoint(), oofem::FiberedCrossSection::giveSlaveGaussPoint(), oofem::PrimaryField::giveSolutionVector(), oofem::Element::giveSpatialDimension(), oofem::HydrationModel::giveStatus(), oofem::StructuralMaterial::giveStressStrainComponentIndOf(), oofem::LinearElasticMaterial::giveStressStrainComponentIndOf(), oofem::StructuralMaterial::giveStressStrainMask(), oofem::StructuralCrossSection::giveStressStrainMask(), oofem::LinearElasticMaterial::giveStressStrainMask(), oofem::LayeredCrossSection::giveStressStrainMask(), oofem::FiberedCrossSection::giveStressStrainMask(), oofem::MPSMaterial::giveTemperature(), oofem::OrthotropicLinearElasticMaterial::giveTensorRotationMatrix(), oofem::SUPG::giveUnknownComponent(), oofem::StationaryFlow::giveUnknownComponent(), oofem::NonLinearStatic::giveUnknownComponent(), oofem::LinearStatic::giveUnknownComponent(), oofem::LinearStability::giveUnknownComponent(), oofem::PrimaryField::giveUnknownValue(), oofem::Node::giveUpdatedCoordinate(), oofem::MasterDof::hasBc(), oofem::MasterDof::hasIc(), oofem::HydratingHeMoMaterial::hasInternalSource(), oofem::HydrationModel::HydrationModel(), oofem::StructuralCrossSection::imposeStrainConstrainsOnGradient(), oofem::LayeredCrossSection::imposeStrainConstrainsOnGradient(), oofem::FiberedCrossSection::imposeStrainConstrainsOnGradient(), oofem::StructuralCrossSection::imposeStressConstrainsOnGradient(), oofem::LayeredCrossSection::imposeStressConstrainsOnGradient(), oofem::FiberedCrossSection::imposeStressConstrainsOnGradient(), oofem::ConcreteDPM::initDamaged(), oofem::OctreeSpatialLocalizer::initElementIPDataStructure(), oofem::AdaptiveNonLinearStatic::initializeAdaptiveFrom(), oofem::MicroplaneMaterial::initializeData(), oofem::MDM::initializeData(), oofem::TR1_2D_SUPG2::initializeFrom(), oofem::SUPG::initializeFrom(), oofem::SlaveNode::initializeFrom(), oofem::ScalarErrorIndicator::initializeFrom(), oofem::RigidArmNode::initializeFrom(), oofem::Particle::initializeFrom(), oofem::Node::initializeFrom(), oofem::MPSMaterial::initializeFrom(), oofem::Load::initializeFrom(), oofem::LinearStability::initializeFrom(), oofem::LinearEdgeLoad::initializeFrom(), oofem::LayeredCrossSection::initializeFrom(), oofem::IncrementalLinearStatic::initializeFrom(), oofem::HydrationModel::initializeFrom(), oofem::FiberedCrossSection::initializeFrom(), oofem::EigenValueDynamic::initializeFrom(), oofem::ConstantSurfaceLoad::initializeFrom(), oofem::ConstantEdgeLoad::initializeFrom(), oofem::CylindricalALM::initializeFrom(), oofem::B3SolidMaterial::initializeFrom(), oofem::OctreeSpatialLocalizer::insertNodeIntoOctree(), oofem::Load::isDofExcluded(), oofem::Domain::LB_giveUpdatedGlobalNumber(), oofem::RheoChainMaterialStatus::letHiddenVarsVectorBe(), oofem::HeMoTKMaterial::matcond1d(), oofem::HeMoTKMaterial::matcond2d(), oofem::HeMoTKMaterial::matcond3d(), oofem::QSpace::NodalAveragingRecoveryMI_computeNodalValue(), oofem::LayeredCrossSection::packUnknowns(), oofem::FiberedCrossSection::packUnknowns(), oofem::PetscSolver::petsc_solve(), oofem::NonLinearStatic::proceedStep(), oofem::StructuralMaterial::reduceTo1dFiberComplMtrx(), oofem::StructuralMaterial::reduceTo1dFiberStiffMtrx(), oofem::StructuralMaterial::reduceTo1dStressComplMtrx(), oofem::StructuralMaterial::reduceTo1dStressStiffMtrx(), oofem::StructuralMaterial::reduceTo2dBeamLayerComplMtrx(), oofem::StructuralMaterial::reduceTo2dBeamLayerStiffMtrx(), oofem::StructuralMaterial::reduceTo2dPlateLayerComplMtrx(), oofem::StructuralMaterial::reduceTo2dPlateLayerStiffMtrx(), oofem::StructuralMaterial::reduceToPlaneStrainComplMtrx(), oofem::StructuralMaterial::reduceToPlaneStrainStiffMtrx(), oofem::StructuralMaterial::reduceToPlaneStressComplMtrx(), oofem::StructuralMaterial::reduceToPlaneStressStiffMtrx(), oofem::TransportMaterialStatus::restoreContext(), oofem::StructuralMaterialStatus::restoreContext(), oofem::PerfectlyPlasticMaterial::restoreContext(), oofem::Node::restoreContext(), oofem::MasterDof::restoreContext(), oofem::FluidDynamicMaterialStatus::restoreContext(), oofem::TransportMaterialStatus::saveContext(), oofem::TR1_2D_SUPG::saveContext(), oofem::TR1_2D_CBS::saveContext(), oofem::StructuralMaterialStatus::saveContext(), oofem::RheoChainMaterialStatus::saveContext(), oofem::RheoChainMaterial::saveContext(), oofem::RCM2Material::saveContext(), oofem::PlasticMaterial::saveContext(), oofem::Node::saveContext(), oofem::MPSMaterialStatus::saveContext(), oofem::MicroplaneMaterial::saveContext(), oofem::MaxwellChainMaterialStatus::saveContext(), oofem::MasterDof::saveContext(), oofem::FluidDynamicMaterialStatus::saveContext(), oofem::HydratingIsoHeatMaterial::setMixture(), oofem::HydrationModel::setMixture(), oofem::ProblemCommunicator::setProcessCommunicatorToRecvArry(), oofem::ProblemCommunicator::setProcessCommunicatorToSendArry(), oofem::ProblemCommunicator::setUpCommunicationMaps(), oofem::ProblemCommunicator::setUpCommunicationMapsForElementCut(), oofem::ProblemCommunicator::setUpCommunicationMapsForNodeCut(), oofem::ProblemCommunicator::setUpCommunicationMapsForRemoteElementMode(), oofem::SLEPcSolver::solve(), oofem::PetscSolver::solve(), oofem::LDLTFactorization::solve(), oofem::NonStationaryTransportProblem::solveYourselfAt(), oofem::LinearStatic::solveYourselfAt(), oofem::AdaptiveLinearStatic::solveYourselfAt(), oofem::StructuralMaterial::sortPrincDirAndValCloseTo(), oofem::TrPlaneStress2d::SpatialLocalizerI_giveDistanceFromParametricCenter(), oofem::TrPlaneStress2d::SPRNodalRecoveryMI_computeIPGlobalCoordinates(), oofem::TrPlaneStress2d::SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(), oofem::MasterDof::unpackAndUpdateUnknown(), oofem::LayeredCrossSection::unpackAndUpdateUnknowns(), oofem::FiberedCrossSection::unpackAndUpdateUnknowns(), oofem::StructuralEngngModel::unpackInternalForces(), oofem::StructuralEngngModel::unpackReactions(), oofem::StructuralEngngModel::unpackRemoteElementData(), oofem::StaggeredProblem::updateAttributes(), oofem::NonLinearStatic::updateAttributes(), oofem::NonLinearStatic::updateComponent(), oofem::StaggeredProblem::updateDomainLinks(), oofem::HydrationModel::updateInternalState(), oofem::TR1_2D_SUPG2::updateRotationMatrix(), and oofem::SUPGElement2::updateRotationMatrix().

#define _error1 ( _1   )     OOFEM_CLASS_ERROR1(_1)

Definition at line 79 of file error.h.

#define _error2 ( _1,
_2   )     OOFEM_CLASS_ERROR2(_1, _2)

Definition at line 80 of file error.h.

Referenced by oofem::Node::computeGNDofTransformation(), oofem::StructuralMaterial::computeStressIndependentStrainVector(), oofem::UserDefinedTemperatureField::computeValueAt(), oofem::Domain::dofmanGlobal2Local(), oofem::LoadTimeFunction::evaluate(), oofem::MasterDof::giveBc(), oofem::Domain::giveBc(), oofem::TransportElement::giveCharacteristicMatrix(), oofem::StructuralMaterial::giveCharacteristicMatrix(), oofem::IsotropicHeatTransferMaterial::giveCharacteristicMatrix(), oofem::HeMoTKMaterial::giveCharacteristicMatrix(), oofem::IsotropicHeatTransferMaterial::giveCharacteristicValue(), oofem::HydratingIsoHeatMaterial::giveCharacteristicValue(), oofem::TransportElement::giveCharacteristicVector(), oofem::Domain::giveCrossSection(), oofem::Domain::giveDofManager(), oofem::MPSMaterial::giveHumidity(), oofem::Element::giveInternalDofManager(), oofem::TransportMaterial::giveIPValueSize(), oofem::Domain::giveMaterial(), oofem::Domain::giveNode(), oofem::Domain::giveNonlocalBarrier(), oofem::Element::giveNumberOfBoundarySides(), oofem::SlaveDof::giveNumberOfPrimaryMasterDofs(), oofem::Domain::giveSide(), oofem::StructuralMaterial::giveSizeOfReducedStressStrainVector(), oofem::StructuralMaterial::giveStressStrainComponentIndOf(), oofem::StructuralMaterial::giveStressStrainMask(), oofem::LayeredCrossSection::giveStressStrainMask(), oofem::FiberedCrossSection::giveStressStrainMask(), oofem::MPSMaterial::giveTemperature(), oofem::NonStationaryTransportProblem::giveUnknownDictHashIndx(), oofem::StructuralCrossSection::imposeStrainConstrainsOnGradient(), oofem::StructuralCrossSection::imposeStressConstrainsOnGradient(), oofem::PrimaryField::initialize(), oofem::GeneralBoundaryCondition::initializeFrom(), oofem::CylindricalALM::initializeFrom(), oofem::HeMoTKMaterial::inverse_sorption_isotherm(), oofem::HeMoTKMaterial::isCharacteristicMtrxSymmetric(), oofem::Domain::LB_giveUpdatedGlobalNumber(), oofem::Material::ofType(), oofem::LoadTimeFunction::ofType(), oofem::StructuralMaterial::reduceComplMtrx3d(), oofem::StructuralMaterial::reduceStiffMtrx3d(), oofem::HeMoTKMaterial::sorption_isotherm(), oofem::NLTransientTransportProblem::updateDofUnknownsDictionary(), and oofem::RCM2Material::updateStatusForNewCrack().

#define _error3 ( _1,
_2,
_3   )     OOFEM_CLASS_ERROR3(_1, _2, _3)
#define _error4 ( _1,
_2,
_3,
_4   )     OOFEM_CLASS_ERROR4(_1, _2, _3, _4)
#define _error5 ( _1,
_2,
_3,
_4,
_5   )     OOFEM_CLASS_ERROR5(_1, _2, _3, _4, _5)
#define _warning ( _1   )     _warning1(_1)
#define _warning1 ( _1   )     OOFEM_CLASS_WARNING1(_1)

Definition at line 90 of file error.h.

#define _warning2 ( _1,
_2   )     OOFEM_CLASS_WARNING2(_1, _2)
#define _warning3 ( _1,
_2,
_3   )     OOFEM_CLASS_WARNING3(_1, _2, _3)

Definition at line 92 of file error.h.

#define _warning4 ( _1,
_2,
_3,
_4   )     OOFEM_CLASS_WARNING4(_1, _2, _3, _4)
#define OOFEM_CLASS_ERROR ( _1   )     OOFEM_CLASS_ERROR1(_1)

Definition at line 95 of file error.h.

Referenced by oofem::LineSurfaceTension::computeLoadVector().

#define OOFEM_CLASS_ERROR1 ( _1   )     error(__FILE__, __LINE__, _1);

@ Macros calling the error/warning service, which is defined for all classes derived form FEMComponent and some others classes.

It inserts automatically file and line informations into call. This macro can be used only within classes that implement error service. The corresponding error service is assumed to have fist argument the filename, second argument line number, followed by format string and optional arguments (as in printf family of functions). It typically formats the final message and uses oofem default loggers to report message.

These macros add to given message also file and line information. They can be implemented in a very elegant way using macro with variable number of arguments (__VA_ARGS__). But since the many compilers do not support macros with variable number of arguments we have two choices: to implement this as a function with variable number of arguments, but then we can not add file and line info via __FILE__ and __LINE__ macros. Or if file and line info is preferred, then instead of single macro with variable number of arguments we can have series of "classical" macros with increasing number of parameters. The latter approach is used here.

Definition at line 73 of file error.h.

#define OOFEM_CLASS_ERROR2 ( _1,
_2   )     error(__FILE__, __LINE__, _1, _2);

Definition at line 74 of file error.h.

#define OOFEM_CLASS_ERROR3 ( _1,
_2,
_3   )     error(__FILE__, __LINE__, _1, _2, _3);

Definition at line 75 of file error.h.

#define OOFEM_CLASS_ERROR4 ( _1,
_2,
_3,
_4   )     error(__FILE__, __LINE__, _1, _2, _3, _4);

Definition at line 76 of file error.h.

#define OOFEM_CLASS_ERROR5 ( _1,
_2,
_3,
_4,
_5   )     error(__FILE__, __LINE__, _1, _2, _3, _4, _5);

Definition at line 77 of file error.h.

#define OOFEM_CLASS_WARNING ( _1   )     OOFEM_CLASS_WARNING1(_1)

Definition at line 97 of file error.h.

#define OOFEM_CLASS_WARNING1 ( _1   )     warning(__FILE__, __LINE__, _1);

Definition at line 85 of file error.h.

#define OOFEM_CLASS_WARNING2 ( _1,
_2   )     warning(__FILE__, __LINE__, _1, _2);

Definition at line 86 of file error.h.

#define OOFEM_CLASS_WARNING3 ( _1,
_2,
_3   )     warning(__FILE__, __LINE__, _1, _2, _3);

Definition at line 87 of file error.h.

#define OOFEM_CLASS_WARNING4 ( _1,
_2,
_3,
_4   )     warning(__FILE__, __LINE__, _1, _2, _3, _4);

Definition at line 88 of file error.h.

#define OOFEM_ERROR ( _1   )     OOFEM_ERROR1(_1)

Definition at line 138 of file error.h.

Referenced by oofem::MMALeastSquareProjection::__init(), oofem::MMAContainingElementProjection::__init(), oofem::MMAClosestIPTransfer::__init(), oofem::MMAShapeFunctProjection::__mapVariable(), oofem::MMALeastSquareProjection::__mapVariable(), oofem::OOFEMTXTInputRecord::__readSimpleString(), oofem::TDictionary< Key, T >::add(), oofem::StressVector::applyDeviatoricElasticCompliance(), oofem::SymCompCol::assemble(), oofem::Skyline::assemble(), oofem::FloatMatrix::assemble(), oofem::SymCompCol::at(), oofem::SpoolesSparseMtrx::at(), oofem::PetscSparseMtrx::at(), oofem::DynamicCommunicationBuffer::bcast(), oofem::FloatMatrix::beLocalCoordSys(), oofem::FloatMatrix::beProductOf(), oofem::FloatArray::beProductOf(), oofem::FloatMatrix::beProductTOf(), oofem::FloatArray::beSubArrayOf(), oofem::FloatMatrix::beSubMatrixOf(), oofem::FloatMatrix::beSubMatrixOfSizeOf(), oofem::FloatMatrix::beTProductOf(), oofem::FloatArray::beTProductOf(), oofem::FloatArray::beVectorProductOf(), oofem::SparseMtrx::buildInternalStructure(), oofem::Skyline::buildInternalStructure(), oofem::PetscSparseMtrx::buildInternalStructure(), oofem::DSSMatrix::buildInternalStructure(), oofem::NonlocalMaterialExtensionInterface::buildNonlocalPointTable(), oofem::CemhydMatStatus::CemhydMatStatus(), oofem::Domain::commitTransactions(), oofem::NLStructuralElement::computeBFmatrixAt(), oofem::StressVector::computeDeviatoricVolumetricSplit(), oofem::StressVector::computeDeviatoricVolumetricSum(), oofem::Tr21Stokes::computeEdgeBCSubVectorAt(), oofem::StructuralElementEvaluator::computeGNDofRotationMatrix(), oofem::Tet21Stokes::computeInternalForcesVector(), oofem::FEI3dHexaQuad::computeLocalEdgeMapping(), oofem::StokesFlowStressHomogenization::computeMacroStressTangentFromDirichlet(), oofem::SparseMtrx::computeNorm(), oofem::Tr21Stokes::computeNumberOfDofs(), oofem::SPRNodalRecoveryModel::computePolynomialTerms(), oofem::MMALeastSquareProjection::computePolynomialTerms(), oofem::StressVector::computePrincipalValues(), oofem::NLStructuralElement::computeStrainVector(), oofem::StressStrainBaseVector::convertFromFullForm(), oofem::StressStrainBaseVector::convertToFullForm(), oofem::FreemInterface::createInput(), oofem::FE2SinteringMaterialStatus::createRVE(), oofem::WallClockLoadBalancerMonitor::decide(), oofem::LoadBalancer::deleteRemoteDofManagers(), oofem::BsplinePlaneStressElement::drawScalar(), oofem::FEI2dQuadConst::edgeEvaldNds(), oofem::FEInterpolation2d::edgeEvalNormal(), oofem::FEI3dHexaQuad::edgeGiveTransformationJacobian(), oofem::FEI2dQuadConst::edgeGiveTransformationJacobian(), oofem::FEI2dQuadQuad::edgeLocal2global(), oofem::FEI2dQuadConst::edgeLocal2global(), oofem::EIPrimaryUnknownMapperInterface::EIPrimaryUnknownMI_computePrimaryUnknownVectorAtLocal(), oofem::NonlocalMaterialExtensionInterface::endIPNonlocalAverage(), oofem::FEInterpolation::evald2Ndx2(), oofem::BSplineInterpolation::evaldNdx(), oofem::ZZNodalRecoveryModel::exchangeDofManValues(), oofem::SPRNodalRecoveryModel::exchangeDofManValues(), oofem::NodalAveragingRecoveryModel::exchangeDofManValues(), oofem::SloanGraph::extractCandidates(), oofem::RandomFieldGenerator::generateRandomValueAt(), oofem::PrescribedGradient::give(), oofem::Tr21Stokes::giveCharacteristicMatrix(), oofem::Tr21Stokes::giveCharacteristicVector(), oofem::FETIBoundaryDofManager::giveCodeNumber(), oofem::SpoolesSparseMtrx::GiveCopy(), oofem::SparseMtrx::GiveCopy(), oofem::StokesFlowStressHomogenization::giveDirichletBC(), oofem::MicroMaterial::giveDofEquationNumber(), oofem::Tet21Stokes::giveDofManDofIDMask(), oofem::SUPGElement::giveIntVarCompFullIndx(), oofem::NonlocalMaterialExtensionInterface::giveIPIntegrationList(), oofem::SUPGElement::giveIPValueSize(), oofem::FEInterpolation::giveJacobianMatrixAt(), oofem::MicroMaterial::giveMacroStiffnessMatrix(), oofem::FEIVoidCellGeometry::giveNumberOfVertices(), oofem::StokesFlow::giveNumericalMethod(), oofem::TimeStep::givePreviousStep(), oofem::ProcessCommunicator::giveProcessCommunicatorBuff(), oofem::OOFEMTXTDataReader::giveRawLineFromInput(), oofem::BufferedDataReader::giveRawLineFromInput(), oofem::RankineMat::giveRealStressVector(), oofem::MicroMaterial::giveRealStressVector(), oofem::GaussPoint::giveSlaveGaussPoint(), oofem::StressStrainBaseVector::giveStressStrainMask(), oofem::BSplineInterpolation::giveTransformationJacobian(), oofem::FEI3dHexaQuad::giveTransformationJacobian(), oofem::StokesFlow::giveUnknownComponent(), oofem::IncrementalLinearStatic::giveUnknownComponent(), oofem::FEIVoidCellGeometry::giveVertexCoordinates(), oofem::TSplineInterpolation::global2local(), oofem::NURBSInterpolation::global2local(), oofem::BSplineInterpolation::global2local(), oofem::DynCompRow::ILUPYourself(), oofem::MicroMaterial::init(), oofem::MaterialMappingAlgorithm::init(), oofem::ZZNodalRecoveryModel::initCommMaps(), oofem::SPRNodalRecoveryModel::initCommMaps(), oofem::NodalAveragingRecoveryModel::initCommMaps(), oofem::LevelSetPCS::initialize(), oofem::CompCol_ICPreconditioner::initialize(), oofem::XfemManager::initializeFrom(), oofem::RankineMat::initializeFrom(), oofem::RandomMaterialExtensionInterface::initializeFrom(), oofem::OutputManager::initializeFrom(), oofem::NonlocalMaterialExtensionInterface::initializeFrom(), oofem::MacroLSpace::initializeFrom(), oofem::WallClockLoadBalancerMonitor::initializeFrom(), oofem::LoadBalancerMonitor::initializeFrom(), oofem::NURBSSpace3dElement::initializeFrom(), oofem::NURBSPlaneStressElement::initializeFrom(), oofem::BSplineInterpolation::initializeFrom(), oofem::LoadBalancer::initializeWtp(), oofem::FloatMatrix::jaco_(), oofem::MMAShapeFunctProjection::mapVariable(), oofem::MaterialMappingAlgorithm::mapVariable(), oofem::NonlocalMaterialWTP::migrate(), oofem::IntArray::minimum(), oofem::FloatArray::normalize(), oofem::MapBasedEntityRenumberingFunctor::operator()(), oofem::RankineMat::performPlasticityReturn(), oofem::DynamicCommunicationBuffer::popNewRecvPacket(), oofem::StokesFlow::printDofOutputAt(), oofem::NonlocalMaterialExtensionInterface::rebuildNonlocalPointTable(), oofem::MPIBuffer::resize(), oofem::IntegrationRule::restoreContext(), oofem::FloatArray::rotatedWith(), oofem::IntegrationRule::saveContext(), oofem::Dictionary::saveContext(), oofem::BufferedDataReader::seek(), oofem::FloatMatrix::setColumn(), oofem::PrescribedGradient::setPrescribedValue(), oofem::IntegrationRule::setUpEmbeddedIntegrationPoints(), oofem::IntegrationRule::setUpIntegrationPoints(), oofem::SparseLinearSystemNM::solve(), oofem::DSSSolver::solve(), oofem::CylindricalALM::solve(), oofem::FloatMatrix::solveForRhs(), oofem::LinearStatic::solveYourselfAt(), oofem::SpatialLocalizerInterface::SpatialLocalizerI_BBoxContainsPoint(), oofem::StressStrainBaseVector::StressStrainBaseVector(), oofem::FEInterpolation3d::surfaceEvaldNdx(), oofem::FEI3dTetQuad::surfaceEvalN(), oofem::FEInterpolation3d::surfaceEvalNormal(), oofem::FloatMatrix::symmetrized(), oofem::SymCompCol::times(), oofem::SpoolesSparseMtrx::times(), oofem::SparseMtrx::times(), oofem::SkylineUnsym::times(), oofem::Skyline::times(), oofem::PetscSparseMtrx::times(), oofem::DSSMatrix::times(), oofem::SpoolesSparseMtrx::timesT(), oofem::SparseMtrx::timesT(), oofem::PetscSparseMtrx::timesT(), oofem::SparseMtrx::toFloatMatrix(), oofem::PetscSparseMtrx::toFloatMatrix(), oofem::StokesFlow::updateComponent(), oofem::TR1_2D_SUPG::updateRotationMatrix(), oofem::StructuralElementEvaluator::updateRotationMatrix(), oofem::Tet21Stokes::updateYourself(), oofem::ZZErrorEstimatorInterface::ZZErrorEstimatorI_computeElementContributions(), and oofem::ParmetisLoadBalancer::~ParmetisLoadBalancer().

#define OOFEM_ERROR1 ( _1   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, __FILE__, __LINE__, _1); oofem_exit(1); }
#define OOFEM_ERROR2 ( _1,
_2   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, __FILE__, __LINE__, _1, _2); oofem_exit(1); }

Definition at line 124 of file error.h.

Referenced by oofem::Dictionary::add(), oofem::ActiveBoundaryCondition::addElementSide(), oofem::SloanGraph::assignNewNumbers(), oofem::AList< T >::at(), oofem::FloatMatrix::beInverseOf(), oofem::Matrix::checkBounds(), oofem::FloatMatrix::computeNorm(), oofem::FloatMatrix::computeReciprocalCondition(), oofem::FloatMatrix::copyColumn(), oofem::T3DInterface::createInput(), oofem::CemhydMat::CreateStatus(), oofem::WallClockLoadBalancerMonitor::decide(), oofem::TopologyDescription::doOutput(), oofem::IGAElement::drawRawGeometry(), oofem::BSplineInterpolation::evaldNdx(), oofem::BSplineInterpolation::evalN(), oofem::Subdivision::RS_Tetra::evaluateLongestEdge(), oofem::Subdivision::RS_Triangle::evaluateLongestEdge(), oofem::POIExportModule::exportIntVars(), oofem::IntegrationRule::getIntegrationPoint(), oofem::VTKXMLExportModule::giveCellType(), oofem::VTKExportModule::giveCellType(), oofem::StructuralElementEvaluator::giveCharacteristicMatrix(), oofem::LineSurfaceTension::giveCharacteristicMatrix(), oofem::LineSurfaceTension::giveCharacteristicVector(), oofem::ActiveBoundaryCondition::giveClassName(), oofem::SkylineUnsym::GiveCopy(), oofem::Element::giveDofManager(), oofem::SpatialLocalizer::giveElementClosestToPoint(), oofem::XfemManager::giveEnrichmentFunction(), oofem::XfemManager::giveEnrichmentItem(), oofem::XfemManager::giveGeometry(), oofem::TSplineInterpolation::giveKnotSpanBasisFuncMask(), oofem::BSplineInterpolation::giveKnotSpanBasisFuncMask(), oofem::MicroMaterial::giveMacroStiffnessMatrix(), oofem::ModuleManager< InitModule >::giveModule(), oofem::StressStrainBaseVector::giveReducedSize(), oofem::StressStrainBaseVector::giveStressStrainMask(), oofem::BSplineInterpolation::giveTransformationJacobian(), oofem::NonStationaryTransportProblem::giveUnknownComponent(), oofem::AList< T >::includes(), oofem::DiagPreconditioner::init(), oofem::InitModule::initializeFrom(), oofem::IGATSplineElement::initializeFrom(), oofem::IGAElement::initializeFrom(), oofem::BSplineInterpolation::initializeFrom(), oofem::XfemManager::instanciateYourself(), oofem::ModuleManager< InitModule >::instanciateYourself(), oofem::BSplineInterpolation::local2global(), oofem::OOFEMTXTDataReader::OOFEMTXTDataReader(), oofem::FloatArray::operator()(), oofem::MapBasedEntityRenumberingFunctor::operator()(), oofem::PetscSolver::petsc_solve(), oofem::AList< T >::put(), oofem::AList< T >::remove(), oofem::TopologyDescription::replaceFEMesh(), oofem::MicroMaterial::setMacroProperties(), oofem::GaussIntegrationRule::SetUpPointsOnLine(), oofem::FloatMatrix::solveForRhs(), oofem::StokesFlow::solveYourselfAt(), oofem::SpatialLocalizerInterface::SpatialLocalizerI_giveClosestPoint(), oofem::SpatialLocalizerInterface::SpatialLocalizerI_giveDistanceFromParametricCenter(), oofem::EngngModel::terminateAnalysis(), oofem::SpoolesSparseMtrx::timesT(), oofem::AList< T >::unlink(), oofem::LoadBalancer::unpackMigratingData(), oofem::Subdivision::RS_Tetra::update_neighbours(), oofem::IncrementalLinearStatic::updateDofUnknownsDictionary(), oofem::BufferedDataReader::writeToFile(), and oofem::ZZNodalRecoveryModelInterface::ZZNodalRecoveryMI_ComputeEstimatedInterpolationMtrx().

#define OOFEM_ERROR3 ( _1,
_2,
_3   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, __FILE__, __LINE__, _1, _2, _3); oofem_exit(1); }
#define OOFEM_ERROR4 ( _1,
_2,
_3,
_4   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, __FILE__, __LINE__, _1, _2, _3, _4); oofem_exit(1); }
#define OOFEM_ERROR5 ( _1,
_2,
_3,
_4,
_5   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, __FILE__, __LINE__, _1, _2, _3, _4, _5); oofem_exit(1); }

Definition at line 127 of file error.h.

Referenced by oofem::FloatMatrix::add(), and oofem::FloatMatrix::subtract().

#define OOFEM_ERROR6 ( _1,
_2,
_3,
_4,
_5,
_6   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_ERROR, __FILE__, __LINE__, _1, _2, _3, _4, _5, _6); oofem_exit(1); }

Definition at line 128 of file error.h.

#define OOFEM_FATAL ( _1   )     OOFEM_FATAL1(_1)

Definition at line 137 of file error.h.

Referenced by oofem::PetscSparseMtrx::GiveCopy().

#define OOFEM_FATAL1 ( _1   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_FATAL, __FILE__, __LINE__, _1); oofem_exit(1); }

@ Log-family macros that use OOFEM loggers and exit (for errors and fatals).

Definition at line 119 of file error.h.

#define OOFEM_FATAL2 ( _1,
_2   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_FATAL, __FILE__, __LINE__, _1, _2); oofem_exit(1); }
#define OOFEM_FATAL3 ( _1,
_2,
_3   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_FATAL, __FILE__, __LINE__, _1, _2, _3); oofem_exit(1); }

Definition at line 121 of file error.h.

#define OOFEM_WARNING ( _1   )     OOFEM_WARNING1(_1)
#define OOFEM_WARNING1 ( _1   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, __FILE__, __LINE__, _1); }

Definition at line 130 of file error.h.

Referenced by oofem::Homogenize::herveZaoui().

#define OOFEM_WARNING2 ( _1,
_2   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, __FILE__, __LINE__, _1, _2); }
#define OOFEM_WARNING3 ( _1,
_2,
_3   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, __FILE__, __LINE__, _1, _2, _3); }
#define OOFEM_WARNING4 ( _1,
_2,
_3,
_4   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, __FILE__, __LINE__, _1, _2, _3, _4); }

Definition at line 133 of file error.h.

#define OOFEM_WARNING5 ( _1,
_2,
_3,
_4,
_5   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, __FILE__, __LINE__, _1, _2, _3, _4, _5); }

Definition at line 134 of file error.h.

#define OOFEM_WARNING6 ( _1,
_2,
_3,
_4,
_5,
_6   )     { oofem_errLogger.writeELogMsg(Logger :: LOG_LEVEL_WARNING, __FILE__, __LINE__, _1, _2, _3, _4, _5, _6); }

Definition at line 135 of file error.h.


This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Thu Dec 22 15:28:18 2011 for OOFEM by doxygen 1.6.3 written by Dimitri van Heesch, © 1997-2011