AlgebraicJulia / Decapodes.jl

A framework for composing and simulating multiphysics systems
https://algebraicjulia.github.io/Decapodes.jl/dev/
MIT License
49 stars 14 forks source link

Demonstrate whole-workflow parsing #164

Open lukem12345 opened 1 year ago

lukem12345 commented 1 year ago

Currently, Decapodes documentation demonstrates how to read and write Decapode ACSets to and from JSON files. However, there are no docs demonstrating how to also store the composition pattern UWD as JSON, nor the IC and BC morphisms.

Now that Catlab PR #865 supports the serialization of ACSetTransformations, we have everything that we need to load in a complete simulation:

These serialization techniques should be collated into a single docs page.

jpfairbanks commented 8 months ago

The serialization of the UWDs can also be done with SyntacticModels in a more expression tree way

jpfairbanks commented 8 months ago

https://github.com/AlgebraicJulia/SyntacticModels.jl/blob/main/src/composite_models.jl