OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
EVector Class Reference

An electric field vector. More...

#include <EMField.h>

Collaboration diagram for EVector:
Collaboration graph

Public Member Functions

 EVector (double, double, double)
 Constructor.
 
EVector operator* (double scalar) const
 Scale.
 
double getEx () const
 Get component.
 
double getEy () const
 Get component.
 
double getEz () const
 Get component.
 

Private Attributes

double Ex
 
double Ey
 
double Ez
 

Detailed Description

An electric field vector.

Definition at line 58 of file EMField.h.

Constructor & Destructor Documentation

◆ EVector()

EVector::EVector ( double  Exx,
double  Eyy,
double  Ezz 
)

Constructor.

Definition at line 45 of file EMField.cpp.

References Ex, Ey, and Ez.

Member Function Documentation

◆ getEx()

double EVector::getEx ( ) const

Get component.

Definition at line 55 of file EMField.cpp.

References Ex.

Referenced by EBVectors::getEx().

◆ getEy()

double EVector::getEy ( ) const

Get component.

Definition at line 57 of file EMField.cpp.

References Ey.

Referenced by EBVectors::getEy().

◆ getEz()

double EVector::getEz ( ) const

Get component.

Definition at line 59 of file EMField.cpp.

References Ez.

Referenced by EBVectors::getEz().

◆ operator*()

EVector EVector::operator* ( double  scalar) const

Scale.

Definition at line 51 of file EMField.cpp.

References Ex, Ey, and Ez.

Member Data Documentation

◆ Ex

double EVector::Ex
private

Definition at line 81 of file EMField.h.

Referenced by EVector(), getEx(), and operator*().

◆ Ey

double EVector::Ey
private

Definition at line 81 of file EMField.h.

Referenced by EVector(), getEy(), and operator*().

◆ Ez

double EVector::Ez
private

Definition at line 81 of file EMField.h.

Referenced by EVector(), getEz(), and operator*().


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