15 const string myname =
"VDColdboxChannelRanges::ctor: ";
19 const Index nhaf = ntot/2;
21 const IndexVector fuEdges = {1600, 1632, 1664, 1700, 1738, 1778, 1817, 1856, 1896, 1936, 1975, 1984, 1984, 1984};
22 const IndexVector fyEdges = {1984, 2064, 2144, 2236, 2304, 0, 0, 0, 0, 0, 2624, 2560, 2432, 2304};
23 const IndexVector fzEdges = {2624, 2624, 2624, 2624, 2646, 2734, 2823, 2912, 3000, 3088, 3177, 3200, 3200, 3200};
28 cout << myname <<
"WARNING: " <<
"Ignoring invalid ghost range." <<
endl;
32 cout << myname <<
" Ghost range: [";
37 insert(
"cru", 0, ntot,
"CRU");
38 insert(
"crt", 0, nhaf,
"CRT");
39 insert(
"crb", 1600, ntot,
"CRB");
40 insert(
"crtu", 0, nu,
"CRTu");
41 insert(
"crty", nu, nu+ny,
"CRTy");
42 insert(
"crtz", nu+ny, nhaf,
"CRTz");
43 insert(
"crbu", nhaf, nhaf+nu,
"CRBu");
44 insert(
"crby", nhaf+nu, nhaf+nu+ny,
"CRBy");
45 insert(
"crbz", nhaf+nu+ny, ntot,
"CRBz");
48 for (
Index kfmb=0; kfmb<nfmb; ++kfmb ) {
49 Index ifmb = kfmb + 1;
51 if ( sfmb.size() < 2 ) sfmb =
"0" + sfmb;
52 Index ich1 = fuEdges[kfmb];
53 Index ich2 = fuEdges[kfmb+1];
54 if ( ich1 && ich2 && ich1 != ich2 ) {
56 insert(
"femb" + sfmb +
"u", ich1, ich2,
"FEMB " + sfmb +
"U");
59 ich2 = fyEdges[kfmb+1];
60 if ( ich1 && ich2 && ich1 != ich2 ) {
62 insert(
"femb" + sfmb +
"y", ich1, ich2,
"FEMB " + sfmb +
"Y");
65 ich2 = fzEdges[kfmb+1];
66 if ( ich1 && ich2 && ich1 != ich2 ) {
68 insert(
"femb" + sfmb +
"z", ich1, ich2,
"FEMB " + sfmb +
"Z");
ChannelGroupService::Name Name
void swap(Handle< T > &a, Handle< T > &b)
static constexpr double ps
void insert(Name sran, Index ich1, Index ich2, Name slab1)
std::string to_string(ModuleType const mt)
QTextStream & endl(QTextStream &s)