DampingMatrixExpressionGroup< FP, E > Class Template Reference

CPP API: mio::DampingMatrixExpressionGroup< FP, E > Class Template Reference
mio::DampingMatrixExpressionGroup< FP, E > Class Template Reference

represents a collection of DampingMatrixExpressions that are summed up. More...

#include <contact_matrix.h>

Public Types

using const_iterator = typename std::vector< value_type >::const_iterator
 
using const_reference = const value_type &
 
using DampingsType = typename value_type::DampingsType
 
using iterator = typename std::vector< value_type >::iterator
 
using Matrix = typename value_type::Matrix
 
using reference = value_type &
 
using Shape = typename value_type::Shape
 
using value_type = E
 

Public Member Functions

T class Derived static IOResult< Derived > deserialize (IOContext &io, Tag< Derived >)
 
template<class... T>
 requires (std::is_constructible_v< Shape, T... >) explicit DampingMatrixExpressionGroup(size_t num_matrices
 create a collection. More...
 

Static Public Member Functions

template<class IOContext >
static IOResult< DampingMatrixExpressionGroupdeserialize (IOContext &io)
 deserialize an object of this class. More...
 

Public Attributes

shape_args: m_matrices(num_matrices
 
value_type
 

Private Attributes

std::vector< value_typem_matrices
 

Detailed Description

template<typename FP, class E>
class mio::DampingMatrixExpressionGroup< FP, E >

represents a collection of DampingMatrixExpressions that are summed up.

Parameters
FPfloating point, e.g. double
Template Parameters
Esome instance of DampingMatrixExpression or compatible type.

Member Typedef Documentation

◆ const_iterator

template<typename FP , class E >
using mio::DampingMatrixExpressionGroup< FP, E >::const_iterator = typename std::vector<value_type>::const_iterator

◆ const_reference

template<typename FP , class E >
using mio::DampingMatrixExpressionGroup< FP, E >::const_reference = const value_type&

◆ DampingsType

template<typename FP , class E >
using mio::DampingMatrixExpressionGroup< FP, E >::DampingsType = typename value_type::DampingsType

◆ iterator

template<typename FP , class E >
using mio::DampingMatrixExpressionGroup< FP, E >::iterator = typename std::vector<value_type>::iterator

◆ Matrix

template<typename FP , class E >
using mio::DampingMatrixExpressionGroup< FP, E >::Matrix = typename value_type::Matrix

◆ reference

template<typename FP , class E >
using mio::DampingMatrixExpressionGroup< FP, E >::reference = value_type&

◆ Shape

template<typename FP , class E >
using mio::DampingMatrixExpressionGroup< FP, E >::Shape = typename value_type::Shape

◆ value_type

template<typename FP , class E >
using mio::DampingMatrixExpressionGroup< FP, E >::value_type = E

Member Function Documentation

◆ deserialize() [1/2]

template<typename FP , class E >
template<class IOContext >
static IOResult<DampingMatrixExpressionGroup> mio::DampingMatrixExpressionGroup< FP, E >::deserialize ( IOContext &  io)
inlinestatic

deserialize an object of this class.

See also
mio::deserialize

◆ deserialize() [2/2]

template<typename FP , class E >
T class Derived static IOResult<Derived> mio::DampingMatrixExpressionGroup< FP, E >::deserialize ( IOContext &  io,
Tag< Derived >   
)
inline

◆ requires()

template<typename FP , class E >
template<class... T>
mio::DampingMatrixExpressionGroup< FP, E >::requires ( std::is_constructible_v< Shape, T... >  )

create a collection.

Parameters
num_groupsnumber of groups.
num_matricesnumber of matrices.

Member Data Documentation

◆ m_matrices

template<typename FP , class E >
std::vector<value_type> mio::DampingMatrixExpressionGroup< FP, E >::m_matrices
private

◆ shape_args

template<typename FP , class E >
T mio::DampingMatrixExpressionGroup< FP, E >::shape_args

◆ value_type

template<typename FP , class E >
T mio::DampingMatrixExpressionGroup< FP, E >::value_type