Plugins
ug::Util::Functionality Struct Reference

Static Public Member Functions

template<typename TAlgebra , typename TRegistry = ug::bridge::Registry>
static void Algebra (TRegistry &reg, string grp)
 
static void Common (Registry &reg, string grp)
 
template<int dim, typename TRegistry = ug::bridge::Registry>
static void Dimension (TRegistry &reg, string grp)
 
template<typename TDomain , typename TRegistry = ug::bridge::Registry>
static void Domain (TRegistry &reg, string grp)
 
template<typename TDomain , typename TAlgebra , typename TRegistry = ug::bridge::Registry>
static void DomainAlgebra (TRegistry &reg, string grp)
 

Detailed Description

Class exporting the functionality of the plugin. All functionality that is to be used in scripts or visualization must be registered here.

Member Function Documentation

◆ Algebra()

template<typename TAlgebra , typename TRegistry = ug::bridge::Registry>
static void ug::Util::Functionality::Algebra ( TRegistry &  reg,
string  grp 
)
inlinestatic

Function called for the registration of Algebra dependent parts of the plugin. All Functions and Classes depending on Algebra are to be placed here when registering. The method is called for all available Algebra types, based on the current build options.

Parameters
regregistry
parentGroupgroup for sorting of functionality

◆ Common()

static void ug::Util::Functionality::Common ( Registry reg,
string  grp 
)
inlinestatic

Function called for the registration of Domain and Algebra independent parts of the plugin. All Functions and Classes not depending on Domain and Algebra are to be placed here when registering.

Parameters
regregistry
parentGroupgroup for sorting of functionality

References ug::bridge::Registry::add_function(), ug::Util::PluginCrashes(), ug::Util::PluginCrashesFatal(), and ug::Util::PluginSaysHello().

◆ Dimension()

template<int dim, typename TRegistry = ug::bridge::Registry>
static void ug::Util::Functionality::Dimension ( TRegistry &  reg,
string  grp 
)
inlinestatic

Function called for the registration of Dimension dependent parts of the plugin. All Functions and Classes depending on the Dimension are to be placed here when registering. The method is called for all available Dimension types, based on the current build options.

Parameters
regregistry
parentGroupgroup for sorting of functionality

◆ Domain()

template<typename TDomain , typename TRegistry = ug::bridge::Registry>
static void ug::Util::Functionality::Domain ( TRegistry &  reg,
string  grp 
)
inlinestatic

Function called for the registration of Domain dependent parts of the plugin. All Functions and Classes depending on the Domain are to be placed here when registering. The method is called for all available Domain types, based on the current build options.

Parameters
regregistry
parentGroupgroup for sorting of functionality

◆ DomainAlgebra()

template<typename TDomain , typename TAlgebra , typename TRegistry = ug::bridge::Registry>
static void ug::Util::Functionality::DomainAlgebra ( TRegistry &  reg,
string  grp 
)
inlinestatic

Function called for the registration of Domain and Algebra dependent parts of the plugin. All Functions and Classes depending on both Domain and Algebra are to be placed here when registering. The method is called for all available Domain and Algebra types, based on the current build options.

Parameters
regregistry
parentGroupgroup for sorting of functionality

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