NuTo
Numerics Tool
IntegrationTypeTetrahedron.h
Go to the documentation of this file.
1 #pragma once
2 
5 
6 namespace NuTo
7 {
10 {
11 
12 public:
18  static const std::vector<std::vector<Eigen::Vector4d>> quadratureData;
19 
20  static const std::vector<int> orderToIndex;
21 
24  IntegrationTypeTetrahedron(int order);
25 
29  Eigen::VectorXd GetLocalIntegrationPointCoordinates(int i) const override;
30 
33  int GetNumIntegrationPoints() const override;
34 
38  double GetIntegrationPointWeight(int i) const override;
39 
40  const Shape& GetShape() const override
41  {
42  return mShape;
43  }
44 
45 private:
46  int mDataIndex;
47  Tetrahedron mShape;
48 };
49 
50 
51 } // namespace NuTo
static const std::vector< int > orderToIndex
Definition: IntegrationTypeTetrahedron.h:20
static const std::vector< std::vector< Eigen::Vector4d > > quadratureData
data is taken from the attachment to the book "P.
Definition: IntegrationTypeTetrahedron.h:18
Eigen::VectorXd GetLocalIntegrationPointCoordinates(int i) const override
returns the local coordinates of an integration point
Definition: IntegrationTypeTetrahedron.cpp:3091
int GetNumIntegrationPoints() const override
returns the total number of integration points for this integration type
Definition: IntegrationTypeTetrahedron.cpp:3098
standard abstract class for all integration types
Definition: IntegrationTypeBase.h:14
Definition: Shape.h:20
Definition: Tetrahedron.h:8
Definition: Exception.h:6
const Shape & GetShape() const override
Determines the shape of the integration type.
Definition: IntegrationTypeTetrahedron.h:40
double GetIntegrationPointWeight(int i) const override
returns the weight of an integration point
Definition: IntegrationTypeTetrahedron.cpp:3104
IntegrationTypeTetrahedron(int order)
constructor
Definition: IntegrationTypeTetrahedron.cpp:3086
Integration types for the triangle.
Definition: IntegrationTypeTetrahedron.h:9