[Nek5000-users] r,s,t index for given point

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Fri Jul 9 04:00:50 CDT 2010


Hi Markus,

indeed hpts() is a good example to look at. The array rst contains the canonical coordinates you're looking for. Note the rst is a packed array (r_p1, s_p1, t_p1,r_p2,s_p2,t_p2, ...).


Cheers,
Stefan


On Jul 9, 2010, at 9:46 AM, nek5000-users at lists.mcs.anl.gov wrote:

> Howdy Neks,
> 
> is there a function in Nek that for a given point in x,y,z would return processor number, element number and r,s,t index of the nearest GLL grid point? I was desperately trying to figure out how the interpolation routines (f.e. for history points) would help me, but I only got garbage (-1, 0 and 1) back for the variables I would expect contain r,s,t. It worked with the element number, however.
> 
> Thanks,
> Markus
> 
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users




More information about the Nek5000-users mailing list