<div dir="ltr"><div>Hi,</div><div> </div><div>I am trying to find a best way to implement adaptive implicit method (AIM) using PETSc for the linear solver.</div><div> </div><div>I am solving conservation equations so if I have a N cells problem then I will end of solving a N*M by N*M linear system matrix for each cell has M equations (or variables) when I solve them fully implicitly. For such system I can use blocked matrix (BAIJ)</div><div>In case each cell has its implicitness level varing from 1 to M so each sub block will have different size range from 1 by to M by M so BAIJ will be very inefficient in both storage and computations I supposed.</div><div> </div><div>So I am actually thinking if I should reconstruct matrix and using point matrix (AIJ) when implicitness changes but will this also too inefficient for constructing a new matrix?</div><div> </div><div>So what is the best way for me to implement AIM?</div><div> </div><div>Kan<br clear="all"><br></div>
</div>