37 static constexpr
int msNumberOfNodes = 2;
38 static constexpr
int msDimension = 3;
39 static constexpr
unsigned int msLocalSize = msNumberOfNodes * msDimension;
40 ConstitutiveLaw::Pointer mpConstitutiveLaw =
nullptr;
60 GeometryType::Pointer pGeometry);
62 GeometryType::Pointer pGeometry,
63 PropertiesType::Pointer pProperties);
77 GeometryType::Pointer pGeom,
78 PropertiesType::Pointer pProperties
91 PropertiesType::Pointer pProperties
94 void EquationIdVector(
95 EquationIdVectorType& rResult,
96 const ProcessInfo& rCurrentProcessInfo)
const override;
99 DofsVectorType& rElementalDofList,
100 const ProcessInfo& rCurrentProcessInfo)
const override;
102 void Initialize(
const ProcessInfo& rCurrentProcessInfo)
override;
108 CreateElementStiffnessMatrix(
const ProcessInfo& rCurrentProcessInfo);
116 std::vector<double>& rOutput,
126 std::vector<Vector>& rOutput,
142 void CalculateLocalSystem(
148 void CalculateRightHandSide(
152 void CalculateLeftHandSide(
156 void CalculateMassMatrix(
160 void CalculateConsistentMassMatrix(
164 void CalculateDampingMatrix(
178 void AddExplicitContribution(
201 void GetValuesVector(
203 int Step = 0)
const override;
205 void GetSecondDerivativesVector(
207 int Step = 0)
const override;
209 void GetFirstDerivativesVector(
211 int Step = 0)
const override;
214 const ProcessInfo& rCurrentProcessInfo)
const override;
219 double CalculateGreenLagrangeStrain()
const;
246 virtual void WriteTransformationCoordinates(
249 double ReturnTangentModulus1D(
const ProcessInfo& rCurrentProcessInfo);
251 void FinalizeSolutionStep(
const ProcessInfo& rCurrentProcessInfo)
override;
256 bool HasSelfWeight()
const;
258 const Parameters GetSpecifications()
const override;
265 void CalculateLumpedMassVector(
267 const ProcessInfo& rCurrentProcessInfo)
const override;
270 void save(
Serializer& rSerializer)
const override;
Base class for all Elements.
Definition: element.h:60
std::size_t IndexType
Defines the index type.
Definition: geometrical_object.h:73
Geometry base class.
Definition: geometry.h:71
Definition: amatrix_interface.h:41
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
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
This is a 3D-2node truss element with 3 translational dofs per node.
Definition: truss_element_3D2N.hpp:34
BaseType::EquationIdVectorType EquationIdVectorType
Definition: truss_element_3D2N.hpp:54
BaseType::IndexType IndexType
Definition: truss_element_3D2N.hpp:50
BaseType::GeometryType GeometryType
Definition: truss_element_3D2N.hpp:47
BaseType::MatrixType MatrixType
Definition: truss_element_3D2N.hpp:52
BaseType::PropertiesType PropertiesType
Definition: truss_element_3D2N.hpp:49
BaseType::DofsVectorType DofsVectorType
Definition: truss_element_3D2N.hpp:55
void AddExplicitContribution(const VectorType &rRHSVector, const Variable< VectorType > &rRHSVariable, const Variable< array_1d< double, 3 > > &rDestinationVariable, const ProcessInfo &rCurrentProcessInfo) override
This function is designed to make the element to assemble an rRHS vector identified by a variable rRH...
BaseType::NodesArrayType NodesArrayType
Definition: truss_element_3D2N.hpp:48
void CalculateOnIntegrationPoints(const Variable< array_1d< double, 3 > > &rVariable, std::vector< array_1d< double, 3 > > &rOutput, const ProcessInfo &rCurrentProcessInfo) override
BaseType::VectorType VectorType
Definition: truss_element_3D2N.hpp:53
Element BaseType
Definition: truss_element_3D2N.hpp:46
BaseType::SizeType SizeType
Definition: truss_element_3D2N.hpp:51
TrussElement3D2N()
Definition: truss_element_3D2N.hpp:58
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(TrussElement3D2N)
Variable class contains all information needed to store and retrive data from a data container.
Definition: variable.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
std::size_t SizeType
Definition: nurbs_utilities.h:41
pybind11::list CalculateOnIntegrationPoints(TObject &dummy, const Variable< TDataType > &rVariable, const ProcessInfo &rProcessInfo)
Definition: add_mesh_to_python.cpp:142
TDataType Calculate(GeometryType &dummy, const Variable< TDataType > &rVariable)
Definition: add_geometries_to_python.cpp:103
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
Properties PropertiesType
Definition: regenerate_pfem_pressure_conditions_process.h:26
ModelPart::NodesContainerType NodesArrayType
Definition: gid_gauss_point_container.h:42
def load(f)
Definition: ode_solve.py:307