OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Public Member Functions | Private Attributes | List of all members
EBVectors Class Reference

A representation of an electromagnetic field. More...

#include <EMField.h>

Collaboration diagram for EBVectors:
Collaboration graph
[legend]

Public Member Functions

 EBVectors (const EVector &E, const BVector &B)
 Constructor. More...
 
EVector getE () const
 Get component. More...
 
double getEx () const
 Get component. More...
 
double getEy () const
 Get component. More...
 
double getEz () const
 Get component. More...
 
BVector getB () const
 Get field. More...
 
double getBx () const
 Get component. More...
 
double getBy () const
 Get component. More...
 
double getBz () const
 Get component. More...
 

Private Attributes

EVector E
 
BVector B
 

Detailed Description

A representation of an electromagnetic field.

Definition at line 133 of file EMField.h.

Constructor & Destructor Documentation

◆ EBVectors()

EBVectors::EBVectors ( const EVector E,
const BVector B 
)

Constructor.

Definition at line 93 of file EMField.cpp.

Member Function Documentation

◆ getB()

BVector EBVectors::getB ( ) const

Get field.

Definition at line 114 of file EMField.cpp.

References B.

◆ getBx()

double EBVectors::getBx ( ) const

Get component.

Definition at line 118 of file EMField.cpp.

References B, and BVector::getBx().

Here is the call graph for this function:

◆ getBy()

double EBVectors::getBy ( ) const

Get component.

Definition at line 122 of file EMField.cpp.

References B, and BVector::getBy().

Here is the call graph for this function:

◆ getBz()

double EBVectors::getBz ( ) const

Get component.

Definition at line 126 of file EMField.cpp.

References B, and BVector::getBy().

Here is the call graph for this function:

◆ getE()

EVector EBVectors::getE ( ) const

Get component.

Definition at line 98 of file EMField.cpp.

References E.

◆ getEx()

double EBVectors::getEx ( ) const

Get component.

Definition at line 102 of file EMField.cpp.

References E, and EVector::getEx().

Here is the call graph for this function:

◆ getEy()

double EBVectors::getEy ( ) const

Get component.

Definition at line 106 of file EMField.cpp.

References E, and EVector::getEy().

Here is the call graph for this function:

◆ getEz()

double EBVectors::getEz ( ) const

Get component.

Definition at line 110 of file EMField.cpp.

References E, and EVector::getEz().

Here is the call graph for this function:

Member Data Documentation

◆ B

BVector EBVectors::B
private

Definition at line 177 of file EMField.h.

Referenced by getB(), getBx(), getBy(), and getBz().

◆ E

EVector EBVectors::E
private

Definition at line 176 of file EMField.h.

Referenced by getE(), getEx(), getEy(), and getEz().


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