OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
Functions | Variables
Main.cpp File Reference
#include "opal.h"
#include "H5hut.h"
#include "AbstractObjects/OpalData.h"
#include "OpalConfigure/Configure.h"
#include "OpalParser/OpalParser.h"
#include "Parser/FileStream.h"
#include "Utilities/Timer.h"
#include "Fields/Fieldmap.h"
#include "FixedAlgebra/FTps.h"
#include "BasicActions/Option.h"
#include "Utilities/Options.h"
#include "Utilities/OpalException.h"
#include "Utilities/EarlyLeaveException.h"
#include "Utilities/Util.h"
#include "Util/SDDSParser/SDDSParserException.h"
#include "OPALconfig.h"
#include <AMReX_ParallelDescriptor.H>
#include "Message/Communicate.h"
#include "Utility/Inform.h"
#include "Utility/IpplException.h"
#include "Utility/IpplInfo.h"
#include "Utility/IpplTimings.h"
#include "GSLErrorHandling.h"
#include <gsl/gsl_errno.h>
#include <boost/filesystem.hpp>
#include <boost/system/error_code.hpp>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <set>
Include dependency graph for Main.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool checkInitAmrFlag (int argc, char *argv[])
 
int opalMain (int argc, char *argv[])
 
int main (int argc, char *argv[])
 

Variables

Ipplippl
 
Informgmsg
 

Function Documentation

◆ checkInitAmrFlag()

bool checkInitAmrFlag ( int  argc,
char *  argv[] 
)

Definition at line 113 of file Main.cpp.

Referenced by opalMain().

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 128 of file Main.cpp.

References opalMain().

Referenced by Option::execute().

Here is the call graph for this function:

◆ opalMain()

int opalMain ( int  argc,
char *  argv[] 
)

Variable Documentation

◆ gmsg

Inform* gmsg

Definition at line 61 of file Main.cpp.

Referenced by Cyclotron::apply(), GreenWakeFunction::apply(), Undulator::apply(), ParallelCyclotronTracker::applyPluginElements(), PyOpal::PyTrackRunNS::BOOST_PYTHON_MODULE(), ParallelCyclotronTracker::bunchDumpPhaseSpaceData(), ParallelCyclotronTracker::bunchMode_m(), coordinatetransform::CoordinateTransform::calcReferenceTrajectory(), ParallelCyclotronTracker::checkNumPart(), Vacuum::checkPressure(), Vacuum::checkVacuum(), ArbitraryDomain::compute(), ParallelTTracker::computeExternalFields(), BoundaryGeometry::computeMeshVoxelization(), ParallelTTracker::computeParticleMatterInteraction(), PartBunch::computeSelfFields(), PartBunch::computeSelfFields_cycl(), ParallelTTracker::computeWakefield(), Distribution::create(), Distribution::createMatchedGaussDistribution(), ParallelCyclotronTracker::deleteParticle(), CCollimator::doFinalise(), Stripper::doFinalise(), CCollimator::doFinaliseCheck(), Probe::doGoOffline(), Septum::doInitialise(), Distribution::doRestartOpalT(), ThickTracker::dump_m(), ParallelTTracker::dumpStats(), ParallelCyclotronTracker::dumpThetaEachTurn_m(), AmrBoxLib::ErrorEst(), OrbitThreader::execute(), ParallelCyclotronTracker::execute(), ParallelTTracker::execute(), ThickTracker::execute(), Call::execute(), Option::execute(), Value::execute(), OptimizeCmd::execute(), SampleCmd::execute(), OpalParser::execute(), BoundaryGeometry::fastIsInside(), Cyclotron::finalise(), Degrader::finalise(), FlexibleCollimator::finalise(), Vacuum::finalise(), ParallelCyclotronTracker::finalizeTracking_m(), BoundaryGeometry::findInsidePoint(), ClosedOrbitFinder< Value_type, Size_type, Stepper >::findOrbit(), ClosedOrbitFinder< Value_type, Size_type, Stepper >::findOrbitOfEnergy_m(), Distribution::generateGaussZ(), SectorMagneticFieldMap::IO::generateGrid(), ParallelCyclotronTracker::GenericTracker(), Cyclotron::getFieldFromFile_AVFEQ(), Cyclotron::getFieldFromFile_BandRF(), Cyclotron::getFieldFromFile_Carbon(), Cyclotron::getFieldFromFile_CYCIAE(), Cyclotron::getFieldFromFile_FFA(), Cyclotron::getFieldFromFile_Ring(), Cyclotron::getFieldFromFile_Synchrocyclotron(), SectorMagneticFieldMap::IO::getInterpolatorPolyPatch(), RFCavity::getMomentaKick(), Vacuum::getPressureFromFile(), ParallelCyclotronTracker::getTunes(), GreenWakeFunction::GreenWakeFunction(), ParallelCyclotronTracker::initDistInGlobalFrame(), AmrBoxLib::initFineLevels(), PyOpal::Globals::Initialise(), Bend2D::initialise(), RBend3D::initialise(), RFCavity::initialise(), Solenoid::initialise(), TravelingWave::initialise(), BoundaryGeometry::initialize(), ParallelCyclotronTracker::initializeTracking_m(), OpalFilter::initOpalFilter(), OpalTrimCoil::initOpalTrimCoil(), ParticleMatterInteraction::initParticleMatterInteractionHandler(), OpalWake::initWakefunction(), Distribution::injectBeam(), ParallelCyclotronTracker::injectBunch(), MultiBunchHandler::injectBunch(), BoundaryGeometry::intersectLineSegmentBoundary(), BoundaryGeometry::intersectRayBoundary(), BoundaryGeometry::intersectTinyLineSegmentBoundary(), TUNE_class::lombAnalysis(), SigmaGenerator::match(), ParallelCyclotronTracker::MtsTracker(), MultiBunchHandler::MultiBunchHandler(), opalMain(), PartBinsCyc::PartBinsCyc(), BoundaryGeometry::partInside(), ParallelTTracker::prepareEmission(), FlexibleCollimator::print(), Vacuum::print(), Attribute::print(), OpalParser::printHelp(), Object::printHelp(), MGPoissonSolver::printLoadBalanceStats(), Cyclotron::read(), MultiBunchHandler::readBunch(), SectorMagneticFieldMap::IO::readLines(), SectorMagneticFieldMap::IO::readMap(), OpalParser::readStatement(), AmrBoxLib::regrid(), run_opal(), PeakFinder::save(), LossDataSink::save(), MultiBunchHandler::saveBunch(), Select::select(), MultiBunchHandler::setBinning(), Distribution::setDistParametersGauss(), TrackRun::setDistributionParallelT(), SectorMagneticFieldMap::setInterpolator(), MultiBunchHandler::setMode(), Amesos2BottomSolver< Level >::setOperator(), ParallelTTracker::setOptionalVariables(), PartBunchBase< T, Dim >::setPBins(), MultiBunchHandler::setRadiusTurns(), TrackRun::setupCyclotronTracker(), TrackRun::setupThickTracker(), TrackRun::setupTTracker(), interpolation::PPSolveFactory::solve(), BelosBottomSolver< Level >::solve(), AmrBoxLib::tagForEfield_m(), AmrBoxLib::tagForPotentialStrength_m(), ParallelCyclotronTracker::update_m(), ParallelTTracker::updateReferenceParticle(), ThickTracker::visitBeamline(), ParallelCyclotronTracker::visitCCollimator(), ParallelCyclotronTracker::visitCorrector(), ParallelCyclotronTracker::visitCyclotron(), ParallelCyclotronTracker::visitDegrader(), ParallelCyclotronTracker::visitDrift(), ParallelCyclotronTracker::visitMultipole(), ParallelCyclotronTracker::visitMultipoleT(), ParallelCyclotronTracker::visitMultipoleTCurvedConstRadius(), ParallelCyclotronTracker::visitMultipoleTCurvedVarRadius(), ParallelCyclotronTracker::visitMultipoleTStraight(), 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(), DumpEMFields::writeFieldThis(), DumpFields::writeFieldThis(), Distribution::writeOutFileHeader(), Distribution::writeOutFileInjection(), Cyclotron::writeOutputFieldFiles(), and ParallelTTracker::writePhaseSpace().

◆ ippl

Ippl* ippl

Definition at line 60 of file Main.cpp.

Referenced by PyOpal::Globals::Initialise(), and opalMain().