MushroomTools

# DynamicalBilliards.MushroomToolsModule.

MushroomTools

Module containing many functions helpful in simulating (perfect) mushroom billiards, see billiard_mushroom. Contains stuff like initializing efficiently regular or chaotic particles and functions that return the corresponding chaotic or regular phase-space volumes or portions. The functions V_3D_tot and V_3D_reg use equations derived in ref. [1].

Made by Lukas Hupe.

References

[1] A. Barnett & T. Betcke, Chaos 17, 043125 (2007).

source

Notice that the name MushroomTools is exported by DynamicalBilliards. The functions within it are not though, so you have to access them like e.g. MushroomTools.randomchaotic.

# DynamicalBilliards.MushroomTools.V_2D_totMethod.

V_2D_tot(l,w,r)

Return the total boundary map volume (2D) of a billiard_mushroom parameterized by (l,w,r).

source

# DynamicalBilliards.MushroomTools.V_3D_totMethod.

V_3D_tot(l,w,r)

Return the total phasespace volume (3D) of a billiard_mushroom parameterized by (l,w,r).

source

# DynamicalBilliards.MushroomTools.g_c_2DMethod.

g_c_2D(l, w, r)

Return the chaotic phasespace portion of the boundary map (2D) of a billiard_mushroom with stem length l, stem width w and cap radious r. This result is known analytically, see MushroomTools for references.

source

# DynamicalBilliards.MushroomTools.g_c_3DMethod.

g_c_3D(l, w, r)

Return the chaotic phasespace portion of the full (3D) phase-space of a billiard_mushroom with stem length l, stem width w and cap radious r. This result is known analytically, see MushroomTools for references.

source

# DynamicalBilliards.MushroomTools.g_r_2DMethod.

g_r_2D(l, w, r)

Return the regular phasespace portion of the boundary map (2D) of a billiard_mushroom with stem length l, stem width w and cap radious r. This result is known analytically, see MushroomTools for references.

source

# DynamicalBilliards.MushroomTools.g_r_3DMethod.

g_r_3D(l, w, r)

Return the regular phasespace portion of the full (3D) phase-space of a billiard_mushroom with stem length l, stem width w and cap radious r. This result is known analytically, see MushroomTools for references.

source

# DynamicalBilliards.MushroomTools.randin_mushroomMethod.

randin_mushroom(l, w, r [, ω])

Generate a random particle within the billiard_mushroom parameterised by l, w and r. If ω is given the particle is magnetic instead.

This function is much more efficient than randominside.

source

# DynamicalBilliards.MushroomTools.randomchaoticMethod.

randomchaotic(l, w, r)

Generate a chaotic particle, i.e. not trapped in the cap.

source

# DynamicalBilliards.MushroomTools.randomregularMethod.

randomregular(l, w, r)

Generate a regular particle (i.e. trapped in the cap).

source