GradientLinearCombinationHAWP

About the GradientLinearCombinationHAWP class

The WaveBlocks Project

@author: R. Bourquin @copyright: Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015, 2016 R. Bourquin @license: Modified BSD License

Inheritance diagram

Inheritance diagram of GradientLinearCombinationHAWP

Class documentation

class WaveBlocksND.GradientLinearCombinationHAWP[source]

This class implements the computation of the action of the gradient operator -i \varepsilon^2 \nabla_x applied to a linear combination \Upsilon of Hagedorn wavepackets \Psi.

apply_gradient(lincomb, component=None)[source]

Compute the effect of the gradient operator -i \varepsilon^2 \nabla_x on the linear combination \Upsilon of Hagedorn wavepackets \Psi.

Parameters:
  • lincomb (A LinearCombinationOfHAWPs instance.) – The linear combination \Upsilon.
  • component (Integer or None.) – The index i of the component \Phi_i.
Returns:

One linear combination \Upsilon_d containing the gradients for the component \partial_{x_d} for each space dimension component d = 1, \ldots, D.