petsc-3.14.5 2021-03-03
Report Typos and Errors

# PetscDSGetFieldSize

Returns the size of the given field in the full space basis

### Synopsis

    #include "petscds.h"
    PetscErrorCode PetscDSGetFieldSize(PetscDS prob, PetscInt f, PetscInt *size)

Not collective

### Input Parameters

| prob | - The PetscDS object
| f | - The field number

### Output Parameter

| size | - The size

### See Also

PetscDSGetFieldOffset(), 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