OPALX (Object Oriented Parallel Accelerator Library for Exascal)
MINIorX
OPALX
ElementPositionWriter.h
Go to the documentation of this file.
1
#ifndef OPAL_ELEMENT_POSITION_WRITER_H
2
#define OPAL_ELEMENT_POSITION_WRITER_H
3
4
#include "
SDDSWriter.h
"
5
6
class
ElementPositionWriter
:
public
SDDSWriter
{
7
8
public
:
9
explicit
ElementPositionWriter
(
const
std::string& fname);
10
11
void
addRow
(
double
spos,
12
const
std::vector<double>& row,
13
const
std::string&
elements
);
14
15
private
:
16
void
fillHeader
();
17
};
18
19
20
#endif
elements
elements
Definition
IndexMap.cpp:162
SDDSWriter.h
ElementPositionWriter::fillHeader
void fillHeader()
Definition
ElementPositionWriter.cpp:11
ElementPositionWriter::addRow
void addRow(double spos, const std::vector< double > &row, const std::string &elements)
Definition
ElementPositionWriter.cpp:96
ElementPositionWriter::ElementPositionWriter
ElementPositionWriter(const std::string &fname)
Definition
ElementPositionWriter.cpp:6
SDDSWriter::SDDSWriter
SDDSWriter(const std::string &fname, bool restart)
Definition
SDDSWriter.cpp:33