Skip to content

yungyuc/turgon

Repository files navigation

The conservation element and solution element (CESE) method

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:

Turgon have two build type:

  1. Debug
$ make CMAKE_ARGS="-Dmodmesh_INCLUDE_DIR=path_to/modmesh/include/" CMAKE_BUILD_TYPE=Debug
  1. Release
$ make CMAKE_ARGS="-Dmodmesh_INCLUDE_DIR=path_to/modmesh/include/" CMAKE_BUILD_TYPE=Release

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 TeX and LaTeX need to be installed.

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