| /petsc/src/vec/is/tests/ |
| H A D | ex5.c | 137 PetscCall(PetscSectionSetDof(section, 0, 3)); in main() 138 PetscCall(PetscSectionSetDof(section, 1, 3)); in main() 139 PetscCall(PetscSectionSetDof(section, 2, 5)); in main() 140 PetscCall(PetscSectionSetDof(section, 3, 7)); in main() 149 PetscCall(PetscSectionSetDof(section, 0, 7)); in main() 150 PetscCall(PetscSectionSetDof(section, 1, 5)); in main() 151 PetscCall(PetscSectionSetDof(section, 2, 13)); in main()
|
| /petsc/src/dm/partitioner/impls/gather/ |
| H A D | partgather.c | 20 PetscCall(PetscSectionSetDof(partSection, 0, numVertices)); in PetscPartitionerPartition_Gather() 21 for (np = 1; np < nparts; ++np) PetscCall(PetscSectionSetDof(partSection, np, 0)); in PetscPartitionerPartition_Gather()
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex21.c | 212 PetscCall(PetscSectionSetDof(section, 3, 2)); in main() 213 PetscCall(PetscSectionSetDof(section, 12, 3)); in main() 214 PetscCall(PetscSectionSetDof(section, 25, 2)); in main() 223 PetscCall(PetscSectionSetDof(section, 0, 2)); in main() 224 PetscCall(PetscSectionSetDof(section, 1, 1)); in main() 225 PetscCall(PetscSectionSetDof(section, 8, 3)); in main() 226 PetscCall(PetscSectionSetDof(section, 20, 2)); in main()
|
| H A D | ex48.c | 24 for (p = pStart; p < pEnd; p++) PetscCall(PetscSectionSetDof(section, p, 1)); in main() 26 for (p = pStart; p < pEnd; p++) PetscCall(PetscSectionSetDof(section, p, 2)); in main()
|
| H A D | ex48f90.F90 | 30 PetscCallA(PetscSectionSetDof(section, p, one, ierr)) 34 PetscCallA(PetscSectionSetDof(section, p, two, ierr))
|
| H A D | ex24.c | 96 PetscCall(PetscSectionSetDof(tpws, i, tdof)); in main() 101 PetscCall(PetscSectionSetDof(tpws, 0, 0)); in main() 181 PetscCall(PetscSectionSetDof(tpws, i, tdof)); in main()
|
| H A D | ex75.c | 39 PetscCall(PetscSectionSetDof(coordSec, c, dim * (degree + 1))); in main()
|
| H A D | ex47.c | 453 PetscCall(PetscSectionSetDof(s, c, nbElemVertex)); in main() 506 PetscCall(PetscSectionSetDof(s, c, nbElemVertex)); in main()
|
| H A D | ex98.c | 45 PetscCall(PetscSectionSetDof(section, p, sdim)); in main()
|
| H A D | ex98f90.F90 | 53 PetscCallA(PetscSectionSetDof(section, p, sdim, ierr))
|
| H A D | ex31.c | 90 PetscCall(PetscSectionSetDof(s, p, 1)); in main()
|
| /petsc/src/vec/vec/tests/ |
| H A D | ex40f90.F90 | 18 PetscCallA(PetscSectionSetDof(section, p, three, ierr))
|
| /petsc/src/dm/partitioner/impls/simple/ |
| H A D | partsimple.c | 78 …for (np = 0; np < nparts; ++np) PetscCall(PetscSectionSetDof(partSection, np, numVertices / nparts… in PetscPartitionerPartition_Simple_Grid() 157 for (np = 0; np < nparts; ++np) PetscCall(PetscSectionSetDof(partSection, np, tpwgts[np])); in PetscPartitionerPartition_Simple() 159 …for (np = 0; np < nparts; ++np) PetscCall(PetscSectionSetDof(partSection, np, numVertices / nparts… in PetscPartitionerPartition_Simple() 229 PetscCall(PetscSectionSetDof(partSection, np, PartEnd - PartStart)); in PetscPartitionerPartition_Simple()
|
| /petsc/src/dm/partitioner/tests/ |
| H A D | ex33.c | 39 for (i = 0; i < nv; i++) PetscCall(PetscSectionSetDof(vertexSection, i, 1)); in main() 46 for (i = 0; i < nparts; i++) PetscCall(PetscSectionSetDof(targetSection, i, 1)); in main()
|
| /petsc/src/dm/impls/plex/tutorials/ |
| H A D | ex7.c | 17 PetscCall(PetscSectionSetDof(s, v, 1)); in SetupSection()
|
| /petsc/src/dm/impls/forest/tests/ |
| H A D | ex1.c | 39 for (v = vStart; v < vEnd; ++v) PetscCall(PetscSectionSetDof(s, v, 1)); in main()
|
| H A D | ex3.c | 85 PetscCall(PetscSectionSetDof(s, v, 1)); in main()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexindices.c | 45 PetscCall(PetscSectionSetDof(closureSection, point, cldof)); in DMPlexCreateClosureIndex()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petscsec.pxi | 24 PetscErrorCode PetscSectionSetDof(PetscSection, PetscInt, PetscInt)
|
| /petsc/src/vec/is/section/interface/ |
| H A D | section.c | 132 PetscCall(PetscSectionSetDof(newSection, p, dof)); in PetscSectionCopy_Internal() 968 PetscErrorCode PetscSectionSetDof(PetscSection s, PetscInt point, PetscInt numDof) in PetscSectionSetDof() function 1064 PetscCall(PetscSectionSetDof(s->field[field], point, numDof)); in PetscSectionSetFieldDof() 1149 PetscCall(PetscSectionSetDof(s->bc, point, numDof)); in PetscSectionSetConstraintDof() 1511 PetscCall(PetscSectionSetDof(gs, p, dof)); in PetscSectionCreateGlobalSection() 1649 PetscCall(PetscSectionSetDof(*gsection, p, 0)); in PetscSectionCreateGlobalSectionCensored() 1655 PetscCall(PetscSectionSetDof(*gsection, p, dof)); in PetscSectionCreateGlobalSectionCensored() 2069 PetscCall(PetscSectionSetDof(*subs, p, dof)); in PetscSectionCreateSubsection() 2168 PetscCall(PetscSectionSetDof(*subs, p, len)); in PetscSectionCreateComponentSubsection() 2251 PetscCall(PetscSectionSetDof(*supers, p, dof)); in PetscSectionCreateSupersection() [all …]
|
| /petsc/src/dm/dt/dualspace/impls/simple/ |
| H A D | dspacesimple.c | 16 PetscCall(PetscSectionSetDof(section, pStart, s->dim)); in PetscDualSpaceSetUp_Simple()
|
| /petsc/src/dm/partitioner/impls/shell/ |
| H A D | partshell.c | 196 … for (proc = 0; proc < size; ++proc) PetscCall(PetscSectionSetDof(p->section, proc, sizes[proc])); in PetscPartitionerShellSetPartition()
|
| /petsc/include/ |
| H A D | petscsection.h | 37 PETSC_EXTERN PetscErrorCode PetscSectionSetDof(PetscSection, PetscInt, PetscInt);
|
| /petsc/src/dm/partitioner/impls/multistage/ |
| H A D | mspart.c | 487 …for (PetscMPIInt i = 0; i < gsize; i++) PetscCall(PetscSectionSetDof(p->tpwgs[l], i, lwgts[tr[i]])… in PetscPartitionerMultistageSetStages() 489 PetscCall(PetscSectionSetDof(p->tpwgs[l], 0, 1)); in PetscPartitionerMultistageSetStages() 712 PetscCall(PetscSectionSetDof(partSection, mpt, dof)); in PetscPartitionerPartition_Multistage()
|
| /petsc/doc/manual/ |
| H A D | section.md | 38 …ly first starts with setting the `ndof` for each point, which is done using `PetscSectionSetDof()`. 55 2. Specify the number of dofs per point with `PetscSectionSetDof()`. Any values not set will be zer… 79 4. Set the **total** number of dof for each point with `PetscSectionSetDof()`. Thus value must be g…
|