21 #include "custom_elements/base_solid_element.h"
109 GeometryType::Pointer pGeom,
110 PropertiesType::Pointer pProperties
123 PropertiesType::Pointer pProperties
133 Element::Pointer Clone (
150 std::string
Info()
const override
152 std::stringstream buffer;
153 buffer <<
"Small Displacement Solid Element #" << Id() <<
"\nConstitutive law: " << BaseType::mConstitutiveLawVector[0]->Info();
160 rOStream <<
"Small Displacement Solid Element #" << Id() <<
"\nConstitutive law: " << BaseType::mConstitutiveLawVector[0]->Info();
166 pGetGeometry()->PrintData(rOStream);
192 bool UseElementProvidedStrain()
const override;
206 const bool CalculateStiffnessMatrixFlag,
207 const bool CalculateResidualVectorFlag
215 void CalculateKinematicVariables(
216 KinematicVariables& rThisKinematicVariables,
229 void SetConstitutiveVariables(
230 KinematicVariables& rThisKinematicVariables,
231 ConstitutiveVariables& rThisConstitutiveVariables,
258 const Vector& StrainVector
305 void save(
Serializer& rSerializer)
const override;
This is base class used to define the solid elements.
Definition: base_solid_element.h:67
Definition: constitutive_law.h:47
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
IntegrationMethod
Definition: geometry_data.h:76
std::vector< IntegrationPointType > IntegrationPointsArrayType
Definition: geometry.h:161
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
Small displacement element for 2D and 3D geometries.
Definition: small_displacement.h:54
SmallDisplacement()
Definition: small_displacement.h:185
std::size_t SizeType
The definition of the sizetype.
Definition: small_displacement.h:72
ConstitutiveLaw ConstitutiveLawType
Definition: small_displacement.h:59
void PrintInfo(std::ostream &rOStream) const override
Print information about this object.
Definition: small_displacement.h:158
BaseSolidElement BaseType
The base element type.
Definition: small_displacement.h:66
ConstitutiveLawType::Pointer ConstitutiveLawPointerType
Pointer type for constitutive laws.
Definition: small_displacement.h:61
std::size_t IndexType
The definition of the index type.
Definition: small_displacement.h:69
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(SmallDisplacement)
Counted pointer of SmallDisplacement.
std::string Info() const override
Turn back information as a string.
Definition: small_displacement.h:150
SmallDisplacement(SmallDisplacement const &rOther)
Definition: small_displacement.h:86
void PrintData(std::ostream &rOStream) const override
Print object's data.
Definition: small_displacement.h:164
GeometryData::IntegrationMethod IntegrationMethod
Type definition for integration methods.
Definition: small_displacement.h:63
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
void ComputeEquivalentF(const Element &rElement, const TVectorType &rStrainTensor, TMatrixType &rF)
This method computes the deformation gradient F (for small deformation solid elements)
Definition: structural_mechanics_element_utilities.h:69
void CalculateB(const GeometricalObject &rElement, const TMatrixType1 &rDN_DX, TMatrixType2 &rB)
This method computes the deformation tensor B (for small deformation solid elements)
Definition: structural_mechanics_element_utilities.h:105
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
ModelPart::NodesContainerType NodesArrayType
Definition: gid_gauss_point_container.h:42
def load(f)
Definition: ode_solve.py:307
Definition: constitutive_law.h:189