DASetType

Builds a DA, for a particular DA implementation.

Synopsis

#include "petscda.h"  
PetscErrorCode PETSCDM_DLLEXPORT DASetType(DA da, const DAType method)
Collective on DA

Input Parameters

da - The DA object
method - The name of the DA type

Options Database Key

-da_type <type> -Sets the DA type; use -help for a list of available types

Notes

See "petsc/include/petscda.h" for available DA types (for instance, DA1D, DA2D, or DA3D).

Keywords

DA, set, type

See Also

DAGetType(), DACreate()

Level:intermediate
Location:
src/dm/da/src/dareg.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages