FEDEM Solver  R8.0
Source code of the dynamics solver
Functions
FFaBody.C File Reference
#include <algorithm>
#include <set>
#include <map>
#include <cfloat>
#include "FFaLib/FFaAlgebra/FFaBody.H"
#include "FFaLib/FFaAlgebra/FFaMat34.H"
Include dependency graph for FFaBody.C:

Functions

static double getArea (const FaVec3 &planeNormal, const FaVec3 &v0, const FaVec3 &v1, const FaVec3 &v2)
 
std::ostream & operator<< (std::ostream &s, const FaFace &f)
 
static double accVol (FaVec3 v0, FaVec3 v1, FaVec3 v2, FaVec3 v3, FaVec3 &Xvc, FFaTensor3 *I)
 

Function Documentation

◆ accVol()

static double accVol ( FaVec3  v0,
FaVec3  v1,
FaVec3  v2,
FaVec3  v3,
FaVec3 Xvc,
FFaTensor3 I 
)
static

Accumulates volume, volume centroid, and optionally volume inertia with contributions from a tetrahedron defined by the given four vertices.

◆ getArea()

static double getArea ( const FaVec3 planeNormal,
const FaVec3 v0,
const FaVec3 v1,
const FaVec3 v2 
)
static

Returns the area of a triangle spanned by tree vertices, v0, v1, v2. The area is negative if its normal vector is opposite of planeNormal.

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const FaFace f 
)

Global stream operator printing the face definition.