chrono::granular::ChTriangleSoup< T3 > Struct Template Reference

Description

template<class T3>
struct chrono::granular::ChTriangleSoup< T3 >

Class used to hold pointers for mesh arrays.

Attention
The order of the nodes in a triangle defines the positive face of the triangle; right-hand rule used.

#include <ChGranularTriMesh.h>

Public Attributes

unsigned int nTrianglesInSoup
 Total number of triangles in the soup.
 
unsigned int numTriangleFamilies
 Indicates how many meshes are squashed together in this soup.
 
unsigned int * triangleFamily_ID
 Each entry says what family that triagnle belongs to; size: nTrianglesInSoup.
 
float * familyMass_SU
 Entry i is the SU mass of family i.
 
T3 * node1
 Position in local reference frame of triangle vertex 1.
 
T3 * node2
 Position in local reference frame of triangle vertex 2.
 
T3 * node3
 Position in local reference frame of triangle vertex 3.
 
T3 * vel
 Entry i is the linear velocity of family i (rigid body motion)
 
T3 * omega
 Entry i is the angular velocity of family i (rigid body motion)
 
float * generalizedForcesPerFamily
 Generalized forces acting on each family. More...
 

Member Data Documentation

◆ generalizedForcesPerFamily

template<class T3>
float* chrono::granular::ChTriangleSoup< T3 >::generalizedForcesPerFamily

Generalized forces acting on each family.

Expressed in the global reference frame. Size: 6 * getNumTriangleFamilies.


The documentation for this struct was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_granular/physics/ChGranularTriMesh.h