Lines Matching refs:cgeom
1399 PetscErrorCode PetscFEIntegrate(PetscDS prob, PetscInt field, PetscInt Ne, PetscFEGeom *cgeom, cons… in PetscFEIntegrate() argument
1406 …if (fe->ops->integrate) PetscCall((*fe->ops->integrate)(prob, field, Ne, cgeom, coefficients, prob… in PetscFEIntegrate()
1479 …IntegrateResidual(PetscDS ds, PetscFormKey key, PetscInt Ne, PetscFEGeom *cgeom, const PetscScalar… in PetscFEIntegrateResidual() argument
1486 …if (fe->ops->integrateresidual) PetscCall((*fe->ops->integrateresidual)(ds, key, Ne, cgeom, coeffi… in PetscFEIntegrateResidual()
1551 …tscFormKey key, PetscInt s, PetscInt Ne, PetscFEGeom *fgeom, PetscFEGeom *cgeom, const PetscScalar… in PetscFEIntegrateHybridResidual() argument
1559 …etscCall((*fe->ops->integratehybridresidual)(ds, dsIn, key, s, Ne, fgeom, cgeom, coefficients, coe… in PetscFEIntegrateHybridResidual()
1601 …s, PetscFEJacobianType jtype, PetscFormKey key, PetscInt Ne, PetscFEGeom *cgeom, const PetscScalar… in PetscFEIntegrateJacobian() argument
1611 …cobian) PetscCall((*fe->ops->integratejacobian)(rds, cds, jtype, key, Ne, cgeom, coefficients, coe… in PetscFEIntegrateJacobian()
1706 …tscFormKey key, PetscInt s, PetscInt Ne, PetscFEGeom *fgeom, PetscFEGeom *cgeom, const PetscScalar… in PetscFEIntegrateHybridJacobian() argument
1715 …l((*fe->ops->integratehybridjacobian)(ds, dsIn, jtype, key, s, Ne, fgeom, cgeom, coefficients, coe… in PetscFEIntegrateHybridJacobian()
2861 PetscErrorCode PetscFECreateCellGeometry(PetscFE fe, PetscQuadrature quad, PetscFEGeom *cgeom) in PetscFECreateCellGeometry() argument
2876 PetscCall(PetscMalloc1(Nq * cdim, &cgeom->v)); in PetscFECreateCellGeometry()
2877 PetscCall(PetscMalloc1(Nq * cdim * cdim, &cgeom->J)); in PetscFECreateCellGeometry()
2878 PetscCall(PetscMalloc1(Nq * cdim * cdim, &cgeom->invJ)); in PetscFECreateCellGeometry()
2879 PetscCall(PetscMalloc1(Nq, &cgeom->detJ)); in PetscFECreateCellGeometry()
2880 cgeom->dim = dim; in PetscFECreateCellGeometry()
2881 cgeom->dimEmbed = cdim; in PetscFECreateCellGeometry()
2882 cgeom->numCells = 1; in PetscFECreateCellGeometry()
2883 cgeom->numPoints = Nq; in PetscFECreateCellGeometry()
2884 …PetscCall(DMPlexComputeCellGeometryFEM(dm, 0, quad, cgeom->v, cgeom->J, cgeom->invJ, cgeom->detJ)); in PetscFECreateCellGeometry()
2888 PetscErrorCode PetscFEDestroyCellGeometry(PetscFE fe, PetscFEGeom *cgeom) in PetscFEDestroyCellGeometry() argument
2891 PetscCall(PetscFree(cgeom->v)); in PetscFEDestroyCellGeometry()
2892 PetscCall(PetscFree(cgeom->J)); in PetscFEDestroyCellGeometry()
2893 PetscCall(PetscFree(cgeom->invJ)); in PetscFEDestroyCellGeometry()
2894 PetscCall(PetscFree(cgeom->detJ)); in PetscFEDestroyCellGeometry()