14 #if !defined(KRATOS_GEO_TRUSS_ELEMENT_LINEAR_BASE_H_INCLUDED)
15 #define KRATOS_GEO_TRUSS_ELEMENT_LINEAR_BASE_H_INCLUDED
36 template <
unsigned int TDim,
unsigned int TNumNodes>
69 Element::Pointer
Create(
IndexType NewId, GeometryType::Pointer pGeom, PropertiesType::Pointer pProperties)
const override;
80 PropertiesType::Pointer pProperties)
const override;
82 void CalculateRightHandSide(
VectorType& rRightHandSideVector,
const ProcessInfo& rCurrentProcessInfo)
override;
84 void CalculateLeftHandSide(
MatrixType& rLeftHandSideMatrix,
const ProcessInfo& rCurrentProcessInfo)
override;
90 void AddPrestressLinear(
VectorType& rRightHandSideVector);
97 std::vector<Vector>& rOutput,
103 void CreateElementStiffnessMatrix(
MatrixType& rLocalStiffnessMatrix,
115 double CalculateLinearStrain();
124 void FinalizeSolutionStep(
const ProcessInfo& rCurrentProcessInfo)
override;
129 void save(
Serializer& rSerializer)
const override
Vector VectorType
Definition: element.h:88
std::size_t SizeType
Definition: element.h:94
Properties PropertiesType
Definition: element.h:80
Geometry< NodeType >::PointsArrayType NodesArrayType
definition of nodes container type, redefined from GeometryType
Definition: element.h:86
Matrix MatrixType
Definition: element.h:90
Geometry< NodeType > GeometryType
definition of the geometry type with given NodeType
Definition: element.h:83
std::size_t IndexType
Definition: element.h:92
std::size_t IndexType
Definition: flags.h:74
This is a 2D-2node truss element with 2 translational dofs per node.
Definition: geo_truss_element_base.hpp:37
This is a linear truss element inheriting from GeoTrussElementBase.
Definition: geo_linear_truss_element_base.hpp:39
GeoTrussElementLinearBase()
Definition: geo_linear_truss_element_base.hpp:56
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(GeoTrussElementLinearBase)
typename GeoTrussElementBase< TDim, TNumNodes >::FullDofMatrixType FullDofMatrixType
Definition: geo_linear_truss_element_base.hpp:51
typename GeoTrussElementBase< TDim, TNumNodes >::FullDofVectorType FullDofVectorType
Definition: geo_linear_truss_element_base.hpp:52
void WriteTransformationCoordinates(FullDofVectorType &rReferenceCoordinates) override
This function calculates the original nodal postion for the transformation matrix.
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 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
Variable class contains all information needed to store and retrive data from a data container.
Definition: variable.h:63
#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
ModelPart::NodesContainerType NodesArrayType
Definition: gid_gauss_point_container.h:42
def load(f)
Definition: ode_solve.py:307