Home
last modified time | relevance | path

Searched refs:fieldName (Results 1 – 8 of 8) sorted by relevance

/petsc/lib/petsc/bin/
H A DtasClasses.py51 with open(self.fileName + '_' + field.fieldName+'.csv', mode='w') as csv_file:
74 def __init__(self, fileName, fieldName, alpha=0, cRate=0, beta=0): argument
76 self.fieldName = fieldName
92 print('**********Data for Field {}************'.format(self.fieldName))
H A Dpetsc_tas_analysis.py762 print('convRate: {} of {} field'.format(convRate, field.fieldName))
803 label='Field ' + field.fieldName + ' Orig Data', marker='^')
808 … label=field.fieldName + ' Convergence rate = ' + convRate, marker='x')
815 label='Field ' + field.fieldName, marker='^')
819 label='Field ' + field.fieldName, marker='^')
824 label='Field ' + field.fieldName, marker='^')
/petsc/src/vec/is/section/interface/hdf5/
H A Dsectionhdf5.c100 const char *fieldName; in PetscSectionView_HDF5_Internal() local
105 PetscCall(PetscSectionGetFieldName(s, f, &fieldName)); in PetscSectionView_HDF5_Internal()
106 PetscCall(PetscViewerHDF5WriteAttribute(viewer, NULL, "fieldName", PETSC_STRING, fieldName)); in PetscSectionView_HDF5_Internal()
295 char *fieldName; in PetscSectionLoad_HDF5_Internal() local
300 …PetscCall(PetscViewerHDF5ReadAttribute(viewer, NULL, "fieldName", PETSC_STRING, NULL, &fieldName)); in PetscSectionLoad_HDF5_Internal()
301 PetscCall(PetscSectionSetFieldName(s, f, fieldName)); in PetscSectionLoad_HDF5_Internal()
302 PetscCall(PetscFree(fieldName)); in PetscSectionLoad_HDF5_Internal()
/petsc/src/dm/impls/moab/
H A Ddmmbfield.cxx201 PetscErrorCode DMMoabGetFieldName(DM dm, PetscInt field, const char *fieldName[]) in DMMoabGetFieldName() argument
210 *fieldName = dmmoab->fieldNames[field]; in DMMoabGetFieldName()
231 PetscErrorCode DMMoabSetFieldName(DM dm, PetscInt field, const char *fieldName) in DMMoabSetFieldName() argument
237 PetscAssertPointer(fieldName, 3); in DMMoabSetFieldName()
243 PetscCall(PetscStrallocpy(fieldName, (char **)&dmmoab->fieldNames[field])); in DMMoabSetFieldName()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DSection.pyx172 cdef const char *fieldName = NULL
173 CHKERR(PetscSectionGetFieldName(self.sec, cfield, &fieldName))
174 return bytes2str(fieldName)
176 def setFieldName(self, field: int, fieldName: str) -> None:
185 fieldName
195 fieldName = str2bytes(fieldName, &cname)
/petsc/src/vec/is/section/interface/
H A Dsection.c107 const char *fieldName = NULL, *compName = NULL; in PetscSectionCopy_Internal() local
110 PetscCall(PetscSectionGetFieldName(section, f, &fieldName)); in PetscSectionCopy_Internal()
111 PetscCall(PetscSectionSetFieldName(newSection, f, fieldName)); in PetscSectionCopy_Internal()
425 PetscErrorCode PetscSectionGetFieldName(PetscSection s, PetscInt field, const char *fieldName[]) in PetscSectionGetFieldName() argument
429 PetscAssertPointer(fieldName, 3); in PetscSectionGetFieldName()
431 *fieldName = s->fieldNames[field]; in PetscSectionGetFieldName()
452 PetscErrorCode PetscSectionSetFieldName(PetscSection s, PetscInt field, const char fieldName[]) in PetscSectionSetFieldName() argument
456 if (fieldName) PetscAssertPointer(fieldName, 3); in PetscSectionSetFieldName()
459 PetscCall(PetscStrallocpy(fieldName, &s->fieldNames[field])); in PetscSectionSetFieldName()
/petsc/src/dm/interface/
H A Ddm.c2021 const char *fieldName; in DMCreateFieldIS() local
2023 PetscCall(PetscSectionGetFieldName(section, f, &fieldName)); in DMCreateFieldIS()
2024 PetscCall(PetscStrallocpy(fieldName, &(*fieldNames)[f])); in DMCreateFieldIS()
2130 const char *fieldName; in DMCreateFieldDecomposition() local
2134 PetscCall(PetscSectionGetFieldName(section, f, &fieldName)); in DMCreateFieldDecomposition()
2135 PetscCall(PetscStrallocpy(fieldName, &(*namelist)[f])); in DMCreateFieldDecomposition()
/petsc/src/dm/impls/plex/
H A Dplexcreate.c328 const char *fieldName = NULL, *compName = NULL; in DMPlexCreateCoordinateSpace() local
335 PetscCall(PetscSectionGetFieldName(cs, 0, &fieldName)); in DMPlexCreateCoordinateSpace()
336 PetscCall(PetscSectionSetFieldName(csNew, 0, fieldName)); in DMPlexCreateCoordinateSpace()