| /libCEED/examples/fluids/src/ |
| H A D | boundary_condition.c | 34 PetscErrorCode BoundaryConditionSetUp(User user, ProblemData problem, AppCtx app_ctx, SimpleBC bc) { in BoundaryConditionSetUp() argument 79 bc->num_inflow = 16; in BoundaryConditionSetUp() 80 …cOptionsIntArray("-bc_inflow", "Face IDs to apply inflow BC", NULL, bc->inflows, &bc->num_inflow, … in BoundaryConditionSetUp() 82 bc->num_outflow = 16; in BoundaryConditionSetUp() 83 …ptionsIntArray("-bc_outflow", "Face IDs to apply outflow BC", NULL, bc->outflows, &bc->num_outflow… in BoundaryConditionSetUp() 85 bc->num_freestream = 16; in BoundaryConditionSetUp() 86 …tArray("-bc_freestream", "Face IDs to apply freestream BC", NULL, bc->freestreams, &bc->num_freest… in BoundaryConditionSetUp() 88 bc->num_slip = 16; in BoundaryConditionSetUp() 89 …PetscCall(PetscOptionsIntArray("-bc_slip", "Face IDs to apply slip BC", NULL, bc->slips, &bc->num_… in BoundaryConditionSetUp()
|
| H A D | strong_boundary_conditions.c | 16 …G_Ceed(Ceed ceed, CeedData ceed_data, DM dm, ProblemData problem, SimpleBC bc, Physics phys, CeedO… in SetupStrongSTG_Ceed() argument 59 for (CeedInt i = 0; i < bc->num_inflow; i++) { in SetupStrongSTG_Ceed() 61 …PetscCall(DMPlexCeedElemRestrictionCreate(ceed, dm, domain_label, bc->inflows[i], height, dm_field… in SetupStrongSTG_Ceed() 62 …PetscCall(DMPlexCeedElemRestrictionCoordinateCreate(ceed, dm, domain_label, bc->inflows[i], height… in SetupStrongSTG_Ceed() 66 …PetscCall(DMPlexCeedElemRestrictionCollocatedCreate(ceed, dm, domain_label, bc->inflows[i], height… in SetupStrongSTG_Ceed() 67 …PetscCall(DMPlexCeedElemRestrictionCollocatedCreate(ceed, dm, domain_label, bc->inflows[i], height… in SetupStrongSTG_Ceed() 68 …PetscCall(DMPlexCeedElemRestrictionCollocatedCreate(ceed, dm, domain_label, bc->inflows[i], height… in SetupStrongSTG_Ceed() 69 …PetscCall(DMPlexCeedElemRestrictionCollocatedCreate(ceed, dm, domain_label, bc->inflows[i], height… in SetupStrongSTG_Ceed() 155 …pStrongBC_Ceed(Ceed ceed, CeedData ceed_data, DM dm, User user, ProblemData problem, SimpleBC bc) { in SetupStrongBC_Ceed() argument 177 PetscCall(SetupStrongSTG_Ceed(ceed, ceed_data, dm, problem, bc, user->phys, op_strong_bc)); in SetupStrongBC_Ceed()
|
| H A D | setupdm.c | 45 PetscErrorCode SetUpDM(DM dm, ProblemData problem, PetscInt degree, PetscInt q_extra, SimpleBC bc, … in SetUpDM() argument 72 if (use_strongstg) PetscCall(SetupStrongStg(dm, bc, problem, phys)); in SetUpDM() 111 PetscErrorCode VizRefineDM(DM dm, User user, ProblemData problem, SimpleBC bc, Physics phys) { in VizRefineDM() argument 130 PetscCall(SetUpDM(dm_hierarchy[i + 1], problem, d, q_order, bc, phys)); in VizRefineDM()
|
| H A D | setuplibceed.c | 181 static PetscErrorCode AddBCSubOperators(User user, Ceed ceed, DM dm, SimpleBC bc, ProblemData probl… in AddBCSubOperators() argument 230 for (CeedInt i = 0; i < bc->num_inflow; i++) { in AddBCSubOperators() 231 …PetscCall(AddBCSubOperator(ceed, dm, ceed_data, face_sets_label, bc->inflows[i], height, Q_sur, q_… in AddBCSubOperators() 243 for (CeedInt i = 0; i < bc->num_outflow; i++) { in AddBCSubOperators() 244 …PetscCall(AddBCSubOperator(ceed, dm, ceed_data, face_sets_label, bc->outflows[i], height, Q_sur, q… in AddBCSubOperators() 256 for (CeedInt i = 0; i < bc->num_freestream; i++) { in AddBCSubOperators() 257 …PetscCall(AddBCSubOperator(ceed, dm, ceed_data, face_sets_label, bc->freestreams[i], height, Q_sur… in AddBCSubOperators() 269 for (CeedInt i = 0; i < bc->num_slip; i++) { in AddBCSubOperators() 270 …PetscCall(AddBCSubOperator(ceed, dm, ceed_data, face_sets_label, bc->slips[i], height, Q_sur, q_da… in AddBCSubOperators() 282 …eed ceed, CeedData ceed_data, DM dm, User user, AppCtx app_ctx, ProblemData problem, SimpleBC bc) { in SetupLibceed() argument [all …]
|
| H A D | cloptions.c | 34 PetscErrorCode ProcessCommandLineOptions(MPI_Comm comm, AppCtx app_ctx, SimpleBC bc) { in ProcessCommandLineOptions() argument
|
| /libCEED/examples/fluids/ |
| H A D | navierstokes.h | 222 PetscErrorCode BoundaryConditionSetUp(User user, ProblemData problem, AppCtx app_ctx, SimpleBC bc); 250 extern PetscErrorCode NS_TAYLOR_GREEN(ProblemData problem, DM dm, void *ctx, SimpleBC bc); 251 extern PetscErrorCode NS_GAUSSIAN_WAVE(ProblemData problem, DM dm, void *ctx, SimpleBC bc); 252 extern PetscErrorCode NS_CHANNEL(ProblemData problem, DM dm, void *ctx, SimpleBC bc); 253 extern PetscErrorCode NS_BLASIUS(ProblemData problem, DM dm, void *ctx, SimpleBC bc); 254 extern PetscErrorCode NS_NEWTONIAN_IG(ProblemData problem, DM dm, void *ctx, SimpleBC bc); 255 extern PetscErrorCode NS_DENSITY_CURRENT(ProblemData problem, DM dm, void *ctx, SimpleBC bc); 256 extern PetscErrorCode NS_EULER_VORTEX(ProblemData problem, DM dm, void *ctx, SimpleBC bc); 257 extern PetscErrorCode NS_SHOCKTUBE(ProblemData problem, DM dm, void *ctx, SimpleBC bc); 258 extern PetscErrorCode NS_ADVECTION(ProblemData problem, DM dm, void *ctx, SimpleBC bc); [all …]
|
| H A D | navierstokes.c | 83 SimpleBC bc; in main() local 84 PetscCall(PetscCalloc1(1, &bc)); in main() 108 PetscCall(ProcessCommandLineOptions(comm, app_ctx, bc)); in main() 109 PetscCall(BoundaryConditionSetUp(user, problem, app_ctx, bc)); in main() 171 PetscCall((*p)(problem, dm, &user, bc)); in main() 175 PetscCall(SetUpDM(dm, problem, app_ctx->degree, app_ctx->q_extra, bc, phys_ctx)); in main() 178 if (app_ctx->viz_refine) PetscCall(VizRefineDM(dm, user, problem, bc, phys_ctx)); in main() 197 PetscCall(SetupLibceed(ceed, ceed_data, dm, user, app_ctx, problem, bc)); in main() 342 PetscCall(PetscFree(bc)); in main()
|
| /libCEED/examples/deal.II/ |
| H A D | bps-qfunctions.h | 38 BuildContext *bc = (BuildContext *)ctx; in f_build_mass() local 42 switch (bc->dim + 10 * bc->space_dim) in f_build_mass() 98 BuildContext *bc = (BuildContext *)ctx; in f_apply_mass_vec() local 104 switch (bc->dim + 10 * bc->space_dim) in f_apply_mass_vec() 139 BuildContext *bc = (BuildContext *)ctx; in f_build_poisson() local 143 switch (bc->dim + 10 * bc->space_dim) in f_build_poisson() 206 BuildContext *bc = (BuildContext *)ctx; in f_apply_poisson() local 210 switch (bc->dim) in f_apply_poisson() 250 BuildContext *bc = (BuildContext *)ctx; in f_apply_poisson_vec() local 254 switch (bc->dim) in f_apply_poisson_vec()
|
| /libCEED/examples/fluids/problems/ |
| H A D | taylorgreen.c | 15 PetscErrorCode NS_TAYLOR_GREEN(ProblemData problem, DM dm, void *ctx, SimpleBC bc) { in NS_TAYLOR_GREEN() argument 17 PetscCall(NS_NEWTONIAN_IG(problem, dm, ctx, bc)); in NS_TAYLOR_GREEN()
|
| H A D | gaussianwave.c | 19 PetscErrorCode NS_GAUSSIAN_WAVE(ProblemData problem, DM dm, void *ctx, SimpleBC bc) { in NS_GAUSSIAN_WAVE() argument 29 PetscCall(NS_NEWTONIAN_IG(problem, dm, ctx, bc)); in NS_GAUSSIAN_WAVE()
|
| H A D | stg_shur14.h | 17 extern PetscErrorCode SetupStrongStg(DM dm, SimpleBC bc, ProblemData problem, Physics phys);
|
| H A D | densitycurrent.c | 18 PetscErrorCode NS_DENSITY_CURRENT(ProblemData problem, DM dm, void *ctx, SimpleBC bc) { in NS_DENSITY_CURRENT() argument 27 PetscCall(NS_NEWTONIAN_IG(problem, dm, ctx, bc)); in NS_DENSITY_CURRENT()
|
| H A D | channel.c | 18 PetscErrorCode NS_CHANNEL(ProblemData problem, DM dm, void *ctx, SimpleBC bc) { in NS_CHANNEL() argument 27 PetscCall(NS_NEWTONIAN_IG(problem, dm, ctx, bc)); in NS_CHANNEL()
|
| H A D | stg_shur14.c | 304 PetscErrorCode SetupStrongStg(DM dm, SimpleBC bc, ProblemData problem, Physics phys) { in SetupStrongStg() argument 327 if (bc->num_inflow > 0) { in SetupStrongStg() 328 …PetscCall(DMAddBoundary(dm, DM_BC_ESSENTIAL, "STG", label, bc->num_inflow, bc->inflows, 0, num_com… in SetupStrongStg()
|
| H A D | newtonian.c | 213 PetscErrorCode NS_NEWTONIAN_IG(ProblemData problem, DM dm, void *ctx, SimpleBC bc) { in NS_NEWTONIAN_IG() argument 468 …if (bc->num_freestream > 0) PetscCall(FreestreamBCSetup(problem, dm, ctx, newtonian_ig_ctx, &refer… in NS_NEWTONIAN_IG() 469 …if (bc->num_outflow > 0) PetscCall(OutflowBCSetup(problem, dm, ctx, newtonian_ig_ctx, &reference)); in NS_NEWTONIAN_IG() 470 if (bc->num_slip > 0) PetscCall(SlipBCSetup(problem, dm, ctx, newtonian_ig_context)); in NS_NEWTONIAN_IG()
|
| H A D | shocktube.c | 18 PetscErrorCode NS_SHOCKTUBE(ProblemData problem, DM dm, void *ctx, SimpleBC bc) { in NS_SHOCKTUBE() argument
|
| H A D | eulervortex.c | 18 PetscErrorCode NS_EULER_VORTEX(ProblemData problem, DM dm, void *ctx, SimpleBC bc) { in NS_EULER_VORTEX() argument
|
| H A D | blasius.c | 241 PetscErrorCode NS_BLASIUS(ProblemData problem, DM dm, void *ctx, SimpleBC bc) { in NS_BLASIUS() argument 251 PetscCall(NS_NEWTONIAN_IG(problem, dm, ctx, bc)); in NS_BLASIUS()
|
| H A D | advection.c | 84 PetscErrorCode NS_ADVECTION(ProblemData problem, DM dm, void *ctx, SimpleBC bc) { in NS_ADVECTION() argument
|
| /libCEED/examples/mfem/ |
| H A D | bp1.h | 19 BuildContext *bc = (BuildContext *)ctx; in f_build_mass() local 23 switch (bc->dim + 10 * bc->space_dim) { in f_build_mass()
|
| H A D | bp3.h | 17 BuildContext *bc = (BuildContext *)ctx; in f_build_diff() local 25 switch (bc->dim + 10 * bc->space_dim) { in f_build_diff() 84 BuildContext *bc = (BuildContext *)ctx; in f_apply_diff() local 89 switch (bc->dim) { in f_apply_diff()
|