Just a minor bug in angle_btw_triangles
I have added the source tex files for object-in-fluidUG located in samples/object-in-fluid/object-in-fluidUG.

I have corrected the NAN in angle_btw_triangles. The problem was that I computed sqrt from a negative value.

Also, I unified the computation of the angle between triangles with tcl script. in scripts/object-in-fluid.tcl, in procedure angle_btw_triangles, there was still old way of computation of the angle. So I changed it accroding to the function in utils.h.

Ivan
Introduced a new coulomb method with the flag COULOMB_P3M_GPU and changed the TCL parsing function so that it gets set properly.
Implemented GPU particle charge communication.
Added todo list and test script.
Almost at point where const force added in far field GPU p3m, appears LB may be writin over force added
Merge remote-tracking branch 'upstream/master' into p3m_gpu
Started isolating the particle data communication from the GPU LB so that it can be used in all other current (and future) GPU accelerated algorithms.
Added two missing files.
Added simple test script for gpu p3m.
removed half the compilation errors from split of LB_GPU with GPU_PART_STRUCT
Added p3m gpu kernels.
integrate 0 does not segfault, but does not work either.
Simple GPU and CPU P3M comparison with two particles match up to 10e-5.
Code compiles and successfully runs Joost's particle coupling script, needs much cleaning still.
Done splitting, preparing to merge with other branches
Fixed P3M TCL interface so that tuning works for the GPU P3M.
Resolved merge conflicts.
P3M farfield on the gpu now works without LB.
Changed some variable names in an attempt to make the separation between LB and GPU communication clearer.