Thursday, July 21, 2005

working, but with sticky walls

Whew. I got all of the functions for bouncing a vector written, cleaned up, working, and mostly connected. Now I need to do two things:

--last semester the program was set up to run a certain number of times. I need to go back and look at how I did this.

--when a critter hits a wall, it updates its vector, but then the next timestep, because it's still on the wall, it updates it again, over and over, which means the parasite stays stuck on the wall. It's probably a matter of changing some < to <= or visa versa. I need a reliable way of checking if the vector needs updating or not.

Coding was pretty easy today--I didn't run into many problems at all. God does answer prayer :-)

0 Comments:

Post a Comment

<< Home