PPL Logo

libs/ck-libs/ParFUM-Tops/ParFUM_TOPS_Types.h File Reference

Go to the source code of this file.

Data Structures

class  TopFacet
 A type for a facet. More...

Typedefs

typedef float FP_TYPE
typedef float FP_TYPE_HIGH
typedef float FP_TYPE_LOW
typedef float FP_TYPE_SYNC
typedef long TopNode
 Tops uses some bit patterns for these, but we just use TopNode as a signed value to represent the corresponding ParFUM node.
typedef TopNode TopVertex
 A type for a Vertex (would be different from nodes if using quadratic elements).
typedef ElemID TopElement
 A type for an element.
typedef bool TopNodeItr_D
 used as iterators on CUDA system.
typedef bool TopElemItr_D
typedef int TopID
 an opaque id for top entities
typedef int TopElemType
 an enumeration of supported element types

Enumerations

enum  TopDevice { DeviceNone, DeviceCPU, DeviceGPU }
 Hardware device identifiers; used to select which device kernels will be run on. More...
enum  TopElementType {
  TOP_ELEMENT_T3 = 0, TOP_ELEMENT_T6, TOP_ELEMENT_Q4, TOP_ELEMENT_Q8,
  TOP_ELEMENT_TET4, TOP_ELEMENT_TET10, TOP_ELEMENT_HEX8, TOP_ELEMENT_HEX8_RESERVOIR,
  TOP_ELEMENT_HEX20, TOP_ELEMENT_WEDGE15, TOP_ELEMENT_WEDGE6, TOP_ELEMENT_MIN_COHESIVE,
  TOP_ELEMENT_COH2E2, TOP_ELEMENT_COH2E3, TOP_ELEMENT_COH3T3, TOP_ELEMENT_COH3T6,
  TOP_ELEMENT_COH3Q4, TOP_ELEMENT_COH3Q8, TOP_ELEMENT_MAX
}
 Enumerates the possible tops element types. More...


Typedef Documentation

typedef double FP_TYPE

Definition at line 9 of file ParFUM_TOPS_Types.h.

typedef double FP_TYPE_HIGH

Definition at line 10 of file ParFUM_TOPS_Types.h.

typedef double FP_TYPE_LOW

Definition at line 11 of file ParFUM_TOPS_Types.h.

typedef double FP_TYPE_SYNC

Definition at line 12 of file ParFUM_TOPS_Types.h.

typedef long TopNode

Tops uses some bit patterns for these, but we just use TopNode as a signed value to represent the corresponding ParFUM node.

A non-negative value is a local node, while a negative value is a ghost.

Definition at line 29 of file ParFUM_TOPS_Types.h.

typedef TopNode TopVertex

A type for a Vertex (would be different from nodes if using quadratic elements).

Definition at line 32 of file ParFUM_TOPS_Types.h.

typedef ElemID TopElement

A type for an element.

Definition at line 35 of file ParFUM_TOPS_Types.h.

typedef bool TopNodeItr_D

used as iterators on CUDA system.

See usage!

Definition at line 86 of file ParFUM_TOPS_Types.h.

typedef bool TopElemItr_D

Definition at line 87 of file ParFUM_TOPS_Types.h.

typedef int TopID

an opaque id for top entities

Definition at line 91 of file ParFUM_TOPS_Types.h.

typedef int TopElemType

an enumeration of supported element types

Definition at line 94 of file ParFUM_TOPS_Types.h.


Enumeration Type Documentation

enum TopDevice

Hardware device identifiers; used to select which device kernels will be run on.

Enumerator:
DeviceNone 
DeviceCPU 
DeviceGPU 

Definition at line 22 of file ParFUM_TOPS_Types.h.

Enumerates the possible tops element types.

Note that all bulk types come first, then all cohesive types, starting with TOP_ELEMENT_MIN_COHESIVE. This allows us to determine whether an element type is cohesive or bulk by comparing it to TOP_ELEMENT_MIN_COHESIVE

Enumerator:
TOP_ELEMENT_T3 
TOP_ELEMENT_T6 
TOP_ELEMENT_Q4 
TOP_ELEMENT_Q8 
TOP_ELEMENT_TET4 
TOP_ELEMENT_TET10 
TOP_ELEMENT_HEX8 
TOP_ELEMENT_HEX8_RESERVOIR 
TOP_ELEMENT_HEX20 
TOP_ELEMENT_WEDGE15 
TOP_ELEMENT_WEDGE6 
TOP_ELEMENT_MIN_COHESIVE 
TOP_ELEMENT_COH2E2 
TOP_ELEMENT_COH2E3 
TOP_ELEMENT_COH3T3 
TOP_ELEMENT_COH3T6 
TOP_ELEMENT_COH3Q4 
TOP_ELEMENT_COH3Q8 
TOP_ELEMENT_MAX 

Definition at line 63 of file ParFUM_TOPS_Types.h.


Generated on Mon Sep 21 08:10:34 2020 for Charm++ by  doxygen 1.5.5