<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi.<br>
      As said in the description for the junior jobs you can either set
      up a separate dune module using the duneprojects script. That
      module would simply depend on dune-common and would contain the
      boost python code and the python test scripts. Alternatively you
      could branch from dune-common directly and add the wrapper to
      dune-common directly and the python tests to dune/common/test.<br>
      <br>
      Note that FieldVector derives from DenseVector and many methods
      that need to be wrapped are implemented there. For the testing you
      can take dune/common/test/fvectortest.cc as a starting point of
      what sort of things should work for the fvector python class.<br>
      <br>
      Best<br>
      Andreas<br>
      <br>
      On 15/03/16 13:15, Govind Sahai wrote:<br>
    </div>
    <blockquote
cite="mid:CAAQ1iNVpzRTCTirnyxXt-cuaizPA5JLaDyqjXzVD9VQaTaJ3Yg@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <div dir="ltr">Hi, 
        <div>I found class FieldVector<> in
          ./dune-common/dune/common/fvector.hh. Now where should I start
          adding the wrappers?(In which file)?</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, Mar 14, 2016 at 4:30 PM, <span
            dir="ltr"><<a moz-do-not-send="true"
              href="mailto:dune-devel-request@dune-project.org"
              target="_blank">dune-devel-request@dune-project.org</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Send
            Dune-devel mailing list submissions to<br>
                    <a moz-do-not-send="true"
              href="mailto:dune-devel@dune-project.org">dune-devel@dune-project.org</a><br>
            <br>
            To subscribe or unsubscribe via the World Wide Web, visit<br>
                    <a moz-do-not-send="true"
              href="http://lists.dune-project.org/mailman/listinfo/dune-devel"
              rel="noreferrer" target="_blank">http://lists.dune-project.org/mailman/listinfo/dune-devel</a><br>
            or, via email, send a message with subject or body 'help' to<br>
                    <a moz-do-not-send="true"
              href="mailto:dune-devel-request@dune-project.org">dune-devel-request@dune-project.org</a><br>
            <br>
            You can reach the person managing the list at<br>
                    <a moz-do-not-send="true"
              href="mailto:dune-devel-owner@dune-project.org">dune-devel-owner@dune-project.org</a><br>
            <br>
            When replying, please edit your Subject line so it is more
            specific<br>
            than "Re: Contents of Dune-devel digest..."<br>
            <br>
            <br>
            Today's Topics:<br>
            <br>
               1. Re: [GSoC 2016] (Martin Nolte)<br>
               2. Re: [GSoC 2016] (Christian Engwer)<br>
            <br>
            <br>
----------------------------------------------------------------------<br>
            <br>
            Message: 1<br>
            Date: Mon, 14 Mar 2016 09:20:46 +0100<br>
            From: Martin Nolte <<a moz-do-not-send="true"
              href="mailto:nolte@mathematik.uni-freiburg.de">nolte@mathematik.uni-freiburg.de</a>><br>
            To: <a moz-do-not-send="true"
              href="mailto:dune-devel@dune-project.org">dune-devel@dune-project.org</a><br>
            Subject: Re: [Dune-devel] [GSoC 2016]<br>
            Message-ID: <<a moz-do-not-send="true"
              href="mailto:56E6745E.9070603@mathematik.uni-freiburg.de">56E6745E.9070603@mathematik.uni-freiburg.de</a>><br>
            Content-Type: text/plain; charset=windows-1252<br>
            <br>
            Hi Govind,<br>
            <br>
            as promised, we have added a junior job to get in touch with
            writing<br>
            Python bindings for DUNE, namely writing example bindings
            for our<br>
            FieldVector class in boost::python.<br>
            <br>
            We think boost::python Bindings will be easier to maintain
            over the<br>
            years (after all, we are C++ programmers). The downside is
            that we have<br>
            to port or rewrite the work done in the BEM++ project. In
            our opinion,<br>
            it's worth, though, because the bindings can be slimmer.
            Notice,<br>
            however, that this is not yet a final decision and you are
            highly<br>
            welcome to make another proposal by yourself.<br>
            <br>
            Best,<br>
            <br>
            Martin<br>
            <br>
            On 03/11/2016 08:25 PM, Andreas Dedner wrote:<br>
            > Hi Govind,<br>
            > Welcome to Dune to thanks for your interest in our GSoC
            projects.<br>
            ><br>
            > To answer your question w.r.t. boost::python and
            Cython. I would think that the first step would be to<br>
            > evaluate the work done within the bem++ project which
            is based on cython.  For dune-fem we are providing bindings
            for<br>
            > quite high level features of our packages while the
            bindings in bem++ export a big part of the grid interface.
            So the existing<br>
            > cython bindings are much more low level then what we
            are currently working on for dune-fem and would complement
            what we are doing and also be potentially of great interest
            to the whole dune community.<br>
            ><br>
            > We will add a junior job to the list over the weekend
            which is more focused towards the dune-python project. Until
            then<br>
            > checking out bempp and dune and seeing how the cython
            bindings work and can be accessed within python would be a
            great starting point.<br>
            ><br>
            > Best<br>
            > Andreas<br>
            ><br>
            ><br>
            ><br>
            ><br>
            > On 11/03/16 12:31, Govind Sahai wrote:<br>
            >> Hi to all,<br>
            >> I am Govind Sahai, currently a 3rd year engineering
            student in Indian<br>
            >> Institute of Technology, BHU Varanasi, India
            pursuing Integrated Dual<br>
            >> Degree in Mathematics And Computing. While
            searching for project ideas<br>
            >> on your ideas<br>
            >> <<a moz-do-not-send="true"
href="http://users.dune-project.org/projects/gsoc2016/wiki/Project_ideas#Project-4-Python-bindings-for-the-DUNE-grid-interface"
              rel="noreferrer" target="_blank">http://users.dune-project.org/projects/gsoc2016/wiki/Project_ideas#Project-4-Python-bindings-for-the-DUNE-grid-interface</a>>
            page,<br>
            >> I found interest in "Project 4: Python bindings for
            the DUNE grid<br>
            >> interface". I have prior experience in C++ and
            Python, and also have<br>
            >> some experience with boost::python. Also since some
            part of DUNE is<br>
            >> already been exported to Python, using Cython, and
            dune-fem is using<br>
            >> boost::python, will the new DUNE module use Cython
            or boost::python<br>
            >> (or both)?<br>
            >> Also, the link of *BEM++* given in *Project
            Description* of *Project<br>
            >> 4* is giving *404* on my system.<br>
            >><br>
            >> --<br>
            >>
------------------------------------------------------------------------------------<br>
            >><br>
            >><br>
            >> Govind Sahai<br>
            >> Indian Institute of Technology<br>
            >> Mathematical Sciences<br>
            >> Part-III<br>
            >> Varanasi-221005<br>
            >><br>
            >><br>
            >><br>
            >> _______________________________________________<br>
            >> Dune-devel mailing list<br>
            >> <a moz-do-not-send="true"
              href="mailto:Dune-devel@dune-project.org">Dune-devel@dune-project.org</a><br>
            >> <a moz-do-not-send="true"
              href="http://lists.dune-project.org/mailman/listinfo/dune-devel"
              rel="noreferrer" target="_blank">http://lists.dune-project.org/mailman/listinfo/dune-devel</a><br>
            ><br>
            ><br>
            ><br>
            > _______________________________________________<br>
            > Dune-devel mailing list<br>
            > <a moz-do-not-send="true"
              href="mailto:Dune-devel@dune-project.org">Dune-devel@dune-project.org</a><br>
            > <a moz-do-not-send="true"
              href="http://lists.dune-project.org/mailman/listinfo/dune-devel"
              rel="noreferrer" target="_blank">http://lists.dune-project.org/mailman/listinfo/dune-devel</a><br>
            ><br>
            <br>
            <br>
            <br>
            ------------------------------<br>
            <br>
            Message: 2<br>
            Date: Mon, 14 Mar 2016 10:36:37 +0100<br>
            From: Christian Engwer <<a moz-do-not-send="true"
              href="mailto:christian.engwer@uni-muenster.de">christian.engwer@uni-muenster.de</a>><br>
            To: Martin Nolte <<a moz-do-not-send="true"
              href="mailto:nolte@mathematik.uni-freiburg.de">nolte@mathematik.uni-freiburg.de</a>><br>
            Cc: <a moz-do-not-send="true"
              href="mailto:dune-devel@dune-project.org">dune-devel@dune-project.org</a><br>
            Subject: Re: [Dune-devel] [GSoC 2016]<br>
            Message-ID:
            <a class="moz-txt-link-rfc2396E" href="mailto:20160314093637.GB2176@sansibar.localdomain"><20160314093637.GB2176@sansibar.localdomain></a><br>
            Content-Type: text/plain; charset=utf-8<br>
            <br>
            There is one thing one should consider and it is worthwile<br>
            investigating this as part of the junior-job.<br>
            <br>
            The boost::python code is a horrible mess, as it still uses
            C++03. And<br>
            as far as I know it is basically unmaintained.<br>
            <br>
            There is a new "version" called pybind11. It uses C++11,
            which<br>
            dramatically simplifies the code and it is header-only,
            which I also<br>
            consider a big benefit.<br>
            <br>
            Ciao<br>
            Christian<br>
            <br>
            On Mon, Mar 14, 2016 at 09:20:46AM +0100, Martin Nolte
            wrote:<br>
            > Hi Govind,<br>
            ><br>
            > as promised, we have added a junior job to get in touch
            with writing<br>
            > Python bindings for DUNE, namely writing example
            bindings for our<br>
            > FieldVector class in boost::python.<br>
            ><br>
            > We think boost::python Bindings will be easier to
            maintain over the<br>
            > years (after all, we are C++ programmers). The downside
            is that we have<br>
            > to port or rewrite the work done in the BEM++ project.
            In our opinion,<br>
            > it's worth, though, because the bindings can be
            slimmer. Notice,<br>
            > however, that this is not yet a final decision and you
            are highly<br>
            > welcome to make another proposal by yourself.<br>
            ><br>
            > Best,<br>
            ><br>
            > Martin<br>
            ><br>
            > On 03/11/2016 08:25 PM, Andreas Dedner wrote:<br>
            > > Hi Govind,<br>
            > > Welcome to Dune to thanks for your interest in our
            GSoC projects.<br>
            > ><br>
            > > To answer your question w.r.t. boost::python and
            Cython. I would think that the first step would be to<br>
            > > evaluate the work done within the bem++ project
            which is based on cython.  For dune-fem we are providing
            bindings for<br>
            > > quite high level features of our packages while
            the bindings in bem++ export a big part of the grid
            interface. So the existing<br>
            > > cython bindings are much more low level then what
            we are currently working on for dune-fem and would
            complement what we are doing and also be potentially of
            great interest to the whole dune community.<br>
            > ><br>
            > > We will add a junior job to the list over the
            weekend which is more focused towards the dune-python
            project. Until then<br>
            > > checking out bempp and dune and seeing how the
            cython bindings work and can be accessed within python would
            be a great starting point.<br>
            > ><br>
            > > Best<br>
            > > Andreas<br>
            > ><br>
            > ><br>
            > ><br>
            > ><br>
            > > On 11/03/16 12:31, Govind Sahai wrote:<br>
            > >> Hi to all,<br>
            > >> I am Govind Sahai, currently a 3rd year
            engineering student in Indian<br>
            > >> Institute of Technology, BHU Varanasi, India
            pursuing Integrated Dual<br>
            > >> Degree in Mathematics And Computing. While
            searching for project ideas<br>
            > >> on your ideas<br>
            > >> <<a moz-do-not-send="true"
href="http://users.dune-project.org/projects/gsoc2016/wiki/Project_ideas#Project-4-Python-bindings-for-the-DUNE-grid-interface"
              rel="noreferrer" target="_blank">http://users.dune-project.org/projects/gsoc2016/wiki/Project_ideas#Project-4-Python-bindings-for-the-DUNE-grid-interface</a>>
            page,<br>
            > >> I found interest in "Project 4: Python
            bindings for the DUNE grid<br>
            > >> interface". I have prior experience in C++ and
            Python, and also have<br>
            > >> some experience with boost::python. Also since
            some part of DUNE is<br>
            > >> already been exported to Python, using Cython,
            and dune-fem is using<br>
            > >> boost::python, will the new DUNE module use
            Cython or boost::python<br>
            > >> (or both)?<br>
            > >> Also, the link of *BEM++* given in *Project
            Description* of *Project<br>
            > >> 4* is giving *404* on my system.<br>
            > >><br>
            > >> --<br>
            > >>
------------------------------------------------------------------------------------<br>
            > >><br>
            > >><br>
            > >> Govind Sahai<br>
            > >> Indian Institute of Technology<br>
            > >> Mathematical Sciences<br>
            > >> Part-III<br>
            > >> Varanasi-221005<br>
            > >><br>
            > >><br>
            > >><br>
            > >>
            _______________________________________________<br>
            > >> Dune-devel mailing list<br>
            > >> <a moz-do-not-send="true"
              href="mailto:Dune-devel@dune-project.org">Dune-devel@dune-project.org</a><br>
            > >> <a moz-do-not-send="true"
              href="http://lists.dune-project.org/mailman/listinfo/dune-devel"
              rel="noreferrer" target="_blank">http://lists.dune-project.org/mailman/listinfo/dune-devel</a><br>
            > ><br>
            > ><br>
            > ><br>
            > > _______________________________________________<br>
            > > Dune-devel mailing list<br>
            > > <a moz-do-not-send="true"
              href="mailto:Dune-devel@dune-project.org">Dune-devel@dune-project.org</a><br>
            > > <a moz-do-not-send="true"
              href="http://lists.dune-project.org/mailman/listinfo/dune-devel"
              rel="noreferrer" target="_blank">http://lists.dune-project.org/mailman/listinfo/dune-devel</a><br>
            > ><br>
            ><br>
            > _______________________________________________<br>
            > Dune-devel mailing list<br>
            > <a moz-do-not-send="true"
              href="mailto:Dune-devel@dune-project.org">Dune-devel@dune-project.org</a><br>
            > <a moz-do-not-send="true"
              href="http://lists.dune-project.org/mailman/listinfo/dune-devel"
              rel="noreferrer" target="_blank">http://lists.dune-project.org/mailman/listinfo/dune-devel</a><br>
            ><br>
            <br>
            --<br>
            Prof. Dr. Christian Engwer<br>
            Institut f?r Numerische und Angewandte Mathematik<br>
            Fachbereich Mathematik und Informatik der Universit?t
            M?nster<br>
            Einsteinstrasse 62<br>
            48149 M?nster<br>
            <br>
            E-Mail  <a moz-do-not-send="true"
              href="mailto:christian.engwer@uni-muenster.de">christian.engwer@uni-muenster.de</a><br>
            Telefon <a moz-do-not-send="true"
              href="tel:%2B49%20251%2083-35067" value="+492518335067">+49
              251 83-35067</a><br>
            FAX     <a moz-do-not-send="true"
              href="tel:%2B49%20251%2083-32729" value="+492518332729">+49
              251 83-32729</a><br>
            <br>
            <br>
            <br>
            ------------------------------<br>
            <br>
            _______________________________________________<br>
            Dune-devel mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Dune-devel@dune-project.org">Dune-devel@dune-project.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.dune-project.org/mailman/listinfo/dune-devel"
              rel="noreferrer" target="_blank">http://lists.dune-project.org/mailman/listinfo/dune-devel</a><br>
            <br>
            <br>
            End of Dune-devel Digest, Vol 45, Issue 20<br>
            ******************************************<br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">------------------------------------------------------------------------------------
                <div><br>
                </div>
                <div>Govind Sahai
                  <div>Indian Institute of Technology</div>
                  <div>Mathematical Sciences</div>
                  <div>Part-III</div>
                  <div>Varanasi-221005</div>
                  <div>Contact : +91-8960-775849</div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Dune-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune-devel@dune-project.org">Dune-devel@dune-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune-devel">http://lists.dune-project.org/mailman/listinfo/dune-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>