13 #ifndef KRATOS_HDF5APPLICATION_VERTEX_UTILITIES_H
14 #define KRATOS_HDF5APPLICATION_VERTEX_UTILITIES_H
32 #define KRATOS_DECLARE_VIRTUAL_VARIABLE_GETTER(TValue) \
33 virtual TValue GetValue(const Node& rNode, const Variable<TValue>& rVariable) const = 0
36 #define KRATOS_DEFINE_HISTORICAL_VARIABLE_GETTER(TValue) \
37 TValue GetValue(const Node& rNode, const Variable<TValue>& rVariable) const override final \
39 return rNode.GetSolutionStepValue(rVariable); \
43 #define KRATOS_DEFINE_NON_HISTORICAL_VARIABLE_GETTER(TValue) \
44 TValue GetValue(const Node& rNode, const Variable<TValue>& rVariable) const override final \
46 return rNode.GetValue(rVariable); \
122 #undef KRATOS_DEFINE_NON_HISTORICAL_VARIABLE_GETTER
123 #undef KRATOS_DEFINE_HISTORICAL_VARIABLE_GETTER
124 #undef KRATOS_DECLARE_VIRTUAL_VARIABLE_GETTER
148 const double tolerance);
150 const Element::WeakPointer FindElement(
const Point& rPoint)
const override;
159 const double mTolerance;
Utility class to find an entity of a mesh based on a location.
Definition: brute_force_point_locator.h:43
BruteForcePointLocator with configuration and tolerance persistence.
Definition: vertex_utilities.h:142
KRATOS_CLASS_POINTER_DEFINITION(BruteForcePointLocatorAdaptor)
This class aims to manage meshes for multi-physics simulations.
Definition: model_part.h:77
Point class.
Definition: point.h:59
Configuration
Enum for Initial and Current configurations.
Definition: global_variables.h:38
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
Definition: vertex_utilities.h:81
KRATOS_DEFINE_HISTORICAL_VARIABLE_GETTER(double)
KRATOS_DEFINE_HISTORICAL_VARIABLE_GETTER(DenseVector< int >)
KRATOS_DEFINE_HISTORICAL_VARIABLE_GETTER(Array3)
KRATOS_DEFINE_HISTORICAL_VARIABLE_GETTER(bool)
KRATOS_DEFINE_HISTORICAL_VARIABLE_GETTER(Kratos::Vector)
KRATOS_DEFINE_HISTORICAL_VARIABLE_GETTER(Kratos::Matrix)
KRATOS_DEFINE_HISTORICAL_VARIABLE_GETTER(Array4)
KRATOS_DEFINE_HISTORICAL_VARIABLE_GETTER(int)
KRATOS_DEFINE_HISTORICAL_VARIABLE_GETTER(Array6)
KRATOS_CLASS_POINTER_DEFINITION(HistoricalVariableGetter)
KRATOS_DEFINE_HISTORICAL_VARIABLE_GETTER(Array9)
Definition: vertex_utilities.h:57
KRATOS_DECLARE_VIRTUAL_VARIABLE_GETTER(Kratos::Vector)
array_1d< double, 9 > Array9
Definition: vertex_utilities.h:63
KRATOS_DECLARE_VIRTUAL_VARIABLE_GETTER(DenseVector< int >)
array_1d< double, 6 > Array6
Definition: vertex_utilities.h:62
array_1d< double, 4 > Array4
Definition: vertex_utilities.h:61
KRATOS_DECLARE_VIRTUAL_VARIABLE_GETTER(Array4)
KRATOS_DECLARE_VIRTUAL_VARIABLE_GETTER(Array3)
KRATOS_DECLARE_VIRTUAL_VARIABLE_GETTER(int)
virtual ~NodalVariableGetter()
Definition: vertex_utilities.h:65
KRATOS_DECLARE_VIRTUAL_VARIABLE_GETTER(double)
KRATOS_DECLARE_VIRTUAL_VARIABLE_GETTER(bool)
KRATOS_CLASS_POINTER_DEFINITION(NodalVariableGetter)
array_1d< double, 3 > Array3
Definition: vertex_utilities.h:60
KRATOS_DECLARE_VIRTUAL_VARIABLE_GETTER(Array6)
KRATOS_DECLARE_VIRTUAL_VARIABLE_GETTER(Kratos::Matrix)
KRATOS_DECLARE_VIRTUAL_VARIABLE_GETTER(Array9)
Definition: vertex_utilities.h:102
KRATOS_CLASS_POINTER_DEFINITION(NonHistoricalVariableGetter)
KRATOS_DEFINE_NON_HISTORICAL_VARIABLE_GETTER(Array3)
KRATOS_DEFINE_NON_HISTORICAL_VARIABLE_GETTER(Kratos::Matrix)
KRATOS_DEFINE_NON_HISTORICAL_VARIABLE_GETTER(DenseVector< int >)
KRATOS_DEFINE_NON_HISTORICAL_VARIABLE_GETTER(Array6)
KRATOS_DEFINE_NON_HISTORICAL_VARIABLE_GETTER(Array4)
KRATOS_DEFINE_NON_HISTORICAL_VARIABLE_GETTER(Kratos::Vector)
KRATOS_DEFINE_NON_HISTORICAL_VARIABLE_GETTER(Array9)
KRATOS_DEFINE_NON_HISTORICAL_VARIABLE_GETTER(int)
KRATOS_DEFINE_NON_HISTORICAL_VARIABLE_GETTER(bool)
KRATOS_DEFINE_NON_HISTORICAL_VARIABLE_GETTER(double)
Definition: vertex_utilities.h:131
virtual const Element::WeakPointer FindElement(const Point &rPoint) const =0
virtual ~PointLocatorAdaptor()
Definition: vertex_utilities.h:134
KRATOS_CLASS_POINTER_DEFINITION(PointLocatorAdaptor)