[Dune] gmsh mesh loading using dune-uggrid

Oliver Sander oliver.sander at tu-dresden.de
Mon Apr 24 12:17:47 CEST 2017


Hi Tomas,

is that the git master of the 2.5 branch?  If it is the git master,
then please update (at least) dune-grid.  The offending method got
removed there just a few weeks ago.

Best,
Oliver

On 24.04.2017 12:09, Stary, Tomas wrote:
> Hi,
> 
> I would like to load a mesh created in gmsh program into dune using
> dune-uggrid module. For that I have created a new project dependent on
> dune-uggrid and included required header files to the project:
> 
> #include <dune/grid/uggrid.hh>
> #include <dune/grid/common/gridfactory.hh>
> #include <dune/grid/common/gridinfo.hh>
> 
> When I try to compile the code I get the following error:
> 
> /home/tom/Work/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh: In static member function 'static UG::DOUBLE Dune::UG_NS<2>::SurfaceElement(int, const DOUBLE (*)[2], const DOUBLE*)':
> /home/tom/Work/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:876:11: error: 'SurfaceElement' is not a member of 'UG::D2'
>        if (UG_NAMESPACE ::SurfaceElement(UG_DIM, nc, co_global, ip_local, &result))
> 
> I am using a Linux machine, the same configuration works fine with a
> different version of uggrid on Mac.
> 
> Do you have any suggestions on how to get over this issue, please?
> 
> Many thanks,
> 
> Tomas
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5158 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20170424/99e61fac/attachment.bin>


More information about the Dune mailing list