PeriDyno 1.0.0
Loading...
Searching...
No Matches
TightCCD.inl File Reference
#include "Vector.h"
Include dependency graph for TightCCD.inl:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  dyno
 This is an implementation of AdditiveCCD based on peridyno.
 

Macros

#define REAL_infinity   1.0e30
 
#define REAL_EQUAL(a, b)
 

Functions

template<typename T>
DYN_FUNC T dyno::STP (const Vector< T, 3 > &u, const Vector< T, 3 > &v, const Vector< T, 3 > &w)
 
template<typename T>
DYN_FUNC void dyno::fswap (T &a, T &b)
 
template<typename T>
DYN_FUNC T dyno::SignedDistanceVF (const Vector< T, 3 > &x, const Vector< T, 3 > &y0, const Vector< T, 3 > &y1, const Vector< T, 3 > &y2, Vector< T, 3 > *n, T *w)
 
template<typename T>
DYN_FUNC T dyno::SignedDistanceEE (const Vector< T, 3 > &x0, const Vector< T, 3 > &x1, const Vector< T, 3 > &y0, const Vector< T, 3 > &y1, Vector< T, 3 > *n, Real *w)
 
template<typename T>
DYN_FUNC T dyno::triProduct (Vector< T, 3 > &a, Vector< T, 3 > &b, Vector< T, 3 > &c)
 
template<typename T>
DYN_FUNC Vector< T, 3 > dyno::xvpos (Vector< T, 3 > x, Vector< T, 3 > v, T t)
 
template<typename T>
DYN_FUNC int dyno::sgn (T x)
 
template<typename T>
DYN_FUNC int dyno::SolveQuadratic (T a, T b, T c, T x[2])
 
template<typename T>
DYN_FUNC T dyno::NewtonsMethod (T a, T b, T c, T d, T x0, int init_dir)
 
template<typename T>
DYN_FUNC int dyno::SolveCubic (T a, T b, T c, T d, T x[3])
 
template<typename T>
DYN_FUNC bool dyno::CollisionTest (const Vector< T, 3 > &x0, const Vector< T, 3 > &x1, const Vector< T, 3 > &x2, const Vector< T, 3 > &x3, const Vector< T, 3 > &v0, const Vector< T, 3 > &v1, const Vector< T, 3 > &v2, const Vector< T, 3 > &v3, T &time, const int isVF)
 

Macro Definition Documentation

◆ REAL_EQUAL

#define REAL_EQUAL ( a,
b )
Value:
(((a < b + EPSILON) && (a > b - EPSILON)) ? true : false)

Definition at line 6 of file TightCCD.inl.

◆ REAL_infinity

#define REAL_infinity   1.0e30

Definition at line 5 of file TightCCD.inl.