← Back to team overview

dolfin team mailing list archive

Re: [noreply@xxxxxxxxxxxxx: [Branch ~dolfin-core/dolfin/main] Rev 4535: Add support for specifying facet orientation in assembly over interior facets]

 


Anders Logg wrote:
> It is now possible to specify the direction of interior facets such
> that one may know which side of a facet is ('+') and which side is
> ('-').
> 
> To use this, attach a MeshFunction over the facets that specifies for
> each facet which cell (by the cell index) that is the first ('+') side
> of the cell:
> 
>   MeshFunction<uint>* facet_orientation = mesh.data().create_mesh_function("facet orientation");
> 
> Then just fill in the appropriate values in facet_orientation.
>
> This is useful for integration over facets where the two sides are not
> treated symmetrically, for example using upwinding or in multiphysics
> problems with an interior boundary cutting through the mesh.
>

Nice.

Garth


> --
> Anders
> 
> 
> ------------------------------------------------------------------------
> 
> Subject:
> [Branch ~dolfin-core/dolfin/main] Rev 4535: Add support for specifying
> facet orientation in assembly over interior facets
> From:
> noreply@xxxxxxxxxxxxx
> Date:
> Wed, 17 Feb 2010 14:36:24 -0000
> To:
> Anders Logg <logg@xxxxxxxxx>
> 
> To:
> Anders Logg <logg@xxxxxxxxx>
> 
> 
> ------------------------------------------------------------
> revno: 4535
> committer: Anders Logg <logg@xxxxxxxxx>
> branch nick: dolfin-dev
> timestamp: Wed 2010-02-17 15:34:42 +0100
> message:
>   Add support for specifying facet orientation in assembly over interior facets
> modified:
>   ChangeLog
>   dolfin/fem/Assembler.cpp
>   dolfin/mesh/Facet.h
>   dolfin/mesh/MeshData.h
> 
> 
> --
> lp:dolfin
> https://code.launchpad.net/~dolfin-core/dolfin/main
> 
> Your team DOLFIN Core Team is subscribed to branch lp:dolfin.
> To unsubscribe from this branch go to https://code.launchpad.net/~dolfin-core/dolfin/main/+edit-subscription.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp




References