petsc-3.6.2 2015-10-02
Report Typos and Errors

# PetscDSGetTotalDimension

Returns the total size of the approximation space for this system

### Synopsis

    #include "petscds.h"
    PetscErrorCode PetscDSGetTotalDimension(PetscDS prob, PetscInt *dim)

Not collective

### Input Parameter

prob -The PetscDS object

### Output Parameter

dim -The total problem dimension

### See Also

PetscDSGetNumFields(), PetscDSCreate()

Level:beginner
Location: src/dm/dt/interface/dtds.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages