PCMGGetCoarseSpaceConstructor — PETSc 3.25.1 documentation

Skip to main content
`Ctrl`+`K`

# PCMGGetCoarseSpaceConstructor

Returns the given coarse space construction method.

## Synopsis

    #include "petscksp.h"
    PetscErrorCode PCMGGetCoarseSpaceConstructor(const char name[], PCMGCoarseSpaceConstructorFn **function)

Not Collective, No Fortran Support

## Input Parameter

- name - name of the constructor

## Output Parameter

- function - constructor routine

## See Also

KSP: Linear System Solvers, `PCMGCoarseSpaceConstructorFn`, `PCMG`, `PCMGRegisterCoarseSpaceConstructor()`, `PCRegister()`

## Level

advanced

## Location

src/ksp/pc/impls/mg/mg.c

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