SNESMultiblockSetBlockSize#

Sets the block size for structured block division in a SNESMULTBLOCK solver. If not set the matrix block size is used.

Synopsis#

#include "petscsnes.h" 
PetscErrorCode SNESMultiblockSetBlockSize(SNES snes, PetscInt bs)

Logically Collective

Input Parameters#

  • snes - the solver context

  • bs - the block size

See Also#

SNESMULTBLOCK, SNESMultiblockGetSubSNES(), SNESMULTIBLOCK, SNESMultiblockSetFields()

Level#

intermediate

Location#

src/snes/impls/multiblock/multiblock.c

Implementations#

SNESMultiblockSetBlockSize_Default in src/snes/impls/multiblock/multiblock.c


Edit on GitLab

Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages