<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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">
	<channel>
		<title>k-Wave User Forum &#187; Topic: 3D simulations output with GPU</title>
		<link>http://www.k-wave.org/forum/topic/3d-simulations-output-with-gpu</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Wed, 13 May 2026 01:11:54 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.k-wave.org/forum/search.php</link>
		</textInput>
		<atom:link href="http://www.k-wave.org/forum/rss/topic/3d-simulations-output-with-gpu" rel="self" type="application/rss+xml" />

		<item>
			<title>HannaB on "3D simulations output with GPU"</title>
			<link>http://www.k-wave.org/forum/topic/3d-simulations-output-with-gpu#post-6200</link>
			<pubDate>Wed, 08 Nov 2017 14:47:55 +0000</pubDate>
			<dc:creator>HannaB</dc:creator>
			<guid isPermaLink="false">6200@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Brad&#60;br /&#62;
Couldn't have been more helpful, thanks a lot !!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bradley Treeby on "3D simulations output with GPU"</title>
			<link>http://www.k-wave.org/forum/topic/3d-simulations-output-with-gpu#post-6198</link>
			<pubDate>Wed, 08 Nov 2017 13:45:13 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">6198@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Hanna,&#60;/p&#62;
&#60;p&#62;When you use an object of the &#60;code&#62;kWaveTransducer&#60;/code&#62; class as the sensor, the MATLAB implementation of &#60;code&#62;kspaceFirstOrder3D&#60;/code&#62; will automatically average the signals across the grid points belonging to each transducer element using the appropriate delays. The output &#60;code&#62;sensor_data&#60;/code&#62; will then contain as many time series as there are transducer elements.&#60;/p&#62;
&#60;p&#62;This behaviour is not implemented in the C++ code, so instead the output &#60;code&#62;sensor_data&#60;/code&#62; will contain as many time series as the number of grid points that form the transducer. However, you can combine the data after the simulation using the &#60;code&#62;combine_sensor_data&#60;/code&#62; of the &#60;code&#62;kWaveTransducer&#60;/code&#62; class to give you the same output as when using the MATLAB code.&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>HannaB on "3D simulations output with GPU"</title>
			<link>http://www.k-wave.org/forum/topic/3d-simulations-output-with-gpu#post-6197</link>
			<pubDate>Wed, 08 Nov 2017 11:58:25 +0000</pubDate>
			<dc:creator>HannaB</dc:creator>
			<guid isPermaLink="false">6197@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Update: I think I understood the point but still have questions.&#60;/p&#62;
&#60;p&#62;The width of one element is 5 in grid units, and its length is 10 in grid units. The output signal given by kspacefirstorder3dg seems to give the RF coming from each grid point composing each element of the transducer. Is that right? &#60;/p&#62;
&#60;p&#62;Is there a way to ask for only 64 signals in the output? Or do I have to code the summation for each element of my transducer myself? &#60;/p&#62;
&#60;p&#62;Therefore, is it a summation of the RF from each grid points of the element that is done in kspacefirstorder3d? Or is it a mean? &#60;/p&#62;
&#60;p&#62;Thanks for your answers,&#60;/p&#62;
&#60;p&#62;Hanna
&#60;/p&#62;</description>
		</item>
		<item>
			<title>HannaB on "3D simulations output with GPU"</title>
			<link>http://www.k-wave.org/forum/topic/3d-simulations-output-with-gpu#post-6196</link>
			<pubDate>Wed, 08 Nov 2017 11:35:45 +0000</pubDate>
			<dc:creator>HannaB</dc:creator>
			<guid isPermaLink="false">6196@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hello, &#60;/p&#62;
&#60;p&#62;I have a 3d simulation working fine with kspacefirstorder3D, but taking few hours to complete. I am trying to improve the code by running it on my GPU.&#60;br /&#62;
I only change on my code the function - replaced by kspacefirstorder3DG.&#60;br /&#62;
I don't understand how to control what happens inside this function which seems to do something different than before.&#60;/p&#62;
&#60;p&#62;- 'kspacefirstorder3D' code gives me sensor data of 64 (elements) by 4468 (time) &#60;/p&#62;
&#60;p&#62;- 'kspacefirstorder3DG' code gives me sensor data of 3200 by 4468. By plotting the RF I understood where the 3200 comes from:&#60;br /&#62;
3200 = 64 (elements) * 5 (size of element in kgrid) * 10 (repetitions of the simulation)&#60;/p&#62;
&#60;p&#62;Here are my points :&#60;br /&#62;
1) Why is the simulation repeated 10 times? How can I ask for only one?&#60;br /&#62;
2) Why do I have 5 signals per element and not only one? Can I change this in the inputs? (I guess I can fix this by summing the 5 signals for each element, but how come it is different from kspacefirstorder3d?..)&#60;/p&#62;
&#60;p&#62;Thank you very much for your answers and advice,&#60;br /&#62;
All the best,&#60;/p&#62;
&#60;p&#62;Hanna&#60;/p&#62;
&#60;p&#62;PS: The transducer is defined with kWaveTransducer.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
