64 origId_(getNewParticleID())
84 origId_(getNewParticleID())
96 position_(p.position_),
99 stepFraction_(p.stepFraction_),
100 tetFacei_(p.tetFacei_),
102 origProc_(p.origProc_),
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
static const scalar trackingCorrectionTol
Fraction of distance to tet centre to move a particle to.
label tetPtI_
Index of the point on the face that defines the decomposed.
static int myProcNo(const label communicator=0)
Number of this process (starting from masterNo() = 0)
static const scalar lambdaDistanceToleranceCoeff
Fraction of the cell volume to use in determining tolerance values.
particle(const polyMesh &mesh, const vector &position, const label celli, const label tetFacei, const label tetPtI)
Construct from components.
virtual void transformProperties(const tensor &T)
Transform the physical properties of the particle.
vector position_
Position of particle.
label origId() const
Return const access to the particle id on originating processor.
label origId_
Local particle id on originating processor.
label origProc_
Originating processor id.
const dimensionedScalar e
Elementary charge.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
const polyMesh & mesh_
Reference to the polyMesh database.
scalar stepFraction_
Fraction of time-step completed.
static const scalar minStepFractionTol
Minimum stepFraction tolerance.
label celli_
Index of the cell it is in.
label tetFacei_
Index of the face that owns the decomposed tet that the.
label origProc() const
Return const access to the originating processor id.
defineTypeNameAndDebug(combustionModel, 0)
static label particleCount_
Cumulative particle counter - used to provode unique ID.
Mesh consisting of general polyhedral cells.
virtual scalar wallImpactDistance(const vector &n) const
The nearest distance to a wall that.
bool operator!=(const particle &, const particle &)
label facei_
Face index if the particle is on a face otherwise -1.