PRAgMaTIc  master
Public Member Functions | List of all members
CUDATools< real_t, index_t > Class Template Reference

#include <CUDATools.h>

Public Member Functions

 CUDATools ()
 
bool isEnabled ()
 
void initialize ()
 
void copyMeshDataToDevice (Mesh< real_t, index_t > *mesh, Surface< real_t, index_t > *surface, std::map< int, std::deque< index_t > > &colour_sets, std::vector< real_t > &quality, int orientation, size_t dimensions)
 
void copyCoordinatesToDevice (Mesh< real_t, index_t > *mesh)
 
void copyMetricToDevice (Mesh< real_t, index_t > *mesh)
 
void copyCoordinatesFromDevice (Mesh< real_t, index_t > *mesh)
 
void copyMetricFromDevice (Mesh< real_t, index_t > *mesh)
 
void reserveSmoothStatusMemory ()
 
void reserveActiveVerticesMemory ()
 
void retrieveSmoothStatus (std::vector< unsigned char > &status)
 
void freeResources ()
 
void setSmoothingKernel (std::string method, std::vector< unsigned char > &status)
 
void launchSmoothingKernel (int colour)
 

Detailed Description

template<typename real_t, typename index_t>
class CUDATools< real_t, index_t >

Definition at line 56 of file CUDATools.h.

Constructor & Destructor Documentation

template<typename real_t , typename index_t >
CUDATools< real_t, index_t >::CUDATools ( )
inline

Definition at line 60 of file CUDATools.h.

Member Function Documentation

template<typename real_t , typename index_t >
void CUDATools< real_t, index_t >::copyCoordinatesFromDevice ( Mesh< real_t, index_t > *  mesh)
inline

Definition at line 184 of file CUDATools.h.

template<typename real_t , typename index_t >
void CUDATools< real_t, index_t >::copyCoordinatesToDevice ( Mesh< real_t, index_t > *  mesh)
inline

Definition at line 174 of file CUDATools.h.

template<typename real_t , typename index_t >
void CUDATools< real_t, index_t >::copyMeshDataToDevice ( Mesh< real_t, index_t > *  mesh,
Surface< real_t, index_t > *  surface,
std::map< int, std::deque< index_t > > &  colour_sets,
std::vector< real_t > &  quality,
int  orientation,
size_t  dimensions 
)
inline

Definition at line 111 of file CUDATools.h.

template<typename real_t , typename index_t >
void CUDATools< real_t, index_t >::copyMetricFromDevice ( Mesh< real_t, index_t > *  mesh)
inline

Definition at line 189 of file CUDATools.h.

template<typename real_t , typename index_t >
void CUDATools< real_t, index_t >::copyMetricToDevice ( Mesh< real_t, index_t > *  mesh)
inline

Definition at line 179 of file CUDATools.h.

template<typename real_t , typename index_t >
void CUDATools< real_t, index_t >::freeResources ( )
inline

Definition at line 229 of file CUDATools.h.

template<typename real_t , typename index_t >
void CUDATools< real_t, index_t >::initialize ( )
inline

Definition at line 70 of file CUDATools.h.

template<typename real_t , typename index_t >
bool CUDATools< real_t, index_t >::isEnabled ( )
inline

Definition at line 65 of file CUDATools.h.

template<typename real_t , typename index_t >
void CUDATools< real_t, index_t >::launchSmoothingKernel ( int  colour)
inline

Definition at line 270 of file CUDATools.h.

template<typename real_t , typename index_t >
void CUDATools< real_t, index_t >::reserveActiveVerticesMemory ( )
inline

Definition at line 209 of file CUDATools.h.

template<typename real_t , typename index_t >
void CUDATools< real_t, index_t >::reserveSmoothStatusMemory ( )
inline

Definition at line 194 of file CUDATools.h.

template<typename real_t , typename index_t >
void CUDATools< real_t, index_t >::retrieveSmoothStatus ( std::vector< unsigned char > &  status)
inline

Definition at line 224 of file CUDATools.h.

template<typename real_t , typename index_t >
void CUDATools< real_t, index_t >::setSmoothingKernel ( std::string  method,
std::vector< unsigned char > &  status 
)
inline

Definition at line 261 of file CUDATools.h.


The documentation for this class was generated from the following file: