WARPXM v1.10.0
Loading...
Searching...
No Matches
wmuhofvgeometry.h
Go to the documentation of this file.
1#ifndef WMUHOFVGEOMETRY_H
2#define WMUHOFVGEOMETRY_H
3
4// Wm includes
6#include "lib/wmunstructuredgeometry.h"
7#include "compute/wmcomputemachine.h"
8
10{
11public:
13 const int facePolynomialOrder,
14 const int volumePolynomialOrder);
15
17
18 int getNumElements() const
19 {
20 return _numElements;
21 }
22
24 {
26 }
27
29 {
31 }
33 {
35 }
37 {
39 }
40
42 {
44 }
46 {
48 }
49
50 const cl_mem* getElementGeometryMemPtr() const
51 {
53 }
54 const cl_mem* getVertexDxGeometryMemPtr() const
55 {
56 return &_mem_vertexDxs;
57 }
58
59 const real* getElementGeometry() const;
60
61protected:
62 void generateGeometryRange(const int startIndex, const int endIndex);
63 void generateReconstructionGeometryRange(const int startIndex, const int endIndex);
64
65 void getDxOnElement(const real centroid[3],
66 const real v_tC[][3],
67 const real normalizedPosition[3],
68 real dx[3]) const;
69 void getDxOnFace(const real centroid[3],
70 const real f_tC[][3],
71 const real normalizedFacePosition[3],
72 real dx[3]) const;
73
75 const real* normalizedFacePosition) const;
77 const real* normalizedPosition) const;
78
80 const int fIndex,
81 real f_tC[][3]) const;
82
83 void printElement(const int i) const;
84
87
90
94
97
100
103
106
107private:
108 // WmUHOFVGeometry(){}
109};
110#endif // WMUHOFVGEOMETRY_H
Definition: wmuhofvgeometry.h:10
int getElementGeometryFaceBlockSize() const
Definition: wmuhofvgeometry.h:32
int getElementGeometrySizeInBytes() const
Definition: wmuhofvgeometry.h:23
int getElementGeometryBlockSize() const
Definition: wmuhofvgeometry.h:28
const real * getElementGeometry() const
void generateGeometryRange(const int startIndex, const int endIndex)
cl_mem _mem_vertexDxs
Definition: wmuhofvgeometry.h:105
const WmUnstructuredGeometry & _uG
Definition: wmuhofvgeometry.h:86
int _numFaceQuadraturePoints
Definition: wmuhofvgeometry.h:101
int _elementInternalGeometryBlockSize
Definition: wmuhofvgeometry.h:93
int _facePolynomialOrder
Definition: wmuhofvgeometry.h:98
void getDxOnElement(const real centroid[3], const real v_tC[][3], const real normalizedPosition[3], real dx[3]) const
int getElementGeometryInternalBlockSize() const
Definition: wmuhofvgeometry.h:36
int getNumElements() const
Definition: wmuhofvgeometry.h:18
void convertFaceTransformCoordinates(const real v_tC[][3], const int fIndex, real f_tC[][3]) const
real generateFaceJacobian(const real f_tC[][3], const real *normalizedFacePosition) const
void getDxOnFace(const real centroid[3], const real f_tC[][3], const real normalizedFacePosition[3], real dx[3]) const
real * _elementGeometry
Definition: wmuhofvgeometry.h:95
WmUHOFVGeometry(const WmUnstructuredPatch &patch, const int facePolynomialOrder, const int volumePolynomialOrder)
const WmUnstructuredPatch & _patch
Definition: wmuhofvgeometry.h:85
const cl_mem * getVertexDxGeometryMemPtr() const
Definition: wmuhofvgeometry.h:54
int _volumePolynomialOrder
Definition: wmuhofvgeometry.h:99
int _elementFaceGeometryBlockSize
Definition: wmuhofvgeometry.h:91
int _numReconstructionElements
Definition: wmuhofvgeometry.h:89
int _numVolumeQuadraturePoints
Definition: wmuhofvgeometry.h:102
void generateReconstructionGeometryRange(const int startIndex, const int endIndex)
void printElement(const int i) const
int getNumVolumeQuadraturePoints() const
Definition: wmuhofvgeometry.h:45
int getNumFaceQuadraturePoints() const
Definition: wmuhofvgeometry.h:41
int _elementGeometryBlockSize
Definition: wmuhofvgeometry.h:92
cl_mem _mem_elementGeometry
Definition: wmuhofvgeometry.h:104
const cl_mem * getElementGeometryMemPtr() const
Definition: wmuhofvgeometry.h:50
int _numElements
Definition: wmuhofvgeometry.h:88
real generateVolumeJacobian(const real v_tC[][3], const real *normalizedPosition) const
real * _vertexDxs
Definition: wmuhofvgeometry.h:96
Class used for generating mesh geometry concerns.
Definition: wmunstructuredgeometry.h:45
Definition: wmunstructuredpatch.h:22
#define real
Definition: wmoclunstructuredreconstruction.h:11