OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | List of all members
AbstractAmrWriter Class Referenceabstract

#include <AbstractAmrWriter.h>

Inheritance diagram for AbstractAmrWriter:
Inheritance graph
[legend]

Public Member Functions

virtual void writeFields (const amr::AmrScalarFieldContainer_t &rho, const amr::AmrScalarFieldContainer_t &phi, const amr::AmrVectorFieldContainer_t &efield, const amr::AmrIntArray_t &refRatio, const amr::AmrGeomContainer_t &geom, const int &nLevel, const double &time, const double &scale=1.0)=0
 
virtual void writeBunch (const AmrPartBunch *bunch_p, const double &time, const double &scale=1.0)=0
 
virtual ~AbstractAmrWriter ()
 

Detailed Description

Abstract base class for writing AMR data to files in order to plot them.

Definition at line 12 of file AbstractAmrWriter.h.

Constructor & Destructor Documentation

virtual AbstractAmrWriter::~AbstractAmrWriter ( )
inlinevirtual

Definition at line 43 of file AbstractAmrWriter.h.

Member Function Documentation

virtual void AbstractAmrWriter::writeBunch ( const AmrPartBunch bunch_p,
const double &  time,
const double &  scale = 1.0 
)
pure virtual
Parameters
bunch_p
time
scaleused for mapping

Implemented in AmrYtWriter.

virtual void AbstractAmrWriter::writeFields ( const amr::AmrScalarFieldContainer_t rho,
const amr::AmrScalarFieldContainer_t phi,
const amr::AmrVectorFieldContainer_t efield,
const amr::AmrIntArray_t refRatio,
const amr::AmrGeomContainer_t geom,
const int &  nLevel,
const double &  time,
const double &  scale = 1.0 
)
pure virtual
Parameters
rhois the charge density on all levels
phiis the electrostatic potential on all levels
efieldare the electric field components on all levels
refRatioare the refinement ratios among the levels
geomare the geometries of all levels
nLevelavailable
timespecifies the step.
scaleused for mapping

Implemented in AmrYtWriter.


The documentation for this class was generated from the following file: