Lines Matching full:if

34     if (dm_field == fields[i]) {  in DMFieldToDSField()
66 if the routine is called again with the same arguments, the same `CeedElemRestriction` is returned.
89 if (domain_label) PetscCall(PetscObjectGetName((PetscObject)domain_label, &label_name)); in DMPlexCeedElemRestrictionCreate()
96 if (container_restriction) { in DMPlexCeedElemRestrictionCreate()
124 if the routine is called again with the same arguments, the same `CeedElemRestriction` is returned.
143 if (!dm_coord) { in DMPlexCeedElemRestrictionCoordinateCreate()
161 …@param[in] is_collocated Boolean flag indicating if the data is collocated on the nodes (`PETSC…
179 if (domain_label) { in DMPlexCeedElemRestrictionStridedCreate()
183 if (domain_is) { in DMPlexCeedElemRestrictionStridedCreate()
193 if (point_is) { in DMPlexCeedElemRestrictionStridedCreate()
210 if (is_collocated) { in DMPlexCeedElemRestrictionStridedCreate()
400 if (order >= 0) { in PetscFECreateLagrangeFromOptions()
402 if (polytope_type == DM_POLYTOPE_TRI_PRISM || polytope_type == DM_POLYTOPE_TRI_PRISM_TENSOR) { in PetscFECreateLagrangeFromOptions()
425 if (num_comp > 1) { in PetscFECreateLagrangeFromOptions()
471 if (use_uniform) { in PetscFECreateLagrangeFromOptions()
502 // Use depth label if no domain label present in GetGlobalDMPlexPolytopeType()
503 if (!domain_label) { in GetGlobalDMPlexPolytopeType()
513 if (first_point != -1) PetscCall(DMPlexGetCellType(dm, first_point, cell_type)); in GetGlobalDMPlexPolytopeType()
518 if (first_point != -1) cell_type_local = (PetscInt)*cell_type; in GetGlobalDMPlexPolytopeType()
561 if (f == field) is_field_continuous = is_continuous; in GetClosurePermutationAndFieldOffsetAtDepth()
562 if (!is_continuous) continue; in GetClosurePermutationAndFieldOffsetAtDepth()
566 if (f < field) offset += field_size; in GetClosurePermutationAndFieldOffsetAtDepth()
570 if (is_field_continuous) { in GetClosurePermutationAndFieldOffsetAtDepth()
608 if (!is_simplex) { in ComputeFieldTabulationP2C()
611 if (has_permutation) PetscCall(ISGetIndices(permutation, &permutation_indices)); in ComputeFieldTabulationP2C()
625 if (has_permutation) PetscCall(ISRestoreIndices(permutation, &permutation_indices)); in ComputeFieldTabulationP2C()
637 @param[out] q_dim Quadrature dimension, or NULL if not needed
638 @param[out] num_comp Number of components, or NULL if not needed
639 @param[out] Q Number of quadrature points, or NULL if not needed
640 @param[out] q_points Quadrature points in libCEED orientation, or NULL if not needed
641 @param[out] q_weights Quadrature weights in libCEED orientation, or NULL if not needed
653 if (q_dim) *q_dim = dim; in GetQuadratureDataP2C()
654 if (num_comp) *num_comp = num_comp_quadrature; in GetQuadratureDataP2C()
655 if (Q) *Q = num_q_points; in GetQuadratureDataP2C()
656 if (q_weights) { in GetQuadratureDataP2C()
662 if (q_points) { in GetQuadratureDataP2C()
750 if the routine is called again with the same arguments, the same `CeedBasis` is returned.
774 if (domain_label) PetscCall(PetscObjectGetName((PetscObject)domain_label, &label_name)); in DMPlexCeedBasisCreate()
781 if (container_basis) { in DMPlexCeedBasisCreate()
809 if (!is_tensor || use_nontensor) { in DMPlexCeedBasisCreate()
868 if the routine is called again with the same arguments, the same `CeedBasis` is returned.
931 if (elem_restr) { in DMPlexCeedCoordinateCreateField()
935if (basis) PetscCall(DMPlexCeedBasisCoordinateCreate(ceed, dm, domain_label, label_value, height, … in DMPlexCeedCoordinateCreateField()
936 if (vector) { in DMPlexCeedCoordinateCreateField()
944 if (cdm) { in DMPlexCeedCoordinateCreateField()
952 if (vec_and_state && vec_and_state->state == X_loc_state) { in DMPlexCeedCoordinateCreateField()
1046 if (!dm_coord) { in DMPlexCeedBasisCellToFaceCoordinateCreate()
1086 if (setup_faces) PetscCall(PetscFEGetHeightSubspace(fe, 1, &fe_face)); in DMSetupByOrderBegin_FEM()
1093 if (setup_coords) { in DMSetupByOrderBegin_FEM()
1108 if (coord_order != PETSC_DECIDE) fe_coord_order = coord_order; in DMSetupByOrderBegin_FEM()
1110 if (setup_faces) PetscCall(PetscFEGetHeightSubspace(fe_coord_new, 1, &fe_coord_face_new)); in DMSetupByOrderBegin_FEM()
1132 // Set tensor permutation if needed in DMSetupByOrderEnd_FEM()
1133 if (!is_simplex) { in DMSetupByOrderEnd_FEM()
1135 if (setup_coords) { in DMSetupByOrderEnd_FEM()
1194 if (label_is == NULL || depth_is == NULL) *points = NULL; in DMGetStratumISAtHeight()
1208 …@param[out] face_label_name Label name for newly created label, or `NULL` if no elements mat…
1226 if (has_label_already) PetscFunctionReturn(PETSC_SUCCESS); in DMPlexCreateFaceLabel()
1233 if (is_face_points) { in DMPlexCreateFaceLabel()
1254 if (cell_cone[i] == face_point) fe_face_on_cell = i; in DMPlexCreateFaceLabel()
1300 if (num_values_local) { in DMLabelCreateGlobalValueArray()
1317 if (location_global < 0) continue; in DMLabelCreateGlobalValueArray()
1329 if (values_local) PetscCall(PetscFree(values_local)); in DMLabelCreateGlobalValueArray()