SOFA API  27396a7a
Open source framework for multi-physics simuation
sofa::topology::Element< GeometryElement > Struct Template Reference

#include <Element.h>

Inheritance diagram for sofa::topology::Element< GeometryElement >:

Static Public Attributes

static constexpr auto NumberOfNodes = GeometryElement::NumberOfNodes
 
static constexpr sofa::geometry::ElementType Element_type = GeometryElement::Element_type
 

Public Member Functions

constexpr Element () noexcept
 
template<typename... ArgsT, typename = std::enable_if_t < (std::is_convertible_v<ArgsT, sofa::Index> && ...)>>
constexpr Element (ArgsT &&... args) noexcept
 
- Public Member Functions inherited from sofa::type::fixed_array< sofa::Index, GeometryElement::NumberOfNodes >
constexpr fixed_array ()
 
constexpr fixed_array (value_type r1) noexcept requires(N
 Specific constructor for 1-element vectors. More...
 
void swap (fixed_array< sofa::Index, N > &y)
 
constexpr const sofa::Index * data () const noexcept
 
constexpr const Arrayarray () const noexcept
 direct access to array More...
 
constexpr Arrayarray () noexcept
 direct access to array More...
 
constexpr fixed_array< sofa::Index, N > & operator= (const fixed_array< T2, N > &rhs) noexcept
 
constexpr void assign (const sofa::Index &value) noexcept
 

Additional Inherited Members

- Public Attributes inherited from sofa::type::fixed_array< sofa::Index, GeometryElement::NumberOfNodes >
sofa::Index elems [N]
 

Attribute details

◆ Element_type

template<typename GeometryElement >
constexpr sofa::geometry::ElementType sofa::topology::Element< GeometryElement >::Element_type = GeometryElement::Element_type
staticconstexpr

◆ NumberOfNodes

template<typename GeometryElement >
constexpr auto sofa::topology::Element< GeometryElement >::NumberOfNodes = GeometryElement::NumberOfNodes
staticconstexpr

Constructor details

◆ Element() [1/2]

template<typename GeometryElement >
constexpr sofa::topology::Element< GeometryElement >::Element ( )
inlineconstexprnoexcept

◆ Element() [2/2]

template<typename GeometryElement >
template<typename... ArgsT, typename = std::enable_if_t < (std::is_convertible_v<ArgsT, sofa::Index> && ...)>>
constexpr sofa::topology::Element< GeometryElement >::Element ( ArgsT &&...  args)
inlineconstexprnoexcept