Function opensn::CreateSquareMatrix(MPI_Comm, PetscInt, PetscInt)

Function Documentation

Mat opensn::CreateSquareMatrix(MPI_Comm comm, PetscInt local_size, PetscInt global_size)

Creates a general square matrix, as above, on the communicator comm.