GridAddField

This function defines a field on the grid.

Synopsis

#include "grid.h" 
int GridAddField(Grid grid, const char name[], DiscretizationType discType, int numComp, int *field)
Not collective

Input Parameters

grid - The grid
name - The field name
discType - The DiscretizationType for the field
numComp - The nubmer of components in the field

Output Parameter

field -The canonical field number

Keywords

grid, field,

See Also

GridSetFieldName()

Level:intermediate
Location:
src/grid/interface/gridDB.c
Index of all Grid routines
Table of Contents for all manual pages
Index of all manual pages