OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Macros | Variables
Vacuum.cpp File Reference
#include "AbsBeamline/Vacuum.h"
#include "AbsBeamline/BeamlineVisitor.h"
#include "AbsBeamline/Cyclotron.h"
#include "Algorithms/PartBunchBase.h"
#include "Fields/Fieldmap.h"
#include "Physics/Physics.h"
#include "Solvers/BeamStrippingPhysics.h"
#include "Solvers/ParticleMatterInteractionHandler.h"
#include "Utilities/LogicalError.h"
#include "Utilities/GeneralClassicException.h"
#include <fstream>
#include <iostream>
#include <cmath>
#include <cstdio>
#include "Utility/Inform.h"
Include dependency graph for Vacuum.cpp:

Go to the source code of this file.

Macros

#define CHECK_VAC_FSCANF_EOF(arg)
 

Variables

Informgmsg
 

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 62 of file Main.cpp.

Referenced by Vacuum::checkPressure(), Vacuum::finalise(), and Vacuum::getPressureFromFile().