Continuum Membrane 719025a62b1e384a6ff80e2f2a223ef4012153dc
Loading...
Searching...
No Matches
Public Attributes | List of all members
Particle Class Reference

Represents a single diffusing particle in a simulation. More...

#include <Parameters.hpp>

Public Attributes

int index
 Index of the particle in the simulation.
 
int faceIndex
 Index of the face that the particle is located on.
 
Matrix vwu = Matrix(3, 1)
 Velocity vector of the particle in nm/us.
 
Matrix coord = Matrix(3, 1)
 Coordinate vector of the particle in nm.
 
double D = 0.0
 Diffusion constant of the particle in nm^2/us.
 

Detailed Description

Represents a single diffusing particle in a simulation.

A Particle object contains information about the particle's position, velocity, and diffusion constant. The position is represented by a 3x1 matrix of coordinates, while the velocity is represented by another 3x1 matrix of velocities in the x, y, and z directions.

Member Data Documentation

◆ coord

Matrix Particle::coord = Matrix(3, 1)

Coordinate vector of the particle in nm.

◆ D

double Particle::D = 0.0

Diffusion constant of the particle in nm^2/us.

◆ faceIndex

int Particle::faceIndex

Index of the face that the particle is located on.

◆ index

int Particle::index

Index of the particle in the simulation.

◆ vwu

Matrix Particle::vwu = Matrix(3, 1)

Velocity vector of the particle in nm/us.


The documentation for this class was generated from the following file: