Home
last modified time | relevance | path

Searched refs:physics2 (Results 1 – 4 of 4) sorted by relevance

/petsc/src/ts/tutorials/multirate/
H A Dex4.c133 ctx->physics2.sample2 = PhysicsSample_Advect; in PhysicsCreate_Advect()
134 ctx->physics2.riemann2 = PhysicsRiemann_Advect; in PhysicsCreate_Advect()
135 ctx->physics2.characteristic2 = PhysicsCharacteristic_Advect; in PhysicsCreate_Advect()
136 ctx->physics2.destroy = PhysicsDestroy_SimpleFree; in PhysicsCreate_Advect()
137 ctx->physics2.user = user; in PhysicsCreate_Advect()
138 ctx->physics2.dof = 1; in PhysicsCreate_Advect()
140 PetscCall(PetscStrallocpy("u", &ctx->physics2.fieldname[0])); in PhysicsCreate_Advect()
423 ctx->physics2.bcinflowindex[0] = PETSC_FALSE; in PhysicsSetInflowType_Shallow()
424 ctx->physics2.bcinflowindex[1] = PETSC_TRUE; in PhysicsSetInflowType_Shallow()
425 ctx->physics2.bcinflowindex[2] = PETSC_FALSE; in PhysicsSetInflowType_Shallow()
[all …]
H A Dex8.c107 ctx->physics2.sample2 = PhysicsSample_Advect; in PhysicsCreate_Advect()
108 ctx->physics2.riemann2 = PhysicsRiemann_Advect; in PhysicsCreate_Advect()
109 ctx->physics2.characteristic2 = PhysicsCharacteristic_Advect; in PhysicsCreate_Advect()
110 ctx->physics2.destroy = PhysicsDestroy_SimpleFree; in PhysicsCreate_Advect()
111 ctx->physics2.user = user; in PhysicsCreate_Advect()
112 ctx->physics2.dof = 1; in PhysicsCreate_Advect()
113 PetscCall(PetscStrallocpy("u", &ctx->physics2.fieldname[0])); in PhysicsCreate_Advect()
131 …PetscCheck(ctx->physics2.sample2, PETSC_COMM_SELF, PETSC_ERR_SUP, "Physics has not provided a samp… in FVSample_3WaySplit()
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()
[all …]
H A Dex6.c114 ctx->physics2.sample2 = PhysicsSample_Advect; in PhysicsCreate_Advect()
115 ctx->physics2.riemann2 = PhysicsRiemann_Advect; in PhysicsCreate_Advect()
116 ctx->physics2.characteristic2 = PhysicsCharacteristic_Advect; in PhysicsCreate_Advect()
117 ctx->physics2.destroy = PhysicsDestroy_SimpleFree; in PhysicsCreate_Advect()
118 ctx->physics2.user = user; in PhysicsCreate_Advect()
119 ctx->physics2.dof = 1; in PhysicsCreate_Advect()
120 PetscCall(PetscStrallocpy("u", &ctx->physics2.fieldname[0])); in PhysicsCreate_Advect()
138 …PetscCheck(ctx->physics2.sample2, PETSC_COMM_SELF, PETSC_ERR_SUP, "Physics has not provided a samp… in FVSample_2WaySplit()
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()
[all …]
H A Dfinitevolume1d.h125 PhysicsCtx2 physics2; member