mantaflow  0.10
A framework for fluid simulation
Public Member Functions | Public Attributes | List of all members
Manta::CVec3Array Struct Reference

helper vec3 array, for CUDA compatibility, remove at some point More...

Public Member Functions

 CVec3Array (int sz)
 
 CVec3Array (const std::vector< Vec3 > &v)
 
CVec3Ptr data ()
 
const Vec3 operator[] (int idx) const
 
void set (int idx, const Vec3 &v)
 
int size ()
 

Public Attributes

std::vector< Real > x
 
std::vector< Real > y
 
std::vector< Real > z
 

Detailed Description

helper vec3 array, for CUDA compatibility, remove at some point


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