Home
last modified time | relevance | path

Searched refs:sectionMass (Results 1 – 1 of 1) sorted by relevance

/petsc/src/ts/tutorials/
H A Dex11.c761 PetscSection sectionMass; in CreateMassMatrix() local
773 PetscCall(PetscSectionCreate(PetscObjectComm((PetscObject)dm), &sectionMass)); in CreateMassMatrix()
775 PetscCall(PetscSectionSetChart(sectionMass, vStart, vEnd)); in CreateMassMatrix()
780 PetscCall(PetscSectionSetDof(sectionMass, v, numFaces * numFaces)); in CreateMassMatrix()
782 PetscCall(PetscSectionSetUp(sectionMass)); in CreateMassMatrix()
783 PetscCall(DMSetLocalSection(dmMass, sectionMass)); in CreateMassMatrix()
784 PetscCall(PetscSectionDestroy(&sectionMass)); in CreateMassMatrix()