Lines Matching refs:fv
1064 PetscFV fv; in DMPlexInsertBoundaryValuesRiemann() local
1066 PetscCall(PetscDSGetDiscretization(prob, field, (PetscObject *)&fv)); in DMPlexInsertBoundaryValuesRiemann()
1069 PetscCall(PetscFVGetNumComponents(fv, &pdim)); in DMPlexInsertBoundaryValuesRiemann()
1389 PetscErrorCode DMPlexInsertBoundaryValuesFVM(DM dm, PetscFV fv, Vec locX, PetscReal time, Vec *locG… in DMPlexInsertBoundaryValuesFVM() argument
1396 PetscValidHeaderSpecific(fv, PETSCFV_CLASSID, 2); in DMPlexInsertBoundaryValuesFVM()
1404 PetscCall(DMPlexGetGradientDM(dm, fv, &dmGrad)); in DMPlexInsertBoundaryValuesFVM()
1411 …PetscCall(DMPlexReconstructGradients_Internal(dm, fv, fStart, fEnd, faceGeometryFVM, cellGeometryF… in DMPlexInsertBoundaryValuesFVM()
1495 PetscFV fv = (PetscFV)obj; in DMPlexComputeL2DiffLocal() local
1497 PetscCall(PetscFVGetQuadrature(fv, &quad)); in DMPlexComputeL2DiffLocal()
1498 PetscCall(PetscFVGetNumComponents(fv, &Nc)); in DMPlexComputeL2DiffLocal()
1907 PetscFV fv = (PetscFV)obj; in DMPlexComputeL2DiffVec() local
1909 PetscCall(PetscFVGetQuadrature(fv, &quad)); in DMPlexComputeL2DiffVec()
1910 PetscCall(PetscFVGetNumComponents(fv, &Nc)); in DMPlexComputeL2DiffVec()
2179 PetscFV fv = (PetscFV)obj; in DMPlexComputeClementInterpolant() local
2181 PetscCall(PetscFVGetQuadrature(fv, &quad)); in DMPlexComputeClementInterpolant()
2182 PetscCall(PetscFVGetNumComponents(fv, &fNc)); in DMPlexComputeClementInterpolant()
2312 PetscFV fv = (PetscFV)obj; in DMPlexComputeGradientClementInterpolant() local
2314 PetscCall(PetscFVGetQuadrature(fv, &quad)); in DMPlexComputeGradientClementInterpolant()
2315 PetscCall(PetscFVGetNumComponents(fv, &Nc)); in DMPlexComputeGradientClementInterpolant()
2467 PetscFV fv = NULL; in DMPlexComputeIntegral_Internal() local
2479 fv = (PetscFV)obj; in DMPlexComputeIntegral_Internal()
2483 PetscCall(PetscFVGetComputeGradients(fv, &compGrad)); in DMPlexComputeIntegral_Internal()
2484 PetscCall(PetscFVSetComputeGradients(fv, PETSC_TRUE)); in DMPlexComputeIntegral_Internal()
2486 PetscCall(DMPlexComputeGradientFVM(dm, fv, faceGeometryFVM, cellGeometryFVM, &dmGrad)); in DMPlexComputeIntegral_Internal()
2487 PetscCall(PetscFVSetComputeGradients(fv, compGrad)); in DMPlexComputeIntegral_Internal()
2492 …PetscCall(DMPlexReconstructGradients_Internal(dm, fv, fStart, fEnd, faceGeometryFVM, cellGeometryF… in DMPlexComputeIntegral_Internal()
2973 PetscFV fv = (PetscFV)obj; in DMPlexComputeInterpolatorNested() local
2977 PetscCall(PetscFVRefine(fv, &fvRef[f])); in DMPlexComputeInterpolatorNested()
2979 PetscCall(PetscObjectReference((PetscObject)fv)); in DMPlexComputeInterpolatorNested()
2980 fvRef[f] = fv; in DMPlexComputeInterpolatorNested()
2984 PetscCall(PetscFVGetDualSpace(fv, &Q)); in DMPlexComputeInterpolatorNested()
2985 PetscCall(PetscFVGetNumComponents(fv, &Nc)); in DMPlexComputeInterpolatorNested()
2994 PetscFV fv = (PetscFV)obj; in DMPlexComputeInterpolatorNested() local
2997 PetscCall(PetscFVGetDualSpace(fv, &Q)); in DMPlexComputeInterpolatorNested()
3073 PetscFV fv = (PetscFV)obj; in DMPlexComputeInterpolatorNested() local
3076 PetscCall(PetscFVGetNumComponents(fv, &NcJ)); in DMPlexComputeInterpolatorNested()
3226 PetscFV fv = (PetscFV)obj; in DMPlexComputeInterpolatorGeneral() local
3228 PetscCall(PetscFVGetDualSpace(fv, &Q)); in DMPlexComputeInterpolatorGeneral()
3583 Vec fv, cv; in DMPlexComputeInjectorFEM() local
3620 PetscFV fv = (PetscFV)obj; in DMPlexComputeInjectorFEM() local
3623 PetscCall(PetscFVRefine(fv, &fvRef[f])); in DMPlexComputeInjectorFEM()
3626 PetscCall(PetscFVGetNumComponents(fv, &Nc)); in DMPlexComputeInjectorFEM()
3701 PetscCall(DMGetGlobalVector(dmf, &fv)); in DMPlexComputeInjectorFEM()
3723 PetscCall(VecScatterCreate(cv, cis, fv, fis, sc)); in DMPlexComputeInjectorFEM()
3726 PetscCall(DMRestoreGlobalVector(dmf, &fv)); in DMPlexComputeInjectorFEM()
4195 PetscFV fv; in DMPlexGetFaceFields() local
4198 PetscCall(PetscDSGetDiscretization(prob, f, (PetscObject *)&fv)); in DMPlexGetFaceFields()
4199 PetscCall(PetscFVGetNumComponents(fv, &numComp)); in DMPlexGetFaceFields()
4528 PetscFV fv = (PetscFV)obj; in DMPlexComputeResidual_Patch_Internal() local
4533 PetscCall(PetscFVIntegrateRHSFunction(fv, prob, f, Ne, fgeom, vol, uL, uR, fluxL, fluxR)); in DMPlexComputeResidual_Patch_Internal()
4560 PetscFV fv; in DMPlexComputeResidual_Patch_Internal() local
4568 fv = (PetscFV)obj; in DMPlexComputeResidual_Patch_Internal()
4569 PetscCall(PetscFVGetNumComponents(fv, &pdim)); in DMPlexComputeResidual_Patch_Internal()
4757 PetscFV fv; in DMPlexComputeJacobian_Patch_Internal() local
4761 PetscCall(PetscDSGetDiscretization(prob, fieldI, (PetscObject *)&fv)); in DMPlexComputeJacobian_Patch_Internal()
4762 PetscCall(PetscFVGetNumComponents(fv, &Nc)); in DMPlexComputeJacobian_Patch_Internal()
4876 PetscErrorCode DMPlexGetGradientDM(DM dm, PetscFV fv, DM *dmGrad) in DMPlexGetGradientDM() argument
4883 PetscValidHeaderSpecific(fv, PETSCFV_CLASSID, 2); in DMPlexGetGradientDM()
4885 PetscCall(PetscFVGetComputeGradients(fv, &computeGradients)); in DMPlexGetGradientDM()
4891 PetscCall(DMPlexGetDataFVM(plex, fv, NULL, NULL, dmGrad)); in DMPlexGetGradientDM()
5339 PetscFV fv = (PetscFV)obj; in DMPlexComputeResidualByKey() local
5344 PetscCall(PetscFVIntegrateRHSFunction(fv, ds, f, Ne, fgeom, vol, uL, uR, fluxL, fluxR)); in DMPlexComputeResidualByKey()
5370 PetscFV fv; in DMPlexComputeResidualByKey() local
5380 fv = (PetscFV)obj; in DMPlexComputeResidualByKey()
5381 PetscCall(PetscFVGetNumComponents(fv, &pdim)); in DMPlexComputeResidualByKey()
5420 PetscFV fv; in DMPlexComputeResidualByKey() local
5428 fv = (PetscFV)obj; in DMPlexComputeResidualByKey()
5429 PetscCall(PetscFVGetNumComponents(fv, &pdim)); in DMPlexComputeResidualByKey()
6309 PetscFV fv; in DMPlexComputeJacobianByKey() local
6313 PetscCall(PetscDSGetDiscretization(prob, fieldI, (PetscObject *)&fv)); in DMPlexComputeJacobianByKey()
6315 PetscCall(PetscObjectGetClassId((PetscObject)fv, &id)); in DMPlexComputeJacobianByKey()
6318 PetscCall(PetscFVGetNumComponents(fv, &NcI)); in DMPlexComputeJacobianByKey()
6532 PetscFV fv; in DMPlexComputeJacobianByKeyGeneral() local
6536 PetscCall(PetscDSGetDiscretization(rds, fieldI, (PetscObject *)&fv)); in DMPlexComputeJacobianByKeyGeneral()
6538 PetscCall(PetscObjectGetClassId((PetscObject)fv, &id)); in DMPlexComputeJacobianByKeyGeneral()
6541 PetscCall(PetscFVGetNumComponents(fv, &NcI)); in DMPlexComputeJacobianByKeyGeneral()