chombo-discharge
Loading...
Searching...
No Matches
CD_ItoKMCFieldParticle.H
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2021-2026 SINTEF Energy Research
3 *
4 * SPDX-License-Identifier: GPL-3.0-or-later
5 */
6
13#ifndef CD_ITOKMCFIELDPARTICLE_H
14#define CD_ITOKMCFIELDPARTICLE_H
15
16// Our includes
17#include <CD_ParticleSoA.H>
18#include <CD_NamespaceHeader.H>
19
29{
32
33 double x0_x = 0.0;
34 double x0_y = 0.0;
35#if CH_SPACEDIM == 3
36 double x0_z = 0.0;
37#endif
38};
39
43template <>
45{
47 static constexpr auto columns = std::make_tuple(
51
56 static constexpr auto h5PartColumns = std::make_tuple();
57};
58
59#include <CD_NamespaceFooter.H>
60
61#endif
Declaration of ParticleSoA, an arena-backed Struct-of-Arrays particle container.
CD_PARTICLE_REAL ParticleReal
Floating-point type a user may use for payload columns.
Definition CD_ParticleSoA.H:156
SoA payload for the transient particles used by ItoKMCStepper::computeEdotJSource.
Definition CD_ItoKMCFieldParticle.H:29
ParticleReal phiA
Electrostatic potential at position A.
Definition CD_ItoKMCFieldParticle.H:30
ParticleReal phiB
Electrostatic potential at position B.
Definition CD_ItoKMCFieldParticle.H:31
double x0_z
Alternate (other) position, z-component (double: position-like).
Definition CD_ItoKMCFieldParticle.H:36
double x0_y
Alternate (other) position, y-component (double: position-like).
Definition CD_ItoKMCFieldParticle.H:34
double x0_x
Alternate (other) position, x-component (double: position-like).
Definition CD_ItoKMCFieldParticle.H:33
Traits class that a user specializes to describe the PAYLOAD columns of a particle type....
Definition CD_ParticleSoA.H:192