| # | Line 266 | Line 266 | e_advect_rbf(const MIGRATION *mig, const FVECT invec) | |
|---|---|---|
| 266 | int n, i, j; | |
| 267 | double t, full_dist; | |
| 268 | /* get relative position */ | |
| 269 | < | t = acos(DOT(invec, mig->rbfv[0]->invec)); |
| 269 | > | t = Acos(DOT(invec, mig->rbfv[0]->invec)); |
| 270 | if (t < M_PI/grid_res) { /* near first DSF */ | |
| 271 | n = sizeof(RBFNODE) + sizeof(RBFVAL)*(mig->rbfv[0]->nrbf-1); | |
| 272 | rbf = (RBFNODE *)malloc(n); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |