13 #if !defined(KRATOS_GEO_STEADY_STATE_PW_ELEMENT_H_INCLUDED)
14 #define KRATOS_GEO_STEADY_STATE_PW_ELEMENT_H_INCLUDED
21 #include "custom_utilities/element_utilities.hpp"
28 template <
unsigned int TDim,
unsigned int TNumNodes>
48 using BaseType::CalculateRetentionResponse;
49 using BaseType::mConstitutiveLawVector;
50 using BaseType::mIsInitialised;
51 using BaseType::mRetentionLawVector;
74 :
BaseType(NewId, pGeometry, pProperties)
85 PropertiesType::Pointer pProperties)
const override;
87 Element::Pointer
Create(
IndexType NewId, GeometryType::Pointer pGeom, PropertiesType::Pointer pProperties)
const override;
90 int Check(
const ProcessInfo& rCurrentProcessInfo)
const override;
95 std::string
Info()
const override
97 std::stringstream buffer;
98 buffer <<
"steady-state Pw flow Element #" << this->Id()
99 <<
"\nRetention law: " << mRetentionLawVector[0]->Info();
106 rOStream <<
"steady-state Pw flow Element #" << this->Id()
107 <<
"\nRetention law: " << mRetentionLawVector[0]->Info();
116 void CalculateAll(
MatrixType& rLeftHandSideMatrix,
119 const bool CalculateStiffnessMatrixFlag,
120 const bool CalculateResidualVectorFlag)
override;
122 void CalculateAndAddLHS(
MatrixType& rLeftHandSideMatrix, ElementVariables& rVariables)
override;
124 void CalculateAndAddRHS(
VectorType& rRightHandSideVector, ElementVariables& rVariables,
unsigned int GPoint)
override;
137 void save(
Serializer& rSerializer)
const override
145 SteadyStatePwElement&
146 operator=(SteadyStatePwElement
const& rOther);
149 SteadyStatePwElement(SteadyStatePwElement
const& rOther);
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
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: steady_state_Pw_element.hpp:30
~SteadyStatePwElement() override
Destructor.
Definition: steady_state_Pw_element.hpp:79
typename BaseType::ElementVariables ElementVariables
Definition: steady_state_Pw_element.hpp:53
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: steady_state_Pw_element.hpp:104
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(SteadyStatePwElement)
SteadyStatePwElement(IndexType NewId, GeometryType::Pointer pGeometry)
Constructor using Geometry.
Definition: steady_state_Pw_element.hpp:67
std::string Info() const override
Definition: steady_state_Pw_element.hpp:95
SteadyStatePwElement(IndexType NewId=0)
Default Constructor.
Definition: steady_state_Pw_element.hpp:58
SteadyStatePwElement(IndexType NewId, const NodesArrayType &ThisNodes)
Constructor using an array of nodes.
Definition: steady_state_Pw_element.hpp:61
SteadyStatePwElement(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Constructor using Properties.
Definition: steady_state_Pw_element.hpp:73
Definition: transient_Pw_element.hpp:30
#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