Lines Matching refs:maxspeed
79 PetscReal maxspeed; /* estimate of global maximum speed (for CFL calculation) */ member
301 phys->maxspeed = Norm2Real(tilted->wind); in PhysicsCreate_Advect()
314 phys->maxspeed = 3.; /* radius of mesh, kludge */ in PhysicsCreate_Advect()
451 phys->maxspeed = PetscSqrtReal(2.0 * sw->gravity); /* Mach 1 for depth of 2 */ in PhysicsCreate_SW()
530 if (c > phys->maxspeed) phys->maxspeed = c; in PhysicsSolution_Euler()
694 phys->maxspeed = 0.; /* will get set in solution */ in PhysicsCreate_Euler()
1224 …PetscCallMPI(MPIU_Allreduce(&phys->maxspeed, &mod->maxspeed, 1, MPIU_REAL, MPIU_MAX, PetscObjectCo… in Transfer()
1225 …PetscCheck(mod->maxspeed > 0, PetscObjectComm((PetscObject)ts), PETSC_ERR_ARG_WRONGSTATE, "Physics… in Transfer()
1227 PetscReal dt = tctx->cfl * minRadius / mod->maxspeed; in Transfer()
1526 …PetscCallMPI(MPIU_Allreduce(&phys->maxspeed, &mod->maxspeed, 1, MPIU_REAL, MPIU_MAX, PetscObjectCo… in main()
1527 …PetscCheck(mod->maxspeed > 0, comm, PETSC_ERR_ARG_WRONGSTATE, "Physics '%s' did not set maxspeed",… in main()
1528 dt = cfl * minRadius / mod->maxspeed; in main()