ExaDG
Loading...
Searching...
No Matches
ExaDG::Utilities Namespace Reference

Classes

class  SpatialAwareFunction
 

Functions

template<int dim, int spacedim, typename Number, template< typename > typename VectorType, typename FunctionNumber>
void interpolate (dealii::DoFHandler< dim, spacedim > const &dof_handler, dealii::Function< spacedim, FunctionNumber > const &function, VectorType< Number > &vec)
 
template<int dim, int spacedim, typename VectorType, typename FunctionNumber>
void interpolate (dealii::DoFHandler< dim, spacedim > const &dof_handler, dealii::Function< spacedim, FunctionNumber > &function, VectorType &vec, double const time)
 
template<int dim, int spacedim, typename Number, template< typename > typename VectorType, typename FunctionNumber>
void interpolate (dealii::Mapping< dim, spacedim > const &mapping, dealii::DoFHandler< dim, spacedim > const &dof_handler, dealii::Function< spacedim, FunctionNumber > const &function, VectorType< Number > &vec)
 
template<int dim, int spacedim, typename VectorType, typename FunctionNumber>
void interpolate (dealii::Mapping< dim, spacedim > const &mapping, dealii::DoFHandler< dim, spacedim > const &dof_handler, dealii::Function< spacedim, FunctionNumber > &function, VectorType &vec, double const time)
 
template<typename Type>
constexpr bool is_enum ()
 Checks if given type is an enum or enum class.
 
template<typename EnumType>
EnumType default_constructor ()
 Returns the first value of EnumType. This is well-defined as compared to EnumType().
 
template<typename EnumType>
std::string serialized_string ()
 Returns the names of the enums joined with "|".
 
template<typename EnumType>
std::string enum_to_string (EnumType const enum_type)
 Converts and enum to a string, returning the string.
 
template<typename EnumType>
void string_to_enum (EnumType &enum_type, std::string const &enum_name)
 Converts a string to an enum, which is provided as first function argument.
 
bool is_unsteady_timestep (types::time_step const timestep)
 
bool is_valid_timestep (types::time_step const timestep)
 

Detailed Description

Collection of enum utilities.