OPAL (Object Oriented Parallel Accelerator Library)
2022.1
OPAL
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
z
Typedefs
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
v
Enumerations
Enumerator
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
i
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
a
b
c
d
e
f
i
l
m
n
o
p
s
t
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
c
d
e
f
g
i
l
m
n
o
p
s
w
Typedefs
a
c
d
e
f
i
l
m
n
o
p
q
r
s
v
Enumerations
Enumerator
c
d
e
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
src
src
Structure
GridLBalWriter.h
Go to the documentation of this file.
1
//
2
// Class GridLBalWriter
3
// This class writes a SDDS file with AMR grid load balancing information.
4
//
5
// Copyright (c) 2019, Matthias Frey, Paul Scherrer Institut, Villigen PSI, Switzerland
6
// All rights reserved
7
//
8
// Implemented as part of the PhD thesis
9
// "Precise Simulations of Multibunches in High Intensity Cyclotrons"
10
//
11
// This file is part of OPAL.
12
//
13
// OPAL is free software: you can redistribute it and/or modify
14
// it under the terms of the GNU General Public License as published by
15
// the Free Software Foundation, either version 3 of the License, or
16
// (at your option) any later version.
17
//
18
// You should have received a copy of the GNU General Public License
19
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
20
//
21
#ifndef OPAL_GRID_LBAL_WRITER_H
22
#define OPAL_GRID_LBAL_WRITER_H
23
24
#include "
SDDSWriter.h
"
25
26
class
GridLBalWriter
:
public
SDDSWriter
{
27
28
public
:
29
GridLBalWriter
(
const
std::string& fname,
bool
restart);
30
31
void
write
(
PartBunchBase<double, 3>
*beam);
32
33
private
:
34
void
fillHeader
(
const
PartBunchBase<double, 3>
*beam);
35
};
36
37
#endif
SDDSWriter.h
PartBunchBase< double, 3 >
GridLBalWriter
Definition:
GridLBalWriter.h:26
GridLBalWriter::write
void write(PartBunchBase< double, 3 > *beam)
Definition:
GridLBalWriter.cpp:91
GridLBalWriter::GridLBalWriter
GridLBalWriter(const std::string &fname, bool restart)
Definition:
GridLBalWriter.cpp:30
GridLBalWriter::fillHeader
void fillHeader(const PartBunchBase< double, 3 > *beam)
Definition:
GridLBalWriter.cpp:35
SDDSWriter
Definition:
SDDSWriter.h:41
Generated on Thu Oct 20 2022 17:40:12 for OPAL (Object Oriented Parallel Accelerator Library) by
1.9.3