Changeset 6268 for trunk/psLib/test/astro/tst_psCoord02.c
- Timestamp:
- Jan 31, 2006, 1:24:21 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/astro/tst_psCoord02.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/astro/tst_psCoord02.c
r6253 r6268 6 6 * @author GLG, MHPCC 7 7 * 8 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $9 * @date $Date: 2006-01-3 0 22:56:01 $8 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2006-01-31 23:24:21 $ 10 10 * 11 11 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 514 514 515 515 //Set fxn values for evaluation 516 coord->x = 1.0;516 coord->x = 3.0; 517 517 coord->y = 1.0; 518 518 … … 526 526 } 527 527 528 trans = psPlaneTransformAlloc(1, 2);528 trans = psPlaneTransformAlloc(1, 3); 529 529 530 530 //Set Polynomials. f(x) = x, f(y) = 0.5*y^2 --> f'(x) = 1, f'(y) = y 531 531 //So for 1,1 -> f'(1) = 1, f'(1) = 1 532 trans->x->nX = 1;533 trans->x->nY = 0;534 trans->y->nX = 0;535 trans->y->nY = 2;536 537 532 trans->x->coeff[0][0] = 0.0; 538 533 trans->x->coeff[1][0] = 1.0; 539 540 534 trans->y->coeff[0][0] = 0.0; 541 535 trans->y->coeff[0][1] = 0.0; … … 557 551 "psPlaneTransformDeriv failed to return the correct values.\n"); 558 552 printf("\n f' values are = %lf, %lf \n", deriv->x, deriv->y); 559 //return 3;553 return 3; 560 554 } 561 555
Note:
See TracChangeset
for help on using the changeset viewer.
