JuliaGeodynamics / GeoParams.jl

Define material parameters, perform non-dimensionalization and provide computational routines for material parameters in geodynamic simulations
MIT License
42 stars 11 forks source link

Phase diagrams on GPUs #43

Open boriskaus opened 2 years ago

boriskaus commented 2 years ago

Phase diagrams can now be added, but this will only work on CPU's as the linear interpolation routines we use internally are not GPU-ready (we use Interpolations.jl for this).

It should actually be possible to incorporate our own interpolation routines and remove Interpolations as a dependency. A non-allocating 2D one is given here, for example.

albert-de-montserrat commented 2 years ago

Is the grid regular? Coud use/adapt https://github.com/albert-de-montserrat/StencilInterpolations.jl for this

boriskaus commented 2 years ago

yes, grid is regular.