libMesh::Parallel::BuildStandardTypeVector< n_minus_i > Struct Template Reference

#include <standard_type.h>

Static Public Member Functions

template<typename... Types>
static void build (std::vector< std::unique_ptr< DataType >> &out_vec, const std::tuple< Types... > &example)
 

Detailed Description

template<std::size_t n_minus_i>
struct libMesh::Parallel::BuildStandardTypeVector< n_minus_i >

Definition at line 194 of file standard_type.h.

Member Function Documentation

◆ build()

template<std::size_t n_minus_i>
template<typename... Types>
void libMesh::Parallel::BuildStandardTypeVector< n_minus_i >::build ( std::vector< std::unique_ptr< DataType >> &  out_vec,
const std::tuple< Types... > &  example 
)
static

Definition at line 212 of file standard_type.h.

References libMesh::ReferenceElem::get().

214 {
215  typedef typename
216  std::tuple_element<sizeof...(Types)-n_minus_i, std::tuple<Types...>>::type
217  ith_type;
218 
219  out_vec.push_back
220  (libmesh_make_unique<
221  StandardType<ith_type>
222  >(&std::get<sizeof...(Types)-n_minus_i>(example)));
223 
225 }
static void build(std::vector< std::unique_ptr< DataType >> &out_vec, const std::tuple< Types... > &example)
const Elem & get(const ElemType type_in)

The documentation for this struct was generated from the following file: