Searched refs:sNew (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/vec/is/section/interface/ |
| H A D | section.c | 3092 PetscSection s = section, sNew; in PetscSectionPermute() local 3100 PetscCall(PetscSectionCreate(PetscObjectComm((PetscObject)s), &sNew)); in PetscSectionPermute() 3102 if (numFields) PetscCall(PetscSectionSetNumFields(sNew, numFields)); in PetscSectionPermute() 3108 PetscCall(PetscSectionSetFieldName(sNew, f, name)); in PetscSectionPermute() 3110 PetscCall(PetscSectionSetFieldComponents(sNew, f, numComp)); in PetscSectionPermute() 3113 PetscCall(PetscSectionSetComponentName(sNew, f, c, name)); in PetscSectionPermute() 3119 PetscCall(PetscSectionSetChart(sNew, pStart, pEnd)); in PetscSectionPermute() 3125 PetscCall(PetscSectionSetDof(sNew, perm[p], dof)); in PetscSectionPermute() 3127 if (cdof) PetscCall(PetscSectionSetConstraintDof(sNew, perm[p], cdof)); in PetscSectionPermute() 3130 PetscCall(PetscSectionSetFieldDof(sNew, perm[p], f, dof)); in PetscSectionPermute() [all …]
|