Class t8_scheme_builder

Class Documentation

class t8_scheme_builder

The scheme builder adds eclass schemes to a scheme container and returns it. TODO: Make return value a reference.

Public Types

using scheme_var = t8_scheme::scheme_var

Datatype for scheme variable, storing a variant of all scheme types.

Public Functions

inline t8_scheme_builder()
inline ~t8_scheme_builder()
template<typename TEclassScheme, typename ..._Args>
inline size_t add_eclass_scheme(_Args&&... args)

Add a new element class scheme to the scheme.

Template Parameters:
  • TEclassScheme – The type of the element class scheme.

  • Args – The types of the arguments to pass to the constructor of the element class scheme.

Parameters:

args[in] The arguments to pass to the constructor of the element class scheme.

Returns:

The position of the added element class scheme in the scheme.

inline const t8_scheme *build_scheme() const

Build the scheme.

Returns:

The built scheme.