Searched refs:compName (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexvtu.c | 310 const char *compName = NULL; in DMPlexVTKWriteAll_VTU() local 312 PetscCall(PetscFVGetComponentName(fv, j, &compName)); in DMPlexVTKWriteAll_VTU() 313 if (compName) break; in DMPlexVTKWriteAll_VTU() 331 const char *compName = NULL; in DMPlexVTKWriteAll_VTU() local 333 if (fv) PetscCall(PetscFVGetComponentName(fv, j, &compName)); in DMPlexVTKWriteAll_VTU() 334 if (compName) { in DMPlexVTKWriteAll_VTU() 335 PetscCall(PetscSNPrintf(finalname, 255, "%s%s.%s", vecname, fieldname, compName)); in DMPlexVTKWriteAll_VTU() 408 const char *compName = NULL; in DMPlexVTKWriteAll_VTU() local 410 PetscCall(PetscSectionGetComponentName(section, field, j, &compName)); in DMPlexVTKWriteAll_VTU() 411 PetscCall(PetscSNPrintf(finalname, 255, "%s%s.%s", vecname, fieldname, compName)); in DMPlexVTKWriteAll_VTU() [all …]
|
| H A D | plexcreate.c | 328 const char *fieldName = NULL, *compName = NULL; in DMPlexCreateCoordinateSpace() local 340 PetscCall(PetscSectionGetComponentName(cs, 0, c, &compName)); in DMPlexCreateCoordinateSpace() 341 PetscCall(PetscSectionSetComponentName(csNew, 0, c, compName)); in DMPlexCreateCoordinateSpace()
|
| /petsc/src/vec/is/section/interface/ |
| H A D | section.c | 107 const char *fieldName = NULL, *compName = NULL; in PetscSectionCopy_Internal() local 115 PetscCall(PetscSectionGetComponentName(section, f, c, &compName)); in PetscSectionCopy_Internal() 116 PetscCall(PetscSectionSetComponentName(newSection, f, c, compName)); in PetscSectionCopy_Internal() 487 …PetscSectionGetComponentName(PetscSection s, PetscInt field, PetscInt comp, const char *compName[]) in PetscSectionGetComponentName() argument 491 PetscAssertPointer(compName, 4); in PetscSectionGetComponentName() 494 *compName = s->compNames[field][comp]; in PetscSectionGetComponentName() 520 … PetscSectionSetComponentName(PetscSection s, PetscInt field, PetscInt comp, const char compName[]) in PetscSectionSetComponentName() argument 524 if (compName) PetscAssertPointer(compName, 4); in PetscSectionSetComponentName() 528 PetscCall(PetscStrallocpy(compName, &s->compNames[field][comp])); in PetscSectionSetComponentName()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex11.c | 1416 char compName[256] = "Unknown"; in main() local 1418 …PetscCall(PetscSNPrintf(compName, sizeof(compName), "%s_%" PetscInt_FMT, phys->field_desc[f].name,… in main() 1419 PetscCall(PetscFVSetComponentName(fvm, dof + j, compName)); in main()
|