Mixed Languages: The Right Tool for The Right Job

Tuesday, June 16th, 2009

The N-body modeling code and visualization I’ve been working on finally got off the ground in some sort of reasonable form last night. Here you can see it running with 5000 stars at over 30 frames a second. It’s been working from the start (agile/TDD isn’t something you just write about) ...

N-Body Modeling and Technical Computing Resources

Thursday, April 16th, 2009

Someone asked for a list of resources on N-Body modeling. I had a bunch of links in my favorites so here they are. I also threw in some more on technical computing and writing high performance code.

Dealing With Rounding Errors in Numerical Unit Tests Updated

Tuesday, April 14th, 2009

I’ve updated Dealing With Rounding Errors in Numerical Unit Tests to include some more features based on some of the comments I’ve received. If you used the original source code then best check the updated version which deals with the case where the expected value is zero a lot better.

A Journey in Technical Computing

Wednesday, March 4th, 2009

It's pretty difficult to find the time to actually write code these days. With the goal of trying to keep up with my technical skills I’ve taken a little journey back to my roots in scientific computing. As part of growing up geek I actually wrote some simple  N-body simulations ...

Dealing With Rounding Errors in Numerical Unit Tests

Monday, December 1st, 2008

I've been writing some unit tests which attempt to verify some mathematical modeling results. Here's a test that creates a physical model (of a universe) containing some stars and verifies the initial energy of the system. [Fact] public void Energy() ...