19#ifndef BDSARRAYOPERATORVALUEFLIP_H
20#define BDSARRAYOPERATORVALUEFLIP_H
21#include "BDSArrayOperatorValue.hh"
22#include "BDSFieldValue.hh"
46 for (G4int i = 0; i < 4; i++)
49 G4String newName =
"Flip(";
51 {newName += std::to_string(v < 0);}
Flip field component in individual dimensions if out of original array bounds.
std::array< FIELDTYPET, 4 > multiplier
virtual BDSFieldValue Apply(BDSFieldValue v, G4int, G4int=0, G4int=0, G4int=0) const
Interface for modifying field values.
const T & z() const
Accessor by name.
const T & x() const
Accessor by name.
const T & y() const
Accessor by name.