13 #ifndef KRATOS_HDF5_APPLICATION_VERTEX_IMPL_H
14 #define KRATOS_HDF5_APPLICATION_VERTEX_IMPL_H
28 template <
class TValue>
38 template <
class TValue, std::
size_t ArraySize>
48 template <
class TValue>
64 template <
class TValue>
69 KRATOS_ERROR_IF(!mpContainingElement.get()) <<
"attempt to interpolate on a non-located vertex";
71 const auto& r_geometry = mpContainingElement->GetGeometry();
75 for (std::size_t i_node=0; i_node<r_geometry.size(); ++i_node) {
76 value += mShapeFunctionValues[i_node] * mpVariableGetter->GetValue(r_geometry.GetPoint(i_node), rVariable);
std::size_t GetID() const
Definition: vertex_impl.h:58
TValue GetValue(const Variable< TValue > &rVariable) const
Definition: vertex_impl.h:65
Definition: amatrix_interface.h:41
Short class definition.
Definition: array_1d.h:61
#define KRATOS_CATCH(MoreInfo)
Definition: define.h:110
#define KRATOS_TRY
Definition: define.h:109
#define KRATOS_ERROR_IF(conditional)
Definition: exception.h:162
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
KratosZeroVector< double > ZeroVector
Definition: amatrix_interface.h:561
KratosZeroMatrix< double > ZeroMatrix
Definition: amatrix_interface.h:559
static Matrix< TValue > Get()
Definition: vertex_impl.h:51
static array_1d< TValue, ArraySize > Get()
Definition: vertex_impl.h:41
Definition: vertex_impl.h:30
static TValue Get()
Definition: vertex_impl.h:31