Home
last modified time | relevance | path

Searched refs:masses (Results 1 – 21 of 21) sorted by relevance

/petsc/src/ts/utils/dmplexlandau/tutorials/
H A Dex1.c103 data[i0].kT_m = ctx->k * temps[ii] / ctx->masses[ii]; /* kT/m = v_th ^ 2*/ in SetMaxwellians()
110 …arges[ctx->species_offset[grid]]) * ctx->electronShift * ctx->m_0 / ctx->masses[ctx->species_offse… in SetMaxwellians()
112 shifts[0] = 0.5 * PetscSqrtReal(ctx->masses[0] / ctx->masses[1]); in SetMaxwellians()
113 shifts[1] = 50 * (ctx->masses[0] / ctx->masses[1]); in SetMaxwellians()
135 …n_mass = 9.1094e-28, m_cgs[2] = {proton_mass, proton_mass * ctx->masses[1] / ctx->masses[0]}; // e… in FormFunction()
260 … PetscReal vz_0 = 0, n, energy, e_perp, e_par, m_s = ctx->masses[ctx->species_offset[grid]]; in Monitor()
H A Dex2.c205 …Te_kev = (v2 * ctx->masses[0] * PETSC_PI / 8) * kev_joul; … in testSpitzer()
206 …spit_eta = Spitzer(ctx->masses[0], -ctx->charges[0], Z, ctx->epsilon0, ctx->lambdas[0][1], Te_kev … in testSpitzer()
246 const PetscReal kT_m = ctx->k * ctx->thermal_temps[ii] / ctx->masses[ii]; /* kT/m */ in f0_0_diff_lp()
260 const PetscReal kT_m = ctx->k * ctx->thermal_temps[ii] / ctx->masses[ii]; /* kT/m */ in f0_0_maxwellian_lp()
/petsc/src/ts/tutorials/hamiltonian/output/
H A Dex3_sphere_3d.out1 masses: e= 9.109e-31; ions in proton mass units: 0.000e+00 0.000e+00 ...
/petsc/src/ts/tests/output/
H A Dex30_cgns.out1 masses: e= 9.109e-31; ions in proton mass units: 0.000e+00 0.000e+00 ...
H A Dex30_conserve.out1 masses: e= 9.109e-31; ions in proton mass units: 0.000e+00 0.000e+00 ...
H A Dex30_3d.out1 masses: e= 9.109e-31; ions in proton mass units: 2.000e+00 0.000e+00 ...
H A Dex30_0.out1 masses: e= 9.109e-31; ions in proton mass units: 2.000e+00 1.800e+02 ...
/petsc/src/ts/utils/dmplexlandau/tutorials/output/
H A Dex2_single.out1 masses: e= 9.109e-31; ions in proton mass units: 0.000e+00 0.000e+00 ...
H A Dex2_sphere_3d.out1 masses: e= 9.109e-31; ions in proton mass units: 0.000e+00 0.000e+00 ...
H A Dex1_sphere.out1 masses: e= 9.109e-31; ions in proton mass units: 2.000e+00 0.000e+00 ...
H A Dex1_0.out1 masses: e= 9.109e-31; ions in proton mass units: 2.000e+00 0.000e+00 ...
H A Dex1f90_0.out1 masses: e= 9.109e-31; ions in proton mass units: 2.000e+00 4.000e+00 ...
H A Dex2_simplex.out1 masses: e= 9.109e-31; ions in proton mass units: 2.000e+00 0.000e+00 ...
H A Dex2_0.out1 masses: e= 9.109e-31; ions in proton mass units: 2.000e+00 0.000e+00 ...
H A Dex1_re.out1 masses: e= 9.109e-31; ions in proton mass units: 2.000e+00 0.000e+00 ...
/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()
862 data[i0].kT_m = ctx->k * temps[ii] / ctx->masses[ii]; /* kT/m */ in DMPlexLandauAddMaxwellians()
1061 PetscReal mui = ctx->masses[iii] / 1.6720e-27, Zi = ctx->charges[iii] / 1.6022e-19; in makeLambdas()
1063 PetscReal muj = ctx->masses[jjj] / 1.6720e-27; in makeLambdas()
1117 ctx->masses[0] = 1 / 1835.469965278441013; /* temporary value in proton mass */ in ProcessOptions()
1182 ctx->masses[ii] = 1; in ProcessOptions()
1192 …ach species in units of proton mass [i_0=2,i_1=40...]", "plexland.c", &ctx->masses[1], &nm, &flg)); in ProcessOptions()
1197 …for (ii = 0; ii < LANDAU_MAX_SPECIES; ii++) ctx->masses[ii] *= 1.6720e-27; /* scale by proton mass… in ProcessOptions()
1198 …ctx->masses[0] = 9.10938356e-31; /* electron mass kg (sh… in ProcessOptions()
1226 …ctx->thermal_speed[grid] = PetscSqrtReal(ctx->k * ctx->thermal_temps[iii] / ctx->masses[iii]); /* … in ProcessOptions()
[all …]
/petsc/src/ts/tests/
H A Dex30.c313 …* PETSC_PI * coords[p * dim + 0] : 1, w = fact * wp[p] * ctx->n_0 * ctx->masses[ctx->species_offse… in gridToParticles_private()
333 …* PETSC_PI * coords[p * dim + 0] : 1, w = fact * wp[p] * ctx->n_0 * ctx->masses[ctx->species_offse… in gridToParticles_private()
408 …PETSC_PI * coords[pp * dim + 0] : 1, w = fact * wp[pp] * ctx->n_0 * ctx->masses[ctx->species_offse… in PostStep()
429 …PETSC_PI * coords[pp * dim + 0] : 1, w = fact * wp[pp] * ctx->n_0 * ctx->masses[ctx->species_offse… in PostStep()
555 …al kT_m = ctx->k * ctx->thermal_temps[ctx->species_offset[grid]] / ctx->masses[ctx->species_offse… in go()
627 …d][pp] += ctx->n[grid] / NNreal * PetscSqrtReal(ctx->masses[ctx->species_offset[grid]] / ctx->mass… in go()
635 … * PETSC_PI * x[0] : 1, w = fact * wp_t[grid][tid][pp] * ctx->n_0 * ctx->masses[ctx->species_offse… in go()
675 …2 ? 2.0 * PETSC_PI * xx_t[grid][tid][pp] : 1, w = fact * ctx->n_0 * ctx->masses[ctx->species_offse… in go()
791 …PETSC_PI * coords[pp * dim + 0] : 1, w = fact * wp[pp] * ctx->n_0 * ctx->masses[ctx->species_offse… in go()
812 …PETSC_PI * coords[pp * dim + 0] : 1, w = fact * wp[pp] * ctx->n_0 * ctx->masses[ctx->species_offse… in go()
/petsc/include/
H A Dpetsclandau.h150 PetscReal masses[LANDAU_MAX_SPECIES]; /* mass of each species */ member
/petsc/src/ts/tutorials/hamiltonian/
H A Dex3.c69 PetscReal masses[2]; /* The masses of each species */ member
104 options->masses[0] = 1.0; in ProcessOptions()
105 options->masses[1] = 1000.0; in ProcessOptions()
1258 m_p = user->masses[0] * param->m0; in RHSFunctionV()
H A Dex2.c127 PetscReal masses[2]; /* The masses of each species */ member
181 options->masses[0] = 1.0; in ProcessOptions()
182 options->masses[1] = 1000.0; in ProcessOptions()
1982 m_p = ctx->masses[0] * param->m0; in RHSFunctionV()
H A Dex4.c165 PetscReal masses[2]; /* The masses of each species */ member
241 options->masses[0] = 1.0; in ProcessOptions()
242 options->masses[1] = 1000.0; in ProcessOptions()
2587 m_p = ctx->masses[0] * param->m0; in RHSFunctionV()