ozcanay / fluidanimate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to build

mkdir build && cd build && cmake .. && make -j && cp ../in_5K.fluid . && cp ../in_15K.fluid .

How to run

./fluidanimate 4 1 in_5K.fluid output_file

or

./fluidanimate 4 1 in_15K.fluid output_file

Gist

Cells are what is shared among threads. We kept track addresses accessed by threads. Then we found which thread pairs accessed how many common addresses. Pinning will be done with the help of this.

From original README in the repository: Since particles which reside in adjacent cells may interact with each other, multiple threads may need to update the cells which lie on sub-grid boundaries.

This is why we kept track of Cell addresses.

Questions

#define CACHELINE_SIZE 128 // aydin: how is this 128?

About


Languages

Language:C++ 99.7%Language:CMake 0.3%