| /petsc/src/ts/tutorials/multirate/ |
| H A D | ex4.c | 80 static PetscErrorCode PhysicsSample_Advect(void *vctx, PetscInt initial, FVBCType bctype, PetscReal… in PhysicsSample_Advect() argument 86 switch (bctype) { in PhysicsSample_Advect() 301 static PetscErrorCode PhysicsSample_Shallow(void *vctx, PetscInt initial, FVBCType bctype, PetscRea… in PhysicsSample_Shallow() argument 371 if (ctx->bctype == FVBC_INFLOW) { in PhysicsInflow_Shallow() 496 …PetscCall((*ctx->physics2.sample2)(ctx->physics2.user, ctx->initial, ctx->bctype, ctx->xmin, ctx->… in FVSample_2WaySplit() 505 …PetscCall((*ctx->physics2.sample2)(ctx->physics2.user, ctx->initial, ctx->bctype, ctx->xmin, ctx->… in FVSample_2WaySplit() 514 …PetscCall((*ctx->physics2.sample2)(ctx->physics2.user, ctx->initial, ctx->bctype, ctx->xmin, ctx->… in FVSample_2WaySplit() 574 if (ctx->bctype == FVBC_OUTFLOW) { in FVRHSFunction_2WaySplit() 583 if (ctx->bctype == FVBC_INFLOW) { in FVRHSFunction_2WaySplit() 748 if (ctx->bctype == FVBC_OUTFLOW) { in FVRHSFunctionslow_2WaySplit() [all …]
|
| H A D | ex7.c | 68 FVBCType bctype; member 99 static PetscErrorCode PhysicsSample_Advect(void *vctx, PetscInt initial, FVBCType bctype, PetscReal… in PhysicsSample_Advect() argument 105 switch (bctype) { in PhysicsSample_Advect() 192 if (ctx->bctype == FVBC_OUTFLOW) { in FVRHSFunction() 341 if (ctx->bctype == FVBC_OUTFLOW) { in FVRHSFunctionslow() 463 if (ctx->bctype == FVBC_OUTFLOW) { in FVRHSFunctionfast() 570 …PetscCall((*ctx->physics.sample)(ctx->physics.user, ctx->initial, ctx->bctype, ctx->xmin, ctx->xma… in FVSample() 579 …PetscCall((*ctx->physics.sample)(ctx->physics.user, ctx->initial, ctx->bctype, ctx->xmin, ctx->xma… in FVSample() 588 …PetscCall((*ctx->physics.sample)(ctx->physics.user, ctx->initial, ctx->bctype, ctx->xmin, ctx->xma… in FVSample() 681 ctx.bctype = FVBC_PERIODIC; in main() [all …]
|
| H A D | ex5.c | 73 static PetscErrorCode PhysicsSample_Advect(void *vctx, PetscInt initial, FVBCType bctype, PetscReal… in PhysicsSample_Advect() argument 80 switch (bctype) { in PhysicsSample_Advect() 119 switch (bctype) { in PhysicsSample_Advect() 210 if (ctx->bctype == FVBC_OUTFLOW) { in FVRHSFunctionslow() 315 if (ctx->bctype == FVBC_OUTFLOW) { in FVRHSFunctionfast() 416 if (ctx->bctype == FVBC_OUTFLOW) { in FVRHSFunctionslow2() 532 if (ctx->bctype == FVBC_OUTFLOW) { in FVRHSFunctionfast2() 653 ctx.bctype = FVBC_PERIODIC; in main() 665 …_type", "Boundary condition", "", FVBCTypes, (PetscEnum)ctx.bctype, (PetscEnum *)&ctx.bctype, NULL… in main()
|
| H A D | ex6.c | 61 static PetscErrorCode PhysicsSample_Advect(void *vctx, PetscInt initial, FVBCType bctype, PetscReal… in PhysicsSample_Advect() argument 67 switch (bctype) { in PhysicsSample_Advect() 152 …PetscCall((*ctx->physics2.sample2)(ctx->physics2.user, ctx->initial, ctx->bctype, ctx->xmin, ctx->… in FVSample_2WaySplit() 161 …PetscCall((*ctx->physics2.sample2)(ctx->physics2.user, ctx->initial, ctx->bctype, ctx->xmin, ctx->… in FVSample_2WaySplit() 170 …PetscCall((*ctx->physics2.sample2)(ctx->physics2.user, ctx->initial, ctx->bctype, ctx->xmin, ctx->… in FVSample_2WaySplit() 231 if (ctx->bctype == FVBC_OUTFLOW) { in FVRHSFunction_2WaySplit() 379 if (ctx->bctype == FVBC_OUTFLOW) { in FVRHSFunctionslow_2WaySplit() 506 if (ctx->bctype == FVBC_OUTFLOW) { in FVRHSFunctionslowbuffer_2WaySplit() 653 if (ctx->bctype == FVBC_OUTFLOW) { in FVRHSFunctionfast_2WaySplit() 772 ctx.bctype = FVBC_PERIODIC; in main() [all …]
|
| H A D | ex8.c | 54 static PetscErrorCode PhysicsSample_Advect(void *vctx, PetscInt initial, FVBCType bctype, PetscReal… in PhysicsSample_Advect() argument 60 switch (bctype) { in PhysicsSample_Advect() 147 …PetscCall((*ctx->physics2.sample2)(ctx->physics2.user, ctx->initial, ctx->bctype, ctx->xmin, ctx->… in FVSample_3WaySplit() 156 …PetscCall((*ctx->physics2.sample2)(ctx->physics2.user, ctx->initial, ctx->bctype, ctx->xmin, ctx->… in FVSample_3WaySplit() 165 …PetscCall((*ctx->physics2.sample2)(ctx->physics2.user, ctx->initial, ctx->bctype, ctx->xmin, ctx->… in FVSample_3WaySplit() 174 …PetscCall((*ctx->physics2.sample2)(ctx->physics2.user, ctx->initial, ctx->bctype, ctx->xmin, ctx->… in FVSample_3WaySplit() 183 …PetscCall((*ctx->physics2.sample2)(ctx->physics2.user, ctx->initial, ctx->bctype, ctx->xmin, ctx->… in FVSample_3WaySplit() 247 if (ctx->bctype == FVBC_OUTFLOW) { in FVRHSFunction_3WaySplit() 418 if (ctx->bctype == FVBC_OUTFLOW) { in FVRHSFunctionslow_3WaySplit() 548 if (ctx->bctype == FVBC_OUTFLOW) { in FVRHSFunctionslowbuffer_3WaySplit() [all …]
|
| H A D | finitevolume1d.h | 119 FVBCType bctype; member
|
| H A D | finitevolume1d.c | 545 if (ctx->bctype == FVBC_OUTFLOW) { in FVRHSFunction() 638 …PetscCall((*ctx->physics.sample)(ctx->physics.user, ctx->initial, ctx->bctype, ctx->xmin, ctx->xma… in FVSample()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex9.c | 224 FVBCType bctype; member 313 static PetscErrorCode PhysicsSample_Advect(void *vctx, PetscInt initial, FVBCType bctype, PetscReal… in PhysicsSample_Advect() argument 319 switch (bctype) { in PhysicsSample_Advect() 388 static PetscErrorCode PhysicsSample_Burgers(void *vctx, PetscInt initial, FVBCType bctype, PetscRea… in PhysicsSample_Burgers() argument 391 …PetscCheck(bctype != FVBC_PERIODIC || t <= 0, PETSC_COMM_SELF, PETSC_ERR_SUP, "Exact solution not … in PhysicsSample_Burgers() 529 static PetscErrorCode PhysicsSample_Traffic(void *vctx, PetscInt initial, FVBCType bctype, PetscRea… in PhysicsSample_Traffic() argument 534 …PetscCheck(bctype != FVBC_PERIODIC || t <= 0, PETSC_COMM_SELF, PETSC_ERR_SUP, "Exact solution not … in PhysicsSample_Traffic() 705 static PetscErrorCode PhysicsSample_Acoustics(void *vctx, PetscInt initial, FVBCType bctype, PetscR… in PhysicsSample_Acoustics() argument 713 switch (bctype) { in PhysicsSample_Acoustics() 802 static PetscErrorCode PhysicsSample_IsoGas(void *vctx, PetscInt initial, FVBCType bctype, PetscReal… in PhysicsSample_IsoGas() argument [all …]
|
| /petsc/src/dm/impls/plex/cgns/ |
| H A D | plexcgns2.c | 680 CGNS_ENUMT(BCType_t) bctype; in DMPlexCreateCGNS_Internal_Serial() 693 …PetscCallCGNSRead(cg_boco_info(cgid, B, z, bc, bcname, &bctype, &pointtype, &npoints, normal, &nno… in DMPlexCreateCGNS_Internal_Serial() 1535 CGNS_ENUMT(BCType_t) bctype; 1843 …PetscCallCGNSRead(cg_boco_info(cgid, base, zone, BC, bcinfo.name, &bcinfo.bctype, &bcinfo.pointtyp… in DMPlexCreateCGNS_Internal_Parallel()
|