79
MatCreateShell(PETSC_COMM_WORLD, m, n, M, N, (void*) this, &A);
83
MatCreateShell(MPI::DOLFIN_COMM, m, n, M, N, (void*) this, &A);
85
MatCreateShell(PETSC_COMM_SELF, m, n, M, N, (void*) this, &A);
80
87
MatShellSetOperation(A, MATOP_MULT, (void (*)()) usermult);
82
89
//-----------------------------------------------------------------------------