KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
line_sensitivity_utility.h
Go to the documentation of this file.
1 // | / |
2 // ' / __| _` | __| _ \ __|
3 // . \ | ( | | ( |\__ \.
4 // _|\_\_| \__,_|\__|\___/ ____/
5 // Multi-Physics
6 //
7 // License: BSD License
8 // Kratos default license: kratos/license.txt
9 //
10 // Main authors: Jordi Cotela
11 //
12 
13 #ifndef KRATOS_LINE_SENSITIVITY_UTILITY_H_INCLUDED
14 #define KRATOS_LINE_SENSITIVITY_UTILITY_H_INCLUDED
15 
16 #include "includes/define.h"
18 
19 namespace Kratos
20 {
21 
24 
25 class KRATOS_API(KRATOS_CORE) LineSensitivityUtility
26 {
27 public:
30 
32 
34 
36 
38 
42 
44 
46 
50 
51  void CalculateSensitivity(const ShapeParameter Deriv, double& rIntegrationWeightSensitivity) const;
52 
54 
55 private:
58 
59  const JacobianType& mrJ;
60 
61  const ShapeFunctionsLocalGradientType& mrDN_De;
62 
63  MatrixType mJtJ;
64 
65  MatrixType mCofactorJtJ;
66 
67  double mDetJtJ;
68 
72 
73  void Initialize();
74 
76 
77 }; // class LineSensitivityUtility
78 
80 
81 } // namespace Kratos
82 
83 #endif // KRATOS_LINE_SENSITIVITY_UTILITY_H_INCLUDED
Definition: amatrix_interface.h:41
Definition: line_sensitivity_utility.h:26
MatrixType ShapeFunctionsLocalGradientType
Definition: line_sensitivity_utility.h:37
KRATOS_CLASS_POINTER_DEFINITION(LineSensitivityUtility)
DenseMatrix< double > MatrixType
Definition: line_sensitivity_utility.h:33
MatrixType JacobianType
Definition: line_sensitivity_utility.h:35
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
Definition: geometrical_sensitivity_utility.h:33