Traction class represents distributed traction load that can be applied.
More...
#include <ikarus/finiteelements/mechanics/loads/traction.hh>
|
static constexpr int | myDim = Traits::mydim |
|
static constexpr int | worldDim = Traits::worlddim |
|
|
template<typename ScalarType > |
auto | calculateScalarImpl (const FERequirementType &par, const std::optional< const Eigen::VectorX< ScalarType > > &dx=std::nullopt) const -> ScalarType |
|
template<typename ScalarType > |
void | calculateVectorImpl (const FERequirementType &par, typename Traits::template VectorType< ScalarType > force, const std::optional< const Eigen::VectorX< ScalarType > > dx=std::nullopt) const |
|
template<typename ScalarType > |
void | calculateMatrixImpl (const FERequirementType &par, typename Traits::template MatrixType<> K, const std::optional< const Eigen::VectorX< ScalarType > > &dx=std::nullopt) const |
|
template<typename DisplacementBasedElement, typename Traits>
class Ikarus::Traction< DisplacementBasedElement, Traits >
- Template Parameters
-
DisplacementBasedElement | The type of the displacement-based finite element. |
Traits | Type of traits for handling finite elements. |
◆ FERequirementType
template<typename DisplacementBasedElement , typename Traits >
using Ikarus::Traction< DisplacementBasedElement, Traits >::FERequirementType = typename Traits::FERequirementType |
◆ GridView
template<typename DisplacementBasedElement , typename Traits >
using Ikarus::Traction< DisplacementBasedElement, Traits >::GridView = typename Traits::GridView |
◆ LocalView
template<typename DisplacementBasedElement , typename Traits >
using Ikarus::Traction< DisplacementBasedElement, Traits >::LocalView = typename Traits::LocalView |
◆ Traction()
template<typename DisplacementBasedElement , typename Traits >
template<typename NeumannBoundaryLoad >
Ikarus::Traction< DisplacementBasedElement, Traits >::Traction |
( |
const BoundaryPatch< GridView > * |
p_neumannBoundary, |
|
|
NeumannBoundaryLoad |
p_neumannBoundaryLoad |
|
) |
| |
|
inlineexplicit |
- Template Parameters
-
NeumannBoundaryLoad | The type for the Neumann boundary load function. |
- Parameters
-
p_neumannBoundary | Neumann boundary patch. |
p_neumannBoundaryLoad | Neumann boundary load function. |
◆ calculateMatrix()
template<typename DisplacementBasedElement , typename Traits >
- Template Parameters
-
ScalarType | The scalar type for the calculation. |
- Parameters
-
req | The FERequirementType object specifying the requirements for the calculation. |
K | The matrix to store the calculated result. |
◆ calculateMatrixImpl()
template<typename DisplacementBasedElement , typename Traits >
template<typename ScalarType >
void Ikarus::Traction< DisplacementBasedElement, Traits >::calculateMatrixImpl |
( |
const FERequirementType & |
par, |
|
|
typename Traits::template MatrixType<> |
K, |
|
|
const std::optional< const Eigen::VectorX< ScalarType > > & |
dx = std::nullopt |
|
) |
| const |
|
inlineprotected |
◆ calculateScalar()
template<typename DisplacementBasedElement , typename Traits >
Calculates the scalar value based on the given FERequirements.
- Parameters
-
- Returns
- The calculated scalar value.
◆ calculateScalarImpl()
template<typename DisplacementBasedElement , typename Traits >
template<typename ScalarType >
auto Ikarus::Traction< DisplacementBasedElement, Traits >::calculateScalarImpl |
( |
const FERequirementType & |
par, |
|
|
const std::optional< const Eigen::VectorX< ScalarType > > & |
dx = std::nullopt |
|
) |
| const -> ScalarType |
|
inlineprotected |
◆ calculateVector()
template<typename DisplacementBasedElement , typename Traits >
- Template Parameters
-
ScalarType | The scalar type for the calculation. |
- Parameters
-
req | The FERequirementType object specifying the requirements for the calculation. |
force | The vector to store the calculated result. |
◆ calculateVectorImpl()
template<typename DisplacementBasedElement , typename Traits >
template<typename ScalarType >
void Ikarus::Traction< DisplacementBasedElement, Traits >::calculateVectorImpl |
( |
const FERequirementType & |
par, |
|
|
typename Traits::template VectorType< ScalarType > |
force, |
|
|
const std::optional< const Eigen::VectorX< ScalarType > > |
dx = std::nullopt |
|
) |
| const |
|
inlineprotected |
Integration rule along the boundary
The value of the local function wrt the i-th coeff
Value of the Neumann data at the current position
◆ myDim
template<typename DisplacementBasedElement , typename Traits >
constexpr int Ikarus::Traction< DisplacementBasedElement, Traits >::myDim = Traits::mydim |
|
staticconstexpr |
◆ worldDim
template<typename DisplacementBasedElement , typename Traits >
constexpr int Ikarus::Traction< DisplacementBasedElement, Traits >::worldDim = Traits::worlddim |
|
staticconstexpr |
The documentation for this class was generated from the following file: