← Back to team overview

dolfin team mailing list archive

Re: Assembly + Dirichlet bcs

 



kent-and@xxxxxxxxx wrote:
kent-and@xxxxxxxxx wrote:
Can Assembler::assemble_system be easily generalised to an Array of
DirichletBC,

   Array<DirichletBC*> bcs

so that vector equations can be handled?

Garth

Good point, I'll have a look.

OK, I'm taking a look at the moment with a view to generalising
Assembler::assemble_system for nonlinear problems (Newton solve).

Garth

OK, in the present implementation, the matrix does not have 1 on the diagonal
associated with bcs. It will be 1 times the number of elements (or faces)
associated
with it.


Shouldn't cause any problems for incremental problems.

Garth

This weighting can be stored but it is not presently done.

Kent






References