Home
last modified time | relevance | path

Searched refs:isCohesive (Results 1 – 8 of 8) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexproject.c74 PetscBool isAffine, isCohesive, transform; in DMProjectPoint_Func_Private() local
81 PetscCall(PetscDSIsCohesive(ds, &isCohesive)); in DMProjectPoint_Func_Private()
114 …PetscCheck(isCohesive, PETSC_COMM_SELF, PETSC_ERR_ARG_SIZ, "Reference spatial dimension %" PetscIn… in DMProjectPoint_Func_Private()
151 if (isCohesive && !cohesive) { in DMProjectPoint_Func_Private()
159 if (isCohesive && !cohesive) { in DMProjectPoint_Func_Private()
210 PetscBool isAffine, isCohesive, isCohesiveIn, transform; in DMProjectPoint_Field_Private() local
216 PetscCall(PetscDSIsCohesive(ds, &isCohesive)); in DMProjectPoint_Field_Private()
301 if (isCohesive && !cohesive) { in DMProjectPoint_Field_Private()
347 if (isCohesive && !cohesive) { in DMProjectPoint_Field_Private()
369 PetscBool isAffine, isCohesive, isCohesiveIn, transform; in DMProjectPoint_BdField_Private() local
[all …]
H A Dplexsection.c105 PetscBool isCohesive; in DMPlexCreateSectionDof() local
108 PetscCall(PetscDSIsCohesive(ds, &isCohesive)); in DMPlexCreateSectionDof()
109 if (isCohesive) { in DMPlexCreateSectionDof()
H A Dplexfem.c1736 PetscBool isCohesive; in DMComputeL2FieldDiff_Plex() local
1741 PetscCall(PetscDSIsCohesive(ds, &isCohesive)); in DMComputeL2FieldDiff_Plex()
1763 if (isCohesive) { in DMComputeL2FieldDiff_Plex()
1788 if (isCohesive && !cohesive) { in DMComputeL2FieldDiff_Plex()
H A Dplexsubmesh.c3374 …DM dm, DMLabel label, PetscInt value, PetscBool markedFaces, PetscBool isCohesive, PetscInt cellHe… in DMPlexCreateSubmeshGeneric_Interpolated() argument
3391 …if (isCohesive) PetscCall(DMPlexMarkCohesiveSubmesh_Interpolated(dm, label, value, subpointMap, su… in DMPlexCreateSubmeshGeneric_Interpolated()
/petsc/src/dm/dt/interface/
H A Ddtds.c121 if (ds->isCohesive) PetscCall(PetscViewerASCIIPrintf(viewer, " cohesive cell\n")); in PetscDSView_Ascii()
510 if (prob->isCohesive && !prob->cohesive[f]) prob->totDim += Nb; in PetscDSSetUp()
870 PetscErrorCode PetscDSIsCohesive(PetscDS ds, PetscBool *isCohesive) in PetscDSIsCohesive() argument
874 PetscAssertPointer(isCohesive, 2); in PetscDSIsCohesive()
875 *isCohesive = ds->isCohesive; in PetscDSIsCohesive()
922 PetscErrorCode PetscDSGetCohesive(PetscDS ds, PetscInt f, PetscBool *isCohesive) in PetscDSGetCohesive() argument
926 PetscAssertPointer(isCohesive, 3); in PetscDSGetCohesive()
928 *isCohesive = ds->cohesive[f]; in PetscDSGetCohesive()
946 PetscErrorCode PetscDSSetCohesive(PetscDS ds, PetscInt f, PetscBool isCohesive) in PetscDSSetCohesive() argument
953 ds->cohesive[f] = isCohesive; in PetscDSSetCohesive()
[all …]
/petsc/include/petsc/private/
H A Dpetscdsimpl.h98 …PetscBool isCohesive; /* We are on a cohesive cell, meaning lower dimensional FE used on a … member
/petsc/src/dm/dt/fe/interface/
H A Dfe.c2424 PetscBool isCohesive; in PetscFEEvaluateFieldJets_Hybrid_Internal() local
2428 PetscCall(PetscDSGetCohesive(ds, f, &isCohesive)); in PetscFEEvaluateFieldJets_Hybrid_Internal()
2429 Ns = isCohesive ? 1 : 2; in PetscFEEvaluateFieldJets_Hybrid_Internal()
2431 PetscTabulation T = isCohesive ? Tab[f] : Tabf[f]; in PetscFEEvaluateFieldJets_Hybrid_Internal()
2440 const PetscInt r = isCohesive ? rc : rf[s]; in PetscFEEvaluateFieldJets_Hybrid_Internal()
2441 const PetscInt q = isCohesive ? qc : qf[s]; in PetscFEEvaluateFieldJets_Hybrid_Internal()
2458 PetscCall(PetscFEPushforward(fe, isCohesive ? fegeom : &fegeomNbr[s], 1, &u[fOffset])); in PetscFEEvaluateFieldJets_Hybrid_Internal()
2459 …PetscCall(PetscFEPushforwardGradient(fe, isCohesive ? fegeom : &fegeomNbr[s], 1, &u_x[fOffset * dE… in PetscFEEvaluateFieldJets_Hybrid_Internal()
/petsc/src/dm/interface/
H A Ddm.c6077 PetscBool isCohesiveLocal = PETSC_FALSE, isCohesive; in DMCreateDS() local
6093 PetscCallMPI(MPIU_Allreduce(&isCohesiveLocal, &isCohesive, 1, MPI_C_BOOL, MPI_LOR, comm)); in DMCreateDS()
6094 if (isCohesive) { in DMCreateDS()
6102 PetscCall(PetscDSSetCohesive(ds, nf, isCohesive)); in DMCreateDS()
6105 PetscCall(PetscDSSetCohesive(dsIn, nf, isCohesive)); in DMCreateDS()
6125 PetscBool isCohesive; in DMCreateDS() local
6128 PetscCall(PetscDSIsCohesive(ds, &isCohesive)); in DMCreateDS()
6139 if (isCohesive) { in DMCreateDS()