<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hello,<br>
</p>
<p><br>
</p>
<p>I am having difficulties parallelising my code and would appreciate any help. <br>
</p>
<p><br>
</p>
<p><span style="font-size: 11pt;">My grid is on a cube defined via YaspGrid:<br style="">
</span></p>
<p><span style="font-size: 11pt;">YaspGrid<dim> grid(L,N,periodic,overlap,helper.getCommunicator());</span><br>
</p>
<p><br>
</p>
<p>I chose Nonoverlapping DD and defined the NonoverlappingConformingDirichletConstraints. I am using a vector grid function space:<br>
</p>
<p><br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 11px; font-family: Menlo;">
<span style="color: #bb2ca2"> typedef</span> PDELab::NonoverlappingConformingDirichletConstraints<GridView> CON;</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 11px; font-family: Menlo;">
CON con(grid.leafGridView());<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 11px; font-family: Menlo;">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 11px; font-family: Menlo;">
<span style="color: #bb2ca2">typedef</span> PDELab::VectorGridFunctionSpace<GridView,</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 11px; font-family: Menlo;">
FEM,</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 11px; font-family: Menlo;">
dim,</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 11px; font-family: Menlo;">
PDELab::ISTLVectorBackend<PDELab::ISTLParameters::static_blocking>,</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 11px; font-family: Menlo;">
PDELab::ISTLVectorBackend<>,</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 11px; font-family: Menlo;">
CON,</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 11px; font-family: Menlo;">
PDELab::EntityBlockedOrderingTag,</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 11px; font-family: Menlo;">
PDELab::DefaultLeafOrderingTag> GFSF;<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 11px; font-family: Menlo;">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px;"><span style="background-color: rgb(255, 255, 255);">Up to this line, everything compiles without errors. When I add</span><br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 11px; font-family: Menlo;">
<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 11px; font-family: Menlo;">
GFSF gfsf(grid.leafGridView(),fem,con);<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 11px; font-family: Menlo;">
<br>
</p>
<p>I get this error:<br>
</p>
<p><br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 11px; font-family: Menlo;">
/Users/tatianakim/Documents/DUNE/master/testproject/src/testproject.cc:330:38: required from here</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 11px; font-family: Menlo;">
/opt/local/include/gcc49/c++/ext/new_allocator.h:120:4: error: no matching function for call to 'Dune::PDELab::NonoverlappingConformingDirichletConstraints<Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<3>, (Dune::PartitionIteratorType)4u>
> >::NonoverlappingConformingDirichletConstraints()'</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 11px; font-family: Menlo;">
{ ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }</p>
<p style="margin-right: 0px; margin-left: 0px; font-size: 11px; font-family: Menlo;">
<br>
</p>
<p>Is it because NonoverlappingConformingDirichletConstraints are not compatible with Vector Grid Function Spaces?<br>
</p>
<p><br>
</p>
<p>Many thanks,<br>
</p>
<p>Tatiana.<br>
</p>
<div><br>
</div>
<p><br>
</p>
</body>
</html>