Lines Matching refs:sp
8 PetscSpace sp; in test() local
18 PetscCall(PetscSpaceCreate(comm, &sp)); in test()
19 PetscCall(PetscObjectSetName((PetscObject)sp, "ptrimmed")); in test()
20 PetscCall(PetscSpaceSetType(sp, PETSCSPACEPTRIMMED)); in test()
21 PetscCall(PetscSpaceSetNumVariables(sp, dim)); in test()
23 PetscCall(PetscSpaceSetNumComponents(sp, Nf * nCopies)); in test()
24 PetscCall(PetscSpaceSetDegree(sp, degree, PETSC_DETERMINE)); in test()
25 PetscCall(PetscSpacePTrimmedSetFormDegree(sp, formDegree)); in test()
26 PetscCall(PetscSpaceSetUp(sp)); in test()
27 PetscCall(PetscSpaceView(sp, NULL)); in test()
31 PetscCall(PetscSpaceGetDimension(sp, &Nb)); in test()
35 PetscCall(PetscSpaceGetDegree(sp, &d, &maxD)); in test()
46 PetscCall(PetscSpaceEvaluate(sp, npoints, points, B, D, H)); in test()
52 PetscCall(PetscSpaceDestroy(&sp)); in test()