[MOAB-dev] r2869 - MOAB/trunk/tools/mbcoupler
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Fri May 1 13:51:00 CDT 2009
Author: kraftche
Date: 2009-05-01 13:51:00 -0500 (Fri, 01 May 2009)
New Revision: 2869
Modified:
MOAB/trunk/tools/mbcoupler/poly.h
Log:
fix nested c-style comments
Modified: MOAB/trunk/tools/mbcoupler/poly.h
===================================================================
--- MOAB/trunk/tools/mbcoupler/poly.h 2009-05-01 15:57:35 UTC (rev 2868)
+++ MOAB/trunk/tools/mbcoupler/poly.h 2009-05-01 18:51:00 UTC (rev 2869)
@@ -115,23 +115,23 @@
Usage:
lagrange_data p;
- lagrange_setup(&p,z,n); /* setup for nodes z[0 ... n-1] */
+ lagrange_setup(&p,z,n); * setup for nodes z[0 ... n-1] *
the weights
p->J [0 ... n-1] interpolation weights
p->D [0 ... n-1] 1st derivative weights
p->D2[0 ... n-1] 2nd derivative weights
are computed for a given x with:
- lagrange_0(p,x); /* compute p->J */
- lagrange_1(p,x); /* compute p->J, p->D */
- lagrange_2(p,x); /* compute p->J, p->D, p->D2 */
- lagrange_2u(p); /* compute p->D2 after call of lagrange_1(p,x); */
+ lagrange_0(p,x); * compute p->J *
+ lagrange_1(p,x); * compute p->J, p->D *
+ lagrange_2(p,x); * compute p->J, p->D, p->D2 *
+ lagrange_2u(p); * compute p->D2 after call of lagrange_1(p,x); *
These functions use the z array supplied to setup
(that pointer should not be freed between calls)
Weights for x=z[0] and x=z[n-1] are computed during setup; access as:
p->J_z0, etc. and p->J_zn, etc.
- lagrange_free(&p); /* deallocate memory allocated by setup */
+ lagrange_free(&p); * deallocate memory allocated by setup *
--------------------------------------------------------------------------*/
typedef struct {
More information about the moab-dev
mailing list