|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
Unit tests for FM2DMagnetoStatic fieldmap class. More...
#include <gtest/gtest.h>#include "Fields/FM2DMagnetoStatic.h"#include "Fields/Fieldmap.h"#include "Ippl.h"#include "Physics/Units.h"#include "Utilities/GeneralOpalException.h"#include <cmath>#include <filesystem>#include <fstream>#include <sstream>#include <string>#include <vector>
Go to the source code of this file.
Classes | |
| class | FM2DMagnetoStaticTest |
Unit tests for FM2DMagnetoStatic fieldmap class.
Tests cover:
Definition in file TestFM2DMagnetoStatic.cpp.
| TEST_F | ( | FM2DMagnetoStaticTest | , |
| BilinearInterpolation | |||
| ) |
Definition at line 349 of file TestFM2DMagnetoStatic.cpp.
References Units::cm2m, Fieldmap::getFieldstrength(), and nr.

| TEST_F | ( | FM2DMagnetoStaticTest | , |
| ComputeFieldStatic | |||
| ) |
Definition at line 413 of file TestFM2DMagnetoStatic.cpp.
| TEST_F | ( | FM2DMagnetoStaticTest | , |
| DictionaryCaching | |||
| ) |
Definition at line 549 of file TestFM2DMagnetoStatic.cpp.
References nr.
| TEST_F | ( | FM2DMagnetoStaticTest | , |
| FieldAccumulation | |||
| ) |
Definition at line 686 of file TestFM2DMagnetoStatic.cpp.
References Fieldmap::getFieldstrength(), and nr.

| TEST_F | ( | FM2DMagnetoStaticTest | , |
| FrequencyThrows | |||
| ) |
Definition at line 511 of file TestFM2DMagnetoStatic.cpp.
References Fieldmap::getFrequency(), nr, and Fieldmap::setFrequency().

| TEST_F | ( | FM2DMagnetoStaticTest | , |
| GetFieldDerivativeThrows | |||
| ) |
Definition at line 471 of file TestFM2DMagnetoStatic.cpp.
References DX, Fieldmap::getFieldDerivative(), and nr.

| TEST_F | ( | FM2DMagnetoStaticTest | , |
| GetFieldDimensions6ArgReturnsBoundingBox | |||
| ) |
Definition at line 489 of file TestFM2DMagnetoStatic.cpp.
References Units::cm2m, Fieldmap::getFieldDimensions(), and nr.

| TEST_F | ( | FM2DMagnetoStaticTest | , |
| GetInfoNoCrash | |||
| ) |
Definition at line 526 of file TestFM2DMagnetoStatic.cpp.
References Fieldmap::getInfo(), and nr.

| TEST_F | ( | FM2DMagnetoStaticTest | , |
| GridPointAccuracy | |||
| ) |
Definition at line 594 of file TestFM2DMagnetoStatic.cpp.
References Units::cm2m, Fieldmap::getFieldstrength(), and nr.

| TEST_F | ( | FM2DMagnetoStaticTest | , |
| IsInside | |||
| ) |
Definition at line 280 of file TestFM2DMagnetoStatic.cpp.
References nr.
| TEST_F | ( | FM2DMagnetoStaticTest | , |
| MissingFile | |||
| ) |
Definition at line 541 of file TestFM2DMagnetoStatic.cpp.
| TEST_F | ( | FM2DMagnetoStaticTest | , |
| Normalization | |||
| ) |
Definition at line 323 of file TestFM2DMagnetoStatic.cpp.
References Fieldmap::getFieldstrength(), and nr.

| TEST_F | ( | FM2DMagnetoStaticTest | , |
| OutsideRadialRange | |||
| ) |
Definition at line 259 of file TestFM2DMagnetoStatic.cpp.
References Fieldmap::getFieldstrength(), and nr.

| TEST_F | ( | FM2DMagnetoStaticTest | , |
| OutsideZRange | |||
| ) |
Definition at line 223 of file TestFM2DMagnetoStatic.cpp.
References Fieldmap::getFieldstrength(), and nr.

| TEST_F | ( | FM2DMagnetoStaticTest | , |
| ParseXZOrientation | |||
| ) |
Definition at line 152 of file TestFM2DMagnetoStatic.cpp.
References Units::cm2m, Fieldmap::getFieldDimensions(), Fieldmap::getType(), nr, and T2DMagnetoStatic.

| TEST_F | ( | FM2DMagnetoStaticTest | , |
| ParseZXOrientation | |||
| ) |
Definition at line 174 of file TestFM2DMagnetoStatic.cpp.
References Units::cm2m, Fieldmap::getFieldDimensions(), and nr.

| TEST_F | ( | FM2DMagnetoStaticTest | , |
| RadialFieldProjection | |||
| ) |
Definition at line 654 of file TestFM2DMagnetoStatic.cpp.
References Fieldmap::getFieldstrength(), and nr.

| TEST_F | ( | FM2DMagnetoStaticTest | , |
| ReadFreeCycle | |||
| ) |
Definition at line 563 of file TestFM2DMagnetoStatic.cpp.
References Fieldmap::freeMap(), Fieldmap::getFieldstrength(), nr, and Fieldmap::readMap().

| TEST_F | ( | FM2DMagnetoStaticTest | , |
| SwapToggle | |||
| ) |
Definition at line 306 of file TestFM2DMagnetoStatic.cpp.
References nr.
| TEST_F | ( | FM2DMagnetoStaticTest | , |
| UniformFieldStrength | |||
| ) |
Definition at line 195 of file TestFM2DMagnetoStatic.cpp.
References Fieldmap::getFieldstrength(), and nr.

| TEST_F | ( | FM2DMagnetoStaticTest | , |
| XZvsZXConsistency | |||
| ) |
Definition at line 624 of file TestFM2DMagnetoStatic.cpp.
References Fieldmap::getFieldstrength(), and nr.
