13 #if !defined(KRATOS_GEO_U_PW_UPDATED_LAGRANGIAN_ELEMENT_H_INCLUDED)
14 #define KRATOS_GEO_U_PW_UPDATED_LAGRANGIAN_ELEMENT_H_INCLUDED
22 #include "custom_elements/U_Pw_small_strain_element.hpp"
23 #include "custom_utilities/element_utilities.hpp"
53 template <
unsigned int TDim,
unsigned int TNumNodes>
114 int Check(
const ProcessInfo& rCurrentProcessInfo)
const override;
123 Element::Pointer
Create(
IndexType NewId, GeometryType::Pointer pGeom, PropertiesType::Pointer pProperties)
const override;
134 PropertiesType::Pointer pProperties)
const override;
143 std::vector<double>& rOutput,
153 std::vector<Matrix>& rOutput,
168 std::string
Info()
const override
170 std::stringstream buffer;
171 buffer <<
"Updated Lagrangian U-Pw Element #" << this->Id()
172 <<
"\nConstitutive law: " << mConstitutiveLawVector[0]->Info();
179 rOStream <<
"Updated Lagrangian U-Pw Element #" << this->Id()
180 <<
"\nConstitutive law: " << mConstitutiveLawVector[0]->Info();
186 this->pGetGeometry()->PrintData(rOStream);
214 void CalculateAll(
MatrixType& rLeftHandSideMatrix,
217 const bool CalculateStiffnessMatrixFlag,
218 const bool CalculateResidualVectorFlag)
override;
265 void save(
Serializer& rSerializer)
const override
std::size_t SizeType
Definition: element.h:94
std::size_t IndexType
Definition: flags.h:74
IntegrationMethod
Definition: geometry_data.h:76
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_base_element.hpp:36
Definition: U_Pw_small_strain_element.hpp:30
Updated Lagrangian element for 2D and 3D geometries.
Definition: U_Pw_updated_lagrangian_element.hpp:56
typename UPwSmallStrainElement< TDim, TNumNodes >::ElementVariables ElementVariables
Definition: U_Pw_updated_lagrangian_element.hpp:80
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: U_Pw_updated_lagrangian_element.hpp:177
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: U_Pw_updated_lagrangian_element.hpp:184
UPwUpdatedLagrangianElement(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties)
Constructor using Properties.
Definition: U_Pw_updated_lagrangian_element.hpp:106
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(UPwUpdatedLagrangianElement)
Counted pointer of UPwUpdatedLagrangianElement.
UPwUpdatedLagrangianElement(IndexType NewId, GeometryType::Pointer pGeometry)
Constructor using Geometry.
Definition: U_Pw_updated_lagrangian_element.hpp:100
UPwUpdatedLagrangianElement(IndexType NewId, const NodesArrayType &ThisNodes)
Constructor using an array of nodes.
Definition: U_Pw_updated_lagrangian_element.hpp:94
~UPwUpdatedLagrangianElement() override
Destructor.
Definition: U_Pw_updated_lagrangian_element.hpp:112
std::string Info() const override
Turn back information as a string.
Definition: U_Pw_updated_lagrangian_element.hpp:168
UPwUpdatedLagrangianElement(IndexType NewId=0)
Default Constructor.
Definition: U_Pw_updated_lagrangian_element.hpp:89
#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
pybind11::list CalculateOnIntegrationPoints(TObject &dummy, const Variable< TDataType > &rVariable, const ProcessInfo &rProcessInfo)
Definition: add_mesh_to_python.cpp:142
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
BaseClass
Definition: altair_cube_mesher.py:3
def load(f)
Definition: ode_solve.py:307
Definition: U_Pw_small_strain_element.hpp:128