mindthegap-erc / lma-matlab Goto Github PK
View Code? Open in Web Editor NEWMatlab implementation of the model by L'Heureux (2018) generating self-organized Limestone-Marl Alternations
License: Apache License 2.0
Matlab implementation of the model by L'Heureux (2018) generating self-organized Limestone-Marl Alternations
License: Apache License 2.0
Another discrepancy identified by @HannoSpreeuw:
Equation (6) from L'Heureux is not propagated into the Matlab implementation of equations (42) while this is propagated in the Python code.
So in the Matlab code we have
dCa=DCa/D0Ca=1
dCO3=DCO3/D0Ca=272.6/131.9
In Python there is an extra division by 1 โ log ฯ2.
Convert all parameters into CMS units
As identified by @HannoSpreeuw:
Matlab has
U=(presum + rhorat*Phi^3*(1-exp(10-10/Phi))/(1-Phi))
while Python has
F = 1 - np.exp(10 - 10 / Phi)
one_minus_Phi = 1 - Phi
U = self.presum + self.rhorat * Phi ** 3 * F /one_minus_Ph
So those two extra brackets in Matlab make a difference:
presum
is also divided by 1-Phi in Matlab.
For the manuscript, we need a minimal release:
Use constant scalar as defined in L'Heureux (2018) as diffusion coefficient
For cross-comparison, save output after a specific number of time steps or years, make it clear what end time is saved (dts or years)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.