BVGetType#

Gets the BV type name (as a string) from the BV context.

Synopsis#

#include "slepcbv.h" 
PetscErrorCode BVGetType(BV bv,BVType *type)

Not Collective

Input Parameter#

  • bv - the basis vectors context

Output Parameter#

  • type - name of the type of basis vectors

Note#

type should not be retained for later use as it will be an invalid pointer if the BVType of bv is changed.

See Also#

BV: Basis Vectors, BVSetType(), PetscObjectTypeCompare(), PetscObjectTypeCompareAny()

Level#

intermediate

Location#

src/sys/classes/bv/interface/bvbasic.c


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