OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
#include "opal.h"
#include "H5hut.h"
#include "AbstractObjects/OpalData.h"
#include "OpalConfigure/Configure.h"
#include "OpalParser/OpalParser.h"
#include "Parser/FileStream.h"
#include "Parser/TerminalStream.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>
Go to the source code of this file.
Functions | |
bool | checkInitAmrFlag (int argc, char *argv[]) |
int | main (int argc, char *argv[]) |
Variables | |
Ippl * | ippl |
Inform * | gmsg |
bool checkInitAmrFlag | ( | int | argc, |
char * | argv[] | ||
) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 127 of file Main.cpp.
References Communicate::barrier(), checkInitAmrFlag(), Fieldmap::clearDictionary(), IpplInfo::Comm, IpplInfo::compileOptions(), Configure::configure(), IpplInfo::Debug, OpalData::deleteInstance(), Options::echo, endl(), IpplInfo::Error, ERRORMSG, Hypervolume::fs, OpalData::getAuxiliaryOutputDirectory(), IpplInfo::getComm(), Util::getGitRevision(), OpalData::getInputBasename(), OpalData::getInstance(), IpplTimings::getTimer(), gmsg, handleGSLErrors(), IpplInfo::Info, INFOMSG, INFORM_ALL_NODES, OpalData::inRestartRun(), ippl, level5(), IpplInfo::myNode(), Hypervolume::n, OPAL_COMPILE_OPTIONS, OPAL_PROJECT_VERSION, IpplTimings::print(), IpplInfo::printVersion(), OpalParser::run(), FileStream::setEcho(), FTps< T, N >::setGlobalTruncOrder(), OpalData::setRestartFileName(), OpalData::setRestartRun(), OpalData::setRestartStep(), IpplTimings::startTimer(), IpplTimings::stopTimer(), OpalData::storeArguments(), OpalData::storeInputFn(), IpplInfo::Warn, EarlyLeaveException::what(), and EarlyLeaveException::where().
Referenced by Option::execute().
Inform* gmsg |
Definition at line 62 of file Main.cpp.
Referenced by Cyclotron::apply(), GreenWakeFunction::apply(), Undulator::apply(), ParallelCyclotronTracker::applyPluginElements(), ParallelCyclotronTracker::bunchDumpPhaseSpaceData(), ParallelCyclotronTracker::bunchMode_m(), coordinatetransform::CoordinateTransform::calcReferenceTrajectory(), ParallelCyclotronTracker::checkNumPart(), Vacuum::checkPressure(), Distribution::chooseInputMomentumUnits(), ArbitraryDomain::compute(), ParallelTTracker::computeExternalFields(), BoundaryGeometry::computeMeshVoxelization(), ParallelTTracker::computeParticleMatterInteraction(), PartBunch::computeSelfFields(), PartBunch::computeSelfFields_cycl(), ParallelTTracker::computeWakefield(), Distribution::create(), Distribution::createMatchedGaussDistribution(), ParallelCyclotronTracker::deleteParticle(), PartBunchBase< double, 3 >::doEmission(), CCollimator::doFinalise(), Stripper::doFinalise(), 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(), Vacuum::finalise(), FlexibleCollimator::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(), 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(), main(), SigmaGenerator::match(), ParallelCyclotronTracker::MtsTracker(), MultiBunchHandler::MultiBunchHandler(), PartBinsCyc::PartBinsCyc(), BoundaryGeometry::partInside(), ParallelTTracker::prepareEmission(), FlexibleCollimator::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().