maziarraissi / PINNs

Physics Informed Deep Learning: Data-driven Solutions and Discovery of Nonlinear Partial Differential Equations
https://maziarraissi.github.io/PINNs
MIT License
3.49k stars 1.22k forks source link

Code to generate higher order butcher table #3

Open Ishrak-DataScience opened 4 years ago

Ishrak-DataScience commented 4 years ago

Can we have the code to generate higher-order butcher table?

VKC-07 commented 3 years ago

I'm looking for the same. Please share if you have it.

martinpflaum commented 6 months ago

Hi, I think the ButcherTable.nb file contains the code. It's a Mathematica notebook. Some where it states that

Cell[BoxData[
 RowBox[{"Export", "[", 
  RowBox[{
   RowBox[{"ToString", "[", 
    RowBox[{"StringForm", "[", 
     RowBox[{"\"\<Butcher_IRK``.txt\>\"", ",", "q"}], "]"}], "]"}], ",", 
   RowBox[{"Re", "[", 
    RowBox[{"N", "[", "Butcher", "]"}], "]"}], ",", "\"\<Table\>\""}], 
  "]"}]], "Input",

this seems to be the Code where it exports the values calculated to the Butcher_IRKnumber.txt files. regards, Martin