<div dir="ltr">To whom it may concern,<div><br></div><div style>I am very new to Petsc and I would very much appreciate some assistance.</div><div style><br></div><div style>What would be the best way to create an array of matrix objects? The number of matrix objects required would be determined during run time.</div>
<div style><br></div><div style>For example, I am looking into the FEM and I would like to create a matrix for each element (I know how to set up the matrix objects). Therefore, if I am using a mesh with 100 element I would like to determine during runtime that I will need to create 100 "Mat A[100]" etc, something along those lines. Hope I explained it well.</div>
<div style><br></div><div style>Sorry if this is a trivial question but your help would go a long way.</div><div style><br></div><div style>Thanks, keep up the great job guys!!</div><div style><br></div><div style>Regards,</div>
<div style>Anthony Vergottis</div></div>