OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
Loading...
Searching...
No Matches
OrbitThreaderTest Class Reference

Inherits testing::Test.

Collaboration diagram for OrbitThreaderTest:
Collaboration graph

Classes

class  TestableFieldSolverCmd
 

Protected Member Functions

void SetUp () override
 
std::shared_ptr< PartBunch_tmakeBunch (const size_t numParticles)
 
std::shared_ptr< MultipoleRepmakePlacedQuadrupole (const std::string &name, const double length, const double entryPosition, const double normalComponent)
 
std::shared_ptr< FieldSupportOnlyComponent > makePlacedFieldSupportOnlyComponent (const std::string &name, const double entryPosition, const double fieldLength)
 

Static Protected Member Functions

static void SetUpTestSuite ()
 
static void TearDownTestSuite ()
 

Protected Attributes

std::shared_ptr< FieldSolverCmdfsCmdBase_m
 
std::shared_ptr< DataSinkdataSink_m
 

Detailed Description

Definition at line 99 of file TestOrbitThreader.cpp.

Member Function Documentation

◆ makeBunch()

std::shared_ptr< PartBunch_t > OrbitThreaderTest::makeBunch ( const size_t  numParticles)
inlineprotected

Definition at line 141 of file TestOrbitThreader.cpp.

References dataSink_m, Beam::find(), and fsCmdBase_m.

Here is the call graph for this function:

◆ makePlacedFieldSupportOnlyComponent()

std::shared_ptr< FieldSupportOnlyComponent > OrbitThreaderTest::makePlacedFieldSupportOnlyComponent ( const std::string &  name,
const double  entryPosition,
const double  fieldLength 
)
inlineprotected

Definition at line 176 of file TestOrbitThreader.cpp.

◆ makePlacedQuadrupole()

std::shared_ptr< MultipoleRep > OrbitThreaderTest::makePlacedQuadrupole ( const std::string &  name,
const double  length,
const double  entryPosition,
const double  normalComponent 
)
inlineprotected

Definition at line 164 of file TestOrbitThreader.cpp.

◆ SetUp()

void OrbitThreaderTest::SetUp ( )
inlineoverrideprotected

Definition at line 116 of file TestOrbitThreader.cpp.

References OpalData::getInstance(), OpalData::setOpenMode(), OpalData::storeInputFn(), and OpalData::WRITE.

Here is the call graph for this function:

◆ SetUpTestSuite()

static void OrbitThreaderTest::SetUpTestSuite ( )
inlinestaticprotected

Definition at line 101 of file TestOrbitThreader.cpp.

References Options::enableHDF5, and gmsg.

◆ TearDownTestSuite()

static void OrbitThreaderTest::TearDownTestSuite ( )
inlinestaticprotected

Definition at line 110 of file TestOrbitThreader.cpp.

References gmsg.

Member Data Documentation

◆ dataSink_m

std::shared_ptr<DataSink> OrbitThreaderTest::dataSink_m
protected

Definition at line 187 of file TestOrbitThreader.cpp.

Referenced by makeBunch().

◆ fsCmdBase_m

std::shared_ptr<FieldSolverCmd> OrbitThreaderTest::fsCmdBase_m
protected

Definition at line 186 of file TestOrbitThreader.cpp.

Referenced by makeBunch().


The documentation for this class was generated from the following file: