[MOAB-dev] Some MOAB capability questions

Chris Eldred chris.eldred at gmail.com
Thu Oct 17 17:30:16 CDT 2013


Hey MOAB-dev,

I have some quick questions about capabilities in MOAB:

1) For bridge_adjacencies, is it possible to have them return the original
(calling) Entity as well? For example, if I call
    result = MeshTopoUtil(iface).get_bridge_adjacencies(*start_elem, 1, 2,
NC);
on a 2D quadrilateral mesh where start_elem is a face, it will return the 4
adjacent cells (as intended). Is there an option to have it return
start_elem AND the 4 adjacent cells?

2) Consider a variable length tag for a cell in a polyhedral mesh, with a
tag length equal to the number of neighbouring cells. The neighbouring
cells can be obtained with a bridge_adjacency. Is there a way to associate
each entry of the tag with a specific cell from the bridge_adjacency in a
consistent manner? This would be useful, for example, in generating/storing
weights that are associated with a stencil.

3) For edges in a polyhedral mesh, my application requires the selection of
a preferred direction (orientation) for flow across that edge. This is
conventionally denoted n_{e,i}, where e is an edge and i is a cell; it is
+1 for flow into the cell i and -1 for flow out of the cell i. What is the
best way to represent this in MOAB? Is this connected to the
side_number/canonical numbering?

Thanks,
Chris Eldred

-- 
Chris Eldred
DOE Computational Science Graduate Fellow
Graduate Student, Atmospheric Science, Colorado State University
B.S. Applied Computational Physics, Carnegie Mellon University, 2009
chris.eldred at gmail.com / celdred at atmos.colostate.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20131017/b0b2271a/attachment.html>


More information about the moab-dev mailing list