OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
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() [1/2]

NullField::NullField ( )

Definition at line 26 of file NullField.cpp.

◆ NullField() [2/2]

NullField::NullField ( const NullField right)

Definition at line 30 of file NullField.cpp.

◆ ~NullField()

NullField::~NullField ( )
virtual

Definition at line 35 of file NullField.cpp.

Member Function Documentation

◆ operator=()

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

Definition at line 39 of file NullField.cpp.

◆ scale()

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: