← Back to team overview

dolfin team mailing list archive

Re: boundary marked nodes -> xml

 


On Wed, 2008-07-02 at 11:18 +0200, Vuk.Milisic@xxxxxxx wrote:
> Is it possible to import
> marked boundary nodes from gmsh ?
> 
> if not is there an xml tag
> specific for that or should
> I generate by hand SubDomain
> imput ?

The following quote from Anders Logg might help you, But if you want to
tag the boundary which is complicated then I suggest using MeshBuilder
but if it is easily defined by hand then it is better to define the
SubDomains in main.cpp.

quote from Anders:
"The boundary is specified either by a subclass of SubDomain (which
must overload inside()) or by a MeshFunction<uint> over the facets of
the boundary. The mesh function can be created either manually (but
then using SubDomain is probably easier) or it can be created using
the graphical front-end MeshBuilder which can be obtained by"

  hg clone http://www.fenics.org/dev/meshbuilder



Follow ups

References