<html>
<head>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
I have a question regarding the GridFunctionSubSpace in PDELab. I
don't know if I understand it correctly, but the Power/Composite
specializations do seem to assume that the father's gridview has the
same type as their own gridview:<br>
<br>
<font face="Courier New, Courier, monospace">// get grid view<br>
const typename Traits::GridViewType& gridView () const<br>
{<br>
return pgfs->gridView();<br>
}</font><br>
<br>
This is reasonable for the PDE grid function spaces, as they have to
have the same gridview when stacking them together. But when using
dune-multidomain, the MultiDomainGridFunctionSpace in general does
not have the same gridview as its childs. This leads to my question:
Would it cause problems to change the methods gridview()/gridView()
in the Power/Composite-GridFunctionSubSpace's to<br>
<br>
<br>
<font face="Courier New, Courier, monospace">// get grid view<br>
const typename Traits::GridViewType& gridView () const<br>
{<br>
return pcgfs->gridView();<br>
}</font><br>
<br>
, i.e. changing pgfs to p<b>c</b>gfs and refrain from using the
father gridview? This is also how it is done for the
leaf-specialization.<br>
I am currently having huge problems creating those non-leaf SubGFS's
for a MultiGFS and would be glad if I could simply change those
methods without breaking existing code.<br>
<br>
Cheers,<br>
Jurgis<br>
<br>
</body>
</html>