[Trilinos-Users] Unique enumeration of faces in STK mesh?

Heroux, Mike MHeroux at csbsju.edu
Fri Aug 6 15:18:02 MDT 2010


Also,

Roger Pawlowski might have some insight into this, unrelated to stkmesh.

Mike

On 8/6/10 4:15 PM, "Alan Williams" <william at sandia.gov> wrote:

> STK team: could one of you please reply to Mike about this? (if you didn't
> already)
> I'm still mostly out of commission, but I think stk-mesh does provide unique
> face ids (but not all faces are created by default unless requested due to
> memory requirements).
> Alan
> 
>> -----Original Message-----
>> From: trilinos-users-bounces at software.sandia.gov [mailto:trilinos-
>> users-bounces at software.sandia.gov] On Behalf Of Michael Buksas
>> Sent: Thursday, August 05, 2010 2:18 PM
>> To: trilinos-users at software.sandia.gov
>> Subject: [Trilinos-Users] Unique enumeration of faces in STK mesh?
>> 
>> Hi all,
>> 
>> I have an application where I need to keep track of unknowns defined on
>> the faces of cells. This requires a unique id for each face and some
>> kind of element to face id map.
>> 
>> As far as I can tell, STK mesh doesn't have a built-in capability for
>> this. It's not hard to write, but I wanted to make sure I'm not
>> re-inventing the wheel.
>> 
>> My current approach is to iterate over the local faces of each element
>> as it declare it, and store a unique key based on it's node ids. Then I
>> only declare the face if it hasn't already been seen. Next step is to
>> add fields storing the (element, local face) -> global face map.
>> 
>> Are there better approaches? What do other people do when they have
>> face-defined unknowns?
>> 
>> Thanks,
>> Mike Buksas
>> 
>> --
>> Michael W. Buksas
>> CCS-7: Applied Computer Science
>> Los Alamos National Laboratory
>> (505) 667-7580
>> 
>> _______________________________________________
>> Trilinos-Users mailing list
>> Trilinos-Users at software.sandia.gov
>> http://software.sandia.gov/mailman/listinfo/trilinos-users
> 
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at software.sandia.gov
> http://software.sandia.gov/mailman/listinfo/trilinos-users
> 





More information about the Trilinos-Users mailing list