Reference documentation for deal.II version Git 53084d8c6a 2020-10-21 00:34:33 -0400
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Public Types | Static Public Member Functions | List of all members
Patterns::Tools::Convert< std::complex< Number > > Struct Template Reference

#include <deal.II/base/patterns.h>

Public Types

using T = std::complex< Number >
 

Static Public Member Functions

static std::unique_ptr< Patterns::PatternBaseto_pattern ()
 
static std::string to_string (const T &t, const std::unique_ptr< Patterns::PatternBase > &pattern=Convert< T >::to_pattern())
 
static T to_value (const std::string &s, const std::unique_ptr< Patterns::PatternBase > &pattern=Convert< T >::to_pattern())
 

Detailed Description

template<class Number>
struct Patterns::Tools::Convert< std::complex< Number > >

Definition at line 2115 of file patterns.h.

Member Typedef Documentation

◆ T

template<class Number >
using Patterns::Tools::Convert< std::complex< Number > >::T = std::complex<Number>

Definition at line 2117 of file patterns.h.

Member Function Documentation

◆ to_pattern()

template<class Number >
static std::unique_ptr<Patterns::PatternBase> Patterns::Tools::Convert< std::complex< Number > >::to_pattern ( )
inlinestatic

Definition at line 2120 of file patterns.h.

◆ to_string()

template<class Number >
static std::string Patterns::Tools::Convert< std::complex< Number > >::to_string ( const T t,
const std::unique_ptr< Patterns::PatternBase > &  pattern = Convert<T>::to_pattern() 
)
inlinestatic

Definition at line 2133 of file patterns.h.

◆ to_value()

template<class Number >
static T Patterns::Tools::Convert< std::complex< Number > >::to_value ( const std::string &  s,
const std::unique_ptr< Patterns::PatternBase > &  pattern = Convert<T>::to_pattern() 
)
inlinestatic

Convert a string to a value, using the given pattern, or a default one.

Definition at line 2156 of file patterns.h.


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