On Thu, Sep 1, 2016 at 6:10 AM, Alena Vasatova
wrote:
> Hi,
>
> I'm using libMesh by extending introduction example 4 (Solving a 2D or
> 3D Poisson Problem in Parallel), is there any easy way how to get nodes
> with Dirichlet boundary condition for each submesh? I thought I can use
> bnd_nodes_be
One way to do this would be to loop over all elements, check if they are on
a boundary ( neighbor NULL ), and then loop over all nodes that belong to
that elem.
You can then ask each node, which side it belongs to and therefore the kind
of boundary condition it has.
For the example you are referi
Hi,
I'm using libMesh by extending introduction example 4 (Solving a 2D or
3D Poisson Problem in Parallel), is there any easy way how to get nodes
with Dirichlet boundary condition for each submesh? I thought I can use
bnd_nodes_begin/end or bid_nodes_begin/end function, but I found out I
can'