Skip to content

Struct ae108::elements::Minimal

template <std::size_t Size_, std::size_t Dimension_, std::size_t DegreesOfFreedom_>

ClassList > ae108 > elements > Minimal

A minimal example of an element. Note that only the energy is defined.

  • #include <Minimal.h>

Inherits the following classes: ae108::elements::ElementBase

Public Types inherited from ae108::elements::ElementBase

See ae108::elements::ElementBase

Type Name
typedef real_type Energy
typedef NodalDisplacements Forces
The forces equal to $d_{ij} E$. Here, d_ij refers to the derivative with respect to jth degree of freedom of the ith node.
typedef tensor::Tensor< value_type, Size_, DegreesOfFreedom_ > NodalDisplacements
The displacements per node.
typedef Eigen::Matrix< value_type, Size_ *DegreesOfFreedom_, Size_ *DegreesOfFreedom_, Eigen::RowMajor > StiffnessMatrix
The stiffness matrix equal to $d_{ij} d_{kl} E$. Here, d_ij refers to the derivative with respect to jth degree of freedom of the ith node.
typedef real_type Time
typedef RealType_ real_type
typedef SizeType_ size_type
typedef ValueType_ value_type

Public Functions inherited from ae108::elements::ElementBase

See ae108::elements::ElementBase

Type Name
Energy computeEnergy (const NodalDisplacements & displacements, const Time & time) const
Computes the energy for the given displacements.
Forces computeForces (const NodalDisplacements & displacements, const Time & time) const
Computes the forces for the given displacements.
StiffnessMatrix computeStiffnessMatrix (const NodalDisplacements & displacements, const Time & time) const
Computes the stiffness matrix for the given displacements.

Public Static Functions inherited from ae108::elements::ElementBase

See ae108::elements::ElementBase

Type Name
constexpr size_type degrees_of_freedom () noexcept
Number of degrees of freedom.
constexpr size_type dimension () noexcept
The dimension of physical space.
constexpr size_type size () noexcept
Number of element nodes / shape functions.

The documentation for this class was generated from the following file elements/src/include/ae108/elements/Minimal.h