Commit 23723269 authored by allens's avatar allens
Browse files

fix for windoz

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@14791 18c085ea-50e0-402c-830e-de6fd14e8384
parent b602a22a
......@@ -496,13 +496,13 @@ void avtIVPNIMRODField::interpolate( double rad, double theta, double phi,
// ---
double wtheta[Dtheta+1], dtheta[Dtheta+1];
double *wtheta = new double[Dtheta+1], *dtheta = new double[Dtheta+1];
lagrange_weights( Dtheta, theta, wtheta, dtheta );
double wrad[Drad+1], drad[Drad+1];
double *wrad = new double[Drad+1], *drad = new double[Drad+1];
lagrange_weights( Drad, rad, wrad, drad );
double wphi[Nphi-1], dphi[Nphi-1];
double *wphi = new double[Nphi-1], *dphi = new double[Nphi-1];
fourier_weights( Nphi-1, phi, wphi, dphi );
// Returned vector value in physical space.
......@@ -542,4 +542,11 @@ void avtIVPNIMRODField::interpolate( double rad, double theta, double phi,
*P = p;
// *DRV = Dp;
delete wtheta;
delete dtheta;
delete wrad;
delete drad;
delete wphi;
delete dphi;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment