19 #include "custom_elements/U_Pw_small_strain_interface_element.hpp"
24 template <
unsigned int TDim,
unsigned int TNumNodes>
47 using BaseType::CalculateRetentionResponse;
48 using BaseType::mRetentionLawVector;
49 using BaseType::mThisIntegrationMethod;
86 PropertiesType::Pointer pProperties)
const override;
88 Element::Pointer
Create(
IndexType NewId, GeometryType::Pointer pGeom, PropertiesType::Pointer pProperties)
const override;
90 int Check(
const ProcessInfo& rCurrentProcessInfo)
const override;
96 void GetValuesVector(
Vector& rValues,
int Step = 0)
const override;
98 void GetFirstDerivativesVector(
Vector& rValues,
int Step = 0)
const override;
100 void GetSecondDerivativesVector(
Vector& rValues,
int Step = 0)
const override;
102 void Initialize(
const ProcessInfo& rCurrentProcessInfo)
override;
107 void FinalizeSolutionStep(
const ProcessInfo& rCurrentProcessInfo)
override;
110 std::vector<Matrix>& rValues,
114 std::vector<double>& rValues,
127 std::vector<Matrix>& rOutput,
130 void CalculateAll(
MatrixType& rLeftHandSideMatrix,
133 const bool CalculateStiffnessMatrixFlag,
134 const bool CalculateResidualVectorFlag)
override;
143 void CalculateAndAddCompressibilityMatrix(
MatrixType& rLeftHandSideMatrix,
146 void CalculateAndAddPermeabilityMatrix(
MatrixType& rLeftHandSideMatrix,
149 void CalculateAndAddRHS(
VectorType& rRightHandSideVector,
151 unsigned int GPoint)
override;
153 void CalculateAndAddCompressibilityFlow(
VectorType& rRightHandSideVector,
156 void CalculateAndAddPermeabilityFlow(
VectorType& rRightHandSideVector,
159 void CalculateAndAddFluidBodyFlow(
VectorType& rRightHandSideVector,
162 unsigned int GetNumberOfDOF()
const override;
168 void save(
Serializer& rSerializer)
const override
Base class for all Elements.
Definition: element.h:60
std::size_t SizeType
Definition: element.h:94
std::vector< DofType::Pointer > DofsVectorType
Definition: element.h:100
std::vector< std::size_t > EquationIdVectorType
Definition: element.h:98
std::size_t IndexType
Definition: flags.h:74
This defines the geometrical object, base definition of the element and condition entities.
Definition: geometrical_object.h:58
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: transient_Pw_interface_element.hpp:27
typename BaseType::SFGradAuxVariables SFGradAuxVariables
Definition: transient_Pw_interface_element.hpp:52
TransientPwInterfaceElement(const TransientPwInterfaceElement &)=delete
TransientPwInterfaceElement(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Constructor using Properties.
Definition: transient_Pw_interface_element.hpp:73
typename BaseType::InterfaceElementVariables InterfaceElementVariables
Definition: transient_Pw_interface_element.hpp:51
TransientPwInterfaceElement(IndexType NewId=0)
Default Constructor.
Definition: transient_Pw_interface_element.hpp:55
TransientPwInterfaceElement & operator=(const TransientPwInterfaceElement &)=delete
TransientPwInterfaceElement(TransientPwInterfaceElement &&)=delete
~TransientPwInterfaceElement() override=default
TransientPwInterfaceElement & operator=(TransientPwInterfaceElement &&)=delete
TransientPwInterfaceElement(IndexType NewId, const NodesArrayType &ThisNodes)
Constructor using an array of nodes.
Definition: transient_Pw_interface_element.hpp:61
TransientPwInterfaceElement(IndexType NewId, GeometryType::Pointer pGeometry)
Constructor using Geometry.
Definition: transient_Pw_interface_element.hpp:67
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(TransientPwInterfaceElement)
Definition: U_Pw_small_strain_interface_element.hpp:30
Variable class contains all information needed to store and retrive data from a data container.
Definition: variable.h:63
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
pybind11::list CalculateOnIntegrationPoints(TObject &dummy, const Variable< TDataType > &rVariable, const ProcessInfo &rProcessInfo)
Definition: add_mesh_to_python.cpp:142
void InitializeSolutionStep(ConstructionUtility &rThisUtil, std::string ThermalSubModelPartName, std::string MechanicalSubModelPartName, std::string HeatFluxSubModelPartName, std::string HydraulicPressureSubModelPartName, bool thermal_conditions, bool mechanical_conditions, int phase)
Definition: add_custom_utilities_to_python.cpp:45
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
def load(f)
Definition: ode_solve.py:307