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¶
Class documentation¶
-
class
WaveBlocksND.GradientLinearCombinationHAWP[source]¶ This class implements the computation of the action of the gradient operator
applied to
a linear combination
of Hagedorn wavepackets
.-
apply_gradient(lincomb, component=None)[source]¶ Compute the effect of the gradient operator
on the linear combination
of Hagedorn wavepackets
.Parameters: - lincomb (A
LinearCombinationOfHAWPsinstance.) – The linear combination
. - component (Integer or
None.) – The index
of the component
.
Returns: One linear combination
containing the gradients
for the component
for each space dimension
component
.- lincomb (A
-