<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Arya,</p>
<p>if you want to use the GridSelector, you now have to add <br>
</p>
<p>-DDUNE_GRID_GRIDTYPE_SELECTOR=ON</p>
<p>to your <br>
</p>
<p>CMAKE_FLAGS= ...<br>
</p>
<p>in your config.opts file.</p>
<p>Regards,</p>
<p>Martin<br>
</p>
<br>
<div class="moz-cite-prefix">On 05.02.2018 20:42, Oliver Sander
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:50dc01bf-4cca-0172-9422-d904f46b8d12@tu-dresden.de">
<blockquote type="cite">
<pre wrap="">I see it has been still used in the FEM module and also in alugrid. But, after I updated my dune. It does not work for me. I thought it was removed. Do you know whom I can ask?
</pre>
</blockquote>
<pre wrap="">
The list!
</pre>
<blockquote type="cite">
<pre wrap="">
Regards and thanks for the quick reply,
Arya
On Mon, Feb 5, 2018 at 8:34 PM, Oliver Sander <<a class="moz-txt-link-abbreviated" href="mailto:oliver.sander@tu-dresden.de">oliver.sander@tu-dresden.de</a> <a class="moz-txt-link-rfc2396E" href="mailto:oliver.sander@tu-dresden.de"><mailto:oliver.sander@tu-dresden.de></a>> wrote:
I have no idea what the GridSelector is, or what it does.
--
Olliver
On 05.02.2018 20:21, Arya Fallahi wrote:
> Hi Oliver,
>
> What about the GridSelector, I have also the same problem with it. Does it work nowadays or has been removed?
>
> Regards,
> Arya
>
> On Mon, Feb 5, 2018 at 8:17 PM, Oliver Sander <<a class="moz-txt-link-abbreviated" href="mailto:oliver.sander@tu-dresden.de">oliver.sander@tu-dresden.de</a> <a class="moz-txt-link-rfc2396E" href="mailto:oliver.sander@tu-dresden.de"><mailto:oliver.sander@tu-dresden.de></a> <<a class="moz-txt-link-freetext" href="mailto:oliver.sander@tu-dresden.de">mailto:oliver.sander@tu-dresden.de</a> <a class="moz-txt-link-rfc2396E" href="mailto:oliver.sander@tu-dresden.de"><mailto:oliver.sander@tu-dresden.de></a>>> wrote:
>
> Hi,
>
> nowadays, if you want to use UGGrid you have to have dune-uggrid installed.
>
> --
> Oliver
>
> On 05.02.2018 20:06, Arya Fallahi wrote:
> > Dear Dune
> >
> > I am currently trying to update my dune version to the latest release. But, I am stocked with a problem whose solution I can not figure out.
> >
> > I just installed dune-common, dune-grid, dune-geometry, and dune-alugrid. Then I defined a new project. Everything works fine as long as I do not change anything. But, when I just add some new lines copy and pasted from the Dune Guide. I get error messages.
> >
> > The source file looks as follows:
> >
> > #ifdef HAVE_CONFIG_H
> > # include "config.h"
> > #endif
> > #include <iostream>
> > #include <dune/common/parallel/mpihelper.hh> // An initializer of MPI
> > #include <dune/common/exceptions.hh> // We use exceptions
> >
> > #include <dune/grid/uggrid.hh> /*************************/
> >
> > int main(int argc, char** argv)
> > {
> > const int dim = 2; /*************************/
> > typedef Dune::UGGrid<dim> Grid; /*************************/
> > const int DIM = Grid::dimension; /*************************/
> >
> >
> > try{
> > // Maybe initialize MPI
> > Dune::MPIHelper& helper = Dune::MPIHelper::instance(argc, argv);
> > std::cout << "Hello World! This is salam." << std::endl;
> > if(Dune::MPIHelper::isFake)
> > std::cout<< "This is a sequential program." << std::endl;
> > else
> > std::cout<<"I am rank "<<helper.rank()<<" of "<<helper.size()
> > <<" processes!"<<std::endl;
> > return 0;
> > }
> > catch (Dune::Exception &e){
> > std::cerr << "Dune reported error: " << e << std::endl;
> > }
> > catch (...){
> > std::cerr << "Unknown exception thrown!" << std::endl;
> > }
> > }
> >
> > The lines with stars in front are the ones I add to the initial file. However when I compile this file I get the following error message:
> >
> > /afs/desy.de/user/a/afallahi/workspace/salam/src/salam.cc <a class="moz-txt-link-rfc2396E" href="http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc"><http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc></a> <<a class="moz-txt-link-freetext" href="http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc">http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc</a> <a class="moz-txt-link-rfc2396E" href="http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc"><http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc></a>> <<a class="moz-txt-link-freetext" href="http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc">http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc</a> <a class="moz-txt-link-rfc2396E" href="http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc"><http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc></a> <<a class="moz-txt-link-freetext" href="http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc">http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc</a> <a class="moz-txt-link-rfc2396E" href="http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc"><http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc></a>>>: In function ‘int main(int, char**)’:
> > /afs/desy.de/user/a/afallahi/workspace/salam/src/salam.cc:17:17 <a class="moz-txt-link-rfc2396E" href="http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:17:17"><http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:17:17></a> <<a class="moz-txt-link-freetext" href="http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:17:17">http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:17:17</a> <a class="moz-txt-link-rfc2396E" href="http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:17:17"><http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:17:17></a>> <<a class="moz-txt-link-freetext" href="http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:17:17">http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:17:17</a> <a class="moz-txt-link-rfc2396E" href="http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:17:17"><http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:17:17></a> <<a class="moz-txt-link-freetext" href="http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:17:17">http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:17:17</a> <a class="moz-txt-link-rfc2396E" href="http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:17:17"><http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:17:17></a>>>: error: ‘UGGrid’ in namespace ‘Dune’ does not name a template type
> > typedef Dune::UGGrid<dim> Grid;
> > ^~~~~~
> > /afs/desy.de/user/a/afallahi/workspace/salam/src/salam.cc:18:19 <a class="moz-txt-link-rfc2396E" href="http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:18:19"><http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:18:19></a> <<a class="moz-txt-link-freetext" href="http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:18:19">http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:18:19</a> <a class="moz-txt-link-rfc2396E" href="http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:18:19"><http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:18:19></a>> <<a class="moz-txt-link-freetext" href="http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:18:19">http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:18:19</a> <a class="moz-txt-link-rfc2396E" href="http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:18:19"><http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:18:19></a> <<a class="moz-txt-link-freetext" href="http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:18:19">http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:18:19</a> <a class="moz-txt-link-rfc2396E" href="http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:18:19"><http://desy.de/user/a/afallahi/workspace/salam/src/salam.cc:18:19></a>>>: error: ‘Grid’ has not been declared
> > const int DIM = Grid::dimension;
> > ^~~~
> > gmake[2]: *** [src/CMakeFiles/salam.dir/salam.cc.o] Error 1
> > gmake[1]: *** [src/CMakeFiles/salam.dir/all] Error 2
> > gmake: *** [all] Error 2
> >
> > The CMAKELists files are not touched and stay the same as the ones created by duneproject.
> >
> > Can you guess what I am doing wrong?
> >
> > Best regards,
> > Arya
> >
> >
> > _______________________________________________
> > Dune mailing list
> > <a class="moz-txt-link-abbreviated" href="mailto:Dune@lists.dune-project.org">Dune@lists.dune-project.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:Dune@lists.dune-project.org"><mailto:Dune@lists.dune-project.org></a> <<a class="moz-txt-link-freetext" href="mailto:Dune@lists.dune-project.org">mailto:Dune@lists.dune-project.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:Dune@lists.dune-project.org"><mailto:Dune@lists.dune-project.org></a>>
> > <a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune">http://lists.dune-project.org/mailman/listinfo/dune</a> <a class="moz-txt-link-rfc2396E" href="http://lists.dune-project.org/mailman/listinfo/dune"><http://lists.dune-project.org/mailman/listinfo/dune></a> <<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune">http://lists.dune-project.org/mailman/listinfo/dune</a> <a class="moz-txt-link-rfc2396E" href="http://lists.dune-project.org/mailman/listinfo/dune"><http://lists.dune-project.org/mailman/listinfo/dune></a>>
> >
>
>
> _______________________________________________
> Dune mailing list
> <a class="moz-txt-link-abbreviated" href="mailto:Dune@lists.dune-project.org">Dune@lists.dune-project.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:Dune@lists.dune-project.org"><mailto:Dune@lists.dune-project.org></a> <<a class="moz-txt-link-freetext" href="mailto:Dune@lists.dune-project.org">mailto:Dune@lists.dune-project.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:Dune@lists.dune-project.org"><mailto:Dune@lists.dune-project.org></a>>
> <a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune">http://lists.dune-project.org/mailman/listinfo/dune</a> <a class="moz-txt-link-rfc2396E" href="http://lists.dune-project.org/mailman/listinfo/dune"><http://lists.dune-project.org/mailman/listinfo/dune></a> <<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune">http://lists.dune-project.org/mailman/listinfo/dune</a> <a class="moz-txt-link-rfc2396E" href="http://lists.dune-project.org/mailman/listinfo/dune"><http://lists.dune-project.org/mailman/listinfo/dune></a>>
>
>
_______________________________________________
Dune mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune@lists.dune-project.org">Dune@lists.dune-project.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:Dune@lists.dune-project.org"><mailto:Dune@lists.dune-project.org></a>
<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune">http://lists.dune-project.org/mailman/listinfo/dune</a> <a class="moz-txt-link-rfc2396E" href="http://lists.dune-project.org/mailman/listinfo/dune"><http://lists.dune-project.org/mailman/listinfo/dune></a>
</pre>
</blockquote>
<pre wrap="">
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Dune mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune@lists.dune-project.org">Dune@lists.dune-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune">http://lists.dune-project.org/mailman/listinfo/dune</a></pre>
</blockquote>
<br>
</body>
</html>