Laser ray tracing and power deposition on an unstructured three-dimensional grid