|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
Unit tests for FM2DDynamic fieldmap class. More...
#include <gtest/gtest.h>#include "Fields/FM2DDynamic.h"#include "Fields/Fieldmap.h"#include "Ippl.h"#include "Physics/Units.h"#include "Utilities/GeneralOpalException.h"#include <cmath>#include <filesystem>#include <fstream>#include <vector>
Go to the source code of this file.
Classes | |
| class | FM2DDynamicTest |
Functions | |
| TEST_F (FM2DDynamicTest, ParseXZOrientation) | |
| TEST_F (FM2DDynamicTest, ParseZXOrientation) | |
| TEST_F (FM2DDynamicTest, FrequencyParsing) | |
| TEST_F (FM2DDynamicTest, UniformFieldStrength) | |
| TEST_F (FM2DDynamicTest, OutsideZRange) | |
| TEST_F (FM2DDynamicTest, OutsideRadialRange) | |
| TEST_F (FM2DDynamicTest, IsInside) | |
| TEST_F (FM2DDynamicTest, SwapToggle) | |
| TEST_F (FM2DDynamicTest, Normalization) | |
| TEST_F (FM2DDynamicTest, BilinearInterpolation) | |
| TEST_F (FM2DDynamicTest, ComputeFieldStatic) | |
| TEST_F (FM2DDynamicTest, GetFieldDerivativeThrows) | |
| TEST_F (FM2DDynamicTest, GetFieldDimensions6ArgThrows) | |
| TEST_F (FM2DDynamicTest, GetInfoNoCrash) | |
| TEST_F (FM2DDynamicTest, MissingFile) | |
| TEST_F (FM2DDynamicTest, DictionaryCaching) | |
| TEST_F (FM2DDynamicTest, ReadFreeCycle) | |
| TEST_F (FM2DDynamicTest, GridPointAccuracy) | |
| TEST_F (FM2DDynamicTest, XZvsZXConsistency) | |
| TEST_F (FM2DDynamicTest, FieldProjection) | |
| TEST_F (FM2DDynamicTest, FieldAccumulation) | |
Unit tests for FM2DDynamic fieldmap class.
Tests cover:
Parsing & metadata:
Field evaluation:
Geometry & bounds:
Physical behaviour:
Low-level kernel:
API behaviour:
Robustness:
Semantics:
Definition in file TestFM2DDynamic.cpp.
| TEST_F | ( | FM2DDynamicTest | , |
| BilinearInterpolation | |||
| ) |
Definition at line 474 of file TestFM2DDynamic.cpp.
References Units::cm2m, Fieldmap::getFieldstrength(), Physics::mu_0, and nr.

| TEST_F | ( | FM2DDynamicTest | , |
| ComputeFieldStatic | |||
| ) |
Definition at line 570 of file TestFM2DDynamic.cpp.
| TEST_F | ( | FM2DDynamicTest | , |
| DictionaryCaching | |||
| ) |
Definition at line 730 of file TestFM2DDynamic.cpp.
References nr.
| TEST_F | ( | FM2DDynamicTest | , |
| FieldAccumulation | |||
| ) |
Definition at line 928 of file TestFM2DDynamic.cpp.
References Fieldmap::getFieldstrength(), and nr.

| TEST_F | ( | FM2DDynamicTest | , |
| FieldProjection | |||
| ) |
Definition at line 871 of file TestFM2DDynamic.cpp.
References Fieldmap::getFieldstrength(), Physics::mu_0, and nr.

| TEST_F | ( | FM2DDynamicTest | , |
| FrequencyParsing | |||
| ) |
Definition at line 228 of file TestFM2DDynamic.cpp.
References Units::MHz2Hz, nr, and Physics::two_pi.
| TEST_F | ( | FM2DDynamicTest | , |
| GetFieldDerivativeThrows | |||
| ) |
Definition at line 664 of file TestFM2DDynamic.cpp.
References DX, Fieldmap::getFieldDerivative(), and nr.

| TEST_F | ( | FM2DDynamicTest | , |
| GetFieldDimensions6ArgThrows | |||
| ) |
Definition at line 685 of file TestFM2DDynamic.cpp.
References Fieldmap::getFieldDimensions(), and nr.

| TEST_F | ( | FM2DDynamicTest | , |
| GetInfoNoCrash | |||
| ) |
Definition at line 704 of file TestFM2DDynamic.cpp.
References Fieldmap::getInfo(), and nr.

| TEST_F | ( | FM2DDynamicTest | , |
| GridPointAccuracy | |||
| ) |
Definition at line 784 of file TestFM2DDynamic.cpp.
References Units::cm2m, Fieldmap::getFieldstrength(), and nr.

| TEST_F | ( | FM2DDynamicTest | , |
| IsInside | |||
| ) |
Definition at line 384 of file TestFM2DDynamic.cpp.
References nr.
| TEST_F | ( | FM2DDynamicTest | , |
| MissingFile | |||
| ) |
Definition at line 722 of file TestFM2DDynamic.cpp.
| TEST_F | ( | FM2DDynamicTest | , |
| Normalization | |||
| ) |
Definition at line 438 of file TestFM2DDynamic.cpp.
References Fieldmap::getFieldstrength(), and nr.

| TEST_F | ( | FM2DDynamicTest | , |
| OutsideRadialRange | |||
| ) |
Definition at line 350 of file TestFM2DDynamic.cpp.
References Fieldmap::getFieldstrength(), and nr.

| TEST_F | ( | FM2DDynamicTest | , |
| OutsideZRange | |||
| ) |
Definition at line 294 of file TestFM2DDynamic.cpp.
References Fieldmap::getFieldstrength(), and nr.

| TEST_F | ( | FM2DDynamicTest | , |
| ParseXZOrientation | |||
| ) |
Definition at line 181 of file TestFM2DDynamic.cpp.
References Units::cm2m, Fieldmap::getFieldDimensions(), Fieldmap::getType(), nr, and T2DDynamic.

| TEST_F | ( | FM2DDynamicTest | , |
| ParseZXOrientation | |||
| ) |
Definition at line 205 of file TestFM2DDynamic.cpp.
References Units::cm2m, Fieldmap::getFieldDimensions(), and nr.

| TEST_F | ( | FM2DDynamicTest | , |
| ReadFreeCycle | |||
| ) |
Definition at line 747 of file TestFM2DDynamic.cpp.
References Fieldmap::freeMap(), Fieldmap::getFieldstrength(), nr, and Fieldmap::readMap().

| TEST_F | ( | FM2DDynamicTest | , |
| SwapToggle | |||
| ) |
Definition at line 417 of file TestFM2DDynamic.cpp.
References nr.
| TEST_F | ( | FM2DDynamicTest | , |
| UniformFieldStrength | |||
| ) |
Definition at line 251 of file TestFM2DDynamic.cpp.
References Fieldmap::getFieldstrength(), and nr.

| TEST_F | ( | FM2DDynamicTest | , |
| XZvsZXConsistency | |||
| ) |
Definition at line 832 of file TestFM2DDynamic.cpp.
References Fieldmap::getFieldstrength(), and nr.
