Hamiltonian¶
- class HamiltonianDynamic.Hamiltonian(modules)[source]¶
Class used to represent the hamiltonian given by a collection of modules.
- __call__()[source]¶
Computes the hamiltonian.
Mathematicaly, computes the quantity \(\mathcal{H}(q, p, h)\).
- Returns
Scalar tensor representing the hamiltonian quantity.
- Return type
- __init__(modules)[source]¶
Instantiate the Hamiltonian related to a set of deformation module.
- Parameters
modules (Iterable or DeformationModules.DeformationModule) – Either an iterable of deformation modules or an unique module.
- property dim¶
- property module¶