13 #if !defined(KRATOS_EMBEDDED_DATA_H)
14 #define KRATOS_EMBEDDED_DATA_H
27 template<
class TFlu
idData >
75 TFluidData::Initialize(rElement, rProcessInfo);
77 this->FillFromHistoricalNodalData(
Distance, DISTANCE, r_geometry);
82 IsSlip = rElement.
Is(SLIP) ? true :
false;
94 this->FillFromProcessInfo(
SlipLength, SLIP_LENGTH, rProcessInfo);
102 for (
unsigned int i = 0;
i < TFluidData::NumNodes;
i++) {
106 int out = TFluidData::Check(rElement,rProcessInfo);
Base class for all Elements.
Definition: element.h:60
Definition: embedded_data.h:29
void InitializeBoundaryConditionData(const ProcessInfo &rProcessInfo)
Fills the boundary condition data fields This method needs to be called in cut elements....
Definition: embedded_data.h:91
Vector PositiveInterfaceWeights
Definition: embedded_data.h:58
std::vector< size_t > NegativeIndices
Definition: embedded_data.h:62
Vector PositiveSideWeights
Definition: embedded_data.h:54
typename TFluidData::NodalScalarData NodalScalarData
Definition: embedded_data.h:35
NodalScalarData Distance
Definition: embedded_data.h:50
Matrix PositiveSideN
Definition: embedded_data.h:52
void Initialize(const Element &rElement, const ProcessInfo &rProcessInfo) override
Definition: embedded_data.h:71
static int Check(const Element &rElement, const ProcessInfo &rProcessInfo)
Definition: embedded_data.h:99
size_t NumNegativeNodes
Definition: embedded_data.h:65
double PenaltyCoefficient
Definition: embedded_data.h:48
GeometryData::ShapeFunctionsGradientsType ShapeFunctionsGradientsType
Definition: embedded_data.h:38
ShapeFunctionsGradientsType PositiveInterfaceDNDX
Definition: embedded_data.h:57
std::vector< array_1d< double, 3 > > InterfaceNormalsType
Definition: embedded_data.h:39
size_t NumPositiveNodes
Definition: embedded_data.h:64
ShapeFunctionsGradientsType PositiveSideDNDX
Definition: embedded_data.h:53
bool IsSlip
Definition: embedded_data.h:45
InterfaceNormalsType PositiveInterfaceUnitNormals
Definition: embedded_data.h:59
typename TFluidData::NodalVectorData NodalVectorData
Definition: embedded_data.h:36
std::vector< size_t > PositiveIndices
Definition: embedded_data.h:61
double SlipLength
Definition: embedded_data.h:47
bool IsCut()
Definition: embedded_data.h:110
Matrix PositiveInterfaceN
Definition: embedded_data.h:56
bool Is(Flags const &rOther) const
Definition: flags.h:274
GeometryType & GetGeometry()
Returns the reference of the geometry.
Definition: geometrical_object.h:158
Geometry base class.
Definition: geometry.h:71
Definition: amatrix_interface.h:41
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
#define KRATOS_CHECK_VARIABLE_IN_NODAL_DATA(TheVariable, TheNode)
Definition: checks.h:171
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
out
Definition: isotropic_damage_automatic_differentiation.py:200
integer i
Definition: TensorModule.f:17