#include "petscdmadda.h" PetscErrorCode DMADDACreate(MPI_Comm comm, PetscInt dim, PetscInt *nodes,PetscInt *procs,PetscInt dof, PetscBool *periodic,DM *dm_p)Collective on MPI_Comm
comm | - MPI communicator | |
dim | - the dimension of the grid | |
nodes | - array with d entries that give the number of nodes in each dimension | |
procs | - array with d entries that give the number of processors in each dimension (or PETSC_NULL if to be determined automatically) | |
dof | - number of degrees of freedom per node | |
periodic | - array with d entries that, i-th entry is set to true iff dimension i is periodic |
Level:intermediate
Location:src/dm/adda/adda.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages