Home
last modified time | relevance | path

Searched refs:num_components (Results 1 – 12 of 12) sorted by relevance

/honee/include/
H A Dpetsc-ceed-utils.h233 …inline CeedInt GetCeedQuadratureSize(CeedEvalMode eval_mode, CeedInt dim, CeedInt num_components) { in GetCeedQuadratureSize() argument
236 return num_components; in GetCeedQuadratureSize()
238 return dim * num_components; in GetCeedQuadratureSize()
H A Dnavierstokes.h235 PetscInt num_components; member
/honee/problems/
H A Dshocktube.c122 problem->num_components = 5; in NS_SHOCKTUBE()
123 PetscCall(PetscMalloc1(problem->num_components, &problem->component_names)); in NS_SHOCKTUBE()
H A Deulervortex.c78 problem->num_components = 5; in NS_EULER_VORTEX()
79 PetscCall(PetscMalloc1(problem->num_components, &problem->component_names)); in NS_EULER_VORTEX()
H A Dsgs_dd_model.c74 …DDCreateDM(DM dm_source, DM *dm_sgs, PetscInt degree, PetscInt q_extra, PetscInt *num_components) { in SgsDDCreateDM() argument
78 *num_components = 6; in SgsDDCreateDM()
84 …PetscCall(DMSetupByOrder_FEM(PETSC_TRUE, PETSC_TRUE, degree, 1, q_extra, 1, num_components, *dm_sg… in SgsDDCreateDM()
H A Dadvection.c566 problem->num_components = 5; in NS_ADVECTION()
567 PetscCall(PetscMalloc1(problem->num_components, &problem->component_names)); in NS_ADVECTION()
H A Dnewtonian.c536 problem->num_components = 5; in NS_NEWTONIAN_IG()
537 PetscCall(PetscMalloc1(problem->num_components, &problem->component_names)); in NS_NEWTONIAN_IG()
/honee/src/smartsim/
H A Dsgs_dd_training.c60 …DM(DM dm_source, DM *dm_dd_training, PetscInt degree, PetscInt q_extra, PetscInt *num_components) { in SGS_DD_TrainingCreateDM() argument
64 *num_components = 12; in SGS_DD_TrainingCreateDM()
70 …PetscCall(DMSetupByOrder_FEM(PETSC_TRUE, PETSC_TRUE, degree, 1, q_extra, 1, num_components, *dm_dd… in SGS_DD_TrainingCreateDM()
/honee/src/
H A Dhonee.c111 for (PetscInt i = 0; i < problem->num_components; i++) { in HoneeDestroy()
H A Dsetupdm.c116 for (PetscInt i = 0; i < problem->num_components; i++) { in SetUpDM()
H A Ddm-utils.c551 PetscInt num_components, num_dof_1d, dual_space_size, field_size; in GetClosurePermutationAndFieldOffsetAtDepth() local
556 PetscCall(PetscSectionGetFieldComponents(section, f, &num_components)); in GetClosurePermutationAndFieldOffsetAtDepth()
564 num_dof_1d = (PetscInt)PetscCeilReal(PetscPowReal(dual_space_size / num_components, 1.0 / dim)); in GetClosurePermutationAndFieldOffsetAtDepth()
565 field_size = PetscPowInt(num_dof_1d, depth) * num_components; in GetClosurePermutationAndFieldOffsetAtDepth()
H A Dsetuplibceed.c93 const PetscInt num_comp_q = problem->num_components; in SetupLibceed()