OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Macros | Variables
Vacuum.cpp File Reference
#include "AbsBeamline/Vacuum.h"
#include "AbsBeamline/BeamlineVisitor.h"
#include "AbstractObjects/OpalData.h"
#include "Algorithms/PartBunchBase.h"
#include "Physics/Physics.h"
#include "Physics/Units.h"
#include "Solvers/BeamStrippingPhysics.h"
#include "Solvers/ParticleMatterInteractionHandler.h"
#include "Utilities/GeneralClassicException.h"
#include "Utilities/LogicalError.h"
#include "Utilities/Util.h"
#include <array>
#include <cmath>
#include <cstdio>
#include <filesystem>
#include <fstream>
#include <iostream>
Include dependency graph for Vacuum.cpp:

Go to the source code of this file.

Macros

#define CHECK_VAC_FSCANF_EOF(arg)
 

Variables

Informgmsg
 
constexpr std::array< std::pair< ResidualGas, std::string_view >, 2 > residualGasMap
 

Macro Definition Documentation

◆ CHECK_VAC_FSCANF_EOF

#define CHECK_VAC_FSCANF_EOF (   arg)
Value:
if (arg == EOF)\
throw GeneralClassicException("Vacuum::getPressureFromFile",\
"fscanf returned EOF at " #arg);
arg(a))

Definition at line 42 of file Vacuum.cpp.

Variable Documentation

◆ gmsg

Inform* gmsg
extern

Definition at line 70 of file Main.cpp.

◆ residualGasMap

constexpr std::array<std::pair<ResidualGas, std::string_view>, 2> residualGasMap
constexpr
Initial value:

Definition at line 91 of file Vacuum.cpp.

Referenced by Vacuum::getResidualGasName(), and Vacuum::setResidualGas().