mlouielu / turgon

Code and notes for the CESE method

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The conservation element and solution element (CESE) method

image

Build Turgon on OS X

Clone from https://github.com/yungyuc/turgon.git

$ git clone https://github.com/yungyuc/turgon.git

Turgon needs following packages:

  1. C++14
  2. Python3.7
  3. Cmake 3.15.4+
  4. numpy
  5. pybind11 (recommended build and install locally, otherwise cmake may not find pybind11)
  6. modmesh

Make sure all dependencies have been installed.

Now change the current directory to turgon/spacetime

$ cd turgon/spacetime

Run make:

$ make CMAKE_ARGS=-Dmodmesh_INCLUDE_DIR=path_to/modmesh/include

Test

Using gtest to test if turgon is installed properly.

$ make test

How to get development note

Turgon have some development note, in order to get these note, the Latex is needed to install.

If you use Mac OS, you can check the MacTEX or:

$ brew cask install mactex

If you use Linux, you can check the texlive or:

$ sudo apt-get install texlive-full

Now change you current directory to writing

$ cd writing

then build the note:

$ make note

About

Code and notes for the CESE method


Languages

Language:Jupyter Notebook 27.8%Language:TeX 21.9%Language:Python 20.0%Language:C++ 16.1%Language:Fortran 9.5%Language:CMake 1.7%Language:Makefile 1.7%Language:Shell 0.9%Language:Dockerfile 0.3%