GPU module

Description

Module for GPU parallel simulation.

This module provides support for granular dynamics on the GPU through CUDA. Currently, systems of monodisperse spheres can interact via full-history frictional contact with both analytical boundary conditions and triangle meshes.

For additional information, see:

Collaboration diagram for GPU module:

Modules

 Physics objects
 
 CUDA functions
 
 Utilities
 

Namespaces

 chrono::gpu
 Namespace with classes for the Gpu module.
 

Functions

void chrono::gpu::SetDataPath (const std::string &path)
 Set the path to the Chrono::Gpu data directory (ATTENTION: not thread safe).
 
const std::string & chrono::gpu::GetDataPath ()
 Get the current path to the Chrono::Gpu data directory (thread safe).
 
std::string chrono::gpu::GetDataFile (const std::string &filename)
 Get the complete path to the specified filename (thread safe). More...
 

Function Documentation

◆ GetDataFile()

CH_GPU_API std::string chrono::gpu::GetDataFile ( const std::string &  filename)

Get the complete path to the specified filename (thread safe).

The filename is assumed to be given relative to the Chrono::Gpu data directory.