<div class="gmail_quote">On Mon, Mar 21, 2011 at 12:40, Alexander Grayver <span dir="ltr"><<a href="mailto:agrayver@gfz-potsdam.de">agrayver@gfz-potsdam.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div bgcolor="#ffffff" text="#000000">One more question. I get matrix J out of MatMatMult operation and
then I have to add L matrix up, wouldn't there be a conflict using
MatAssemblyBegin/MatAssemblyEnd again? Generally, is it allowed to
set new values into the matrix after MatAssemblyBegin/MatAssemblyEnd
already has been done once?</div></blockquote></div><br><div>Yes, you can assemble again. Just set the values, then call MatAssembly{Begin,End}. It is not okay to set values, skip (re)assembling, and call MatMult() or something.</div>