<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi.<br>
I agree that this is not optimal - we should think of an option to
extract<br>
boundary id information from the macro grid file and store it
somehow.<br>
Perhaps a Singleton object BoundaryIdProvider or<br>
perhaps a method on the GridPart::boundaryId(intersection)<br>
would do. I don't think using global coordinates is a viable
solution....<br>
Best<br>
Andreas<br>
<br>
On 14.01.2014 15:37, Claus-Justus Heine wrote:<br>
<blockquote type="cite">Hi,<br>
<br>
now that the boundaryId() method has been removed from the
dune-grid<br>
interface (... unless BLAH_EXPERIMENTAL ...) one in principle has
only<br>
the geometry itself to decide whether a given boundary facet
belongs<br>
to a specific part of the boundary. If I then think of the layout
of<br>
the example implementation of fem-poisson in the school-code, for<br>
example, then we have (simplified) the following way to construct
the<br>
final algorithm<br>
<br>
problem -> model -> fem-scheme -> algorithm<br>
<br>
If now the model has no other chance than to look at the geometry
to<br>
assign suitable boundary conditions, then the model must have some<br>
knowledge about the computational domain. This seems to be
somewhat<br>
inconvenient: when changing the macro triangulation (e.g. make it<br>
twice as large or whatever) then one also has to adjust the model.
At<br>
least to me this seems to suggest that the definition of the<br>
computational domain should be part of the model. Defining the
macro<br>
triangulation in the parameter file does not seem to fit this
layout.<br>
<br>
Cheers,<br>
<br>
Claus<br>
<br>
<br>
<br>
<br>
<br>
</blockquote>
<span style="white-space: pre;">><br>
> _______________________________________________<br>
> dune-fem mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:dune-fem@dune-project.org">dune-fem@dune-project.org</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.dune-project.org/mailman/listinfo/dune-fem">http://lists.dune-project.org/mailman/listinfo/dune-fem</a></span><br>
<br>
<br>
</body>
</html>