KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
large_displacement_V_element.hpp
Go to the documentation of this file.
1 //
2 // Project Name: KratosSolidMechanicsApplication $
3 // Created by: $Author: JMCarbonell $
4 // Last modified by: $Co-Author: $
5 // Date: $Date: April 2018 $
6 // Revision: $Revision: 0.0 $
7 //
8 //
9 
10 #if !defined(KRATOS_LARGE_DISPLACEMENT_V_ELEMENT_H_INCLUDED)
11 #define KRATOS_LARGE_DISPLACEMENT_V_ELEMENT_H_INCLUDED
12 
13 // System includes
14 
15 // External includes
16 
17 // Project includes
19 
20 
21 namespace Kratos
22 {
37 
39 
45 class KRATOS_API(SOLID_MECHANICS_APPLICATION) LargeDisplacementVElement
47 {
48 public:
49 
55  typedef ConstitutiveLawType::Pointer ConstitutiveLawPointerType;
64 
68 
71 
74 
76  LargeDisplacementVElement(IndexType NewId, GeometryType::Pointer pGeometry);
77 
78  LargeDisplacementVElement(IndexType NewId, GeometryType::Pointer pGeometry, PropertiesType::Pointer pProperties);
79 
82 
83 
85  ~LargeDisplacementVElement() override;
86 
90 
93 
97 
108  Element::Pointer Create(IndexType NewId, NodesArrayType const& ThisNodes, PropertiesType::Pointer pProperties) const override;
109 
117  Element::Pointer Clone(IndexType NewId, NodesArrayType const& ThisNodes) const override;
118 
119  //************* GETTING METHODS
120 
124  void GetDofList(DofsVectorType& rElementalDofList, const ProcessInfo& rCurrentProcessInfo) const override;
125 
129  void EquationIdVector(EquationIdVectorType& rResult, const ProcessInfo& rCurrentProcessInfo) const override;
130 
131 
132 
133  //************************************************************************************
134  //************************************************************************************
142  int Check(const ProcessInfo& rCurrentProcessInfo) const override;
143 
147 
158 
159 protected:
171 
172 
177  void CalculateAndAddLHS(LocalSystemComponents& rLocalSystem,
178  ElementDataType& rVariables,
179  double& rIntegrationWeight) override;
180 
184  SizeType GetDofsSize() const override;
185 
189  void SetElementData(ElementDataType& rVariables,
191  const int & rPointNumber) override;
192 
193 
204 
205 private:
206 
225  friend class Serializer;
226 
227  // A private default constructor necessary for serialization
228 
229  void save(Serializer& rSerializer) const override;
230 
231  void load(Serializer& rSerializer) override;
232 
233 
240 
241 }; // Class LargeDisplacementVElement
242 
250 
251 } // namespace Kratos.
252 #endif // KRATOS_LARGE_DISPLACEMENT_V_ELEMENT_H_INCLUDED defined
PeriodicInterfaceProcess & operator=(const PeriodicInterfaceProcess &)=delete
Definition: constitutive_law.h:47
StressMeasure
Definition: constitutive_law.h:69
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
IntegrationMethod
Definition: geometry_data.h:76
std::size_t SizeType
Definition: geometry_data.h:173
Large Displacement Lagrangian Element for 3D and 2D geometries. (base class)
Definition: large_displacement_element.hpp:46
Large Displacement Lagrangian V Element for 3D and 2D geometries.
Definition: large_displacement_V_element.hpp:47
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(LargeDisplacementVElement)
Counted pointer of LargeDisplacementVElement.
LargeDisplacementElement::ElementDataType ElementDataType
Type for element variables.
Definition: large_displacement_V_element.hpp:63
ConstitutiveLawType::StressMeasure StressMeasureType
StressMeasure from constitutive laws.
Definition: large_displacement_V_element.hpp:57
GeometryData::SizeType SizeType
Type for size.
Definition: large_displacement_V_element.hpp:61
ConstitutiveLaw ConstitutiveLawType
Definition: large_displacement_V_element.hpp:53
GeometryData::IntegrationMethod IntegrationMethod
Type definition for integration methods.
Definition: large_displacement_V_element.hpp:59
ConstitutiveLawType::Pointer ConstitutiveLawPointerType
Pointer type for constitutive laws.
Definition: large_displacement_V_element.hpp:55
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
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
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
def load(f)
Definition: ode_solve.py:307
Definition: constitutive_law.h:189
Definition: solid_element.hpp:83
Definition: solid_element.hpp:233