NetDEM v1.0
Loading...
Searching...
No Matches
netdem::BondGeometries Class Reference

The BondGeometries class represents the geometrical properties of a bond. More...

#include <bond_geometries.hpp>

Public Attributes

Vec3d pos {0, 0, 0}
 Position of the bond center of mass.
 
Vec3d dir_n {1, 0, 0}
 Unit vector pointing along the bond's north-south axis.
 
Vec3d dir_s {0, 1, 0}
 Unit vector pointing along the bond's east-west axis.
 
Vec3d dir_t {0, 0, 1}
 Unit vector pointing along the bond's radial axis.
 
Vec3d branch_1 {1, 0, 0}
 Unit vector representing the direction of the first branch.
 
Vec3d branch_2 {1, 0, 0}
 Unit vector representing the direction of the second branch.
 
Vec3d pos_ini {0, 0, 0}
 Initial position of the bond center of mass.
 
Vec3d dir_n_ini {1, 0, 0}
 Initial unit vector pointing along the bond's north-south axis.
 
Vec3d dir_s_ini {0, 1, 0}
 Initial unit vector pointing along the bond's east-west axis.
 
Vec3d dir_t_ini {0, 0, 1}
 Initial unit vector pointing along the bond's radial axis.
 
Vec3d pos_1_ini {0, 0, 0}
 Initial position of the first particle in the bond.
 
Vec3d pos_2_ini {0, 0, 0}
 Initial position of the second particle in the bond.
 
Vec4d quat_1_ini {1, 0, 0, 0}
 Initial quaternion representing the orientation of the first particle.
 
Vec4d quat_2_ini {1, 0, 0, 0}
 Initial quaternion representing the orientation of the second particle.
 
double radius {0}
 Radius of the bond.
 
double len_n {0}
 Length of the bond along the north-south axis.
 
double len_s {0}
 Length of the bond along the east-west axis.
 
double len_t {0}
 Length of the bond along the radial axis.
 
double dlen_n {0}
 Length increment of the bond along the north-south axis.
 
double dlen_s {0}
 Length increment of the bond along the east-west axis.
 
double dlen_t {0}
 Length increment of the bond along the radial axis.
 
double theta_n {0}
 Angle between the bond's north-south axis and the x-axis (in radians).
 
double theta_s {0}
 Angle between the bond's east-west axis and the y-axis (in radians).
 
double theta_t {0}
 Angle between the bond's radial axis and the z-axis (in radians).
 
double dtheta_n {0}
 Angle increment between the bond's north-south axis and the x-axis (in radians).
 
double dtheta_s {0}
 Angle increment between the bond's east-west axis and the y-axis (in radians).
 
double dtheta_t {0}
 Angle increment between the bond's radial axis and the z-axis (in radians).
 
bool active {false}
 Flag indicating whether the bond is currently active.
 

Detailed Description

The BondGeometries class represents the geometrical properties of a bond.

Member Data Documentation

◆ active

bool netdem::BondGeometries::active {false}

Flag indicating whether the bond is currently active.

◆ branch_1

Vec3d netdem::BondGeometries::branch_1 {1, 0, 0}

Unit vector representing the direction of the first branch.

◆ branch_2

Vec3d netdem::BondGeometries::branch_2 {1, 0, 0}

Unit vector representing the direction of the second branch.

◆ dir_n

Vec3d netdem::BondGeometries::dir_n {1, 0, 0}

Unit vector pointing along the bond's north-south axis.

◆ dir_n_ini

Vec3d netdem::BondGeometries::dir_n_ini {1, 0, 0}

Initial unit vector pointing along the bond's north-south axis.

◆ dir_s

Vec3d netdem::BondGeometries::dir_s {0, 1, 0}

Unit vector pointing along the bond's east-west axis.

◆ dir_s_ini

Vec3d netdem::BondGeometries::dir_s_ini {0, 1, 0}

Initial unit vector pointing along the bond's east-west axis.

◆ dir_t

Vec3d netdem::BondGeometries::dir_t {0, 0, 1}

Unit vector pointing along the bond's radial axis.

◆ dir_t_ini

Vec3d netdem::BondGeometries::dir_t_ini {0, 0, 1}

Initial unit vector pointing along the bond's radial axis.

◆ dlen_n

double netdem::BondGeometries::dlen_n {0}

Length increment of the bond along the north-south axis.

◆ dlen_s

double netdem::BondGeometries::dlen_s {0}

Length increment of the bond along the east-west axis.

◆ dlen_t

double netdem::BondGeometries::dlen_t {0}

Length increment of the bond along the radial axis.

◆ dtheta_n

double netdem::BondGeometries::dtheta_n {0}

Angle increment between the bond's north-south axis and the x-axis (in radians).

◆ dtheta_s

double netdem::BondGeometries::dtheta_s {0}

Angle increment between the bond's east-west axis and the y-axis (in radians).

◆ dtheta_t

double netdem::BondGeometries::dtheta_t {0}

Angle increment between the bond's radial axis and the z-axis (in radians).

◆ len_n

double netdem::BondGeometries::len_n {0}

Length of the bond along the north-south axis.

◆ len_s

double netdem::BondGeometries::len_s {0}

Length of the bond along the east-west axis.

◆ len_t

double netdem::BondGeometries::len_t {0}

Length of the bond along the radial axis.

◆ pos

Vec3d netdem::BondGeometries::pos {0, 0, 0}

Position of the bond center of mass.

◆ pos_1_ini

Vec3d netdem::BondGeometries::pos_1_ini {0, 0, 0}

Initial position of the first particle in the bond.

◆ pos_2_ini

Vec3d netdem::BondGeometries::pos_2_ini {0, 0, 0}

Initial position of the second particle in the bond.

◆ pos_ini

Vec3d netdem::BondGeometries::pos_ini {0, 0, 0}

Initial position of the bond center of mass.

◆ quat_1_ini

Vec4d netdem::BondGeometries::quat_1_ini {1, 0, 0, 0}

Initial quaternion representing the orientation of the first particle.

◆ quat_2_ini

Vec4d netdem::BondGeometries::quat_2_ini {1, 0, 0, 0}

Initial quaternion representing the orientation of the second particle.

◆ radius

double netdem::BondGeometries::radius {0}

Radius of the bond.

◆ theta_n

double netdem::BondGeometries::theta_n {0}

Angle between the bond's north-south axis and the x-axis (in radians).

◆ theta_s

double netdem::BondGeometries::theta_s {0}

Angle between the bond's east-west axis and the y-axis (in radians).

◆ theta_t

double netdem::BondGeometries::theta_t {0}

Angle between the bond's radial axis and the z-axis (in radians).


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