64 origId_(getNewParticleID())
84 origId_(getNewParticleID())
96 position_(p.position_),
99 stepFraction_(p.stepFraction_),
100 tetFaceI_(p.tetFaceI_),
102 origProc_(p.origProc_),
133 Info<<
"particle::wallImpactDistance" <<
endl;
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
virtual scalar wallImpactDistance(const vector &n) const
The nearest distance to a wall that.
static const scalar lambdaDistanceToleranceCoeff
Fraction of the cell volume to use in determining tolerance values.
label origId() const
Return const access to the particle id on originating processor.
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 minStepFractionTol
Minimum stepFraction tolerance.
static label particleCount_
Cumulative particle counter - used to provode unique ID.
label origId_
Local particle id on originating processor.
label tetFaceI_
Index of the face that owns the decomposed tet that the.
Ostream & endl(Ostream &os)
Add newline and flush stream.
static const scalar trackingCorrectionTol
Fraction of distance to tet centre to move a particle to.
const dimensionedScalar e
Elementary charge.
label cellI_
Index of the cell it is in.
bool operator!=(const particle &, const particle &)
const polyMesh & mesh_
Reference to the polyMesh database.
scalar stepFraction_
Fraction of time-step completed.
label origProc() const
Return const access to the originating processor id.
static int myProcNo(const label communicator=0)
Number of this process (starting from masterNo() = 0)
Mesh consisting of general polyhedral cells.
particle(const polyMesh &mesh, const vector &position, const label cellI, const label tetFaceI, const label tetPtI)
Construct from components.
3D tensor transformation operations.
label tetPtI_
Index of the point on the face that defines the decomposed.
label origProc_
Originating processor id.
virtual void transformProperties(const tensor &T)
Transform the physical properties of the particle.
label faceI_
Face index if the particle is on a face otherwise -1.
vector position_
Position of particle.
defineTypeNameAndDebug(combustionModel, 0)