Journals
Publish with us
Publishing partnerships
About us
Blog
Scientific Programming
Journal overview
For authors
For reviewers
For editors
Table of Contents
Special Issues
Scientific Programming
/
2017
/
Article
/
Alg 8
/
Research Article
Performance Optimization of 3D Lattice Boltzmann Flow Solver on a GPU
Algorithm 8
Code with
IF-statement
removed.
(
)
i
s_fluid
= (
cell_type
== FLUID);
(
)
x = a *
is_fluid
+ b * (!
is_fluid
);