|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include <H5Writer.h>
Public Member Functions | |
| H5Writer (H5PartWrapper *h5wrapper, bool restart) | |
| void | close () |
| void | changeH5Wrapper (H5PartWrapper *h5wrapper) |
| void | storeCavityInformation () |
| double | getLastPosition () |
| void | writePhaseSpace (PartBunchBase< double, 3 > *beam, Vector_t FDext[]) |
| Dumps Phase Space to H5 file. | |
| int | writePhaseSpace (PartBunchBase< double, 3 > *beam, Vector_t FDext[], double E, double refPr, double refPt, double refPz, double refR, double refTheta, double refZ, double azimuth, double elevation, bool local) |
| Dumps phase space to H5 file in OPAL cyclotron calculation. | |
Private Attributes | |
| IpplTimings::TimerRef | H5PartTimer_m |
| Timer to track particle data/H5 file write time. | |
| H5PartWrapper * | h5wrapper_m |
| int | H5call_m |
| Current record, or time step, of H5 file. | |
Definition at line 25 of file H5Writer.h.
| H5Writer::H5Writer | ( | H5PartWrapper * | h5wrapper, |
| bool | restart ) |
Definition at line 20 of file H5Writer.cpp.
References H5PartWrapper::close(), H5call_m, H5PartTimer_m, h5wrapper_m, and H5PartWrapper::writeHeader().
|
inline |
Definition at line 91 of file H5Writer.h.
References h5wrapper_m.
|
inline |
Definition at line 85 of file H5Writer.h.
References h5wrapper_m.
|
inline |
Definition at line 103 of file H5Writer.h.
References h5wrapper_m.
|
inline |
Definition at line 97 of file H5Writer.h.
References h5wrapper_m.
| void H5Writer::writePhaseSpace | ( | PartBunchBase< double, 3 > * | beam, |
| Vector_t | FDext[] ) |
Dumps Phase Space to H5 file.
| beam | The beam. |
| FDext | The external E and B field for the head, reference and tail particles. The vector array has the following layout:
|
Definition at line 32 of file H5Writer.cpp.
References H5PartTimer_m, h5wrapper_m, IpplTimings::startTimer(), and IpplTimings::stopTimer().
| int H5Writer::writePhaseSpace | ( | PartBunchBase< double, 3 > * | beam, |
| Vector_t | FDext[], | ||
| double | E, | ||
| double | refPr, | ||
| double | refPt, | ||
| double | refPz, | ||
| double | refR, | ||
| double | refTheta, | ||
| double | refZ, | ||
| double | azimuth, | ||
| double | elevation, | ||
| bool | local ) |
Dumps phase space to H5 file in OPAL cyclotron calculation.
| beam | The beam. |
| FDext | The external E and B field for the head, reference and tail particles. The vector array has the following layout:
|
| E | average energy (MeB) |
Definition at line 47 of file H5Writer.cpp.
References PartBunchBase< T, Dim >::getTotalNum(), H5call_m, H5PartTimer_m, h5wrapper_m, IpplTimings::startTimer(), and IpplTimings::stopTimer().
|
private |
Current record, or time step, of H5 file.
Definition at line 80 of file H5Writer.h.
Referenced by H5Writer(), and writePhaseSpace().
|
private |
Timer to track particle data/H5 file write time.
Definition at line 75 of file H5Writer.h.
Referenced by H5Writer(), writePhaseSpace(), and writePhaseSpace().
|
private |
Definition at line 77 of file H5Writer.h.
Referenced by changeH5Wrapper(), close(), getLastPosition(), H5Writer(), storeCavityInformation(), writePhaseSpace(), and writePhaseSpace().