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

Abstract base class for electromagnetic fields. More...

#include <EMField.h>

Inheritance diagram for EMField:
Inheritance graph
[legend]
Collaboration diagram for EMField:
Collaboration graph
[legend]

Public Member Functions

 EMField ()
 Default constructor. More...
 
 EMField (const EMField &right)
 
virtual ~EMField ()
 
const EMFieldoperator= (const EMField &right)
 
virtual EVector Efield (const Point3D &P) const
 Get field. More...
 
virtual BVector Bfield (const Point3D &P) const
 Get field. More...
 
virtual EVector Efield (const Point3D &P, double t) const
 Get field. More...
 
virtual BVector Bfield (const Point3D &P, double t) const
 Get field. More...
 
virtual EBVectors EBfield (const Point3D &P) const
 Get field. More...
 
virtual EBVectors EBfield (const Point3D &P, double t) const
 Get field. More...
 
virtual void scale (double scalar)=0
 Scale the field. More...
 

Static Public Attributes

static const EVector ZeroEfield
 The constant representing a zero electric field. More...
 
static const BVector ZeroBfield
 The constant representing a zero magnetic field. More...
 
static const EBVectors ZeroEBfield
 The constant representing a zero electromagnetic field. More...
 

Detailed Description

Abstract base class for electromagnetic fields.

Definition at line 188 of file EMField.h.

Constructor & Destructor Documentation

EMField::EMField ( )

Default constructor.

Definition at line 146 of file EMField.cpp.

EMField::EMField ( const EMField right)

Definition at line 150 of file EMField.cpp.

EMField::~EMField ( )
virtual

Definition at line 154 of file EMField.cpp.

Member Function Documentation

BVector EMField::Bfield ( const Point3D P) const
virtual

Get field.

Reimplemented in OscillatingField< ConstEzField >, BSingleMultipoleField< order >, BMultipoleField, BDipoleField, and ConstBzField.

Definition at line 168 of file EMField.cpp.

References ZeroBfield.

Referenced by Component::Bfield(), Bfield(), and EBfield().

BVector EMField::Bfield ( const Point3D P,
double  t 
) const
virtual

Get field.

Reimplemented in OscillatingField< ConstEzField >, BSingleMultipoleField< order >, BMultipoleField, BDipoleField, and ConstBzField.

Definition at line 178 of file EMField.cpp.

References Bfield().

Here is the call graph for this function:

EBVectors EMField::EBfield ( const Point3D P) const
virtual

Get field.

Definition at line 183 of file EMField.cpp.

References Bfield(), and Efield().

Referenced by Component::EBfield(), and EBfield().

Here is the call graph for this function:

EBVectors EMField::EBfield ( const Point3D P,
double  t 
) const
virtual

Get field.

Definition at line 188 of file EMField.cpp.

References EBfield().

Here is the call graph for this function:

EVector EMField::Efield ( const Point3D P) const
virtual

Get field.

Reimplemented in OscillatingField< ConstEzField >, ConstEzField, and EDipoleField.

Definition at line 163 of file EMField.cpp.

References ZeroEfield.

Referenced by EBfield(), Component::Efield(), and Efield().

EVector EMField::Efield ( const Point3D P,
double  t 
) const
virtual

Get field.

Reimplemented in OscillatingField< ConstEzField >, ConstEzField, and EDipoleField.

Definition at line 173 of file EMField.cpp.

References Efield().

Here is the call graph for this function:

const EMField & EMField::operator= ( const EMField right)

Definition at line 158 of file EMField.cpp.

virtual void EMField::scale ( double  scalar)
pure virtual

Member Data Documentation

const BVector EMField::ZeroBfield
static

The constant representing a zero magnetic field.

Definition at line 239 of file EMField.h.

Referenced by Bfield().

const EBVectors EMField::ZeroEBfield
static

The constant representing a zero electromagnetic field.

Definition at line 242 of file EMField.h.

const EVector EMField::ZeroEfield
static

The constant representing a zero electric field.

Definition at line 236 of file EMField.h.

Referenced by Efield().


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