Skip to content

AlexShakaev/GARM-LS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GARM-LS source code

This is the fork of source code (CPU version) for paper: GARM-LS: A Gradient-Augmented Reference-Map Method for Level-Set Fluid Simulation

Some parts are commented out. Compiles with gcc-13 on Ubuntu 22.

Usage

The code depends on xmake. Just run xmake at the root folder and it will automatically install the required dependencies (Eigen, yaml-cpp, glad, glfw).

Install gcc-13 (or later version) and run xmake f --toolchain=gcc-13 -c, then run xmake. Otherwise you can generate Cmakelists.txt with command xmake project -k cmakelists. Then build the project:

mkdir build
cd build/
CXX=/usr/bin/g++-13 cmake ..	
make

To run a test case, the command is as follows:

xmake r -w . demo -o output -d <DIMENSION> -t <CASE>

For example, running a 2d test case 0 yields the following command:

xmake r -w . demo -o output -d 2 -t 0

To preview the result, run

xmake r -w . viewer -o output

Play: Ctrl+P Reset: Ctrl+R

Citing

If you use this code please cite:

@article{10.1145/3618377,
  author = {Li, Xingqiao and Ni, Xingyu and Zhu, Bo and Wang, Bin and Chen, Baoquan},
  title = {GARM-LS: A Gradient-Augmented Reference-Map Method for Level-Set Fluid Simulation},
  year = {2023},
  volume = {42},
  number = {6},
  journal = {ACM Trans. Graph.},
}

License

MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages