chrono::gpu::ChSystemGpuMesh_impl::TriangleSoup Struct Reference

Description

Structure used to hold pointers for mesh arrays.

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

#include <ChSystemGpuMesh_impl.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.
 
float3 * node1
 Position in local reference frame of triangle vertex 1.
 
float3 * node2
 Position in local reference frame of triangle vertex 2.
 
float3 * node3
 Position in local reference frame of triangle vertex 3.
 
float3 * vel
 Entry i is the linear velocity of family i (rigid body motion)
 
float3 * 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

float* chrono::gpu::ChSystemGpuMesh_impl::TriangleSoup::generalizedForcesPerFamily

Generalized forces acting on each family.

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


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