Details and Options
Formally, in classical mechanics, the
Hamiltonian is a mathematical function that describes the total energy (kinetic and potential energies) of a physical system, considering all interactions between its constituents. It is denoted by H and is defined in terms of the coordinates and generalized momenta of the system.
Formally, a Hamiltonian system refers to a physical system described within the framework of
Hamiltonian mechanics. In this approach, the system is characterized by its
phase space, which is an abstract space where each point represents a set of generalized coordinates and their corresponding conjugate momenta.
The odes must be a list of ordinary differential equations, specifically a Hamiltonian system.
The h must be a Hamiltonian function.
The
energy must be a numeric expression. The variable
energy represents the energy level chosen when painting a
Poincaré section. It is a parameter that determines the specific energy value at which the section is taken. By selecting different values of
energy, one can explore different
energy regimes and capture distinct features of the
dynamical system on the Poincaré section.
The cross should be a time-dependent variable. It can also be an equation, where its left-hand side is a time-dependent variable and its right-hand side is a constant. The argument cross represents the crossing plane of the solutions.
The
recover must be a list of two time-dependent variables. This list indicates the plane where the points of each
section will be collected.
ResourceFunction["ClickPoincarePlot2D"][odes,h,energy,time,timemax,cross,recover] collects the data of the initial value together with the data of the associated orbit, this depending on the points that the user chooses in the clickable panel, also drawing the respective section.
ResourceFunction["ClickPoincarePlot2D"][odes,h,energy,time,timemax,cross,recover] takes the same options as
ListPlot.