OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
A magnetic field vector. More...
#include <EMField.h>
Public Member Functions | |
BVector (double, double, double) | |
Constructor. More... | |
BVector | operator* (double scalar) const |
Scale. More... | |
double | getBx () const |
Get component. More... | |
double | getBy () const |
Get component. More... | |
double | getBz () const |
Get component. More... | |
Private Attributes | |
double | Bx |
double | By |
double | Bz |
BVector::BVector | ( | double | Bxx, |
double | Byy, | ||
double | Bzz | ||
) |
double BVector::getBx | ( | ) | const |
Get component.
Definition at line 78 of file EMField.cpp.
References Bx.
Referenced by EBVectors::getBx().
double BVector::getBy | ( | ) | const |
Get component.
Definition at line 82 of file EMField.cpp.
References By.
Referenced by EBVectors::getBy(), and EBVectors::getBz().
double BVector::getBz | ( | ) | const |
BVector BVector::operator* | ( | double | scalar | ) | const |
|
private |
Definition at line 123 of file EMField.h.
Referenced by BVector(), getBx(), and operator*().
|
private |
Definition at line 123 of file EMField.h.
Referenced by BVector(), getBy(), and operator*().
|
private |
Definition at line 123 of file EMField.h.
Referenced by BVector(), getBz(), and operator*().