This should be pretty staightforward given that FFTs exist already for the RealSpaceDataGrid and HKLData types.
Gradients should use the nabla operator ∇ (\nabla) and for a RealSpaceDataGrid{D,T} where {D,T<:Number}, the return type should be RealSpaceDataGrid{D,T} where {D,T<:SVector{D,<:Number}} (i.e. the gradient of a scalar field should be a vector field).
This should be pretty staightforward given that FFTs exist already for the
RealSpaceDataGrid
andHKLData
types.Gradients should use the nabla operator
∇
(\nabla
) and for aRealSpaceDataGrid{D,T} where {D,T<:Number}
, the return type should beRealSpaceDataGrid{D,T} where {D,T<:SVector{D,<:Number}}
(i.e. the gradient of a scalar field should be a vector field).