19 #include "custom_conditions/U_Pw_condition.hpp"
20 #include "custom_conditions/U_Pw_face_load_condition.hpp"
21 #include "custom_utilities/element_utilities.hpp"
28 template<
unsigned int TDim,
unsigned int TNumNodes >
64 void GetValuesVector(
Vector& rValues,
int Step)
const override;
71 void GetFirstDerivativesVector(
Vector& rValues,
int Step)
const override;
78 void CalculateRightHandSide(
VectorType& rRightHandSideVector,
86 void CalculateDampingMatrix(
MatrixType& rDampingMatrix,
const ProcessInfo& rCurrentProcessInfo)
override;
100 static constexpr
SizeType N_DOF = TNumNodes * TDim;
101 static constexpr
SizeType CONDITION_SIZE = TNumNodes * TDim + TNumNodes;
184 Matrix CalculateExtrapolationMatrixNeighbour(
const Element& rNeighbourElement);
206 void save(
Serializer& rSerializer)
const override
Base class for all Conditions.
Definition: condition.h:59
std::size_t SizeType
Definition: condition.h:94
Base class for all Elements.
Definition: element.h:60
std::size_t IndexType
Definition: flags.h:74
Geometry base class.
Definition: geometry.h:71
PointerVector< TPointType > PointsArrayType
Definition: geometry.h:118
This class defines the node.
Definition: node.h:65
PointerVector is a container like stl vector but using a vector to store pointers to its data.
Definition: pointer_vector.h:72
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
Properties encapsulates data shared by different Elements or Conditions. It can store any type of dat...
Definition: properties.h:69
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
Definition: U_Pw_face_load_condition.hpp:33
Definition: U_Pw_normal_lysmer_absorbing_condition.hpp:30
UPwLysmerAbsorbingCondition(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Definition: U_Pw_normal_lysmer_absorbing_condition.hpp:53
UPwLysmerAbsorbingCondition()
Definition: U_Pw_normal_lysmer_absorbing_condition.hpp:47
UPwLysmerAbsorbingCondition(IndexType NewId, GeometryType::Pointer pGeometry)
Definition: U_Pw_normal_lysmer_absorbing_condition.hpp:50
void CalculateRotationMatrix(DimensionMatrixType &rRotationMatrix, const Element::GeometryType &rGeom)
Calculates the rotation matrix of the current condition.
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(UPwLysmerAbsorbingCondition)
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
std::size_t IndexType
The definition of the index type.
Definition: key_hash.h:35
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
Internals::Matrix< double, AMatrix::dynamic, 1 > Vector
Definition: amatrix_interface.h:472
Internals::Matrix< double, AMatrix::dynamic, AMatrix::dynamic > Matrix
Definition: amatrix_interface.h:470
ModelPart::NodesContainerType NodesArrayType
Definition: gid_gauss_point_container.h:42
def load(f)
Definition: ode_solve.py:307
This is a key comparer of general pourpose between two classes.
Definition: key_hash.h:100
This is a hasher of general pourpose.
Definition: key_hash.h:138
Definition: U_Pw_normal_lysmer_absorbing_condition.hpp:107
double rho
Definition: U_Pw_normal_lysmer_absorbing_condition.hpp:108
Vector GNodes
Definition: U_Pw_normal_lysmer_absorbing_condition.hpp:118
Vector EcNodes
Definition: U_Pw_normal_lysmer_absorbing_condition.hpp:117
double Ec
Definition: U_Pw_normal_lysmer_absorbing_condition.hpp:109
double G
Definition: U_Pw_normal_lysmer_absorbing_condition.hpp:110
Vector rhoNodes
Definition: U_Pw_normal_lysmer_absorbing_condition.hpp:120
double n
Definition: U_Pw_normal_lysmer_absorbing_condition.hpp:111
DimensionMatrixType CAbsMatrix
Definition: U_Pw_normal_lysmer_absorbing_condition.hpp:122
Vector SaturationNodes
Definition: U_Pw_normal_lysmer_absorbing_condition.hpp:119
DimensionMatrixType KAbsMatrix
Definition: U_Pw_normal_lysmer_absorbing_condition.hpp:123
double vp
Definition: U_Pw_normal_lysmer_absorbing_condition.hpp:112
double vs
Definition: U_Pw_normal_lysmer_absorbing_condition.hpp:113
double virtual_thickness
Definition: U_Pw_normal_lysmer_absorbing_condition.hpp:116
double s_factor
Definition: U_Pw_normal_lysmer_absorbing_condition.hpp:115
double p_factor
Definition: U_Pw_normal_lysmer_absorbing_condition.hpp:114