OPALX (Object Oriented Parallel Accelerator Library for Exascal)
master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
LBalWriter.h
Go to the documentation of this file.
1
//
2
// Class LBalWriter
3
// This class writes a SDDS file with MPI load balancing information.
4
//
5
// Copyright (c) 2019, Matthias Frey, Paul Scherrer Institut, Villigen PSI, Switzerland
6
// Christof Metzger-Kraus, Open Sourcerer
7
// All rights reserved
8
//
9
// This file is part of OPAL.
10
//
11
// OPAL is free software: you can redistribute it and/or modify
12
// it under the terms of the GNU General Public License as published by
13
// the Free Software Foundation, either version 3 of the License, or
14
// (at your option) any later version.
15
//
16
// You should have received a copy of the GNU General Public License
17
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
18
//
19
#ifndef OPAL_LBAL_WRITER_H
20
#define OPAL_LBAL_WRITER_H
21
22
#include "
SDDSWriter.h
"
23
24
class
LBalWriter
:
public
SDDSWriter
{
25
public
:
26
LBalWriter
(
const
std::string& fname,
bool
restart);
27
28
void
write
(
const
PartBunch_t
& beam)
override
;
29
30
private
:
31
void
fillHeader
();
32
};
33
34
#endif
SDDSWriter.h
LBalWriter
Definition
LBalWriter.h:24
LBalWriter::write
void write(const PartBunch_t &beam) override
Definition
LBalWriter.cpp:64
LBalWriter::fillHeader
void fillHeader()
Definition
LBalWriter.cpp:29
PartBunch
Definition
PartBunch.h:54
SDDSWriter
Definition
SDDSWriter.h:38
src
Structure
LBalWriter.h
Generated on Mon Jun 1 2026 10:40:53 for OPALX (Object Oriented Parallel Accelerator Library for Exascal) by
1.9.8