Perhaps this is what you are looking for https://urldefense.us/v3/__https://petsc.org/release/manualpages/Mat/MATNEST/*matnest__;Iw!!G_uCfscf7eWS!e9L1JRLW7O-w_LDeaQomJxREvfqcm0FrZtlpjeE46ux3HjMJELyJmp9jx4uTJkK7WyQc57DtJFcC3nFe6jEJpOU$ ?
> On Oct 24, 2024, at 8:48 PM, Diego Magela Lemos via petsc-users > <petsc-users@mcs.anl.gov> wrote: > > Is there something similar to SciPy sparse block_array > (https://urldefense.us/v3/__https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.block_array.html*scipy.sparse.block_array__;Iw!!G_uCfscf7eWS!e9L1JRLW7O-w_LDeaQomJxREvfqcm0FrZtlpjeE46ux3HjMJELyJmp9jx4uTJkK7WyQc57DtJFcC3nFeocXEqtM$ > > <https://urldefense.us/v3/__https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.block_array.html*scipy.sparse.block_array__;Iw!!G_uCfscf7eWS!YANe4IC4s7Ki7CYmRbt0miQwrrFq7e-6_btfizr9d4vir0dzWIncCQBkH3Cbr94Y_jxGNSAhJh59aSOHAHRESglgg7A$>) > or bmat > (https://urldefense.us/v3/__https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.bmat.html__;!!G_uCfscf7eWS!e9L1JRLW7O-w_LDeaQomJxREvfqcm0FrZtlpjeE46ux3HjMJELyJmp9jx4uTJkK7WyQc57DtJFcC3nFezKs5Ti0$ > > <https://urldefense.us/v3/__https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.bmat.html__;!!G_uCfscf7eWS!YANe4IC4s7Ki7CYmRbt0miQwrrFq7e-6_btfizr9d4vir0dzWIncCQBkH3Cbr94Y_jxGNSAhJh59aSOHAHREvOCba0s$>) > in PETSc?