Home
last modified time | relevance | path

Searched refs:velocity (Results 1 – 25 of 138) sorted by relevance

123456

/petsc/src/ts/tests/
H A Dex27.c67 PetscReal *centroid, *coords, *velocity, *xi0, *v0, *J, *invJ, detJ, *vals; in SetInitialCoordinates() local
89 PetscCall(DMSwarmGetField(sw, "velocity", NULL, NULL, (void **)&velocity)); in SetInitialCoordinates()
120 velocity[p * dim + d] = v_val; in SetInitialCoordinates()
125 PetscCall(DMSwarmRestoreField(sw, "velocity", NULL, NULL, (void **)&velocity)); in SetInitialCoordinates()
138 PetscReal *velocity; in SetInitialConditions() local
149 PetscCall(DMSwarmGetField(dmSw, "velocity", NULL, NULL, (void **)&velocity)); in SetInitialConditions()
154 for (d = 0; d < dim; d++) initialConditions[n * dim + d] = velocity[n * dim + d]; in SetInitialConditions()
158 PetscCall(DMSwarmRestoreField(dmSw, "velocity", NULL, NULL, (void **)&velocity)); in SetInitialConditions()
287 …eGradS(PetscInt dim, PetscInt Np, const PetscReal vp[], const PetscReal velocity[], PetscReal inte… in ComputeGradS() argument
304 for (q = 0; q < Np; ++q) sum += Gaussian(dim, &velocity[q * dim], epsilon, vc_l); in ComputeGradS()
[all …]
/petsc/src/dm/impls/stag/tutorials/
H A Dex6.c62 Vec velocity, stress; in main() local
187 PetscCall(DMCreateGlobalVector(ctx.dm_velocity, &velocity)); in main()
191 PetscCall(VecSet(velocity, 0.0)); in main()
195 PetscCall(DumpVelocity(&ctx, velocity, 0)); in main()
203 PetscCall(UpdateVelocity(&ctx, velocity, stress, ctx.buoyancy)); in main()
204 PetscCall(UpdateStress(&ctx, velocity, stress, ctx.lame)); in main()
208 PetscCall(DumpVelocity(&ctx, velocity, timestep)); in main()
214 PetscCall(VecDestroy(&velocity)); in main()
369 static PetscErrorCode UpdateVelocity_2d(const Ctx *ctx, Vec velocity, Vec stress, Vec buoyancy) in UpdateVelocity_2d() argument
402 PetscCall(DMGlobalToLocal(ctx->dm_velocity, velocity, INSERT_VALUES, velocity_local)); in UpdateVelocity_2d()
[all …]
/petsc/src/ksp/ksp/tests/
H A Dex84.c6 PetscErrorCode LSCLoadOperators(Mat *A, Mat *Q, Mat *L, Vec *rhs, IS *velocity, IS *pressure) in LSCLoadOperators() argument
16 PetscCall(ISCreate(PETSC_COMM_WORLD, velocity)); in LSCLoadOperators()
25 PetscCall(ISLoad(*velocity, viewer)); in LSCLoadOperators()
/petsc/src/sys/tutorials/output/
H A Dex5_1.out4 W = 5. ; Vertical velocity, m/sec
17 W = 5. ; Vertical velocity, m/sec
/petsc/src/snes/tutorials/output/
H A Dex19_1.testout1 lid velocity = 0.0016, prandtl # = 1., grashof # = 1.
H A Dex19_5.out1 lid velocity = 0.0016, prandtl # = 1., grashof # = 1.
H A Dex19_superlu.out1 lid velocity = 0.0025, prandtl # = 1., grashof # = 1.
H A Dex19_fp16.testout1 lid velocity = 0.00160027, prandtl # = 1., grashof # = 1.
H A Dex19_draw.out1 lid velocity = 0.0204082, prandtl # = 1., grashof # = 1.
H A Dex19_18.out1 lid velocity = 0.0625, prandtl # = 1., grashof # = 1.
H A Dex19_2.out1 lid velocity = 0.0016, prandtl # = 1., grashof # = 1.
H A Dex19_16.out1 lid velocity = 0.0016, prandtl # = 1., grashof # = 1.
H A Dex19_cuda.out1 lid velocity = 0.0625, prandtl # = 1., grashof # = 1.
H A Dex19_ml.out1 lid velocity = 0.0016, prandtl # = 1., grashof # = 1.
H A Dex19_14.out1 lid velocity = 0.0016, prandtl # = 1., grashof # = 1.
H A Dex19_11.out1 lid velocity = 0.000416493, prandtl # = 1., grashof # = 1.
H A Dex19_19.out1 lid velocity = 0.0016, prandtl # = 1., grashof # = 1.
H A Dex19_bjacobi.out1 lid velocity = 0.000416493, prandtl # = 1., grashof # = 1.
H A Dex19_12.out1 lid velocity = 0.000416493, prandtl # = 1., grashof # = 1.
H A Dex19_3.out1 lid velocity = 0.0016, prandtl # = 1., grashof # = 1.
/petsc/src/ts/tutorials/output/
H A Dex26_asm.out1 7x7 grid, lid velocity = 100., prandtl # = 1., grashof # = 1000.
H A Dex26_4.out1 7x7 grid, lid velocity = 100., prandtl # = 1., grashof # = 1000.
/petsc/src/dm/impls/stag/tutorials/output/
H A Dex6_3.out4 P-wave velocity: 1.73205
H A Dex6_2.out4 P-wave velocity: 1.73205
H A Dex6_4.out4 P-wave velocity: 1.73205

123456