OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
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

Definition at line 28 of file AbstractAmrWriter.h.

Constructor & Destructor Documentation

◆ ~AbstractAmrWriter()

virtual AbstractAmrWriter::~AbstractAmrWriter ( )
inlinevirtual

Definition at line 59 of file AbstractAmrWriter.h.

Member Function Documentation

◆ writeBunch()

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.

◆ writeFields()

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: