Home
last modified time | relevance | path

Searched refs:v_0 (Results 1 – 20 of 20) sorted by relevance

/petsc/src/dm/dt/tests/output/
H A Dex7_1234.out77 (w int v_0):
79 (int v_0):
179 (w int v_0):
181 (int v_0):
215 (w int v_0):
217 (int v_0):
357 (w int v_0):
359 (int v_0):
436 (w int v_0):
438 (int v_0):
[all …]
/petsc/src/ts/utils/dmplexlandau/tutorials/
H A Dex1.c74 PetscReal v_0; member
84 PetscReal theta = 2 * mctx->kT_m / (mctx->v_0 * mctx->v_0); /* theta = 2kT/mc^2 */ in maxwellian()
102 data[i0].v_0 = ctx->v_0; // v_0 same for all grids in SetMaxwellians()
114 …data[0].shift = ctx->electronShift * shifts[grid] * PetscSqrtReal(data[0].kT_m) / ctx->v_0; // shi… in SetMaxwellians()
275 energy = PetscRealPart(tt[0]) * ctx->v_0 * ctx->v_0 * m_s / n / 3; // scale? in Monitor()
281 e_par = PetscRealPart(tt[0]) * ctx->v_0 * ctx->v_0 * m_s / n; in Monitor()
287 e_perp = PetscRealPart(tt[0]) * ctx->v_0 * ctx->v_0 * m_s / n / 2; in Monitor()
H A Dex2.c173 J = -ctx->n_0 * ctx->v_0 * PetscRealPart(tt[0]); in testSpitzer()
179 J += -ctx->n_0 * ctx->v_0 * PetscRealPart(tt[0]); in testSpitzer()
203 …v = ctx->n_0 * ctx->v_0 * PetscRealPart(tt[0]) / n_e; … in testSpitzer()
213 J_re = -ctx->n_0 * ctx->v_0 * PetscRealPart(tt[0]); in testSpitzer()
248 …PetscReal diff, f_maxwell, v2 = 0, theta = 2 * kT_m / (ctx->v_0 * ctx->v_0); /* theta = 2kT/… in f0_0_diff_lp()
262 …PetscReal f_maxwell, v2 = 0, theta = 2 * kT_m / (ctx->v_0 * ctx->v_0); /* theta = 2kT/mc^2 */ in f0_0_maxwellian_lp()
324 for (ii = 0; ii < ctx->num_species; ii++) qv0[ii] = ctx->charges[ii] * ctx->v_0; in EInduction()
598 …->Ne_ion, (double)rectx->T_cold, (double)rectx->ion_potential, (double)ctx->Ez, (double)ctx->v_0)); in ProcessREOptions()
/petsc/src/ts/tests/
H A Dex30.c316 moments[1] += w * ctx->v_0 * coords[p * dim + 1]; // z-momentum in gridToParticles_private()
317 moments[2] += w * 0.5 * ctx->v_0 * ctx->v_0 * v2; in gridToParticles_private()
411 moments[1] += w * ctx->v_0 * coords[pp * dim + 1]; // z-momentum in PostStep()
412 moments[2] += w * 0.5 * ctx->v_0 * ctx->v_0 * v2; in PostStep()
413 e_grid[grid] += w * 0.5 * ctx->v_0 * ctx->v_0 * v2; in PostStep()
555 …ecies_offset[grid]] / ctx->masses[ctx->species_offset[grid]] / (ctx->v_0 * ctx->v_0); … in go()
587 p_shift *= ctx->thermal_speed[grid] / ctx->v_0; in go()
624 p_shift *= ctx->thermal_speed[grid] / ctx->v_0; in go()
638 moments_0[1] += w * ctx->v_0 * x[1]; // z-momentum in go()
639 moments_0[2] += w * 0.5 * ctx->v_0 * ctx->v_0 * v2; in go()
[all …]
/petsc/src/ts/tutorials/hamiltonian/output/
H A Dex3_sphere_3d.out4 thermal T (K): e= 1.160e+07 i= 0.000e+00 0.000e+00. Normalization grid 0: v_0= 1.326e+07 ( 4.424e-…
/petsc/src/ts/tests/output/
H A Dex30_cgns.out4 thermal T (K): e= 1.160e+07 i= 0.000e+00 0.000e+00. Normalization grid 0: v_0= 1.326e+07 ( 4.424e-…
H A Dex30_conserve.out4 thermal T (K): e= 1.160e+07 i= 0.000e+00 0.000e+00. Normalization grid 0: v_0= 1.326e+07 ( 4.424e-…
H A Dex30_3d.out4 thermal T (K): e= 2.321e+07 i= 1.160e+07 0.000e+00. Normalization grid 0: v_0= 1.876e+07 ( 6.256e-…
H A Dex30_0.out4 thermal T (K): e= 2.321e+07 i= 1.160e+07 1.160e+07. Normalization grid 0: v_0= 1.876e+07 ( 6.256e-…
/petsc/src/ts/utils/dmplexlandau/tutorials/output/
H A Dex2_single.out4 thermal T (K): e= 1.160e+07 i= 0.000e+00 0.000e+00. Normalization grid 0: v_0= 1.326e+07 ( 4.424e-…
H A Dex2_sphere_3d.out4 thermal T (K): e= 2.321e+07 i= 0.000e+00 0.000e+00. Normalization grid 0: v_0= 1.876e+07 ( 6.256e-…
H A Dex1_sphere.out4 thermal T (K): e= 2.321e+07 i= 1.160e+07 0.000e+00. Normalization grid 0: v_0= 1.876e+07 ( 6.256e-…
H A Dex1_0.out4 thermal T (K): e= 3.481e+06 i= 2.321e+06 0.000e+00. Normalization grid 0: v_0= 7.264e+06 ( 2.423e-…
H A Dex1f90_0.out4 thermal T (K): e= 5.802e+07 i= 5.802e+07 5.802e+06. Normalization grid 1: v_0= 4.894e+05 ( 1.633e-…
H A Dex2_simplex.out4 thermal T (K): e= 2.321e+07 i= 1.160e+07 0.000e+00. Normalization grid 0: v_0= 1.876e+07 ( 6.256e-…
H A Dex2_0.out4 thermal T (K): e= 5.802e+07 i= 5.802e+07 0.000e+00. Normalization grid 0: v_0= 2.965e+07 ( 9.892e-…
H A Dex1_re.out4 thermal T (K): e= 2.321e+07 i= 1.160e+07 0.000e+00. Normalization grid 0: v_0= 1.876e+07 ( 6.256e-…
/petsc/src/ts/utils/dmplexlandau/
H A Dplexland.c140 …Eq_m[fieldA] = ctx->Ez * ctx->t_0 * ctx->charges[fieldA] / (ctx->v_0 * ctx->masses[fieldA]); /* no… in LandauFormJacobian_Internal()
361 LandauTensor3DRelativistic(vj, x, y, z, U, mask, C_0(ctx->v_0)); in LandauFormJacobian_Internal()
796 PetscReal v_0; member
806 …PetscReal v2 = 0, theta = 2 * mctx->kT_m / (mctx->v_0 * mctx->v_0), shift; /* theta = 2kT/mc^… in maxwellian()
861 data[i0].v_0 = ctx->v_0; // v_0 same for all grids in DMPlexLandauAddMaxwellians()
1119 ctx->v_0 = 1; /* thermal velocity, we could start with a scale != 1 */ in ProcessOptions()
1241 …ctx->v_0 = ctx->thermal_speed[non_dim_grid]; /* arbitrary units for non dimensionalization: global… in ProcessOptions()
1243 … / ctx->lambdas[non_dim_grid][non_dim_grid] / ctx->n_0 * PetscPowReal(ctx->v_0, 3); /* note, this … in ProcessOptions()
1261 …ctx->radius[grid] = ctx->radius[grid] * SPEED_OF_LIGHT / ctx->v_0; // use any species on grid to n… in ProcessOptions()
1264 …ctx->radius[grid] *= ctx->thermal_speed[grid] / ctx->v_0; // scale domain by thermal radius r… in ProcessOptions()
[all …]
/petsc/include/
H A Dpetsclandau.h154 PetscReal v_0; /* reference velocity */ member
/petsc/doc/manual/
H A Ddmplex.md59 f_0 \mapsto \mathtt{0}, f_1 \mapsto \mathtt{1}, \\ v_0 \mapsto \mathtt{2}, v_1 \mapsto \mathtt{3}, …