| /petsc/src/ts/tests/ |
| H A D | ex27.c | 67 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 D | ex6.c | 62 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 D | ex84.c | 6 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 D | ex5_1.out | 4 W = 5. ; Vertical velocity, m/sec 17 W = 5. ; Vertical velocity, m/sec
|
| /petsc/src/snes/tutorials/output/ |
| H A D | ex19_1.testout | 1 lid velocity = 0.0016, prandtl # = 1., grashof # = 1.
|
| H A D | ex19_5.out | 1 lid velocity = 0.0016, prandtl # = 1., grashof # = 1.
|
| H A D | ex19_superlu.out | 1 lid velocity = 0.0025, prandtl # = 1., grashof # = 1.
|
| H A D | ex19_fp16.testout | 1 lid velocity = 0.00160027, prandtl # = 1., grashof # = 1.
|
| H A D | ex19_draw.out | 1 lid velocity = 0.0204082, prandtl # = 1., grashof # = 1.
|
| H A D | ex19_18.out | 1 lid velocity = 0.0625, prandtl # = 1., grashof # = 1.
|
| H A D | ex19_2.out | 1 lid velocity = 0.0016, prandtl # = 1., grashof # = 1.
|
| H A D | ex19_16.out | 1 lid velocity = 0.0016, prandtl # = 1., grashof # = 1.
|
| H A D | ex19_cuda.out | 1 lid velocity = 0.0625, prandtl # = 1., grashof # = 1.
|
| H A D | ex19_ml.out | 1 lid velocity = 0.0016, prandtl # = 1., grashof # = 1.
|
| H A D | ex19_14.out | 1 lid velocity = 0.0016, prandtl # = 1., grashof # = 1.
|
| H A D | ex19_11.out | 1 lid velocity = 0.000416493, prandtl # = 1., grashof # = 1.
|
| H A D | ex19_19.out | 1 lid velocity = 0.0016, prandtl # = 1., grashof # = 1.
|
| H A D | ex19_bjacobi.out | 1 lid velocity = 0.000416493, prandtl # = 1., grashof # = 1.
|
| H A D | ex19_12.out | 1 lid velocity = 0.000416493, prandtl # = 1., grashof # = 1.
|
| H A D | ex19_3.out | 1 lid velocity = 0.0016, prandtl # = 1., grashof # = 1.
|
| /petsc/src/ts/tutorials/output/ |
| H A D | ex26_asm.out | 1 7x7 grid, lid velocity = 100., prandtl # = 1., grashof # = 1000.
|
| H A D | ex26_4.out | 1 7x7 grid, lid velocity = 100., prandtl # = 1., grashof # = 1000.
|
| /petsc/src/dm/impls/stag/tutorials/output/ |
| H A D | ex6_3.out | 4 P-wave velocity: 1.73205
|
| H A D | ex6_2.out | 4 P-wave velocity: 1.73205
|
| H A D | ex6_4.out | 4 P-wave velocity: 1.73205
|