Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
amrex::MC::Triangle Struct Reference

Triangle index buffer referencing Vertex entries. More...

#include <AMReX_MarchingCubes.H>

Public Member Functions

void resize (int n)
 Resize the triangle buffer to hold n faces.
 
GpuArray< int *, 3 > dataPtrs ()
 Raw device pointers for kernel launches.
 

Public Attributes

Gpu::DeviceVector< intv1
 
Gpu::DeviceVector< intv2
 
Gpu::DeviceVector< intv3
 

Detailed Description

Triangle index buffer referencing Vertex entries.

Member Function Documentation

◆ dataPtrs()

GpuArray< int *, 3 > amrex::MC::Triangle::dataPtrs ( )
inline

Raw device pointers for kernel launches.

◆ resize()

void amrex::MC::Triangle::resize ( int  n)

Resize the triangle buffer to hold n faces.

Member Data Documentation

◆ v1

Gpu::DeviceVector<int> amrex::MC::Triangle::v1

◆ v2

Gpu::DeviceVector<int> amrex::MC::Triangle::v2

◆ v3

Gpu::DeviceVector<int> amrex::MC::Triangle::v3

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