OPAL (Object Oriented Parallel Accelerator Library)
2024.1
OPAL
|
#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/system/error_code.hpp>
#include <cstring>
#include <filesystem>
#include <iomanip>
#include <iostream>
#include <set>
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 | |
Ippl * | ippl |
Inform * | gmsg |
Inform * | gmsgALL |
bool checkInitAmrFlag | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 124 of file Main.cpp.
Referenced by opalMain().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 139 of file Main.cpp.
References INFORM_ALL_NODES, and opalMain().
Referenced by Option::execute().
int opalMain | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 148 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, exception, OpalData::find(), 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, is, it, 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(), Util::toUpper(), IpplInfo::Warn, IpplException::what(), SDDSParserException::what(), ClassicException::what(), assertion::what(), IpplException::where(), SDDSParserException::where(), and ClassicException::where().
Referenced by PyOpal::PyParser::initialise_from_opal_file(), and main().
Inform* gmsg |
Definition at line 70 of file Main.cpp.
Referenced by GreenWakeFunction::apply(), ArbitraryDomain::compute(), PartBunch::computeSelfFields(), PartBunch::computeSelfFields_cycl(), ThickTracker::dump_m(), OptimizeCmd::execute(), SampleCmd::execute(), OpalParser::execute(), ThickTracker::execute(), SectorMagneticFieldMap::IO::generateGrid(), SectorMagneticFieldMap::IO::getInterpolatorPolyPatch(), GreenWakeFunction::GreenWakeFunction(), PyOpal::Globals::Initialise(), Bend2D::initialise(), opalMain(), OpalParser::printHelp(), MGPoissonSolver::printLoadBalanceStats(), SectorMagneticFieldMap::IO::readLines(), SectorMagneticFieldMap::IO::readMap(), OpalParser::readStatement(), run_opal(), SectorMagneticFieldMap::setInterpolator(), Amesos2BottomSolver< Level >::setOperator(), ThickTracker::visitBeamline(), and ParallelTTracker::writePhaseSpace().
Inform* gmsgALL |
Definition at line 71 of file Main.cpp.
Referenced by PyOpal::Globals::Initialise().
Ippl* ippl |
Definition at line 69 of file Main.cpp.
Referenced by PyOpal::Globals::Initialise(), and opalMain().