#include <BFieldMeshZR.h>
|
| BFieldMeshZR ()=delete |
|
| BFieldMeshZR (double zmin, double zmax, double rmin, double rmax) |
|
void | reserve (int nz, int nr) |
|
void | appendMesh (int i, double mesh) |
|
void | appendField (const BFieldVectorZR &field) |
|
void | buildLUT () |
|
bool | inside (double z, double r) const |
|
void | getCache (double z, double r, BFieldCacheZR &cache, double scaleFactor=1.0) const |
|
double | min (size_t i) const |
|
double | max (size_t i) const |
|
double | zmin () const |
|
double | zmax () const |
|
double | rmin () const |
|
double | rmax () const |
|
unsigned | nmesh (size_t i) const |
|
double | mesh (size_t i, size_t j) const |
|
unsigned | nfield () const |
|
const BFieldVectorZR & | field (size_t i) const |
|
int | memSize () const |
|
Definition at line 23 of file BFieldMeshZR.h.
◆ BFieldMeshZR() [1/2]
BFieldMeshZR::BFieldMeshZR |
( |
| ) |
|
|
delete |
◆ BFieldMeshZR() [2/2]
BFieldMeshZR::BFieldMeshZR |
( |
double |
zmin, |
|
|
double |
zmax, |
|
|
double |
rmin, |
|
|
double |
rmax |
|
) |
| |
◆ appendField()
◆ appendMesh()
void BFieldMeshZR::appendMesh |
( |
int |
i, |
|
|
double |
mesh |
|
) |
| |
◆ buildLUT()
void BFieldMeshZR::buildLUT |
( |
| ) |
|
Definition at line 18 of file BFieldMeshZR.cxx.
20 for (
int j = 0; j < 2; j++) {
24 for (
unsigned i = 0;
i <
m_mesh[j].size() - 1;
i++) {
34 for (
int i = 0;
i <
n;
i++) {
◆ field()
◆ getCache()
void BFieldMeshZR::getCache |
( |
double |
z, |
|
|
double |
r, |
|
|
BFieldCacheZR & |
cache, |
|
|
double |
scaleFactor = 1.0 |
|
) |
| const |
|
inline |
◆ inside()
bool BFieldMeshZR::inside |
( |
double |
z, |
|
|
double |
r |
|
) |
| const |
◆ max()
double BFieldMeshZR::max |
( |
size_t |
i | ) |
const |
◆ memSize()
int BFieldMeshZR::memSize |
( |
| ) |
const |
◆ mesh()
double BFieldMeshZR::mesh |
( |
size_t |
i, |
|
|
size_t |
j |
|
) |
| const |
◆ min()
double BFieldMeshZR::min |
( |
size_t |
i | ) |
const |
◆ nfield()
unsigned BFieldMeshZR::nfield |
( |
| ) |
const |
◆ nmesh()
unsigned BFieldMeshZR::nmesh |
( |
size_t |
i | ) |
const |
◆ reserve()
void BFieldMeshZR::reserve |
( |
int |
nz, |
|
|
int |
nr |
|
) |
| |
◆ rmax()
double BFieldMeshZR::rmax |
( |
| ) |
const |
◆ rmin()
double BFieldMeshZR::rmin |
( |
| ) |
const |
◆ zmax()
double BFieldMeshZR::zmax |
( |
| ) |
const |
◆ zmin()
double BFieldMeshZR::zmin |
( |
| ) |
const |
◆ m_field
◆ m_invUnit
std::array<double, 2> BFieldMeshZR::m_invUnit = {1} |
|
private |
◆ m_LUT
std::array<std::vector<int>, 2> BFieldMeshZR::m_LUT |
|
private |
◆ m_max
std::array<double, 2> BFieldMeshZR::m_max |
|
private |
◆ m_mesh
std::array<std::vector<double>, 2> BFieldMeshZR::m_mesh |
|
private |
◆ m_min
std::array<double, 2> BFieldMeshZR::m_min |
|
private |
◆ m_zoff
int BFieldMeshZR::m_zoff {0} |
|
private |
The documentation for this class was generated from the following files: