SU2
gauss_structure.hpp
Go to the documentation of this file.
1 
35 #pragma once
36 
37 #include "mpi_structure.hpp"
38 
39 #include <cmath>
40 #include <iostream>
41 #include <cstdlib>
42 
43 #include "config_structure.hpp"
44 #include "geometry_structure.hpp"
45 
46 using namespace std;
47 
48 
56 protected:
57 
58  su2double **GradNi_Xj, // Gradient of the shape functions N[i] respect to the reference configuration
59  **GradNi_xj; // Gradient of the shape functions N[i] respect to the current configuration
60  su2double *Ni; // Shape functions N[i] at the gaussian point
61  su2double J_X, // Jacobian of the element evaluated at the current Gauss Point respect to the reference configuration
62  J_x; // Jacobian of the element evaluated at the current Gauss Point respect to the current configuration
63  unsigned short iGaussPoint; // Identifier of the Gauss point considered
64 
65 public:
66 
70  CGaussVariable(void);
71 
77  //CGaussVariable(unsigned short val_nvar, CConfig *config);
78 
85  CGaussVariable(unsigned short val_iGauss, unsigned short val_nDim, unsigned short val_nNodes);
86 
90  virtual ~CGaussVariable(void);
91 
92  void SetGradNi_Xj(su2double val_GradNi_Xj, unsigned short val_iDim, unsigned short val_Ni);
93 
94  void SetGradNi_xj(su2double val_GradNi_xj, unsigned short val_iDim, unsigned short val_Ni);
95 
96  void SetNi(su2double val_ShapeNi, unsigned short val_Ni);
97 
98  void SetJ_X(su2double valJ_X);
99 
100  void SetJ_x(su2double valJ_x);
101 
102  su2double **GetGradNi_Xj(void);
103 
104  su2double GetGradNi_Xj(unsigned short val_Ni, unsigned short val_iDim);
105 
106  su2double GetGradNi_xj(unsigned short val_Ni, unsigned short val_iDim);
107 
108  su2double GetNi(unsigned short val_Ni);
109 
110  su2double GetJ_X(void);
111 
112  su2double GetJ_x(void);
113 
114  unsigned short Get_iGauss(void);
115 
116 };
117 
118 
119 #include "gauss_structure.inl"
Headers of the main subroutines for creating the geometrical structure. The subroutines and functions...
All the information about the definition of the physical problem. The subroutines and functions are i...
In-Line subroutines of the gauss_structure.hpp file.
Headers of the mpi interface for generalized datatypes. The subroutines and functions are in the mpi_...
Main class for defining the gaussian points.
Definition: gauss_structure.hpp:55