Commit e8a64a2c authored by Uldis Locans's avatar Uldis Locans
Browse files

remove enableDKS from OPAL options

parent a4c1678c
......@@ -71,7 +71,6 @@ namespace {
BOUNDPDESTROYFQ,
BEAMHALOBOUNDARY,
CLOTUNEONLY,
ENABLEDKS,
SIZE
};
}
......@@ -169,9 +168,6 @@ Option::Option():
itsAttr[BEAMHALOBOUNDARY] = Attributes::makeReal
("BEAMHALOBOUNDARY", "Defines in therms of sigma where the halo starts Default 0.0",0.0);
itsAttr[ENABLEDKS] = Attributes::makeBool
("ENABLEDKS", "Enable the use of GPUs in OPAL trough DKS", enableDKS);
FileStream::setEcho(echo);
rangen.init55(seed);
}
......@@ -214,7 +210,6 @@ Option::Option(const std::string &name, Option *parent):
Attributes::setBool(itsAttr[ASCIIDUMP], asciidump);
Attributes::setReal(itsAttr[BOUNDPDESTROYFQ], 10);
Attributes::setReal(itsAttr[BEAMHALOBOUNDARY], 0);
Attributes::setBool(itsAttr[ENABLEDKS], enableDKS);
}
......@@ -242,7 +237,6 @@ void Option::execute() {
csrDump = Attributes::getBool(itsAttr[CSRDUMP]);
ppdebug = Attributes::getBool(itsAttr[PPDEBUG]);
enableHDF5 = Attributes::getBool(itsAttr[ENABLEHDF5]);
enableDKS = Attributes::getBool(itsAttr[ENABLEDKS]);
if(itsAttr[ASCIIDUMP]) {
asciidump = Attributes::getBool(itsAttr[ASCIIDUMP]);
......@@ -307,10 +301,6 @@ void Option::execute() {
nLHS = int(Attributes::getReal(itsAttr[NLHS]));
}
if(itsAttr[ENABLEDKS]) {
enableDKS = bool(Attributes::getBool(itsAttr[ENABLEDKS]));
}
if(itsAttr[CZERO]) {
cZero = bool(Attributes::getBool(itsAttr[CZERO]));
}
......
......@@ -87,6 +87,4 @@ namespace Options {
// Mainly used in the CyclotronTracker as of now -DW
int boundpDestroyFreq = 10;
// Option to enable the use of GPUs in OPAL with DKS library
bool enableDKS = false;
}
......@@ -155,9 +155,6 @@ namespace Options {
/// Do closed orbit and tune calculation only.
extern bool cloTuneOnly;
/// Enable the use of GPUs in OPAL using DKS library
extern bool enableDKS;
}
#endif // OPAL_Options_HH
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment