OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Inform.cpp File Reference
#include "Utility/Inform.h"
#include "Utility/IpplInfo.h"
#include <fstream>
#include <cstring>
Include dependency graph for Inform.cpp:

Go to the source code of this file.

Functions

Informendl (Inform &inf)
Informlevel1 (Inform &inf)
Informlevel2 (Inform &inf)
Informlevel3 (Inform &inf)
Informlevel4 (Inform &inf)
Informlevel5 (Inform &inf)

Variables

constexpr int MIN_INFORM_LEVEL = 1
constexpr int MAX_INFORM_LEVEL = 5

Function Documentation

◆ endl()

Inform & endl ( Inform & inf)

Definition at line 42 of file Inform.cpp.

References Inform::outputMessage().

Referenced by IpplInfo::abort(), IpplInfo::abortAllNodes(), DiscConfig::add_SMP_directory(), Communicate::add_to_send_cache(), AmrMultiGrid::AmrMultiGrid(), Ring::appendElement(), CSRIGFWakeFunction::apply(), CSRWakeFunction::apply(), Cyclotron::apply(), Cyclotron::apply(), GreenWakeFunction::apply(), ParallelInterpolationFace< T, D, M, C >::apply(), ParallelPeriodicFace< T, D, M, C >::apply(), Ring::apply(), TSV_MetaCross< Vektor< T1, D >, Vektor< T2, D > >::apply(), Undulator::apply(), ParallelCyclotronTracker::applyPluginElements(), assign(), assign(), assign(), assign(), assign(), assign(), assign(), assign(), BCondBase< T, D, M, C >::BCondBase(), ParallelCyclotronTracker::bgf_main_collision_test(), BinaryRepartition(), ParallelCyclotronTracker::bunchDumpPhaseSpaceData(), ParallelCyclotronTracker::bunchMode_m(), CalcIndexedReceive(), PartBunchBase< T, Dim >::calcMeanPhi(), CalcParallelPeriodicDomain(), CSRIGFWakeFunction::calcPsi(), CSRWakeFunction::calcPsi(), coordinatetransform::CoordinateTransform::calcReferenceTrajectory(), FFTPACK< T >::callFFT(), LField< T, Dim >::CanCompress(), LField< T, Dim >::CanCompressBasedOnPhysicalCells(), SubBareField< T, Dim, S >::checkAddBrackets(), ParallelCyclotronTracker::checkNumPart(), OutputPlane::checkOne(), Vacuum::checkPressure(), Communicate::clear_ok_messages(), CommMPI::CommMPI(), ComponentFunctionFace< T, D, M, C >::ComponentFunctionFace(), ComponentFunctionFaceBCApply(), ComponentLinearExtrapolateFace< T, D, M, C >::ComponentLinearExtrapolateFace(), LField< T, Dim >::Compress(), ArbitraryDomain::compute(), ScatteringPhysics::computeEnergyLoss(), ParallelTTracker::computeExternalFields(), BoundaryGeometry::computeMeshVoxelization(), ParallelTTracker::computeParticleMatterInteraction(), MGPoissonSolver::computePotential(), PartBunch::computeSelfFields(), PartBunch::computeSelfFields(), PartBunch::computeSelfFields_cycl(), PartBunch::computeSelfFields_cycl(), ParallelTTracker::computeWakefield(), IpplParticleBase< Layout_t >::connect(), DataConnectCreator::create(), Distribution::create(), DiscField< Dim >::create_files(), Distribution::createMatchedGaussDistribution(), OpalData::define(), ParallelCyclotronTracker::deleteParticle(), DiscConfig::DiscConfig(), DiscMeta::DiscMeta(), TrimCoilMirrored::doApplyField(), ParallelTTracker::doBinaryRepartition(), OutputPlane::doCheck(), Stripper::doCheck(), CCollimator::doFinalise(), Stripper::doFinalise(), CCollimator::doFinaliseCheck(), OutputPlane::doGoOffline(), Probe::doGoOffline(), OutputPlane::doInitialise(), Septum::doInitialise(), BeamStrippingPhysics::doPhysics(), Distribution::doRestartOpalCycl(), Distribution::doRestartOpalT(), ThickTracker::dump_m(), FieldWriter::dumpField(), ParallelTTracker::dumpStats(), ParallelCyclotronTracker::dumpThetaEachTurn_m(), Distribution::emitParticles(), AmrBoxLib::ErrorEst(), SIndexExpLoop< OP, Dim >::evaluate(), Call::execute(), Help::execute(), OpalParser::execute(), OptimizeCmd::execute(), Option::execute(), OrbitThreader::execute(), ParallelCyclotronTracker::execute(), ParallelTTracker::execute(), PSystem::execute(), SampleCmd::execute(), System::execute(), ThickTracker::execute(), TrackRun::execute(), Value::execute(), ExtrapolateAndZeroFaceBCApply(), ExtrapolateFaceBCApply(), BoundaryGeometry::fastIsInside(), FieldDebugWriteb(), FieldLayout< Dim >::FieldLayout(), FieldLayout< Dim >::FieldLayout(), FieldLayout< Dim >::FieldLayout(), FieldLayout< Dim >::FieldLayout(), FieldLayout< Dim >::FieldLayout(), FieldLayout< Dim >::FieldLayout(), FileFieldDataSource< T, Dim, M, C >::FileFieldDataSource(), FileIpplParticleBaseDataSource< T >::FileIpplParticleBaseDataSource(), FileParticleAttribDataSource< T >::FileParticleAttribDataSource(), Cyclotron::finalise(), Degrader::finalise(), FlexibleCollimator::finalise(), Vacuum::finalise(), ParallelCyclotronTracker::finalizeTracking_m(), IpplInfo::find_smp_nodes(), BoundaryGeometry::findInsidePoint(), ClosedOrbitFinder< Value_type, Size_type, Stepper >::findOrbit(), ClosedOrbitFinder< Value_type, Size_type, Stepper >::findOrbitOfEnergy_m(), HashPairBuilder< PBase >::for_each(), HashPairBuilderPeriodic< PBase >::for_each(), HashPairBuilderPeriodicParallel< PBase >::for_each(), FunctionFaceBCApply(), IntCICImpl< Dim >::gather(), IntCICImpl< Dim >::gather(), IntCICImpl< Dim >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 2U >::gather(), IntCICImpl< 3U >::gather(), IntCICImpl< 3U >::gather(), IntCICImpl< 3U >::gather(), IntSUDSImpl< Dim >::gather(), IntSUDSImpl< Dim >::gather(), IntSUDSImpl< Dim >::gather(), IntTSCImpl< Dim >::gather(), IntTSCImpl< Dim >::gather(), IntTSCImpl< Dim >::gather(), Distribution::generateGaussZ(), SectorMagneticFieldMap::IO::generateGrid(), ParallelCyclotronTracker::GenericTracker(), EurekaAssign< T >::get(), EurekaAssign< T >::get(), PutSingleItem< T, false, false >::get_iter(), RFCavity::getAutoPhaseEstimate(), TravelingWave::getAutoPhaseEstimate(), RFCavity::getAutoPhaseEstimateFallback(), Cartesian< Dim, MFLOAT >::getCellPosition(), UniformCartesian< Dim, MFLOAT >::getCellPosition(), Cartesian< Dim, MFLOAT >::getCellRangeVolume(), Cartesian< Dim, MFLOAT >::getCellVolume(), UniformCartesian< Dim, MFLOAT >::getCellVolume(), Cartesian< Dim, MFLOAT >::getDeltaCell(), Cartesian< Dim, MFLOAT >::getDeltaVertex(), Cyclotron::getFieldFromFile_AVFEQ(), Cyclotron::getFieldFromFile_BandRF(), Cyclotron::getFieldFromFile_Carbon(), Cyclotron::getFieldFromFile_CYCIAE(), Cyclotron::getFieldFromFile_FFA(), Cyclotron::getFieldFromFile_Ring(), Cyclotron::getFieldFromFile_Synchrocyclotron(), Interpolator::getFieldIter(), PartBunchBase< double, 3 >::getFieldSolverType(), _Astra1DDynamic::getInfo(), _Astra1DDynamic_fast::getInfo(), _Astra1DElectroStatic::getInfo(), _Astra1DElectroStatic_fast::getInfo(), _Astra1DMagnetoStatic::getInfo(), _Astra1DMagnetoStatic_fast::getInfo(), _FM1DDynamic::getInfo(), _FM1DDynamic_fast::getInfo(), _FM1DElectroStatic::getInfo(), _FM1DElectroStatic_fast::getInfo(), _FM1DMagnetoStatic::getInfo(), _FM1DMagnetoStatic_fast::getInfo(), _FM1DProfile1::getInfo(), _FM1DProfile2::getInfo(), _FM2DDynamic::getInfo(), _FM2DElectroStatic::getInfo(), _FM2DMagnetoStatic::getInfo(), _FM3DDynamic::getInfo(), _FM3DH5BlockBase::getInfo(), _FM3DMagnetoStatic::getInfo(), _FM3DMagnetoStaticExtended::getInfo(), SectorMagneticFieldMap::getInfo(), SectorMagneticFieldMap::IO::getInterpolatorPolyPatch(), PartBunchBase< double, 3 >::getLastemittedBin(), PartBunchBase< double, 3 >::getMassPerParticle(), RFCavity::getMomentaKick(), Message::getmsg(), Cartesian< Dim, MFLOAT >::getNearestVertex(), CavityAutophaser::getPhaseAtMaxEnergy(), Vacuum::getPressureFromFile(), BareField< T, Dim >::getsingle(), ParallelCyclotronTracker::getTunes(), Cartesian< Dim, MFLOAT >::getVertexBelow(), Cartesian< Dim, MFLOAT >::getVertexPosition(), UniformCartesian< Dim, MFLOAT >::getVertexPosition(), Cartesian< Dim, MFLOAT >::getVertRangeVolume(), Degrader::goOffline(), GreenWakeFunction::GreenWakeFunction(), IndexedLocalAssign(), IndexedReceive(), IndexedSend(), ParallelCyclotronTracker::initDistInGlobalFrame(), AmrBoxLib::initFineLevels(), Bend2D::initialise(), RFCavity::initialise(), RFCavity::initialise(), BoundaryGeometry::initialize(), CenteredFieldLayout< 3, Mesh_t, Center_t >::initialize(), ParallelCyclotronTracker::initializeTracking_m(), OpalFilter::initOpalFilter(), OpalTrimCoil::initOpalTrimCoil(), ParticleMatterInteraction::initParticleMatterInteractionHandler(), FieldSolver::initSolver(), OpalWake::initWakefunction(), Distribution::injectBeam(), MultiBunchHandler::injectBunch(), ParallelCyclotronTracker::injectBunch(), BoundaryGeometry::intersectLineSegmentBoundary(), BoundaryGeometry::intersectRayBoundary(), BoundaryGeometry::intersectTinyLineSegmentBoundary(), IpplInfo::IpplInfo(), Bend2D::isFieldZero(), BareField< T, Dim >::localElement(), Ring::lockRing(), TUNE_class::lombAnalysis(), TUNE_class::lombAnalysis(), _Fieldmap::lowResolutionWarning(), SigmaGenerator::match(), ParallelCyclotronTracker::MtsTracker(), MultiBunchHandler::MultiBunchHandler(), CommMPI::myreceive(), BareField< T, Dim >::notifyUserOfDelete(), opalMain(), DiscField< Dim >::open_df_file(), DiscField< Dim >::open_df_file(), DiscField< Dim >::open_df_file_fd(), DiscParticle::open_file(), GreenWakeFunction::Wake::operator()(), operator<<(), FieldSpec< T, Dim, M, C >::operator=(), ParticleAttrib< Index_t >::operator=(), ParticleAttribElem< T, Dim >::operator=(), ParticleInteractAttrib< SingleParticlePos_t >::operator=(), ParticleInteractAttrib< SingleParticlePos_t >::operator=(), IpplInfo::param_error(), IpplInfo::param_error(), DiscConfig::parse_config(), DiscField< Dim >::parse_config(), mslang::Mask::parse_detail(), PartBinsCyc::PartBinsCyc(), BoundaryGeometry::partInside(), Communicate::perform_resend(), PeriodicFaceBCApply(), ParallelTTracker::prepareEmission(), AmrMultiGrid::print(), Attribute::print(), BeamStrippingPhysics::print(), Bend2D::print(), CCollimator::print(), FFTBoxPoissonSolver::print(), FFTPoissonSolver::print(), FieldDebugPrint< T, Dim >::print(), FieldPrint< T, Dim >::print(), FlexibleCollimator::print(), FMGPoissonSolver::print(), IpplMessageCounterRegion::print(), IpplStats::print(), ListElem::print(), MGPoissonSolver::print(), MLPoissonSolver::print(), OpalTrimCoil::print(), P3MPoissonSolver::print(), PartBins::print(), PartBunchBase< T, Dim >::print(), PolynomialTimeDependence::print(), ScatteringPhysics::print(), SinusoidalTimeDependence::print(), SplineTimeDependence::print(), StepSizeConfig::print(), Timing::print(), Timing::print(), TrackRun::print(), Vacuum::print(), DiscConfig::printDebug(), DiscField< Dim >::printDebug(), DiscMeta::printDebug(), DiscParticle::printDebug(), IpplParticleBase< PLayout >::printDebug(), SIndex< Dim >::printDebug(), Distribution::printDist(), Distribution::printDistBinomial(), Distribution::printDistFlattop(), Distribution::printDistFromFile(), Distribution::printDistGauss(), Distribution::printDistMatchedGauss(), Distribution::printDistMultiGauss(), FieldDebugPrint< T, Dim >::printelem(), Distribution::printEmissionModel(), Distribution::printEmissionModelAstra(), Distribution::printEmissionModelNone(), Distribution::printEmissionModelNonEquil(), Distribution::printEnergyBins(), Object::printHelp(), OpalParser::printHelp(), BoundaryGeometry::printInfo(), Distribution::printInfo(), FieldSolver::printInfo(), LaserProfile::printInfo(), IpplCounter::printIt(), MGPoissonSolver::printLoadBalanceStats(), IpplInfo::printVersion(), Statement::printWhere(), Communicate::process_resend_requests(), PartBunchBase< T, Dim >::push_back(), Cyclotron::read(), DiscField< Dim >::read(), DiscParticle::read(), DiscParticle::read(), FieldLayout< Dim >::read(), DiscField< Dim >::read_data(), DiscParticle::read_data(), DiscField< Dim >::read_layout(), DiscField< Dim >::read_meta(), DiscParticle::read_meta(), DiscField< Dim >::read_NDIndex(), DiscField< Dim >::read_offset(), MultiBunchHandler::readBunch(), SectorMagneticFieldMap::IO::readLines(), _Astra1DDynamic::readMap(), _Astra1DDynamic_fast::readMap(), _Astra1DElectroStatic::readMap(), _Astra1DElectroStatic_fast::readMap(), _Astra1DMagnetoStatic::readMap(), _Astra1DMagnetoStatic_fast::readMap(), _FM1DDynamic::readMap(), _FM1DDynamic_fast::readMap(), _FM1DElectroStatic::readMap(), _FM1DElectroStatic_fast::readMap(), _FM1DMagnetoStatic::readMap(), _FM1DMagnetoStatic_fast::readMap(), _FM1DProfile1::readMap(), _FM1DProfile2::readMap(), _FM2DDynamic::readMap(), _FM2DElectroStatic::readMap(), _FM2DMagnetoStatic::readMap(), _FM3DDynamic::readMap(), _FM3DH5Block::readMap(), _FM3DH5Block_nonscale::readMap(), _FM3DMagnetoStatic::readMap(), _FM3DMagnetoStaticExtended::readMap(), _FM3DMagnetoStaticH5Block::readMap(), SectorMagneticFieldMap::IO::readMap(), OpalParser::readStatement(), H5PartWrapperForPC::readStepHeader(), LField< T, Dim >::ReallyUncompress(), PartBunchBase< double, 3 >::rebin(), reduce(), AmrBoxLib::regrid(), Communicate::remove_single_ok_message(), DiscConfig::replace_wildcards(), H5PartWrapper::reportOnError(), Communicate::request_retransmission(), PartBunchBase< T, Dim >::resetPartBinID2(), PartBunch::resizeMesh(), Util::rewindLinesSDDS(), OutputPlane::rk4Test(), OpalParser::run(), LossDataSink::save(), PeakFinder::save(), LossDataSink::saveASCII(), MultiBunchHandler::saveBunch(), IntCICImpl< Dim >::scatter(), IntCICImpl< Dim >::scatter(), IntCICImpl< Dim >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 2U >::scatter(), IntCICImpl< 3U >::scatter(), IntCICImpl< 3U >::scatter(), IntCICImpl< 3U >::scatter(), IntSUDSImpl< Dim >::scatter(), IntSUDSImpl< Dim >::scatter(), IntSUDSImpl< Dim >::scatter(), IntTSCImpl< Dim >::scatter(), IntTSCImpl< Dim >::scatter(), IntTSCImpl< Dim >::scatter(), scatter(), SDDSWriter::SDDSWriter(), Select::select(), Distribution::selectRandomGenerator(), Communicate::send(), Communicate::send_ok_message(), PartBunch::setBCAllOpen(), PartBunch::setBCAllPeriodic(), PartBunch::setBCForDCBeam(), MultiBunchHandler::setBinning(), PartBunchBase< T, Dim >::setCharge(), PartBunchBase< double, 3 >::setChargeZeroPart(), Distribution::setDistParametersGauss(), TrackRun::setDistributionParallelT(), PartBunchBase< double, 3 >::setGlobalMeanR(), PartBunchBase< double, 3 >::setMassZeroPart(), MultiBunchHandler::setMode(), ClassicField::setOff(), ClassicField::setOn(), Amesos2BottomSolver< Level >::setOperator(), ParallelTTracker::setOptionalVariables(), PartBunchBase< T, Dim >::setPBins(), MultiBunchHandler::setRadiusTurns(), Distribution::setSigmaP_m(), BareField< T, Dim >::setup(), FFTPACK< T >::setup(), FieldLayout< Dim >::setup(), TrackRun::setupCyclotronTracker(), Bend2D::setupDefaultFieldMap(), TrackRun::setupThickTracker(), TrackRun::setupTTracker(), GreenWakeFunction::setWakeFromFile(), sfp1(), sfp2(), sfp3(), Distribution::shiftDistCoordinates(), ParallelCyclotronTracker::singleParticleDump(), BelosBottomSolver< Level >::solve(), interpolation::PPSolveFactory::solve(), spap(), IpplCounter::stopCounter(), H5PartWrapper::storeCavityInformation(), Cartesian< Dim, MFLOAT >::storeSpacingFields(), ParticleCashedLayout< T, Dim, Mesh >::swap_ghost_particles(), ParticleInteractLayout< T, Dim, Mesh >::swap_ghost_particles(), ParticlePos_t< double, 3 >::swap_particles(), ParticlePos_t< double, 3 >::swap_particles(), AmrBoxLib::tagForEfield_m(), AmrBoxLib::tagForPotentialStrength_m(), BeamStrippingPhysics::transformToSecondary(), LField< T, Dim >::TryCompress(), TryCompressLHS(), Communicate::unpack_message(), Communicate::unpack_retransmission_request(), OpalRBend3D::update(), OpalRBend::update(), OpalSBend::update(), ParallelCyclotronTracker::update_m(), Cartesian< Dim, MFLOAT >::updateMeshSpacingGuards(), ParallelTTracker::updateReferenceParticle(), ParallelTTracker::updateRFElement(), OpalBeamline::visit(), ThickTracker::visitBeamline(), ParallelCyclotronTracker::visitCCollimator(), ParallelCyclotronTracker::visitCorrector(), ParallelCyclotronTracker::visitCyclotron(), ParallelCyclotronTracker::visitDegrader(), ParallelCyclotronTracker::visitDrift(), ParallelCyclotronTracker::visitMultipole(), ParallelCyclotronTracker::visitMultipoleT(), ParallelCyclotronTracker::visitProbe(), ParallelCyclotronTracker::visitRBend(), ParallelCyclotronTracker::visitRFCavity(), ParallelCyclotronTracker::visitRing(), ParallelCyclotronTracker::visitSBend(), ParallelCyclotronTracker::visitSBend3D(), ParallelCyclotronTracker::visitScalingFFAMagnet(), ParallelCyclotronTracker::visitSeptum(), ParallelCyclotronTracker::visitSolenoid(), ParallelCyclotronTracker::visitStripper(), ParallelCyclotronTracker::visitVacuum(), ParallelCyclotronTracker::visitVariableRFCavity(), ParallelCyclotronTracker::visitVariableRFCavityFringeField(), ParallelCyclotronTracker::visitVerticalFFAMagnet(), DiscField< Dim >::write(), DiscParticle::write(), DiscParticle::write(), FieldLayout< Dim >::write(), DiscParticle::write_data(), DiscField< Dim >::write_layout(), DiscParticle::write_meta(), DiscField< Dim >::write_offset_and_data(), DumpEMFields::writeFieldThis(), DumpFields::writeFieldThis(), DataSink::writeImpactStatistics(), Distribution::writeOutFileEmission(), Distribution::writeOutFileHeader(), Distribution::writeOutFileInjection(), Cyclotron::writeOutputFieldFiles(), ParallelTTracker::writePhaseSpace(), H5PartWrapperForPC::writeStepHeader(), H5PartWrapperForPT::writeStepHeader(), and CommMPI::~CommMPI().

Here is the call graph for this function:

◆ level1()

Inform & level1 ( Inform & inf)

Definition at line 45 of file Inform.cpp.

References Inform::setMessageLevel().

Referenced by ParallelTTracker::computeExternalFields(), ParallelTTracker::dumpStats(), OrbitThreader::execute(), ParallelTTracker::execute(), CavityAutophaser::getPhaseAtMaxEnergy(), PartBunchBase< T, Dim >::print(), Timing::print(), ParallelTTracker::updateReferenceParticle(), and Distribution::writeOutFileEmission().

Here is the call graph for this function:

◆ level2()

◆ level3()

◆ level4()

Inform & level4 ( Inform & inf)

Definition at line 48 of file Inform.cpp.

References Inform::setMessageLevel().

Referenced by Cyclotron::apply(), Ring::apply(), ParallelCyclotronTracker::bgf_main_collision_test(), Vacuum::checkPressure(), ScatteringPhysics::computeEnergyLoss(), Stripper::doCheck(), BeamStrippingPhysics::doPhysics(), and BeamStrippingPhysics::transformToSecondary().

Here is the call graph for this function:

◆ level5()

Inform & level5 ( Inform & inf)

Definition at line 49 of file Inform.cpp.

References Inform::setMessageLevel().

Referenced by CommMPI::CommMPI(), and opalMain().

Here is the call graph for this function:

Variable Documentation

◆ MAX_INFORM_LEVEL

int MAX_INFORM_LEVEL = 5
constexpr

Definition at line 36 of file Inform.cpp.

Referenced by Inform::setMessageLevel(), and Inform::setOutputLevel().

◆ MIN_INFORM_LEVEL

int MIN_INFORM_LEVEL = 1
constexpr