#include <G4Field.hh>
Definition at line 65 of file G4Field.hh.
◆ G4Field() [1/2]
G4Field::G4Field |
( |
G4bool |
gravityOn = false | ) |
|
◆ G4Field() [2/2]
G4Field::G4Field |
( |
const G4Field & |
p | ) |
|
◆ ~G4Field()
◆ Clone()
Reimplemented in G4UniformMagField, G4UniformGravityField, G4CachedMagneticField, G4QuadrupoleMagField, G4UniformElectricField, G4DELPHIMagField, G4HarmonicPolMagField, G4LineCurrentMagField, and G4KM_DummyField.
Definition at line 54 of file G4Field.cc.
57 msg <<
"Derived class does not implement cloning,\n" 58 <<
"but Clone method called.\n" 59 <<
"Cannot continue;";
std::ostringstream G4ExceptionDescription
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ DoesFieldChangeEnergy()
virtual G4bool G4Field::DoesFieldChangeEnergy |
( |
| ) |
const |
|
pure virtual |
◆ GetFieldValue()
virtual void G4Field::GetFieldValue |
( |
const double |
Point[4], |
|
|
double * |
fieldArr |
|
) |
| const |
|
pure virtual |
Implemented in G4ElectroMagneticField, G4UniformGravityField, PurgMagTabulatedField3D, G4UniformMagField, G4UniformElectricField, HadrontherapyElectricTabulatedField3D, HadrontherapyMagneticField3D, G4MagneticField, G4ElectricField, G4CachedMagneticField, F05Field, EMField, PyG4MagneticField, TabulatedField3D, and B5MagneticField.
◆ IsGravityActive()
G4bool G4Field::IsGravityActive |
( |
| ) |
const |
|
inline |
◆ operator=()
Definition at line 42 of file G4Field.cc.
44 if (&p ==
this)
return *
this;
◆ SetGravityActive()
void G4Field::SetGravityActive |
( |
G4bool |
OnOffFlag | ) |
|
|
inline |
◆ fGravityActive
G4bool G4Field::fGravityActive |
|
private |
The documentation for this class was generated from the following files: