|
From: | Yves Renard |
Subject: | Re: [Getfem-users] Warning: Inefficient addition of element in rsvector |
Date: | Thu, 23 Feb 2017 16:32:52 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
Dear David, You add a global term, so that the stiffness matrix is no longer sparse at all. This is why gmm complains. And the linear system solve will only be possible for a small number of degrees of freedom. This is avoidable with a specific solve of the system, writing explicitely the constraint matrix as a rank one matrix. Of course, a simpler alternative is to prescribe the value of the unknown at any point of the domain (with a pointwise constraint brick, this is very easy) and if there is a specific need for solution to be of zero average, make a post-translation of the solution. Yves. Le 23/02/2017 à 11:17, David Danan a écrit : Dear Getfem users,
-- Yves Renard (address@hidden) tel : (33) 04.72.43.87.08 Pole de Mathematiques, INSA-Lyon fax : (33) 04.72.43.85.29 20, rue Albert Einstein 69621 Villeurbanne Cedex, FRANCE http://math.univ-lyon1.fr/~renard --------- |
[Prev in Thread] | Current Thread | [Next in Thread] |