CELIA3D  1.0
Fluid-structure interaction using cut-cells
Public Member Functions | Data Fields
Face Class Reference

Face class. More...

#include <solide.hpp>

Public Member Functions

 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...
 
Faceoperator= (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...
 

Data Fields

Point_3 centre
 Face center. More...
 
Vector_3 normale
 Face exterior normal. More...
 
double S
 
double Is
 First inertia moment of the face. More...
 
double It
 Second inertia moment of the face. More...
 
Vector_3 s
 Eigenvector associated with the first inertia moment of the face. More...
 
Vector_3 t
 Eigenvector associated with the second inertia moment of the face. More...
 
std::vector< Vertexvertex
 List of the face vertices. More...
 
int voisin
 Index of the neighbouring particle. The index takes the value -1 if there is no solid neighbour (possibly fluid) More...
 
double D0
 Equilibrium distance with the neighbouring particle. More...
 

Detailed Description

Face class.

Constructor & Destructor Documentation

Face::Face ( )

Default constructor.

Face::Face ( std::vector< Vertex > &  v,
int  part 
)

Constructor overload.

Parameters
vvector of vertices
partindex 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
vvector of vertices
partindex of the neighbouring particle. It is equal to -1 if there is no solid neighbour
distEquilibrium distance of the two particles sharing the face

Member Function Documentation

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 
)

Compute face integrals.

Uses the function described by Brian Mirtich (1996).

Returns
void
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
void Face::Inertie ( )

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
FFace
Returns
Face
int Face::size ( )
inline

Field Documentation

Point_3 Face::centre

Face center.

double Face::D0

Equilibrium distance with the neighbouring particle.

double Face::Is

First inertia moment of the face.

double Face::It

Second inertia moment of the face.

Vector_3 Face::normale

Face exterior normal.

double Face::S
Vector_3 Face::s

Eigenvector associated with the first inertia moment of the face.

Vector_3 Face::t

Eigenvector associated with the second inertia moment of the face.

std::vector<Vertex> Face::vertex

List of the face vertices.

int Face::voisin

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: