| /honee/src/ |
| H A D | dm-utils.c | 101 PetscInt num_elem, elem_size, num_dof, num_comp, *restriction_offsets_petsc; in DMPlexCeedElemRestrictionCreate() local 105 …ffsets(dm, domain_label, label_value, height, dm_field, &num_elem, &elem_size, &num_comp, &num_dof, in DMPlexCeedElemRestrictionCreate() 108 …PetscCallCeed(ceed, CeedElemRestrictionCreate(ceed, num_elem, elem_size, num_comp, 1, num_dof, CEE… in DMPlexCeedElemRestrictionCreate() 212 PetscInt num_dual_basis_vectors, dim, num_comp; in DMPlexCeedElemRestrictionStridedCreate() local 215 PetscCall(PetscFEGetNumComponents(fe, &num_comp)); in DMPlexCeedElemRestrictionStridedCreate() 218 num_qpts = num_dual_basis_vectors / num_comp; in DMPlexCeedElemRestrictionStridedCreate() 294 static PetscErrorCode PetscDTUniformTensorQuadrature(PetscInt dim, PetscInt num_comp, PetscInt num_… in PetscDTUniformTensorQuadrature() argument 302 PetscCall(PetscMalloc1(num_total_points * num_comp, &weights)); in PetscDTUniformTensorQuadrature() 310 PetscCall(PetscMalloc1(num_comp, &weights)); in PetscDTUniformTensorQuadrature() 313 for (PetscInt c = 0; c < num_comp; c++) weights[c] = 1.0; in PetscDTUniformTensorQuadrature() [all …]
|
| H A D | inverse_multiplicity.c | 31 CeedInt num_comp; in GetInverseMultiplicity() local 39 PetscCallCeed(ceed, CeedElemRestrictionGetNumComponents(elem_restr, &num_comp)); in GetInverseMultiplicity() 59 …PetscCallCeed(ceed, CeedQFunctionAddInput(qf_multiplicity, "multiplicity", num_comp, CEED_EVAL_NON… in GetInverseMultiplicity()
|
| H A D | velocity_gradient_projection.c | 16 grad_velo_proj->num_comp = 9; // 9 velocity gradient in VelocityGradientProjectionCreateDM() 22 …TRUE, PETSC_TRUE, honee->app_ctx->degree, 1, honee->app_ctx->q_extra, 1, &grad_velo_proj->num_comp, in VelocityGradientProjectionCreateDM() 90 …FunctionAddOutput(qf_rhs_assemble, "velocity gradient", grad_velo_proj->num_comp, CEED_EVAL_INTERP… in VelocityGradientProjectionSetup() 113 PetscCall(HoneeMassQFunctionCreate(ceed, grad_velo_proj->num_comp, q_data_size, &qf_mass)); in VelocityGradientProjectionSetup()
|
| H A D | diff_flux_projection.c | 46 projection->num_comp = diff_flux_proj_->num_diff_flux_comps; in DivDiffFluxProjectionCreate() 48 …ByOrder_FEM(PETSC_TRUE, PETSC_TRUE, degree, 1, q_extra, 1, &projection->num_comp, projection->dm)); in DivDiffFluxProjectionCreate() 77 projection->num_comp = diff_flux_proj_->num_diff_flux_comps * dim; in DivDiffFluxProjectionCreate() 79 …ByOrder_FEM(PETSC_TRUE, PETSC_TRUE, degree, 1, q_extra, 1, &projection->num_comp, projection->dm)); in DivDiffFluxProjectionCreate() 154 PetscCall(HoneeMassQFunctionCreate(ceed, projection->num_comp, q_data_size, &qf_mass)); in DivDiffFluxProjectionSetup_Direct() 226 PetscCall(HoneeMassQFunctionCreate(ceed, projection->num_comp, q_data_size, &qf_mass)); in DivDiffFluxProjectionSetup_Indirect() 290 …d, CeedQFunctionAddInput(qf_calc_divergence, "Grad F_diff", projection->num_comp * dim, CEED_EVAL_… in DivDiffFluxProjectionSetup_Indirect()
|
| H A D | grid_anisotropy_tensor.c | 31 grid_aniso_proj->num_comp = 7; in GridAnisotropyTensorProjectionSetupApply() 32 …RUE, PETSC_TRUE, honee->app_ctx->degree, 1, honee->app_ctx->q_extra, 1, &grid_aniso_proj->num_comp, in GridAnisotropyTensorProjectionSetupApply() 58 …PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_rhs_assemble, "v", grid_aniso_proj->num_comp, CEED_E… in GridAnisotropyTensorProjectionSetupApply() 76 PetscCall(HoneeMassQFunctionCreate(ceed, grid_aniso_proj->num_comp, q_data_size, &qf_mass)); in GridAnisotropyTensorProjectionSetupApply()
|
| H A D | monitor_totalkineticenergy.c | 33 static PetscErrorCode CreateElemRestrColloc_CompMajor(Ceed ceed, CeedInt num_comp, CeedBasis basis,… in CreateElemRestrColloc_CompMajor() argument 41 const CeedInt strides[] = {num_comp, 1, num_elem_qpts * num_comp}; in CreateElemRestrColloc_CompMajor() 42 …eedElemRestrictionCreateStrided(ceed, loc_num_elem, num_elem_qpts, num_comp, num_comp * loc_num_el… in CreateElemRestrColloc_CompMajor()
|
| H A D | mat-ceed.c | 464 CeedInt num_bases, num_comp; in MatCreateCeed() local 470 PetscCallCeed(ctx->ceed, CeedBasisGetNumComponents(active_bases[0], &num_comp)); in MatCreateCeed() 475 if (num_comp != block_size) ctx->is_ceed_pbd_valid = PETSC_FALSE; in MatCreateCeed() 476 if (num_comp < max_vblock_size) ctx->is_ceed_vpbd_valid = PETSC_FALSE; in MatCreateCeed() 480 CeedInt num_bases, num_comp; in MatCreateCeed() local 486 PetscCallCeed(ctx->ceed, CeedBasisGetNumComponents(active_bases[0], &num_comp)); in MatCreateCeed() 491 if (num_comp != block_size) ctx->is_ceed_pbd_valid = PETSC_FALSE; in MatCreateCeed() 492 if (num_comp < max_vblock_size) ctx->is_ceed_vpbd_valid = PETSC_FALSE; in MatCreateCeed()
|
| H A D | setupts.c | 85 PetscInt num_points, num_comp = 0; in Surface_Forces_NS() local 91 PetscCall(PetscSectionGetFieldComponents(section, 0, &num_comp)); in Surface_Forces_NS() 101 for (PetscInt node = 0; node < dof / num_comp; node++) { in Surface_Forces_NS()
|
| /honee/qfunctions/ |
| H A D | utils.h | 309 CEED_QFUNCTION_HELPER int StoredValuesPack(CeedInt Q, CeedInt i, CeedInt start, CeedInt num_comp, c… in StoredValuesPack() argument 311 for (CeedInt j = 0; j < num_comp; j++) stored[(start + j) * Q + i] = values_at_qpnt[j]; in StoredValuesPack() 328 CEED_QFUNCTION_HELPER int StoredValuesUnpack(CeedInt Q, CeedInt i, CeedInt start, CeedInt num_comp,… in StoredValuesUnpack() argument 330 for (CeedInt j = 0; j < num_comp; j++) values_at_qpnt[j] = stored[(start + j) * Q + i]; in StoredValuesUnpack() 528 CEED_QFUNCTION_HELPER void GradUnpackND(CeedInt Q, CeedInt i, CeedInt num_comp, CeedInt dim, const … in GradUnpackND() argument 530 for (CeedInt c = 0; c < num_comp; c++) { in GradUnpackND() 531 grad_local[dim * c + d] = grad[(Q * num_comp) * d + Q * c + i]; in GradUnpackND() 545 CEED_QFUNCTION_HELPER void GradUnpack3D(CeedInt Q, CeedInt i, CeedInt num_comp, const CeedScalar *g… in GradUnpack3D() argument 546 GradUnpackND(Q, i, num_comp, 3, grad, (CeedScalar *)grad_local); in GradUnpack3D() 558 CEED_QFUNCTION_HELPER void GradUnpack2D(CeedInt Q, CeedInt i, CeedInt num_comp, const CeedScalar *g… in GradUnpack2D() argument [all …]
|
| /honee/include/ |
| H A D | nodal_projection.h | 8 PetscInt num_comp; member
|
| H A D | dm-utils.h | 30 PetscErrorCode DMGetFieldNumComps(DM dm, PetscInt field, PetscInt *num_comp);
|
| /honee/src/spanstats/ |
| H A D | spanstats.c | 121 static PetscErrorCode CreateElemRestrColloc_CompMajor(Ceed ceed, CeedInt num_comp, CeedBasis basis,… in CreateElemRestrColloc_CompMajor() argument 129 const CeedInt strides[] = {num_comp, 1, num_elem_qpts * num_comp}; in CreateElemRestrColloc_CompMajor() 130 …eedElemRestrictionCreateStrided(ceed, loc_num_elem, num_elem_qpts, num_comp, num_comp * loc_num_el… in CreateElemRestrColloc_CompMajor()
|
| /honee/problems/ |
| H A D | advection.c | 193 …CeedQFunctionAddOutput(qf_rhs_volume, "diffusive flux RHS", projection->num_comp * dim, CEED_EVAL_… in DivDiffFluxProjectionCreateRHS_Direct_AdvDif() 234 …edQFunctionAddOutput(qf_rhs_boundary, "diffusive flux RHS", projection->num_comp, CEED_EVAL_INTERP… in DivDiffFluxProjectionCreateRHS_Direct_AdvDif() 341 …PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_rhs, "F_diff RHS", projection->num_comp, CEED_EVAL_I… in DivDiffFluxProjectionCreateRHS_Indirect_AdvDif()
|
| H A D | newtonian.c | 152 …CeedQFunctionAddOutput(qf_rhs_volume, "diffusive flux RHS", projection->num_comp * dim, CEED_EVAL_… in DivDiffFluxProjectionCreateRHS_Direct_NS() 199 …edQFunctionAddOutput(qf_rhs_boundary, "diffusive flux RHS", projection->num_comp, CEED_EVAL_INTERP… in DivDiffFluxProjectionCreateRHS_Direct_NS() 309 …PetscCallCeed(ceed, CeedQFunctionAddOutput(qf_rhs, "F_diff RHS", projection->num_comp, CEED_EVAL_I… in DivDiffFluxProjectionCreateRHS_Indirect_NS()
|