Volume class represents distributed volume load that can be applied.
More...
#include <ikarus/finiteelements/mechanics/loads/volume.hh>
|
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::Volume< 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::Volume< DisplacementBasedElement, Traits >::FERequirementType = typename Traits::FERequirementType |
◆ LocalView
template<typename DisplacementBasedElement , typename Traits >
using Ikarus::Volume< DisplacementBasedElement, Traits >::LocalView = typename Traits::LocalView |
◆ Volume()
template<typename DisplacementBasedElement , typename Traits >
template<typename VolumeLoad >
Ikarus::Volume< DisplacementBasedElement, Traits >::Volume |
( |
VolumeLoad |
p_volumeLoad = {} | ) |
|
|
inlineexplicit |
- Template Parameters
-
VolumeLoad | The type for the volume load function. |
- Parameters
-
p_volumeLoad | Volume 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::Volume< 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::Volume< 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 >
void Ikarus::Volume< DisplacementBasedElement, Traits >::calculateVector |
( |
const FERequirementType & |
req, |
|
|
typename Traits::template VectorType<> |
force |
|
) |
| const |
|
inline |
- 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::Volume< DisplacementBasedElement, Traits >::calculateVectorImpl |
( |
const FERequirementType & |
par, |
|
|
typename Traits::template VectorType< ScalarType > |
force, |
|
|
const std::optional< const Eigen::VectorX< ScalarType > > & |
dx = std::nullopt |
|
) |
| const |
|
inlineprotected |
◆ worldDim
template<typename DisplacementBasedElement , typename Traits >
constexpr int Ikarus::Volume< DisplacementBasedElement, Traits >::worldDim = Traits::worlddim |
|
staticconstexpr |
The documentation for this class was generated from the following file: