Skip to main content

DPF C++ client library 2023 R2

ansys::dpf::elements Struct Reference

Last update: 10.07.2023

#include <dpf_api_base.h>

Public Types

enum  EElementType {
  kAnsGeneral = -2 , kAnsAll = -1 , kAnsTet10 = 0 , kAnsHex20 = 1 ,
  kAnsWedge15 = 2 , kAnsPyramid13 = 3 , kAnsTri6 = 4 , kAnsTriShell6 = 5 ,
  kAnsQuad8 = 6 , kAnsQuadShell8 = 7 , kAnsLine3 = 8 , kAnsPoint1 = 9 ,
  kAnsTet4 = 10 , kAnsHex8 = 11 , kAnsWedge6 = 12 , kAnsPyramid5 = 13 ,
  kAnsTri3 = 14 , kAnsTriShell3 = 15 , kAnsQuad4 = 16 , kAnsQuadShell4 = 17 ,
  kAnsLine2 = 18 , kAnsNumElementTypes = 19 , kAnsUnknown = 20 , kAnsEMagLine = 21 ,
  kAnsEMagArc = 22 , kAnsEMagCircle = 23 , kAnsSurface3 = 24 , kAnsSurface4 = 25 ,
  kAnsSurface6 = 26 , kAnsSurface8 = 27 , kAnsEdge2 = 28 , kAnsEdge3 = 29 ,
  kAnsBeam3 = 30 , kAnsBeam4 = 31 , kAnsGeneralPlaceholder = 32 , kAnsPolygon = 33 ,
  kAnsPolyhedron = 34 , kAnsActualNumElementTypes = 35
}
 
enum  EShape { eShell = 0 , eSolid = 1 , eBeam = 2 , eUnknownShape = 3 }
 
typedef enum ansys::dpf::elements::EElementType EElementType
 

Static Public Member Functions

static ElementDescriptor const & descriptor (dp_index element_index)
 

Static Public Attributes

static const ElementDescriptor tet4
 
static const ElementDescriptor tet10
 
static const ElementDescriptor tri3
 
static const ElementDescriptor triShell3
 
static const ElementDescriptor tri6
 
static const ElementDescriptor triShell6
 
static const ElementDescriptor quad4
 
static const ElementDescriptor quadShell4
 
static const ElementDescriptor quad8
 
static const ElementDescriptor quadShell8
 
static const ElementDescriptor pyramid5
 
static const ElementDescriptor pyramid13
 
static const ElementDescriptor wedge6
 
static const ElementDescriptor wedge15
 
static const ElementDescriptor hex8
 
static const ElementDescriptor hex20
 
static const ElementDescriptor line2
 
static const ElementDescriptor line3
 
static const ElementDescriptor point1
 
static const ElementDescriptor polygon
 
static const ElementDescriptor polyhedron
 
static const ElementDescriptor unknown
 
static const std::vector< ElementDescriptorlinears
 
static const std::vector< ElementDescriptorquadratics
 
static const std::vector< ElementDescriptorsolid_elements
 

Detailed Description

Predefined ElementDescriptor.

Member Function Documentation

◆ descriptor()

static ElementDescriptor const & ansys::dpf::elements::descriptor ( dp_index  element_index)
inlinestatic
Returns
ElementDescriptor based on ElementDescriptor id.
Examples
DataApis.cpp.

Field Documentation

◆ hex20

const ElementDescriptor ansys::dpf::elements::hex20
static

Quadratic 20-nodes Hexahedron.

◆ hex8

const ElementDescriptor ansys::dpf::elements::hex8
static

Linear 8-nodes Hexahedron.

◆ line2

const ElementDescriptor ansys::dpf::elements::line2
static

Linear 2-nodes Line.

Examples
DataApis.cpp.

◆ line3

const ElementDescriptor ansys::dpf::elements::line3
static

Quadratic 3-nodes Line.

◆ linears

const std::vector<ElementDescriptor> ansys::dpf::elements::linears
static

of those elements with no mid-side nodes (excluding shell elements).

◆ point1

const ElementDescriptor ansys::dpf::elements::point1
static

Point element.

Examples
DataApis.cpp, and DataExport.cpp.

◆ polygon

const ElementDescriptor ansys::dpf::elements::polygon
static

Polygon element.

◆ polyhedron

const ElementDescriptor ansys::dpf::elements::polyhedron
static

Polyhedron element.

◆ pyramid13

const ElementDescriptor ansys::dpf::elements::pyramid13
static

Quadratic 13-nodes Pyramid.

◆ pyramid5

const ElementDescriptor ansys::dpf::elements::pyramid5
static

Linear 5-nodes Pyramid.

◆ quad4

const ElementDescriptor ansys::dpf::elements::quad4
static

Linear 4-nodes Quadrangle.

Examples
DataApis.cpp.

◆ quad8

const ElementDescriptor ansys::dpf::elements::quad8
static

Quadratic 8-nodes Quadrangle.

◆ quadratics

const std::vector<ElementDescriptor> ansys::dpf::elements::quadratics
static

Vector of those elements with mid-side nodes (excluding shell elements).

◆ quadShell4

const ElementDescriptor ansys::dpf::elements::quadShell4
static

Linear 4-nodes Quadrangle Shell.

Examples
DataExport.cpp.

◆ quadShell8

const ElementDescriptor ansys::dpf::elements::quadShell8
static

Quadratic 8-nodes Quadrangle Shell.

◆ solid_elements

const std::vector<ElementDescriptor> ansys::dpf::elements::solid_elements
static

Vector of solid/volume elements.

◆ tet10

const ElementDescriptor ansys::dpf::elements::tet10
static

Quadratic 10-nodes Tetrahedron.

◆ tet4

const ElementDescriptor ansys::dpf::elements::tet4
static

Linear 4-nodes Tetrahedron.

Examples
DataApis.cpp, and DataExport.cpp.

◆ tri3

const ElementDescriptor ansys::dpf::elements::tri3
static

Linear 3-nodes Triangle.

◆ tri6

const ElementDescriptor ansys::dpf::elements::tri6
static

Quadratic 6-nodes Triangle.

◆ triShell3

const ElementDescriptor ansys::dpf::elements::triShell3
static

Linear 3-nodes Triangle Shell.

◆ triShell6

const ElementDescriptor ansys::dpf::elements::triShell6
static

Quadratic 6-nodes Triangle Shell.

◆ unknown

const ElementDescriptor ansys::dpf::elements::unknown
static

Unknown element type.

◆ wedge15

const ElementDescriptor ansys::dpf::elements::wedge15
static

Quadratic 15-nodes Wedge.

◆ wedge6

const ElementDescriptor ansys::dpf::elements::wedge6
static

Linear 6-nodes Wedge.