RachelCmy / den2vel

The tensorflow implementation of the paper, "Learning Meaningful Controls for Fluids" (SIGGRAPH 2021 https://rachelcmy.github.io/den2vel/), from M. Chu, N. Thuerey, HP. Seidel, C. Theobalt, and R. Zayer.
https://rachelcmy.github.io/den2vel/
MIT License
25 stars 9 forks source link

'copyGridToArrayReal' is not defined #2

Closed MillyaPC closed 3 years ago

MillyaPC commented 3 years ago

When generating datasets, the error " 'copyGridToArrayXXX' is not defined" is raised. Where can i find this function :)

RachelCmy commented 3 years ago

It is a Mantaflow function that copies fluid grids to NumPy arrays. Is the option, "-DNUMPY", enabled when compiling Mantaflow?

# compile Mantaflow
mkdir mantaflow/build
cd mantaflow/build
# GUI is optional
cmake .. -DGUI=OFF -DOPENMP=ON -DNUMPY=ON
MillyaPC commented 3 years ago

thx :)