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

A zero electromagnetic field. More...

#include <NullField.h>

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

Public Member Functions

 NullField ()
 
 NullField (const NullField &right)
 
virtual ~NullField ()
 
const NullFieldoperator= (const NullField &right)
 
virtual void scale (double scalar)
 Scale the field. More...
 
- Public Member Functions inherited from EMField
 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...
 

Additional Inherited Members

- Static Public Attributes inherited from EMField
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

A zero electromagnetic field.

Definition at line 30 of file NullField.h.

Constructor & Destructor Documentation

NullField::NullField ( )

Definition at line 26 of file NullField.cpp.

NullField::NullField ( const NullField right)

Definition at line 30 of file NullField.cpp.

NullField::~NullField ( )
virtual

Definition at line 35 of file NullField.cpp.

Member Function Documentation

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

Definition at line 39 of file NullField.cpp.

void NullField::scale ( double  scalar)
virtual

Scale the field.

Implements EMField.

Definition at line 43 of file NullField.cpp.


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