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.
delaunay_meshing_application_variables.h
Go to the documentation of this file.
1 //----------------------------------------------------------
2 // ___ _ .
3 // KRATOS| \ ___| |__ _ _ _ _ _ __ _ _ _ .
4 // | |) / -_| / _` | || | ' \/ _` | || | .
5 // |___/\___|_\__,_|\_,_|_||_\__,_|\_, |MESHING .
6 // |__/ .
7 // .
8 // License:(BSD) DelaunayMeshingApplication/license.txt .
9 // Main authors: Josep Maria Carbonell .
10 // .. .
11 //----------------------------------------------------------
12 //
13 // Project Name: KratosDelaunayMeshingApplication $
14 // Created by: $Author: JMCarbonell $
15 // Last modified by: $Co-Author: $
16 // Date: $Date: April 2018 $
17 // Revision: $Revision: 0.0 $
18 //
19 //
20 
21 #if !defined(KRATOS_DELAUNAY_MESHING_APPLICATION_VARIABLES_H_INCLUDED )
22 #define KRATOS_DELAUNAY_MESHING_APPLICATION_VARIABLES_H_INCLUDED
23 
24 // System includes
25 
26 // External includes
27 
28 // Project includes
29 #include "includes/variables.h"
30 #include "includes/kratos_flags.h"
32 #include "includes/element.h"
33 #include "includes/condition.h"
36 
37 namespace Kratos
38 {
42 
43  typedef Node::WeakPointer NodeWeakPtrType;
44  typedef Element::WeakPointer ElementWeakPtrType;
45  typedef Condition::WeakPointer ConditionWeakPtrType;
46 
51 
54 
55  //Define Variables
56 
57 
58  //nodal dofs
59  KRATOS_DEFINE_3D_APPLICATION_VARIABLE_WITH_COMPONENTS( DELAUNAY_MESHING_APPLICATION, OFFSET )
60  KRATOS_DEFINE_APPLICATION_VARIABLE( DELAUNAY_MESHING_APPLICATION, double, SHRINK_FACTOR )
61 
62  //domain definition
63  KRATOS_DEFINE_APPLICATION_VARIABLE( DELAUNAY_MESHING_APPLICATION, bool, INITIALIZED_DOMAINS )
64  KRATOS_DEFINE_APPLICATION_VARIABLE( DELAUNAY_MESHING_APPLICATION, double, MESHING_STEP_TIME )
65  KRATOS_DEFINE_APPLICATION_VARIABLE( DELAUNAY_MESHING_APPLICATION, std::string, MODEL_PART_NAME )
66  KRATOS_DEFINE_APPLICATION_VARIABLE( DELAUNAY_MESHING_APPLICATION, std::vector<std::string>, MODEL_PART_NAMES )
67 
68  //boundary definition
69  KRATOS_DEFINE_APPLICATION_VARIABLE( DELAUNAY_MESHING_APPLICATION, int, RIGID_WALL )
70  KRATOS_DEFINE_APPLICATION_VARIABLE( DELAUNAY_MESHING_APPLICATION, int, PROPERTY_ID )
71 
72 
73  //custom neighbor and masters
74  KRATOS_DEFINE_APPLICATION_VARIABLE( DELAUNAY_MESHING_APPLICATION, NodeWeakPtrType, MASTER_NODE )
75  KRATOS_DEFINE_APPLICATION_VARIABLE( DELAUNAY_MESHING_APPLICATION, ElementWeakPtrType, MASTER_ELEMENT )
76  KRATOS_DEFINE_APPLICATION_VARIABLE( DELAUNAY_MESHING_APPLICATION, ConditionWeakPtrType, MASTER_CONDITION )
77 
78  KRATOS_DEFINE_APPLICATION_VARIABLE( DELAUNAY_MESHING_APPLICATION, NodeWeakPtrVectorType, MASTER_NODES )
79  KRATOS_DEFINE_APPLICATION_VARIABLE( DELAUNAY_MESHING_APPLICATION, ElementWeakPtrVectorType, MASTER_ELEMENTS )
80  KRATOS_DEFINE_APPLICATION_VARIABLE( DELAUNAY_MESHING_APPLICATION, ConditionWeakPtrVectorType, MASTER_CONDITIONS )
81 
82  //condition variables
83  KRATOS_DEFINE_APPLICATION_VARIABLE( DELAUNAY_MESHING_APPLICATION, ConditionContainerType, CHILDREN_CONDITIONS)
84 
85  //mesher criteria
86  KRATOS_DEFINE_APPLICATION_VARIABLE( DELAUNAY_MESHING_APPLICATION, double, MEAN_ERROR )
87 
88 
89 
90 
91 }
92 
93 #endif /* KRATOS_DELAUNAY_MESHING_APPLICATION_VARIABLES_H_INCLUDED */
This class is a vector which stores global pointers.
Definition: global_pointers_vector.h:61
A sorted associative container similar to an STL set, but uses a vector to store pointers to its data...
Definition: pointer_vector_set.h:72
GlobalPointersVector< Element > ElementWeakPtrVectorType
Definition: build_model_part_boundary_process.hpp:60
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
KRATOS_DEFINE_APPLICATION_VARIABLE(CHIMERA_APPLICATION, double, CHIMERA_DISTANCE)
PointerVectorSet< Condition, IndexedObject > ConditionContainerType
Definition: delaunay_meshing_application_variables.h:41
KRATOS_DEFINE_3D_APPLICATION_VARIABLE_WITH_COMPONENTS(CHIMERA_APPLICATION, ROTATION_MESH_DISPLACEMENT)
Condition::WeakPointer ConditionWeakPtrType
Definition: generate_new_conditions_mesher_process.hpp:45
Element::WeakPointer ElementWeakPtrType
Definition: generate_new_conditions_mesher_process.hpp:44
GlobalPointersVector< Node > NodeWeakPtrVectorType
Definition: build_model_part_boundary_process.hpp:59
GlobalPointersVector< Condition > ConditionWeakPtrVectorType
Definition: build_model_part_boundary_process.hpp:61
Node::WeakPointer NodeWeakPtrType
Definition: generate_new_conditions_mesher_process.hpp:43