<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Groovy Gravity Processing</title>
	<atom:link href="http://www.barneyb.com/barneyblog/2010/05/28/groovy-gravity-processing/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.barneyb.com/barneyblog/2010/05/28/groovy-gravity-processing/</link>
	<description>Thoughts, rants, and even some code from the mind of Barney Boisvert.</description>
	<lastBuildDate>Thu, 11 Sep 2014 09:58:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Peter Teuben</title>
		<link>https://www.barneyb.com/barneyblog/2010/05/28/groovy-gravity-processing/comment-page-1/#comment-213293</link>
		<dc:creator>Peter Teuben</dc:creator>
		<pubDate>Sat, 05 Jun 2010 03:17:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1534#comment-213293</guid>
		<description>A 4th order will just delay execution. Just try a simple 2body problem with a highly eccentric orbit as test case. You might be able to do better with an RK45 variable timestep, I&#039;ve never tried that but remember learning about this adaptive technique in college. But in practice the Aarseth technique seems to have worked well. Might be fun to try that RK45 one in the nbody0 code.</description>
		<content:encoded><![CDATA[<p>A 4th order will just delay execution. Just try a simple 2body problem with a highly eccentric orbit as test case. You might be able to do better with an RK45 variable timestep, I've never tried that but remember learning about this adaptive technique in college. But in practice the Aarseth technique seems to have worked well. Might be fun to try that RK45 one in the nbody0 code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: barneyb</title>
		<link>https://www.barneyb.com/barneyblog/2010/05/28/groovy-gravity-processing/comment-page-1/#comment-213279</link>
		<dc:creator>barneyb</dc:creator>
		<pubDate>Fri, 04 Jun 2010 17:52:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1534#comment-213279</guid>
		<description>Peter,

That&#039;s exactly the conclusion I&#039;d come to as well.  ;)  I tightened up the slicing which helps, and I&#039;m currently changing the way I do the integration over the slices with a more accurate method (RK4).  Depending on how that works out I&#039;ll consider adaptive slicing as well.  I&#039;ll definitely check out Aarseth&#039;s stuff though.  I&#039;ve been doing a bit of research of optimizing N-body, but I need to invest some time in building a 3D viewer (which is simple) and the corresponding navigation controls (which is harder), along with some better status tracking, before I go crazy with the back end.</description>
		<content:encoded><![CDATA[<p>Peter,</p>
<p>That's exactly the conclusion I'd come to as well.  ;)  I tightened up the slicing which helps, and I'm currently changing the way I do the integration over the slices with a more accurate method (RK4).  Depending on how that works out I'll consider adaptive slicing as well.  I'll definitely check out Aarseth's stuff though.  I've been doing a bit of research of optimizing N-body, but I need to invest some time in building a 3D viewer (which is simple) and the corresponding navigation controls (which is harder), along with some better status tracking, before I go crazy with the back end.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Teuben</title>
		<link>https://www.barneyb.com/barneyblog/2010/05/28/groovy-gravity-processing/comment-page-1/#comment-213248</link>
		<dc:creator>Peter Teuben</dc:creator>
		<pubDate>Fri, 04 Jun 2010 01:46:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.barneyb.com/barneyblog/?p=1534#comment-213248</guid>
		<description>I would check energy conservation, gravity close encounters are notoriously hard to deal with, and if you timesteps are not adaptive (sort of smaller steps when accellerations are larger), you will not keep the energy conserved very well and you can get slingshots very easily.
A neat way to do adaptive timestepping was proposed by Sverre Aarseth back in 1963. His codes are freely available.  I have copies in fortran and C.</description>
		<content:encoded><![CDATA[<p>I would check energy conservation, gravity close encounters are notoriously hard to deal with, and if you timesteps are not adaptive (sort of smaller steps when accellerations are larger), you will not keep the energy conserved very well and you can get slingshots very easily.<br />
A neat way to do adaptive timestepping was proposed by Sverre Aarseth back in 1963. His codes are freely available.  I have copies in fortran and C.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
