Searched refs:subprobs (Results 1 – 2 of 2) sorted by relevance
92 PetscDS *subprobs; /* The subspaces for each dimension */ member
637 if ((*ds)->subprobs) { in PetscDSDestroy()641 for (d = 0; d < dim; ++d) PetscCall(PetscDSDestroy(&(*ds)->subprobs[d])); in PetscDSDestroy()643 PetscCall(PetscFree((*ds)->subprobs)); in PetscDSDestroy()3960 if (!prob->subprobs) PetscCall(PetscCalloc1(dim, &prob->subprobs)); in PetscDSGetHeightSubspace()3961 if (!prob->subprobs[height - 1]) { in PetscDSGetHeightSubspace()3964 PetscCall(PetscDSCreate(PetscObjectComm((PetscObject)prob), &prob->subprobs[height - 1])); in PetscDSGetHeightSubspace()3966 PetscCall(PetscDSSetCoordinateDimension(prob->subprobs[height - 1], cdim)); in PetscDSGetHeightSubspace()3976 PetscCall(PetscDSSetDiscretization(prob->subprobs[height - 1], f, (PetscObject)subfe)); in PetscDSGetHeightSubspace()3979 *subprob = prob->subprobs[height - 1]; in PetscDSGetHeightSubspace()