|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
Unit tests for RFCavity component (base layer). More...
#include <gtest/gtest.h>#include "AbsBeamline/ElementBase.h"#include "BeamlineCore/RFCavityRep.h"#include "Fields/Fieldmap.h"#include <cmath>#include <memory>
Go to the source code of this file.
Classes | |
| class | FakeFieldmap |
| class | DummyGeometry |
| class | DummyField |
| class | TestRFCavity |
| class | RFCavityTest |
Functions | |
| TEST_F (RFCavityTest, GetType) | |
| TEST_F (RFCavityTest, Bends) | |
| TEST_F (RFCavityTest, GetSetAmplitudeFrequencyPhase) | |
| TEST_F (RFCavityTest, GetDimensions) | |
| TEST_F (RFCavityTest, BodyExtentCanDifferFromFieldSupport) | |
| TEST_F (RFCavityTest, ZeroBodyLengthDoesNotFallBackToFieldmapLength) | |
| TEST_F (RFCavityTest, ApplyInside) | |
| TEST_F (RFCavityTest, ApplyBefore) | |
| TEST_F (RFCavityTest, ApplyAfter) | |
| TEST_F (RFCavityTest, ApplyPhaseZero) | |
| TEST_F (RFCavityTest, ApplyPhaseShift) | |
| TEST_F (RFCavityTest, ApplyPhasePi) | |
| TEST_F (RFCavityTest, PhaseIndependentOfFrequencyAtT0) | |
| TEST_F (RFCavityTest, ApplyScaling) | |
| TEST_F (RFCavityTest, TimeDependence) | |
| TEST_F (RFCavityTest, ApplyToReferenceParticle) | |
| TEST_F (RFCavityTest, FieldmapOutOfBounds) | |
Unit tests for RFCavity component (base layer).
This test suite validates the core behavior of RFCavity using:
Definition in file TestRFCavity.cpp.
| TEST_F | ( | RFCavityTest | , |
| ApplyAfter | |||
| ) |
Definition at line 313 of file TestRFCavity.cpp.
| TEST_F | ( | RFCavityTest | , |
| ApplyBefore | |||
| ) |
Definition at line 295 of file TestRFCavity.cpp.
| TEST_F | ( | RFCavityTest | , |
| ApplyInside | |||
| ) |
Definition at line 276 of file TestRFCavity.cpp.
| TEST_F | ( | RFCavityTest | , |
| ApplyPhasePi | |||
| ) |
Definition at line 376 of file TestRFCavity.cpp.
| TEST_F | ( | RFCavityTest | , |
| ApplyPhaseShift | |||
| ) |
Definition at line 358 of file TestRFCavity.cpp.
| TEST_F | ( | RFCavityTest | , |
| ApplyPhaseZero | |||
| ) |
Definition at line 336 of file TestRFCavity.cpp.
| TEST_F | ( | RFCavityTest | , |
| ApplyScaling | |||
| ) |
Definition at line 427 of file TestRFCavity.cpp.
| TEST_F | ( | RFCavityTest | , |
| ApplyToReferenceParticle | |||
| ) |
Definition at line 473 of file TestRFCavity.cpp.
| TEST_F | ( | RFCavityTest | , |
| Bends | |||
| ) |
Definition at line 209 of file TestRFCavity.cpp.
| TEST_F | ( | RFCavityTest | , |
| BodyExtentCanDifferFromFieldSupport | |||
| ) |
Definition at line 233 of file TestRFCavity.cpp.
| TEST_F | ( | RFCavityTest | , |
| FieldmapOutOfBounds | |||
| ) |
Definition at line 485 of file TestRFCavity.cpp.
| TEST_F | ( | RFCavityTest | , |
| GetDimensions | |||
| ) |
Definition at line 224 of file TestRFCavity.cpp.
| TEST_F | ( | RFCavityTest | , |
| GetSetAmplitudeFrequencyPhase | |||
| ) |
Definition at line 211 of file TestRFCavity.cpp.
| TEST_F | ( | RFCavityTest | , |
| GetType | |||
| ) |
Definition at line 207 of file TestRFCavity.cpp.
References RFCAVITY.
| TEST_F | ( | RFCavityTest | , |
| PhaseIndependentOfFrequencyAtT0 | |||
| ) |
Definition at line 399 of file TestRFCavity.cpp.
| TEST_F | ( | RFCavityTest | , |
| TimeDependence | |||
| ) |
Definition at line 449 of file TestRFCavity.cpp.
| TEST_F | ( | RFCavityTest | , |
| ZeroBodyLengthDoesNotFallBackToFieldmapLength | |||
| ) |
Definition at line 257 of file TestRFCavity.cpp.