Searched refs:c02 (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/ts/utils/dmplexlandau/ |
| H A D | land_tensors.h | 131 …, yp, zp}, x1[3] = {a_x1[0], a_x1[1], a_x1[2]}, c02 = c0 * c0, g1 = GAMMA3(x1, c02), g2 = GAMMA3(x… in LandauTensor3DRelativistic() local 147 …tt = 2. * u1u2 * (1. - g1 * g2) + (u12 * u22 + u1u2 * u1u2) / c02; // these two terms are about t… in LandauTensor3DRelativistic() 150 rsq = 1. + wsq / c02; in LandauTensor3DRelativistic()
|
| H A D | plexland.c | 60 double u2 = 0, c02 = (double)*c2_0_arr, xx; in gamma_m1_f() local 66 xx = u2 / c02; in gamma_m1_f() 1755 …X_NQND], Jdummy[LANDAU_MAX_NQND * LANDAU_DIM * LANDAU_DIM], c0 = C_0(ctx->v_0), c02 = PetscSqr(c0); in CreateStaticData() local 1779 dg2_c2 *= (double)c02; in CreateStaticData() 1786 PetscReal fact = c02 / PetscSqrtReal(1. - dg2_c2); in CreateStaticData() 2341 const PetscReal c02 = c2_0_arr[0]; in gamma_n_f() local 2348 u[s] = PetscSqrtReal(1. + tmp1 / c02); // u[0] = PetscSqrtReal(1. + xx); in gamma_n_f() 2351 PetscReal xx = tmp1 / c02; in gamma_n_f()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex30.c | 56 #define NORM2C_3d(c00, c01, c02, c11, c12, c22) (PetscSqr(c00) + 2 * PetscSqr(c01) + 2 * PetscSqr(c… argument
|