Skip to content
Snippets Groups Projects
Commit 9e54dceb authored by Jesper Andersson's avatar Jesper Andersson
Browse files

debug printouts for working on eddy

parent cc3b0899
No related branches found
No related tags found
No related merge requests found
......@@ -623,6 +623,10 @@ double Splinterpolator<T>::value_at(const double *coord) const
int linear2 = add2linear(linear1,inds[1]+j);
double *iiwgt=iwgt;
for (unsigned int i=0; i<ni; i++, iiwgt++) {
if (coord[0] < -4 && coord[0] > -5 && coord[1] < 143 && coord[1] > 142 && coord[2] < 92 && coord[2] > 91) {
int ii = linear2+indx2indx(inds[0]+i,0);
printf("i = %d, j = %d, k = %d, ii = %d\n",i,j,k,ii);
}
val += cptr[linear2+indx2indx(inds[0]+i,0)]*(*iiwgt)*wgt2;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment