<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 12.11.2012 13:40, Jed Brown wrote:<br>
</div>
<blockquote
cite="mid:CAM9tzSmZpfY1QrEkttAoDuQTjUgXLoHp-2gJcQ60_bathpoAqQ@mail.gmail.com"
type="cite">
<div class="gmail_extra">
<div class="gmail_quote">
<div>The option does not change the format, but it does change
some defaults (e.g., it makes ASM symmetric instead of using
RASM). If you want to use a symmetric _format_, use
MATSBAIJ.</div>
</div>
</div>
</blockquote>
<br>
Jed,<br>
<br>
Thanks.<br>
Does it make sense that in fortran one has to call
MatCreateMPISBAIJ? <br>
<br>
<i>EXTERN_C_BEGIN<br>
void PETSC_STDCALL matcreatempisbaij_(MPI_Comm *comm,PetscInt
*bs,PetscInt *m,PetscInt *n,PetscInt *M,PetscInt *N,<br>
PetscInt *d_nz,PetscInt *d_nnz,PetscInt *o_nz,PetscInt
*o_nnz,Mat *newmat,PetscErrorCode *ierr)<br>
{<br>
CHKFORTRANNULLINTEGER(d_nnz);<br>
CHKFORTRANNULLINTEGER(o_nnz);<br>
*ierr = MatCreateSBAIJ(MPI_Comm_f2c(*(MPI_Fint
*)&*comm),*bs,*m,*n,*M,*N,*d_nz,d_nnz,*o_nz,o_nnz,newmat);<br>
}<br>
</i> <br>
<br>
<pre class="moz-signature" cols="72">--
Regards,
Alexander</pre>
</body>
</html>