[petsc-dev] DMPlexAddBoundary

Adrian Croucher a.croucher at auckland.ac.nz
Wed May 21 00:17:18 CDT 2014


hi

I'm trying (and so far failing) to understand how the locations for 
setting boundary conditions are defined in the TS ex11 example.

In the 'PhysicsCreate' functions there are calls to DMPlexAddBoundary(), 
which takes an array of IDs; e.g. in PhysicsCreate_SW() the IDs are 
{100,101,200,300}. It looks like these IDs define where the BCs are 
applied, but what do these numbers actually refer to?

Thanks!

Cheers, Adrian

-- 
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
University of Auckland, New Zealand
email: a.croucher at auckland.ac.nz
tel: +64 (0)9 923 4611




More information about the petsc-dev mailing list