Home
last modified time | relevance | path

Searched refs:PetscSectionSetDof (Results 1 – 25 of 71) sorted by relevance

123

/petsc/src/vec/is/tests/
H A Dex5.c137 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 Dpartgather.c20 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 Dex21.c212 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 Dex48.c24 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 Dex48f90.F9030 PetscCallA(PetscSectionSetDof(section, p, one, ierr))
34 PetscCallA(PetscSectionSetDof(section, p, two, ierr))
H A Dex24.c96 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 Dex75.c39 PetscCall(PetscSectionSetDof(coordSec, c, dim * (degree + 1))); in main()
H A Dex47.c453 PetscCall(PetscSectionSetDof(s, c, nbElemVertex)); in main()
506 PetscCall(PetscSectionSetDof(s, c, nbElemVertex)); in main()
H A Dex98.c45 PetscCall(PetscSectionSetDof(section, p, sdim)); in main()
H A Dex98f90.F9053 PetscCallA(PetscSectionSetDof(section, p, sdim, ierr))
H A Dex31.c90 PetscCall(PetscSectionSetDof(s, p, 1)); in main()
/petsc/src/vec/vec/tests/
H A Dex40f90.F9018 PetscCallA(PetscSectionSetDof(section, p, three, ierr))
/petsc/src/dm/partitioner/impls/simple/
H A Dpartsimple.c78 …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 Dex33.c39 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 Dex7.c17 PetscCall(PetscSectionSetDof(s, v, 1)); in SetupSection()
/petsc/src/dm/impls/forest/tests/
H A Dex1.c39 for (v = vStart; v < vEnd; ++v) PetscCall(PetscSectionSetDof(s, v, 1)); in main()
H A Dex3.c85 PetscCall(PetscSectionSetDof(s, v, 1)); in main()
/petsc/src/dm/impls/plex/
H A Dplexindices.c45 PetscCall(PetscSectionSetDof(closureSection, point, cldof)); in DMPlexCreateClosureIndex()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscsec.pxi24 PetscErrorCode PetscSectionSetDof(PetscSection, PetscInt, PetscInt)
/petsc/src/vec/is/section/interface/
H A Dsection.c132 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 Ddspacesimple.c16 PetscCall(PetscSectionSetDof(section, pStart, s->dim)); in PetscDualSpaceSetUp_Simple()
/petsc/src/dm/partitioner/impls/shell/
H A Dpartshell.c196 … for (proc = 0; proc < size; ++proc) PetscCall(PetscSectionSetDof(p->section, proc, sizes[proc])); in PetscPartitionerShellSetPartition()
/petsc/include/
H A Dpetscsection.h37 PETSC_EXTERN PetscErrorCode PetscSectionSetDof(PetscSection, PetscInt, PetscInt);
/petsc/src/dm/partitioner/impls/multistage/
H A Dmspart.c487 …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 Dsection.md38 …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…

123