<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Elemental function as argument for a subroutine in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Elemental-function-as-argument-for-a-subroutine/m-p/1171776#M79388</link>
    <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I am trying to pass an elemental function as argument to a subroutine without the expected result because the elemental function does not operate component-wise inside the subroutine.&lt;/P&gt;&lt;P&gt;Here is the sequence: in the "main program" within a &lt;STRONG&gt;contains&lt;/STRONG&gt;&amp;nbsp;statement has an &lt;STRONG&gt;elemental function&lt;/STRONG&gt; "fx". From the "main program" a module is imported with &lt;STRONG&gt;use&lt;/STRONG&gt;, where a subroutine "quad" has as argument "fx" that is declared as &lt;STRONG&gt;external&lt;/STRONG&gt;. Inside "quad", "fx" is called to operate in a 1d array but it only operates on its first component instead of on the whole array.&lt;/P&gt;&lt;P&gt;Why do I not get the expected result from the elemental attribute?&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alvaro&lt;/P&gt;</description>
    <pubDate>Mon, 18 Mar 2019 17:56:41 GMT</pubDate>
    <dc:creator>del_toro_llorens__Al</dc:creator>
    <dc:date>2019-03-18T17:56:41Z</dc:date>
    <item>
      <title>Elemental function as argument for a subroutine</title>
      <link>https://community.intel.com/t5/Software-Archive/Elemental-function-as-argument-for-a-subroutine/m-p/1171776#M79388</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I am trying to pass an elemental function as argument to a subroutine without the expected result because the elemental function does not operate component-wise inside the subroutine.&lt;/P&gt;&lt;P&gt;Here is the sequence: in the "main program" within a &lt;STRONG&gt;contains&lt;/STRONG&gt;&amp;nbsp;statement has an &lt;STRONG&gt;elemental function&lt;/STRONG&gt; "fx". From the "main program" a module is imported with &lt;STRONG&gt;use&lt;/STRONG&gt;, where a subroutine "quad" has as argument "fx" that is declared as &lt;STRONG&gt;external&lt;/STRONG&gt;. Inside "quad", "fx" is called to operate in a 1d array but it only operates on its first component instead of on the whole array.&lt;/P&gt;&lt;P&gt;Why do I not get the expected result from the elemental attribute?&lt;/P&gt;&lt;P&gt;Thanks in advance for your help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alvaro&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 17:56:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Elemental-function-as-argument-for-a-subroutine/m-p/1171776#M79388</guid>
      <dc:creator>del_toro_llorens__Al</dc:creator>
      <dc:date>2019-03-18T17:56:41Z</dc:date>
    </item>
  </channel>
</rss>

