## simulations.objects Class MagneticMonopole

```java.lang.Object
simulations.objects.BaseObject
simulations.objects.MagneticMonopole
```

public class MagneticMonopole
extends BaseObject

This BaseObject calculates the non-relativistic electric and magnetic fields of a magnetic monopole at position p moving with velocity v.

 Field Summary ` int` `image`           The image charge parameter for the monopole. ` double` `m`           The mass of the monopole. ` Vec3` `p`           The position of the monopole. ` double` `q`           The magnetic charge of the monopole. ` double` `radius`           The Pauli radius of the monopole (repulsion always dominates inside this radius). ` Vec3` `v`           The velocity of the charge. ` double` `zplane`           The location of the the thin conducting sheet in z.

 Constructor Summary ```MagneticMonopole(double q, Vec3 p, Vec3 v, double zplane, int image, double radius)```           Constructor for the monopole.

 Method Summary ` Vec3` ```Bfield(Vec3 x, Vec3 B)```           Computes the magnetic field of a non-relativistic magnetic monopole. ` Vec3` ```Efield(Vec3 x, Vec3 E)```           The electric field of a moving monopole. ` java.lang.String` `toString()`           Puts properties of the point charge into a string.

 Methods inherited from class simulations.objects.BaseObject `Bfield, Efield, Evolve, Pfield, Pfield`

 Methods inherited from class java.lang.Object `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

 Field Detail

### q

`public double q`
The magnetic charge of the monopole.

### m

`public double m`
The mass of the monopole.

`public double radius`
The Pauli radius of the monopole (repulsion always dominates inside this radius). Radius is the "Pauli" radius, that is the radius at which a r**(-12) repulsion sets in regardless of whether we have repulsion or attraction.

### p

`public Vec3 p`
The position of the monopole.

### v

`public Vec3 v`
The velocity of the charge.

### zplane

`public double zplane`
The location of the the thin conducting sheet in z.

### image

`public int image`
The image charge parameter for the monopole. If image = 0 this is just a normal monople. If image = 1 then this is a monopole whose magnetic and electric fields are non-zero only for observers with z > 0; if image = -1 then this is a monopole whose magnetic and electric fields are non-zero only for observers with z < 0

 Constructor Detail

### MagneticMonopole

```public MagneticMonopole(double q,
Vec3 p,
Vec3 v,
double zplane,
int image,
Constructor for the monopole.

Parameters:
`q` - The charge.
`p` - The position.
`v` - The velocity.
`zplane` - The location of the conducting plane.
`image` - The image charge parameter for the monopole.
`radius` - The Pauli radius.
 Method Detail

### Bfield

```public Vec3 Bfield(Vec3 x,
Vec3 B)```
Computes the magnetic field of a non-relativistic magnetic monopole.

Specified by:
`Bfield` in class `BaseObject`
Parameters:
`x` - The position of the observer.
`B` - The magnetic field at the position of the observer due to the monopole at p (calculated).
Returns:
B The magnetic field at the position of the observer due to the monopole at p (calculated.

### Efield

```public Vec3 Efield(Vec3 x,
Vec3 E)```
The electric field of a moving monopole.

Specified by:
`Efield` in class `BaseObject`
Parameters:
`x` - The position of the observer
`E` - The electric field at the observer's position if the monopope is at p (calculated).
Returns:
E The elctric field.

### toString

`public java.lang.String toString()`
Puts properties of the point charge into a string.