Commit b5e2b265 authored by Kai Szuttor's avatar Kai Szuttor Committed by GitHub

Merge pull request #2430 from RudolfWeeber/lb_accuracy

Doc: Note about limited lb gpu precision
parents c9e20bea 039a78d3
Pipeline #4913 passed with stages
in 74 minutes and 19 seconds
......@@ -42,6 +42,7 @@ To use the GPU accelerated variant, replace line 5 in the example above by::
To use the (much faster) GPU implementation of the LBM, use
:class:`` in place of :class:``.
Please note that the GPU implementation uses single precision floating point operations. This decreases the accuracy of calculations compared to the CPU implementation. In particular, due to rounding errors, the fluid density decreases over time, when external forces, coupling to particles, or thermalization is used. The loss of density is on the order of $10^-12$ per time step.
The command initializes the fluid with a given set of parameters. It is
also possible to change parameters on the fly, but this will only rarely
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment