PETSc version 3.17.0
Fix/Edit manual page

# 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 DT routines
Table of Contents for all manual pages
Index of all manual pages