Face class.
More...
#include <solide.hpp>
|
| Face () |
| Default constructor. More...
|
|
| Face (std::vector< Vertex > &v, int part) |
| Constructor overload. More...
|
|
| Face (std::vector< Vertex > &v, int part, double dist) |
| Constructor overload. More...
|
|
Face & | operator= (const Face &F) |
| Operator = overload. More...
|
|
int | size () |
|
void | compFaceIntegrals (double &Fa, double &Fb, double &Fc, double &Faa, double &Fbb, double &Fcc, double &Faaa, double &Fbbb, double &Fccc, double &Faab, double &Fbbc, double &Fcca, double na, double nb, double nc, int a, int b, int c) |
| Compute face integrals. More...
|
|
void | compProjectionIntegrals (double &P1, double &Pa, double &Pb, double &Paa, double &Pab, double &Pbb, double &Paaa, double &Paab, double &Pabb, double &Pbbb, int a, int b, int c) |
| Computation of projection integrals. More...
|
|
void | Inertie () |
| Computation of the face moments. More...
|
|
Face::Face |
( |
std::vector< Vertex > & |
v, |
|
|
int |
part |
|
) |
| |
Constructor overload.
- Parameters
-
v | vector of vertices |
part | index of the neighbouring particle. It is equal to -1 if there is no solid neighbour |
Face::Face |
( |
std::vector< Vertex > & |
v, |
|
|
int |
part, |
|
|
double |
dist |
|
) |
| |
Constructor overload.
- Parameters
-
v | vector of vertices |
part | index of the neighbouring particle. It is equal to -1 if there is no solid neighbour |
dist | Equilibrium distance of the two particles sharing the face |
void Face::compFaceIntegrals |
( |
double & |
Fa, |
|
|
double & |
Fb, |
|
|
double & |
Fc, |
|
|
double & |
Faa, |
|
|
double & |
Fbb, |
|
|
double & |
Fcc, |
|
|
double & |
Faaa, |
|
|
double & |
Fbbb, |
|
|
double & |
Fccc, |
|
|
double & |
Faab, |
|
|
double & |
Fbbc, |
|
|
double & |
Fcca, |
|
|
double |
na, |
|
|
double |
nb, |
|
|
double |
nc, |
|
|
int |
a, |
|
|
int |
b, |
|
|
int |
c |
|
) |
| |
void Face::compProjectionIntegrals |
( |
double & |
P1, |
|
|
double & |
Pa, |
|
|
double & |
Pb, |
|
|
double & |
Paa, |
|
|
double & |
Pab, |
|
|
double & |
Pbb, |
|
|
double & |
Paaa, |
|
|
double & |
Paab, |
|
|
double & |
Pabb, |
|
|
double & |
Pbbb, |
|
|
int |
a, |
|
|
int |
b, |
|
|
int |
c |
|
) |
| |
Computation of projection integrals.
Uses the function described by Brian Mirtich (1996).
- Returns
- void
Computation of the face moments.
First inertia moment of the face
Second inertia moment of the face
Eigenvectors associated with the two principal inertia moments of the face
- Returns
- void
Face & Face::operator= |
( |
const Face & |
F | ) |
|
Operator = overload.
- Parameters
-
- Returns
- Face
Equilibrium distance with the neighbouring particle.
First inertia moment of the face.
Second inertia moment of the face.
Eigenvector associated with the first inertia moment of the face.
Eigenvector associated with the second inertia moment of the face.
std::vector<Vertex> Face::vertex |
List of the face vertices.
Index of the neighbouring particle. The index takes the value -1 if there is no solid neighbour (possibly fluid)
The documentation for this class was generated from the following files: