[Nek5000-users] gradm1 or dudxyz
nek5000-users at lists.mcs.anl.gov
nek5000-users at lists.mcs.anl.gov
Mon Oct 1 06:09:20 CDT 2012
Hi Joerg,
Yes - gradm1() is much more efficient that dudxyz(), which is antiquated.
dudxyz() returns only one component of the gradient at a time and there
is work that is duplicated for each call. The work for gradm1() is
equivalent to a single call to dudxyz() and you get all 3 components
in a single call to gradm1().
The results are the same.
Paul
----- Original Message -----
From: nek5000-users at lists.mcs.anl.gov
To: nek5000-users at lists.mcs.anl.gov
Sent: Monday, October 1, 2012 2:14:49 AM
Subject: [Nek5000-users] gradm1 or dudxyz
Hi,
in terms of calculating a gradient: is there a difference between routines gradm1 and dudxyz except that the latter is supplying additional
information about the mapping?
Thanks, Joerg.
_______________________________________________
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