<?xml version="1.0" encoding="ISO-8859-1"?>
<!--


 @file  feelpp_doc_laplacian_ot.xml.in
 @brief The description file of the wrapper

 (C) Copyright 2012 Université de Strasbourg

 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License.

 This library is distributed in the hope that it will be useful
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.

 You should have received a copy of the GNU Lesser General Public
 License along with this library; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA

 @author:
 @date:
 Id:
-->

<wrapper>
  <library>

    <!-- The path of the shared object -->
    <path>feelpp_doc_laplacian_ot.so</path>



    <!-- This section describes all exchanges data between the wrapper and the platform -->
    <description>

      <!-- Those variables are substituted in the files above -->
      <!-- The order of variables is the order of the arguments of the function -->
      <variable-list>

        <!-- The definition of a variable -->
        <variable id="hsize" type="in">
          <comment>Input 1</comment>
          <unit>none</unit>
          <regexp>^(\S*)hsize(\S*)=(\S*)(\R)\S*$</regexp>
          <format>\1hsize\2=\3%10.5g</format>
        </variable>

        <!-- The definition of a variable -->
        <variable id="L2" type="out">
          <comment>L2 error norm</comment>
          <unit>none</unit>
          <regexp>\S*L2\S*=\S*(\R)\S*</regexp>
        </variable>

      </variable-list>



      <!-- The function that we try to execute through the wrapper -->
      <function provided="yes">feelpp_doc_laplacian_ot</function>

      <!-- the gradient is  defined  -->
      <gradient provided="no"></gradient>

      <!--  the hessian is  defined  -->
      <hessian provided="no"></hessian>

    </description>


  </library>

  <external-code>
    <!-- Those data are external to the platform (input files, etc.)-->
    <data>
      <!-- An input file -->
      <file id="data" type="in">
        <name>The input data file</name>
        <path>laplacian.cfg</path>
  	<subst>hsize</subst>
     </file>

      <!-- An output file -->
      <file id="result" type="out">
        <name>The output result file</name>
        <path>laplacian.res</path>
	<subst>L2</subst>
      </file>

    </data>

    <wrap-mode type="fork" state="shared">
      <in-data-transfer mode="files" />
      <out-data-transfer mode="files" />
    </wrap-mode>

    <command>mpirun -np 2 /home/prudhomm/Devel/debug.gcc46/doc/manual/tutorial/feelpp_doc_laplacian  --config-file=laplacian.cfg --result-file=laplacian.res --nochdir</command>

  </external-code>

</wrapper>
