<?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: C++ binary in 2D</title>
		<link>http://www.k-wave.org/forum/topic/c-binary-in-2d</link>
		<description>Support for the k-Wave MATLAB toolbox</description>
		<language>en-US</language>
		<pubDate>Tue, 12 May 2026 23:06:55 +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/c-binary-in-2d" rel="self" type="application/rss+xml" />

		<item>
			<title>Bradley Treeby on "C++ binary in 2D"</title>
			<link>http://www.k-wave.org/forum/topic/c-binary-in-2d#post-5994</link>
			<pubDate>Mon, 19 Jun 2017 20:43:52 +0000</pubDate>
			<dc:creator>Bradley Treeby</dc:creator>
			<guid isPermaLink="false">5994@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hi Nicolas,&#60;/p&#62;
&#60;p&#62;A 2D extension is not currently available, and is not something we're currently working on. However, we do intend to write &#60;code&#62;kspaceFirstOrder2DG&#60;/code&#62; and &#60;code&#62;kspaceFirstOrder2DC&#60;/code&#62; functions that call the 3D code with Nz = 1 at some point. You could try this now (by calling &#60;code&#62;kspaceFirstOrder3DG&#60;/code&#62; with Nz = 1), but I suspect some things might break. In any case, to turn off the z-direction PML, use&#60;code&#62;&#38;#39;PMLAlpha&#38;#39;, [2, 2, 0]&#60;/code&#62;.&#60;/p&#62;
&#60;p&#62;Hope that helps,&#60;/p&#62;
&#60;p&#62;Brad.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nicoq on "C++ binary in 2D"</title>
			<link>http://www.k-wave.org/forum/topic/c-binary-in-2d#post-5977</link>
			<pubDate>Wed, 07 Jun 2017 15:04:34 +0000</pubDate>
			<dc:creator>nicoq</dc:creator>
			<guid isPermaLink="false">5977@http://www.k-wave.org/forum/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I've succesfully used k-wave with the C++ binary for complex 3D models in previous projects. &#60;/p&#62;
&#60;p&#62;However, for a very high frequency project (&#38;gt; 200 MHz), I've to come back to a 2D model since the grid size for my problem is at least 4096 x 8192 (in fact I should go up to 8192 x 16384)  .&#60;/p&#62;
&#60;p&#62;In order to reduce the computation time, I'like to use the C++ (or CUDA) implementation of k-wave, but this one is only available for 3D computation.&#60;/p&#62;
&#60;p&#62;So, I'd like to know:&#60;br /&#62;
- if a 2D extension of the C++ (or CUDA) binaries is available ?&#60;br /&#62;
- if not, is it scheduled for a future release ?&#60;br /&#62;
- Otherwise, should I use a 3D grid with a grid dimension of 1 wrt to z ?&#60;br /&#62;
- In this case how to remove the PML in the 3rd dimension ?&#60;br /&#62;
- Or what would be the minimal grid dimension to use ?&#60;/p&#62;
&#60;p&#62;Thanks a lot for your amazing work !&#60;/p&#62;
&#60;p&#62;Nicolas
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
