|
Celeritas 0.7+28f01d9
|
#include <cmath>#include <G4ThreeVector.hh>#include "corecel/Assert.hh"#include "corecel/Types.hh"#include "corecel/cont/Array.hh"Functions | |
| Array< double, 3 > | celeritas::to_array (G4ThreeVector const &v) |
| Convert a Geant4 vector to a Celeritas array with full precision. | |
| G4ThreeVector | celeritas::to_g4vector (Array< double, 3 > const &arr) |
| Convert a native Celeritas 3-vector to a Geant4 equivalent. | |
| void | celeritas::axpy (double a, G4ThreeVector const &x, G4ThreeVector *y) |
| Let y <- a * x + y. | |