Closed albert-de-montserrat closed 10 months ago
It would makes sense. What's the state of CompGrids
? is it usable or needs a good update/rework?
it essentially contains nothing, so adding lazy_grid
here as well as the CreateArrays
function we discussed on Discord would be a great start.
It would allow us to make GeophysicalModelGenerator
compatible with ParallelStencil
examples with rather minor changes.
Cool! Once I have everything fully figured out and tested in JR I will see how to move it out with a proper API. CompGrids
can be a starting point.
Can heatdiffusion_PT!
deal with nonlinearities caused by latent heat?
If yes, it could fully replace the corresponding routine in MagmaThermoKinematics
(with the advantage that JustRelax
runs with MPI as well).
Not in the current state, but it should be just some extra lines of code. I will add it as soon as I can. Anything else needed for MTK?
On Tue, 2 Jan 2024, 16:44 Boris Kaus, @.***> wrote:
Can heatdiffusion_PT! deal with nonlinearities caused by latent heat? If yes, it could fully replace the corresponding routine in MagmaThermoKinematics (with the advantage that JustRelax runs with MPI as well).
— Reply to this email directly, view it on GitHub https://github.com/PTsolvers/JustRelax.jl/pull/85#issuecomment-1874193272, or unsubscribe https://github.com/notifications/unsubscribe-auth/AN23AHGVMOCMPBE2AAZNF4TYMQTN7AVCNFSM6AAAAABBFT5DPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZUGE4TGMRXGI . You are receiving this because you authored the thread.Message ID: @.***>
lazy_grid
and friends are routines that are useful also outsideJustRelax
. Would it make sense to put that in a different package (e.g.,CompGrids
)?