Lines Matching refs:fieldname
46 …PetscCheck(dd->fieldname, PetscObjectComm((PetscObject)da), PETSC_ERR_ORDER, "You should call DMSe… in DMDASetFieldName()
47 PetscCall(PetscFree(dd->fieldname[nf])); in DMDASetFieldName()
48 PetscCall(PetscStrallocpy(name, &dd->fieldname[nf])); in DMDASetFieldName()
75 *names = (const char *const *)dd->fieldname; in DMDAGetFieldNames()
101 char **fieldname; in DMDASetFieldNames() local
105 …PetscCheck(dd->fieldname, PetscObjectComm((PetscObject)da), PETSC_ERR_ORDER, "You should call DMSe… in DMDASetFieldNames()
108 PetscCall(PetscStrArrayallocpy(names, &fieldname)); in DMDASetFieldNames()
109 PetscCall(PetscStrArrayDestroy(&dd->fieldname)); in DMDASetFieldNames()
110 dd->fieldname = fieldname; in DMDASetFieldNames()
143 …PetscCheck(dd->fieldname, PetscObjectComm((PetscObject)da), PETSC_ERR_ORDER, "You should call DMSe… in DMDAGetFieldName()
144 *name = dd->fieldname[nf]; in DMDAGetFieldName()