[dune-pdelab] Accessing constraints

Markus Blatt markus at dr-blatt.de
Tue Jan 28 10:31:08 CET 2014


On Mon, Jan 27, 2014 at 10:40:02PM +0100, Christian Engwer wrote:
> > This works, i.e., the matrix is modified as expected.  However, I need the Dirichlet
> > information for other things, too.  Therefore my question:  How can I obtain the
> > list of Dirichlet nodes from the cg object?  Does the cg object implement an API
> > that I can query?  If yes, where is it (in the doxygen documentation)?
> 
> surely the c object implements some kind of API, but it is internal

if only Dirichlet dofs are contrained, one could of course just take a
vector from the linear algebra backend and use set_constrained_dofs to
mark them. But this will surely not work in a parallel program or if
there are other constrained nodes.

Markus
-- 
Do you need more support with DUNE or HPC in general? 

Dr. Markus Blatt - HPC-Simulation-Software & Services http://www.dr-blatt.de
Hans-Bunte-Str. 8-10, 69123 Heidelberg, Germany
Tel.: +49 (0) 160 97590858  Fax: +49 (0)322 1108991658 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20140128/72291f3c/attachment.sig>


More information about the dune-pdelab mailing list