We used to add the nodes when you added a side, but we removed it because of 
the amr problem.  Specifically, automagically adding/removing node ids during 
amr while not touching the side ids.

-Ben



----- Original Message -----
From: John Peterson <[email protected]>
To: Roy Stogner <[email protected]>
Cc: [email protected] <[email protected]>
Sent: Mon Mar 16 15:52:38 2009
Subject: Re: [Libmesh-users] Node on Boundary

On Mon, Mar 16, 2009 at 3:42 PM, Roy Stogner <[email protected]> wrote:
>
>
> On Mon, 16 Mar 2009, Andrea Hawkins wrote:
>
>> In my code, I'm currently just generating my mesh using
>>
>>  MeshTools::Generation::build_square (mesh, x_elem, y_elem, min, max, min,
>> max, QUAD9);
>>
>> In this routine, I see it setting boundary ids for the sides, but I don't
>> see anywhere it sets them (or would set them)
>> for the nodes. Where would be the appropriate place to set this? I'm just
>> wanting the entire boundary to be Dirichlet.
>
> I seem to recall that, when adding a boundary id for a side, the nodes
> for that side are given the same id, possibly overwriting any existing
> id of their own.
>
> Searching through the library, I can find absolutely no hint that any
> such behavior exists.

Agree, looks like we have definitely been lazy about adding nodes to
the boundary during build_cube.  I think probably the min of all
possible boundary IDs of sides which contain the node might be a
logical choice.  That shouldn't be too hard to add to build_cube, not
that I'm volunteering of course :-)

> I'd say that it might be a useful idea to at
> least add a method like "BoundaryInfo::sync_sides_to_nodes()"

Agree again, because I'm not sure the boundary info will be correctly
updated when MeshTools::renumber_nodes_and_elements() is called...

> at the
> moment I'm more concerned about how I hallucinated a memory of code
> that never existed...

Maybe you are thinking about the way that child elements' boundary IDs
are automatically gotten from their parents' boundary IDs w/o having
to add them to the BoundaryInfo object?

-- 
John

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to