Home
last modified time | relevance | path

Searched refs:cfl_idt (Results 1 – 9 of 9) sorted by relevance

/dports/science/PETSc/petsc-3.14.1/src/ts/tutorials/multirate/
H A Dex5.c145 PetscReal hx,cfl_idt = 0; in FVRHSFunctionslow() local
215cfl_idt = PetscMax(cfl_idt,PetscAbsScalar(maxspeed/hx)); /* Max allowable value of 1/Delta t */ in FVRHSFunctionslow()
231cfl_idt = PetscMax(cfl_idt,PetscAbsScalar(maxspeed/hx)); /* Max allowable value of 1/Delta t */ in FVRHSFunctionslow()
251 PetscReal hx,cfl_idt = 0; in FVRHSFunctionfast() local
319cfl_idt = PetscMax(cfl_idt,PetscAbsScalar(maxspeed/hx)); /* Max allowable value of 1/Delta t */ in FVRHSFunctionfast()
335cfl_idt = PetscMax(cfl_idt,PetscAbsScalar(maxspeed/hx)); /* Max allowable value of 1/Delta t */ in FVRHSFunctionfast()
353 PetscReal hx,cfl_idt = 0; in FVRHSFunctionslow2() local
421cfl_idt = PetscMax(cfl_idt,PetscAbsScalar(maxspeed/hx)); /* Max allowable value of 1/Delta t */ in FVRHSFunctionslow2()
437cfl_idt = PetscMax(cfl_idt,PetscAbsScalar(maxspeed/hx)); /* Max allowable value of 1/Delta t */ in FVRHSFunctionslow2()
450cfl_idt = PetscMax(cfl_idt,PetscAbsScalar(maxspeed/hx)); /* Max allowable value of 1/Delta t */ in FVRHSFunctionslow2()
[all …]
H A Dex6.c187 PetscReal hxf,hxs,cfl_idt = 0; in FVRHSFunction_2WaySplit() local
306cfl_idt = PetscMax(cfl_idt,PetscAbsScalar(maxspeed/hxs)); /* Max allowable value of 1/Delta t */ in FVRHSFunction_2WaySplit()
319 …ierr = MPI_Allreduce(&cfl_idt,&ctx->cfl_idt,1,MPIU_SCALAR,MPIU_MAX,PetscObjectComm((PetscObject)da… in FVRHSFunction_2WaySplit()
325 if (dt > 0.5/ctx->cfl_idt) { in FVRHSFunction_2WaySplit()
327 … exceeded at t=%g, dt %g > %g\n",(double)tnow,(double)dt,(double)(0.5/ctx->cfl_idt));CHKERRQ(ierr); in FVRHSFunction_2WaySplit()
328 …_UNKNOWN_TYPE,"Stability constraint exceeded, %g > %g",(double)dt,(double)(ctx->cfl/ctx->cfl_idt)); in FVRHSFunction_2WaySplit()
340 PetscReal hxs,hxf,cfl_idt = 0; in FVRHSFunctionslow_2WaySplit() local
410cfl_idt = PetscMax(cfl_idt,PetscAbsScalar(maxspeed/hxs)); /* Max allowable value of 1/Delta t */ in FVRHSFunctionslow_2WaySplit()
459 …ierr = MPI_Allreduce(&cfl_idt,&ctx->cfl_idt,1,MPIU_SCALAR,MPIU_MAX,PetscObjectComm((PetscObject)da… in FVRHSFunctionslow_2WaySplit()
857 ierr = TSSetTimeStep(ts,ctx.cfl/ctx.cfl_idt);CHKERRQ(ierr); in main()
[all …]
H A Dex8.c202 PetscReal hxf,hxm,hxs,cfl_idt = 0; in FVRHSFunction_3WaySplit() local
347cfl_idt = PetscMax(cfl_idt,PetscAbsScalar(maxspeed/hxs)); /* Max allowable value of 1/Delta t */ in FVRHSFunction_3WaySplit()
360 …ierr = MPI_Allreduce(&cfl_idt,&ctx->cfl_idt,1,MPIU_SCALAR,MPIU_MAX,PetscObjectComm((PetscObject)da… in FVRHSFunction_3WaySplit()
366 if (dt > 0.5/ctx->cfl_idt) { in FVRHSFunction_3WaySplit()
369 …C_COMM_SELF,1,"Stability constraint exceeded, %g > %g",(double)dt,(double)(ctx->cfl/ctx->cfl_idt)); in FVRHSFunction_3WaySplit()
381 PetscReal hxs,hxm,hxf,cfl_idt = 0; in FVRHSFunctionslow_3WaySplit() local
453cfl_idt = PetscMax(cfl_idt,PetscAbsScalar(maxspeed/hxs)); /* Max allowable value of 1/Delta t */ in FVRHSFunctionslow_3WaySplit()
489cfl_idt = PetscMax(cfl_idt,PetscAbsScalar(maxspeed/hxs)); /* Max allowable value of 1/Delta t */ in FVRHSFunctionslow_3WaySplit()
503 …ierr = MPI_Allreduce(&cfl_idt,&ctx->cfl_idt,1,MPIU_SCALAR,MPIU_MAX,PetscObjectComm((PetscObject)da… in FVRHSFunctionslow_3WaySplit()
1224 ierr = TSSetTimeStep(ts,ctx.cfl/ctx.cfl_idt);CHKERRQ(ierr); in main()
[all …]
H A Dex7.c55 …PetscReal cfl_idt; /* Max allowable value of 1/Delta t … member
148 PetscReal hf,hs,cfl_idt = 0; in FVRHSFunction() local
189 cfl_idt = PetscMax(cfl_idt,PetscAbsScalar(maxspeed/hs)); in FVRHSFunction()
281 …ierr = MPI_Allreduce(&cfl_idt,&ctx->cfl_idt,1,MPIU_SCALAR,MPIU_MAX,PetscObjectComm((PetscObject)da… in FVRHSFunction()
287 if (dt > 0.5/ctx->cfl_idt) { in FVRHSFunction()
289 … exceeded at t=%g, dt %g > %g\n",(double)tnow,(double)dt,(double)(0.5/ctx->cfl_idt));CHKERRQ(ierr); in FVRHSFunction()
290 …C_COMM_SELF,1,"Stability constraint exceeded, %g > %g",(double)dt,(double)(ctx->cfl/ctx->cfl_idt)); in FVRHSFunction()
748 ierr = TSSetTimeStep(ts,ctx.cfl/ctx.cfl_idt);CHKERRQ(ierr); in main()
H A Dfinitevolume1d.c491 PetscReal hx,cfl_idt = 0; in FVRHSFunction() local
557 cfl_idt = PetscMax(cfl_idt,PetscAbsScalar(maxspeed/hx)); /* Max allowable value of 1/Delta t */ in FVRHSFunction()
569 …ierr = MPI_Allreduce(&cfl_idt,&ctx->cfl_idt,1,MPIU_REAL,MPIU_MAX,PetscObjectComm((PetscObject)da))… in FVRHSFunction()
575 if (dt > 0.5/ctx->cfl_idt) { in FVRHSFunction()
577 … exceeded at t=%g, dt %g > %g\n",(double)tnow,(double)dt,(double)(0.5/ctx->cfl_idt));CHKERRQ(ierr); in FVRHSFunction()
578 …C_COMM_SELF,1,"Stability constraint exceeded, %g > %g",(double)dt,(double)(ctx->cfl/ctx->cfl_idt)); in FVRHSFunction()
H A Dfinitevolume1d.h105 PetscReal cfl_idt; /* Max allowable value of 1/Delta t */ member
/dports/science/PETSc/petsc-3.14.1/src/ts/tutorials/
H A Dex9.c190 PetscReal cfl_idt; /* Max allowable value of 1/Delta t */ member
1118 PetscReal hx,cfl_idt = 0; in FVRHSFunction() local
1187 cfl_idt = PetscMax(cfl_idt,PetscAbsScalar(maxspeed/hx)); /* Max allowable value of 1/Delta t */ in FVRHSFunction()
1202 …ierr = MPI_Allreduce(&cfl_idt,&ctx->cfl_idt,1,MPIU_REAL,MPIU_MAX,PetscObjectComm((PetscObject)da))… in FVRHSFunction()
1208 if (dt > 0.5/ctx->cfl_idt) { in FVRHSFunction()
1210 … exceeded at t=%g, dt %g > %g\n",(double)tnow,(double)dt,(double)(0.5/ctx->cfl_idt));CHKERRQ(ierr); in FVRHSFunction()
1211 …C_COMM_SELF,1,"Stability constraint exceeded, %g > %g",(double)dt,(double)(ctx->cfl/ctx->cfl_idt)); in FVRHSFunction()
1466 ierr = TSSetTimeStep(ts,ctx.cfl/ctx.cfl_idt);CHKERRQ(ierr); in main()
/dports/science/PETSc/petsc-3.14.1/
H A DTAGS19913 PetscReal cfl_idt;190,9906
21120 PetscReal cfl_idt;55,3280
21203 PetscReal cfl_idt;105,7753
H A DCTAGS39426 cfl_idt src/ts/tutorials/ex9.c /^ PetscReal cfl_idt; \/* Max allowable value of 1\/De…
39427 cfl_idt src/ts/tutorials/multirate/ex7.c /^ PetscReal cfl_idt; \/* Max allowable value …
39428 cfl_idt src/ts/tutorials/multirate/finitevolume1d.h /^ PetscReal cfl_idt; \/* Max allow…