<div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="IT" style="overflow-wrap: break-word;"><div class="gmail-m_-1315501719709011559WordSection1">
<p class="MsoNormal"><span lang="EN-GB"> for (PetscInt i = 0; i < nConstants; ++i) {<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"> VecRestoreArray(constants[i], &rawConstants[i]);<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"> VecAssemblyBegin(constants[i]);<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"> VecAssemblyEnd(constants[i]);<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"> VecNormalize(constants[i], nullptr);</span></p></div></div></blockquote><div><br></div><div>This does not look correct.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="IT" style="overflow-wrap: break-word;"><div class="gmail-m_-1315501719709011559WordSection1"><p class="MsoNormal"><span lang="EN-GB"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"> }</span></p>
</div>
</div>
</blockquote></div></div>