Magnetic field from the COMSOL field map.
More...
#include <SimG4Common/include/SimG4Common/MapField2DRegular.h>
|
| | MapField2DRegular (const std::vector< double > &bR, const std::vector< double > &bZ, const std::vector< double > &posR, const std::vector< double > &posZ) |
| |
| virtual | ~MapField2DRegular () |
| |
| virtual void | GetFieldValue (const G4double point[4], double *bField) const final |
| | Get the value of the magnetic field value at position.
|
| |
|
| std::vector< std::vector< double > > | m_fieldR |
| | Br component of the field.
|
| |
| std::vector< std::vector< double > > | m_fieldZ |
| | Bz component of the field.
|
| |
| double | m_minR |
| | Extend of the field in r direction.
|
| |
| double | m_maxR |
| |
| double | m_widthR |
| |
| double | m_minZ |
| | Extend of the field in z direction.
|
| |
| double | m_maxZ |
| |
| double | m_widthZ |
| |
| size_t | m_nR |
| | Number of datapoints in every direction.
|
| |
| size_t | m_nZ |
| |
Magnetic field from the COMSOL field map.
The Radially symmetric regularly spaced map is expected.
- Author
- Juraj Smiesko
◆ MapField2DRegular()
| sim::MapField2DRegular::MapField2DRegular |
( |
const std::vector< double > & | bR, |
|
|
const std::vector< double > & | bZ, |
|
|
const std::vector< double > & | posR, |
|
|
const std::vector< double > & | posZ ) |
|
explicit |
◆ ~MapField2DRegular()
| virtual sim::MapField2DRegular::~MapField2DRegular |
( |
| ) |
|
|
inlinevirtual |
◆ GetFieldValue()
| void sim::MapField2DRegular::GetFieldValue |
( |
const G4double | point[4], |
|
|
double * | bField ) const |
|
finalvirtual |
Get the value of the magnetic field value at position.
- Parameters
-
| [in] | point | the position where the field is to be returned |
| [out] | bField | the return value |
◆ m_fieldR
| std::vector<std::vector<double> > sim::MapField2DRegular::m_fieldR |
|
private |
Br component of the field.
◆ m_fieldZ
| std::vector<std::vector<double> > sim::MapField2DRegular::m_fieldZ |
|
private |
Bz component of the field.
◆ m_maxR
| double sim::MapField2DRegular::m_maxR |
|
private |
◆ m_maxZ
| double sim::MapField2DRegular::m_maxZ |
|
private |
◆ m_minR
| double sim::MapField2DRegular::m_minR |
|
private |
Extend of the field in r direction.
◆ m_minZ
| double sim::MapField2DRegular::m_minZ |
|
private |
Extend of the field in z direction.
◆ m_nR
| size_t sim::MapField2DRegular::m_nR |
|
private |
Number of datapoints in every direction.
◆ m_nZ
| size_t sim::MapField2DRegular::m_nZ |
|
private |
◆ m_widthR
| double sim::MapField2DRegular::m_widthR |
|
private |
◆ m_widthZ
| double sim::MapField2DRegular::m_widthZ |
|
private |
The documentation for this class was generated from the following files: