O P A R - Open Architecture Particle in Cell Simulation - Version 3.0
Plasma simulations with dust particles
 All Classes Files Functions Variables Friends Macros Groups Pages
Classes | Macros
diagnostic.h File Reference
#include "normalization.h"
#include "dimensionality.h"
#include "task.h"
#include "parameter.h"
#include "simulation.h"
#include "numeric.h"
#include <vector>
#include <fstream>

Go to the source code of this file.

Classes

class  DiagPort
 Abstract class for directing diagnostics to some output. The DiagPort defines an abstract interface for directing diagnostic data to some output. At the moment only the File class implements this interface. More...
class  File
 Implements a DiagPort for writing data to a file. The Series parameter of the DiagPort has the following meaning: if set to true (1) then only one file is produced with all new data appended at the end. If set to false (0) the file name given by the file parameter is parsed, replacing the first occurence of "#t" with the current time step. Then for each diagnostic output a new file is created. If the file name doesn't contain "#t" then everytime an output is created the old data is overwritten. More...
class  Diagnostic
 This is the base class for any diagnostic task inside another Task. It doesn't do much but allows the user to specify a DiagPort object by it's name in the setup file. More...
class  Trajectory
 Diagnostic to write out the trajectory of a single particle of a Species. More...
class  PhaseSpace
class  DiagValue< TYPE >
 Template Diagnostic to write out any single value type. The TYPE has to define the operator /(T,double) the result of which has a matching DiagPort::Out method. More...
class  DiagGrid< TYPE >
 Template Diagnostic to write out a grid of any type. The TYPE has to be cast-able to double. More...
class  DiagGridLine< TYPE >
 Diagnostics for just one line of a 2d- or 3d-grid. More...

Macros

#define DOUBLEVEC   std::vector<double>
#define ID_DIAGPORT   "DiagPort"
#define ID_DIAGNOSTIC   "Diagnostic"
 Names of the diagnostic classes.
#define GID_1DGRID   "1d-grid"
#define GID_VALUE   "scalar"
#define GID_1DPOS   "1d-vec"
#define GID_1DPS   "4d-vec"
 Indentifier names of the different output types used for the addressing of an output in the BeginStep method of a DiagPort.

Detailed Description

This file contains all the classes that implement diagnostics and diagnostic ports.