Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MUG
visad
Commits
80b41f84
Commit
80b41f84
authored
Oct 02, 2018
by
rink
Browse files
only force numIntrpPts=1 if trajDoIntrp=false
parent
8daa46eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/src/visad/TrajectoryManager.java
View file @
80b41f84
...
...
@@ -307,8 +307,10 @@ public class TrajectoryManager {
uInterp
=
new
NoneInterpolator
(
numSpatialPts
);
vInterp
=
new
NoneInterpolator
(
numSpatialPts
);
wInterp
=
new
NoneInterpolator
(
numSpatialPts
);
trajDoIntrp
=
false
;
numIntrpPts
=
1
;
}
if
(!
trajDoIntrp
)
{
numIntrpPts
=
1
;
}
values0
=
null
;
...
...
@@ -552,7 +554,7 @@ public class TrajectoryManager {
intrpW
=
mean
(
intrpW
,
intrpW_1
);
}
for
(
int
t
=
0
;
t
<
numTrajectories
;
t
++)
{
for
(
int
t
=
0
;
t
<
numTrajectories
;
t
++)
{
//Euler method if NOT HySplit
Trajectory
traj
=
trajectories
.
get
(
t
);
traj
.
currentTimeIndex
=
direction
*
i
;
traj
.
currentTime
=
direction
*
times
[
i
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment