Hi
It will probably be not that straightforward, body force currently is
a constant or it depends analytically on time and space.
Those symbolic parameters are used once for code generation, and are
not synchronized after.
On the other hand, you can experiment on a bit lower level:
- with --save_src and --use_src, modify manually device code:
- replace a force component for the device __global__ .
- Then in after step you write/read between the host and the
device: runner.module.get_global('a_parameter')[0] and
cuda.memcpy_htod.
the best
mk
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "sailfish-cfd" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sailfish-cfd...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sailfish-cfd/df3ca325-5d21-4b52-93e1-0839afeb6ed8n%40googlegroups.com.
--
Pełnomocnik Rektora
ds. zastosowania nowoczesnych komputerowych
metod kształcenia dla regionalnych
kadr innowacyjnej gospodarki
tel. +48 32 3497 612
http://icse.us.edu.pl
---------------------------