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.
meshing_application_variables.h
Go to the documentation of this file.
1 // KRATOS __ __ _____ ____ _ _ ___ _ _ ____
2 // | \/ | ____/ ___|| | | |_ _| \ | |/ ___|
3 // | |\/| | _| \___ \| |_| || || \| | | _
4 // | | | | |___ ___) | _ || || |\ | |_| |
5 // |_| |_|_____|____/|_| |_|___|_| \_|\____| APPLICATION
6 //
7 // License: BSD License
8 // Kratos default license: kratos/license.txt
9 //
10 // Main authors: Nelson Lafontaine
11 // Jordi Cotela Dalmau
12 // Riccardo Rossi
13 // Vicente Mataix Ferrandiz
14 //
15 
16 #if !defined(KRATOS_MESHING_APPLICATION_VARIABLES_H_INCLUDED)
17 #define KRATOS_MESHING_APPLICATION_VARIABLES_H_INCLUDED
18 
19 // System includes
20 
21 // External includes
22 
23 // Project includes
24 #include "includes/define.h"
25 #include "includes/variables.h"
26 #include "includes/element.h"
27 #include "includes/condition.h"
28 
29 namespace Kratos
30 {
33 
37 
38  typedef array_1d<double, 3> Vector3;
39 
43 
47 
48  // Variables definition
49  KRATOS_DEFINE_APPLICATION_VARIABLE(MESHING_APPLICATION, double, AVERAGE_NODAL_ERROR); // The average nodal error
50  KRATOS_DEFINE_APPLICATION_VARIABLE(MESHING_APPLICATION, double, ANISOTROPIC_RATIO); // The anisotropic aspect ratio
51  KRATOS_DEFINE_APPLICATION_VARIABLE(MESHING_APPLICATION, Vector3, AUXILIAR_GRADIENT); // An auxiliar gradient needed to compute the metric
52  KRATOS_DEFINE_APPLICATION_VARIABLE(MESHING_APPLICATION, Vector, AUXILIAR_HESSIAN); // An auxiliar hessian needed to compute the metric
53  KRATOS_DEFINE_APPLICATION_VARIABLE(MESHING_APPLICATION, double, METRIC_SCALAR); // A single scalar metric
54  KRATOS_DEFINE_SYMMETRIC_2D_TENSOR_APPLICATION_VARIABLE_WITH_COMPONENTS(MESHING_APPLICATION, METRIC_TENSOR_2D); // A 2D metric vector
55  KRATOS_DEFINE_SYMMETRIC_3D_TENSOR_APPLICATION_VARIABLE_WITH_COMPONENTS(MESHING_APPLICATION, METRIC_TENSOR_3D); // A 3D metric vector
56 
57  KRATOS_DEFINE_APPLICATION_VARIABLE(MESHING_APPLICATION, int, NUMBER_OF_DIVISIONS); // The number of divisions for the multi scale refining
58  KRATOS_DEFINE_APPLICATION_VARIABLE(MESHING_APPLICATION, int, SUBSCALE_INDEX)
59  KRATOS_DEFINE_APPLICATION_VARIABLE(MESHING_APPLICATION, Node::Pointer, SLAVE_NODE)
60  KRATOS_DEFINE_APPLICATION_VARIABLE(MESHING_APPLICATION, Element::Pointer, FATHER_ELEMENT)
61  KRATOS_DEFINE_APPLICATION_VARIABLE(MESHING_APPLICATION, Condition::Pointer, FATHER_CONDITION)
62  KRATOS_DEFINE_APPLICATION_VARIABLE(MESHING_APPLICATION, std::vector<double>, FATHER_NODES_WEIGHTS)
63 
64  //for ULF (surface_tension) application:
65  KRATOS_DEFINE_APPLICATION_VARIABLE(MESHING_APPLICATION, double, TRIPLE_POINT)
66  KRATOS_DEFINE_APPLICATION_VARIABLE(MESHING_APPLICATION, double, CONTACT_ANGLE)
67 }
68 
69 #endif /* KRATOS_MESHING_APPLICATION_VARIABLES_H_INCLUDED */
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
KRATOS_DEFINE_SYMMETRIC_3D_TENSOR_APPLICATION_VARIABLE_WITH_COMPONENTS(CONSTITUTIVE_LAWS_APPLICATION, ISOTROPIC_ANISOTROPIC_YIELD_RATIO)
KRATOS_DEFINE_APPLICATION_VARIABLE(CHIMERA_APPLICATION, double, CHIMERA_DISTANCE)
array_1d< double, 3 > Vector3
Definition: variables.cpp:26
KRATOS_DEFINE_SYMMETRIC_2D_TENSOR_APPLICATION_VARIABLE_WITH_COMPONENTS(MESHING_APPLICATION, METRIC_TENSOR_2D)