112 lines
2.3 KiB
Groff
112 lines
2.3 KiB
Groff
.TH "Particle" 3 "Sat Oct 14 2023" "Penning Trap Simulation" \" -*- nroff -*-
|
|
.ad l
|
|
.nh
|
|
.SH NAME
|
|
Particle \- A class that holds attributes of a particle\&.
|
|
|
|
.SH SYNOPSIS
|
|
.br
|
|
.PP
|
|
.PP
|
|
\fC#include <Particle\&.hpp>\fP
|
|
.SS "Public Member Functions"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "\fBParticle\fP (double \fBq\fP, double \fBm\fP, \fBvec_3d\fP \fBr_vec\fP, \fBvec_3d\fP \fBv_vec\fP)"
|
|
.br
|
|
.RI "Initialize the particle\&. "
|
|
.in -1c
|
|
.SS "Private Attributes"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "double \fBq\fP"
|
|
.br
|
|
.RI "Charge\&. "
|
|
.ti -1c
|
|
.RI "double \fBm\fP"
|
|
.br
|
|
.RI "Mass\&. "
|
|
.ti -1c
|
|
.RI "\fBvec_3d\fP \fBr_vec\fP"
|
|
.br
|
|
.RI "position "
|
|
.ti -1c
|
|
.RI "\fBvec_3d\fP \fBv_vec\fP"
|
|
.br
|
|
.RI "velocity "
|
|
.in -1c
|
|
.SS "Friends"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "class \fBPenningTrap\fP"
|
|
.br
|
|
.RI "Make private attributes available for \fBPenningTrap\fP\&. "
|
|
.in -1c
|
|
.SH "Detailed Description"
|
|
.PP
|
|
A class that holds attributes of a particle\&.
|
|
.PP
|
|
Definition at line \fB21\fP of file \fBParticle\&.hpp\fP\&.
|
|
.SH "Constructor & Destructor Documentation"
|
|
.PP
|
|
.SS "Particle::Particle (double q, double m, \fBvec_3d\fP r_vec, \fBvec_3d\fP v_vec)"
|
|
|
|
.PP
|
|
Initialize the particle\&. Initialize the particle with a charge, mass, position and velocity\&.
|
|
.PP
|
|
\fBParameters\fP
|
|
.RS 4
|
|
\fIq\fP The charge of the particle
|
|
.br
|
|
\fIm\fP The mass of the particle
|
|
.br
|
|
\fIr_vec\fP The initial position of the particle
|
|
.br
|
|
\fIv_vec\fP The initial velocity of the particle
|
|
.RE
|
|
.PP
|
|
|
|
.PP
|
|
Definition at line \fB15\fP of file \fBParticle\&.cpp\fP\&.
|
|
.SH "Friends And Related Function Documentation"
|
|
.PP
|
|
.SS "friend class \fBPenningTrap\fP\fC [friend]\fP"
|
|
|
|
.PP
|
|
Make private attributes available for \fBPenningTrap\fP\&.
|
|
.PP
|
|
Definition at line \fB43\fP of file \fBParticle\&.hpp\fP\&.
|
|
.SH "Member Data Documentation"
|
|
.PP
|
|
.SS "double Particle::m\fC [private]\fP"
|
|
|
|
.PP
|
|
Mass\&.
|
|
.PP
|
|
Definition at line \fB24\fP of file \fBParticle\&.hpp\fP\&.
|
|
.SS "double Particle::q\fC [private]\fP"
|
|
|
|
.PP
|
|
Charge\&.
|
|
.PP
|
|
Definition at line \fB23\fP of file \fBParticle\&.hpp\fP\&.
|
|
.SS "\fBvec_3d\fP Particle::r_vec\fC [private]\fP"
|
|
|
|
.PP
|
|
position
|
|
.PP
|
|
Definition at line \fB25\fP of file \fBParticle\&.hpp\fP\&.
|
|
.SS "\fBvec_3d\fP Particle::v_vec\fC [private]\fP"
|
|
|
|
.PP
|
|
velocity
|
|
.PP
|
|
Definition at line \fB26\fP of file \fBParticle\&.hpp\fP\&.
|
|
|
|
.SH "Author"
|
|
.PP
|
|
Generated automatically by Doxygen for Penning Trap Simulation from the source code\&.
|