Lines Matching refs:s

385   PetscSection     s;  in main()  local
437 PetscSection s; in main() local
439 PetscCall(PetscSectionCreate(PETSC_COMM_WORLD, &s)); in main()
440 PetscCall(PetscSectionSetNumFields(s, 1)); in main()
441 PetscCall(PetscSectionSetFieldComponents(s, 0, 1)); in main()
442 PetscCall(PetscSectionSetChart(s, vStart, vEnd)); in main()
453 PetscCall(PetscSectionSetDof(s, c, nbElemVertex)); in main()
454 PetscCall(PetscSectionSetFieldDof(s, c, 0, nbElemVertex)); in main()
456 PetscCall(PetscSectionSetUp(s)); in main()
458 PetscCall(PetscSectionView(s, PETSC_VIEWER_STDOUT_WORLD)); in main()
459 … PetscCall(DMPlexBuildFromCellSectionParallel(dm, Nc, PETSC_DECIDE, Nv, s, cells, &sfVert, NULL)); in main()
460 PetscCall(PetscSectionDestroy(&s)); in main()
490 PetscSection s; in main() local
492 PetscCall(PetscSectionCreate(PETSC_COMM_WORLD, &s)); in main()
493 PetscCall(PetscSectionSetNumFields(s, 1)); in main()
494 PetscCall(PetscSectionSetFieldComponents(s, 0, 1)); in main()
495 PetscCall(PetscSectionSetChart(s, vStart, vEnd)); in main()
506 PetscCall(PetscSectionSetDof(s, c, nbElemVertex)); in main()
507 PetscCall(PetscSectionSetFieldDof(s, c, 0, nbElemVertex)); in main()
509 PetscCall(PetscSectionSetUp(s)); in main()
511 PetscCall(PetscSectionView(s, PETSC_VIEWER_STDOUT_WORLD)); in main()
512 … PetscCall(DMPlexBuildFromCellSectionParallel(dm, Nc, PETSC_DECIDE, Nv, s, cells, &sfVert, NULL)); in main()
513 PetscCall(PetscSectionDestroy(&s)); in main()
536 PetscCall(DMPlexCreateSection(dm, NULL, numComp, numDof, numBC, NULL, NULL, NULL, NULL, &s)); in main()
537 PetscCall(DMSetLocalSection(dm, s)); in main()
539 PetscCall(PetscSectionDestroy(&s)); in main()
555 PetscSection s; in main() local
557 PetscCall(DMGetGlobalSection(dm, &s)); in main()
558 PetscCall(PetscSectionView(s, PETSC_VIEWER_STDOUT_WORLD)); in main()