JuliaGeodynamics / LaMEM.jl

Julia interface to LaMEM (Lithosphere and Mantle Evolution Model)
GNU General Public License v3.0
30 stars 13 forks source link

prepare_lamem to generate model setups from Julia #36

Closed boriskaus closed 8 months ago

boriskaus commented 8 months ago

This adds the function prepare_lamem which works just as run_lamem, except that it does not start a simulation. Instead it saves output to disk is you can run this on another machine:

julia> prepare_lamem(model, 8);
Creating LaMEM input files in the directory: 
Saved file: Model3D.vts
Generated output generated for 8 cores:
   Base directory       : /Users/kausb/.julia/dev/LaMEM
   LaMEM parameter file : /output.dat
   Marker files         : /markers/
Copy these files over to the computer where you want to run your simulation

here model is a Julia-generated model setup.