FourierFlows / FourierFlows.jl

Tools for building fast, hackable, pseudospectral partial differential equation solvers on periodic domains
https://bit.ly/FourierFlows
MIT License
202 stars 29 forks source link

Add method for `device_array(::AbstractGrid)` #341

Closed navidcy closed 1 year ago

navidcy commented 1 year ago

This PR adds a method for device_array based on grid.

(Inspired by discussion in https://github.com/FourierFlows/GeophysicalFlows.jl/discussions/311)

cc @chowland

navidcy commented 1 year ago

The docs don't build. #342 fixes this, let's wait for that to be merged first.