On Mon Feb 09 2015 at 09:15:55 Øyvind Evju <[email protected]> wrote:
> Wouldn't this be handled by the utility functions dof_to_vertex_map > (vertex_to_dof_map for the opposite mapping)? > > I wouldn't expect so. This is limited to P1 elements. The approach is to get the local (cell-wise) dofs indices for a facet, and then via the dofmap get the global indices. Garth > > -Øyvind > > 2015-02-09 9:06 GMT+01:00 Martin Sandve Alnæs <[email protected]>: > >> Øyvind, can you point him to your boundary function code in cbcpost? >> 9. feb. 2015 08.42 skrev "Matthew Scroggs" <[email protected] >> >: >> >> Dear All, >>> >>> I am working on FEM-BEM Coupling using Fenics with BEM++. >>> To do this, I am using dolfin.assemble to generate matrices then >>> combining these with the matrices from BEM++. >>> >>> When I create a dolfin FunctionSpace(mesh,"CG",1), however, the ordering >>> of the basis functions is not the same as the ordering of the nodes in the >>> mesh. >>> >>> Is there somewhere within dolfin where I can find the mapping between >>> the FunctionSpace nodes and the mesh nodes? >>> >>> Thanks, >>> Matthew >>> >>> -- >>> Matthew Scroggs >>> PhD Student >>> Department of Mathematics >>> University College London >>> _______________________________________________ >>> fenics mailing list >>> [email protected] >>> http://fenicsproject.org/mailman/listinfo/fenics >>> >> > _______________________________________________ > fenics mailing list > [email protected] > http://fenicsproject.org/mailman/listinfo/fenics >
_______________________________________________ fenics mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics
