26 template <
typename TPrimalElement>
60 typename GeometryType::Pointer pGeometry,
61 typename PropertiesType::Pointer pProperties)
62 :
BaseType(NewId, pGeometry, pProperties)
68 typename PropertiesType::Pointer pProperties)
const override
70 return Kratos::make_intrusive<AdjointFiniteDifferenceTrussElement<TPrimalElement>>(
75 typename GeometryType::Pointer pGeometry,
76 typename PropertiesType::Pointer pProperties)
const override
78 return Kratos::make_intrusive<AdjointFiniteDifferenceTrussElement<TPrimalElement>>(
79 NewId, pGeometry, pProperties);
93 void CheckDofs()
const;
95 void CheckProperties(
const ProcessInfo& rCurrentProcessInfo)
const;
100 void CalculateCurrentLengthDisplacementDerivative(
Vector& rDerivativeVector);
106 void GetDerivativePreFactor(
double& rDerivativePreFactor,
const ProcessInfo& rCurrentProcessInfo);
111 double CalculateDerivativePreFactorFX(
const ProcessInfo& rCurrentProcessInfo);
116 double CalculateDerivativePreFactorPK2(
const ProcessInfo& rCurrentProcessInfo);
119 void save(
Serializer& rSerializer)
const override;
AdjointFiniteDifferencingBaseElement.
Definition: adjoint_finite_difference_truss_element_3D2N.h:29
Element::Pointer Create(IndexType NewId, NodesArrayType const &ThisNodes, typename PropertiesType::Pointer pProperties) const override
It creates a new element pointer.
Definition: adjoint_finite_difference_truss_element_3D2N.h:66
BaseType::VectorType VectorType
Definition: adjoint_finite_difference_truss_element_3D2N.h:39
AdjointFiniteDifferenceTrussElement(IndexType NewId=0)
Definition: adjoint_finite_difference_truss_element_3D2N.h:49
BaseType::GeometryDataType GeometryDataType
Definition: adjoint_finite_difference_truss_element_3D2N.h:45
KRATOS_CLASS_INTRUSIVE_POINTER_DEFINITION(AdjointFiniteDifferenceTrussElement)
AdjointFiniteDifferenceTrussElement(IndexType NewId, typename GeometryType::Pointer pGeometry, typename PropertiesType::Pointer pProperties)
Definition: adjoint_finite_difference_truss_element_3D2N.h:59
void CalculateStressDisplacementDerivative(const Variable< Vector > &rStressVariable, Matrix &rOutput, const ProcessInfo &rCurrentProcessInfo) override
Definition: adjoint_finite_difference_truss_element_3D2N.cpp:28
BaseType::DofsVectorType DofsVectorType
Definition: adjoint_finite_difference_truss_element_3D2N.h:42
BaseType::IndexType IndexType
Definition: adjoint_finite_difference_truss_element_3D2N.h:35
Element::Pointer Create(IndexType NewId, typename GeometryType::Pointer pGeometry, typename PropertiesType::Pointer pProperties) const override
It creates a new element pointer.
Definition: adjoint_finite_difference_truss_element_3D2N.h:74
BaseType::IntegrationMethod IntegrationMethod
Definition: adjoint_finite_difference_truss_element_3D2N.h:44
BaseType::EquationIdVectorType EquationIdVectorType
Definition: adjoint_finite_difference_truss_element_3D2N.h:41
BaseType::SizeType SizeType
Definition: adjoint_finite_difference_truss_element_3D2N.h:34
BaseType::PropertiesType PropertiesType
Definition: adjoint_finite_difference_truss_element_3D2N.h:37
AdjointFiniteDifferenceTrussElement(IndexType NewId, typename GeometryType::Pointer pGeometry)
Definition: adjoint_finite_difference_truss_element_3D2N.h:54
AdjointFiniteDifferencingBaseElement< TPrimalElement > BaseType
Definition: adjoint_finite_difference_truss_element_3D2N.h:33
BaseType::DofsArrayType DofsArrayType
Definition: adjoint_finite_difference_truss_element_3D2N.h:43
BaseType::NodesArrayType NodesArrayType
Definition: adjoint_finite_difference_truss_element_3D2N.h:38
BaseType::MatrixType MatrixType
Definition: adjoint_finite_difference_truss_element_3D2N.h:40
BaseType::GeometryType GeometryType
Definition: adjoint_finite_difference_truss_element_3D2N.h:36
int Check(const ProcessInfo &rCurrentProcessInfo) const override
Definition: adjoint_finite_difference_truss_element_3D2N.cpp:61
AdjointFiniteDifferencingBaseElement.
Definition: adjoint_finite_difference_base_element.h:54
GeometryData::IntegrationMethod IntegrationMethod
Type definition for integration methods.
Definition: element.h:105
Vector VectorType
Definition: element.h:88
PointerVectorSet< DofType > DofsArrayType
Definition: element.h:102
std::size_t SizeType
Definition: element.h:94
Properties PropertiesType
Definition: element.h:80
std::vector< DofType::Pointer > DofsVectorType
Definition: element.h:100
Geometry< NodeType >::PointsArrayType NodesArrayType
definition of nodes container type, redefined from GeometryType
Definition: element.h:86
GeometryData GeometryDataType
Definition: element.h:107
Matrix MatrixType
Definition: element.h:90
std::vector< std::size_t > EquationIdVectorType
Definition: element.h:98
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
GeometryType & GetGeometry()
Returns the reference of the geometry.
Definition: geometrical_object.h:158
std::size_t IndexType
Defines the index type.
Definition: geometrical_object.h:73
Geometry base class.
Definition: geometry.h:71
virtual Pointer Create(PointsArrayType const &rThisPoints) const
Creates a new geometry pointer.
Definition: geometry.h:813
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
Variable class contains all information needed to store and retrive data from a data container.
Definition: variable.h:63
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307