Home
last modified time | relevance | path

Searched refs:LANDAU_MAX_SPECIES (Results 1 – 5 of 5) sorted by relevance

/petsc/include/
H A Dpetsclandau.h21 #if !defined(LANDAU_MAX_SPECIES)
23 #define LANDAU_MAX_SPECIES 10 macro
26 #define LANDAU_MAX_SPECIES 10 macro
121 PetscFE fe[LANDAU_MAX_SPECIES];
149 PetscReal thermal_temps[LANDAU_MAX_SPECIES];
150 PetscReal masses[LANDAU_MAX_SPECIES]; /* mass of each species */
151 PetscReal charges[LANDAU_MAX_SPECIES]; /* charge of each species */
152 PetscReal n[LANDAU_MAX_SPECIES]; /* number density of each species */
209 LandauIdx (*gIdx)[LANDAU_MAX_SPECIES][LANDAU_MAX_NQND]; // #elems * LANDAU_MAX_NQND
/petsc/src/ts/utils/dmplexlandau/tutorials/
H A Dex2.c153 …PetscScalar user[2] = {0., ctx->charges[0]}, q[LANDAU_MAX_SPECIES], tt[LANDAU_MAX_SPECIES], … in testSpitzer()
273 PetscScalar tt[LANDAU_MAX_SPECIES]; in testStable()
319 PetscScalar tt[LANDAU_MAX_SPECIES], qv0[LANDAU_MAX_SPECIES]; in EInduction()
383 PetscReal dne_dt, dni_dt, tilda_ns[LANDAU_MAX_SPECIES], temps[LANDAU_MAX_SPECIES]; in FormSource()
386 for (ii = 1; ii < LANDAU_MAX_SPECIES; ii++) tilda_ns[ii] = 0; in FormSource()
387 for (ii = 1; ii < LANDAU_MAX_SPECIES; ii++) temps[ii] = 1; in FormSource()
H A Dex1.c95 …PetscErrorCode (*initu[LANDAU_MAX_SPECIES])(PetscInt, PetscReal, const PetscReal[], PetscInt, Pets… in SetMaxwellians()
96 MaxwellianCtx *mctxs[LANDAU_MAX_SPECIES], data[LANDAU_MAX_SPECIES]; in SetMaxwellians()
/petsc/src/ts/utils/dmplexlandau/
H A Dplexland.c91 PetscReal Eq_m[LANDAU_MAX_SPECIES]; // could be static data w/o quench (ex2) in LandauFormJacobian_Internal()
251 PetscScalar *coef, coef_buff[LANDAU_MAX_SPECIES * LANDAU_MAX_NQND]; in LandauFormJacobian_Internal()
336 …PetscReal g0[LANDAU_MAX_SPECIES], g2[LANDAU_MAX_SPECIES][LANDAU_DIM], g3[LANDAU_MAX_SPECIES][… in LandauFormJacobian_Internal()
340 …PetscReal gg2[LANDAU_MAX_SPECIES][LANDAU_DIM], gg3[LANDAU_MAX_SPECIES][LANDAU_DIM][LA… in LandauFormJacobian_Internal()
852 …PetscErrorCode (*initu[LANDAU_MAX_SPECIES])(PetscInt, PetscReal, const PetscReal[], PetscInt, Pets… in DMPlexLandauAddMaxwellians()
854 MaxwellianCtx *mctxs[LANDAU_MAX_SPECIES], data[LANDAU_MAX_SPECIES]; in DMPlexLandauAddMaxwellians()
1179 for (ii = 1; ii < LANDAU_MAX_SPECIES; ii++) { in ProcessOptions()
1185 nt = LANDAU_MAX_SPECIES; in ProcessOptions()
1191 nm = LANDAU_MAX_SPECIES - 1; in ProcessOptions()
1194 nm = LANDAU_MAX_SPECIES; in ProcessOptions()
[all …]
/petsc/src/ts/utils/dmplexlandau/kokkos/
H A Dlandau.kokkos.cxx97 …const Kokkos::View<LandauIdx *[LANDAU_MAX_SPECIES][LANDAU_MAX_NQND], Kokkos::LayoutRight, Kokkos::… in LandauKokkosCreateMatMaps()
99 …View<LandauIdx *[LANDAU_MAX_SPECIES][LANDAU_MAX_NQND], Kokkos::LayoutRight> *d_gidx = new Kokkos… in LandauKokkosCreateMatMaps()
112 h_maps.gIdx = (LandauIdx(*)[LANDAU_MAX_SPECIES][LANDAU_MAX_NQND])d_gidx->data(); in LandauKokkosCreateMatMaps()
128 …auto b = static_cast<Kokkos::View<LandauIdx *[LANDAU_MAX_SPECIES][LANDAU_MAX_NQND], Kokkos::Layout… in LandauKokkosDestroyMatMaps()