Home
last modified time | relevance | path

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

/petsc/src/dm/dt/fe/impls/composite/
H A Dfecomposite.c36 …PetscCall(DMPlexRefineRegularGetAffineTransforms(tr, ct, &cmp->numSubelements, &cmp->v0, &cmp->jac… in PetscFESetUp_Composite()
41 PetscCall(PetscMalloc1(cmp->numSubelements * spdim, &cmp->embedding)); in PetscFESetUp_Composite()
44 for (s = 0; s < cmp->numSubelements; ++s) { in PetscFESetUp_Composite()
63 PetscCall(PetscMalloc1(cmp->numSubelements * spdim * spdim, &fem->invV)); in PetscFESetUp_Composite()
66 PetscCall(PetscMalloc1(cmp->numSubelements * spdim * spdim, &invVscalar)); in PetscFESetUp_Composite()
70 for (s = 0; s < cmp->numSubelements; ++s) { in PetscFESetUp_Composite()
93 …for (s = 0; s < cmp->numSubelements * spdim * spdim; s++) fem->invV[s] = PetscRealPart(invVscalar[… in PetscFESetUp_Composite()
127 for (s = 0; s < cmp->numSubelements; ++s) { in PetscFEComputeTabulation_Composite()
141 …PetscCheck(s < cmp->numSubelements, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Point %" PetscInt_FMT "… in PetscFEComputeTabulation_Composite()
227 cmp->numSubelements = -1; in PetscFECreate_Composite()
[all …]
/petsc/src/dm/dt/fv/interface/
H A Dfv.c1805 PetscInt numComp, numSubelements, s; in PetscFVRefine() local
1827 PetscCall(DMPlexRefineRegularGetAffineTransforms(tr, ct, &numSubelements, &v0, &jac, &invjac)); in PetscFVRefine()
1828 PetscCall(PetscQuadratureExpandComposite(q, numSubelements, v0, jac, &qref)); in PetscFVRefine()
1829 PetscCall(PetscDualSpaceSimpleSetDimension(Qref, numSubelements)); in PetscFVRefine()
1830 for (s = 0; s < numSubelements; ++s) { in PetscFVRefine()
1838 np = npoints / numSubelements; in PetscFVRefine()
/petsc/include/petsc/private/
H A Dpetscfeimpl.h269 PetscInt numSubelements; /* The number of subelements */ member
/petsc/src/dm/dt/interface/
H A Ddt.c664 PetscErrorCode PetscQuadratureExpandComposite(PetscQuadrature q, PetscInt numSubelements, const Pet… in PetscQuadratureExpandComposite() argument
680 npointsRef = npoints * numSubelements; in PetscQuadratureExpandComposite()
683 for (c = 0; c < numSubelements; ++c) { in PetscQuadratureExpandComposite()
690 … 0; cp < Nc; ++cp) weightsRef[(c * npoints + p) * Nc + cp] = weights[p * Nc + cp] / numSubelements; in PetscQuadratureExpandComposite()
/petsc/src/dm/dt/fe/interface/
H A Dfe.c1811 PetscInt numComp, numSubelements; in PetscFERefine() local
1848 PetscCall(PetscFECompositeGetMapping(*feRef, &numSubelements, &v0, &jac, NULL)); in PetscFERefine()
1849 PetscCall(PetscQuadratureExpandComposite(q, numSubelements, v0, jac, &qref)); in PetscFERefine()