OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
#include <FieldWriter.h>
Public Member Functions | |
template<typename FieldType > | |
void | dumpField (FieldType &field, std::string name, std::string unit, long long step, FieldType *image=nullptr) |
Dump a scalar or vector field to a file. More... | |
Definition at line 24 of file FieldWriter.h.
void FieldWriter::dumpField | ( | FieldType & | field, |
std::string | name, | ||
std::string | unit, | ||
long long | step, | ||
FieldType * | image = nullptr |
||
) |
Dump a scalar or vector field to a file.
Definition at line 30 of file FieldWriter.hpp.
References endl(), OpalData::getAuxiliaryOutputDirectory(), OpalData::getInputBasename(), OpalData::getInstance(), IpplInfo::getNodes(), INFOMSG, name, and Util::toUpper().
Referenced by PartBunch::computeSelfFields(), and PartBunch::computeSelfFields_cycl().