summaryrefslogtreecommitdiff
path: root/doc/html/boost/mpi/get_content.html
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2017-09-13 11:08:07 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2017-09-13 11:09:00 +0900
commitb5c87084afaef42b2d058f68091be31988a6a874 (patch)
treeadef9a65870a41181687e11d57fdf98e7629de3c /doc/html/boost/mpi/get_content.html
parent34bd32e225e2a8a94104489b31c42e5801cc1f4a (diff)
downloadboost-b5c87084afaef42b2d058f68091be31988a6a874.tar.gz
boost-b5c87084afaef42b2d058f68091be31988a6a874.tar.bz2
boost-b5c87084afaef42b2d058f68091be31988a6a874.zip
Imported Upstream version 1.64.0upstream/1.64.0
Change-Id: Id9212edd016dd55f21172c427aa7894d1d24148b Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'doc/html/boost/mpi/get_content.html')
-rw-r--r--doc/html/boost/mpi/get_content.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/html/boost/mpi/get_content.html b/doc/html/boost/mpi/get_content.html
index 9d048bca96..4e3b069d2e 100644
--- a/doc/html/boost/mpi/get_content.html
+++ b/doc/html/boost/mpi/get_content.html
@@ -35,7 +35,7 @@
</span>
<span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> T<span class="special">&gt;</span> <span class="keyword">const</span> <a class="link" href="content.html" title="Class content">content</a> <span class="identifier">get_content</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">T</span> <span class="special">&amp;</span> x<span class="special">)</span><span class="special">;</span></pre></div>
<div class="refsect1">
-<a name="idp518579488"></a><h2>Description</h2>
+<a name="idp423083712"></a><h2>Description</h2>
<p>The function creates an absolute MPI datatype for the object, where all offsets are counted from the address 0 (a.k.a. <code class="computeroutput">MPI_BOTTOM</code>) instead of the address <code class="computeroutput">&amp;x</code> of the object. This allows the creation of MPI data types for complex data structures containing pointers, such as linked lists or trees.</p>
<p>The disadvantage, compared to relative MPI data types is that for each object a new MPI data type has to be created.</p>
<p>The contents of an object can only be transmitted when the receiver already has an object with the same structure or shape as the sender. To accomplish this, first transmit the skeleton of the object using, e.g., <code class="computeroutput">skeleton()</code> or <code class="computeroutput"><code class="computeroutput"><a class="link" href="skeleton_proxy.html" title="Struct template skeleton_proxy">skeleton_proxy</a></code></code>.</p>