Reference documentation for deal.II version 9.6.2
 
\(\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\}}\)
Loading...
Searching...
No Matches
Patterns::Tools::Convert< VectorTools::NormType, void > Struct Reference

#include <deal.II/numerics/vector_tools_common.h>

Inheritance diagram for Patterns::Tools::Convert< VectorTools::NormType, void >:

Static Public Member Functions

static std::unique_ptr< Patterns::PatternBaseto_pattern ()
 
static std::string to_string (const VectorTools::NormType &s, const Patterns::PatternBase &p= *Convert< VectorTools::NormType >::to_pattern())
 
static VectorTools::NormType to_value (const std::string &str, const Patterns::PatternBase &p= *Convert< VectorTools::NormType >::to_pattern())
 
static std::unique_ptr< Patterns::PatternBaseto_pattern ()=delete
 
static std::string to_string (const VectorTools::NormType &s, const Patterns::PatternBase &p=*Convert< VectorTools::NormType >::to_pattern())=delete
 
static VectorTools::NormType to_value (const std::string &s, const Patterns::PatternBase &p=*Convert< VectorTools::NormType >::to_pattern())=delete
 

Detailed Description

Definition at line 290 of file vector_tools_common.h.

Member Function Documentation

◆ to_pattern() [1/2]

static std::unique_ptr< Patterns::PatternBase > Patterns::Tools::Convert< VectorTools::NormType, void >::to_pattern ( )
inlinestatic

Return the Correct pattern for NormType.

Definition at line 296 of file vector_tools_common.h.

◆ to_string() [1/2]

static std::string Patterns::Tools::Convert< VectorTools::NormType, void >::to_string ( const VectorTools::NormType & s,
const Patterns::PatternBase & p = *Convert<VectorTools::NormType>::to_pattern() )
inlinestatic

Convert a NormType to a string.

Definition at line 311 of file vector_tools_common.h.

◆ to_value() [1/2]

static VectorTools::NormType Patterns::Tools::Convert< VectorTools::NormType, void >::to_value ( const std::string & str,
const Patterns::PatternBase & p = *Convert<VectorTools::NormType>::to_pattern() )
inlinestatic

Convert a string to a NormType.

Definition at line 353 of file vector_tools_common.h.

◆ to_pattern() [2/2]

static std::unique_ptr< Patterns::PatternBase > Patterns::Tools::Convert< VectorTools::NormType, void >::to_pattern ( )
staticdelete

Return a std::unique_ptr to a Pattern that can be used to interpret a string as the type of the template argument, and the other way around.

While the current function (in the general Convert template) is deleted, it is implemented and available in the specializations of the Convert class template for particular kinds of template arguments T.

◆ to_string() [2/2]

static std::string Patterns::Tools::Convert< VectorTools::NormType, void >::to_string ( const VectorTools::NormType & s,
const Patterns::PatternBase & p = *Convert<T>::to_pattern() )
staticdelete

Return a string containing a textual version of the variable s. Use the pattern passed to perform the conversion, or create and use a default one.

While the current function (in the general Convert template) is deleted, it is implemented and available in the specializations of the Convert class template for particular kinds of template arguments T.

◆ to_value() [2/2]

static VectorTools::NormType Patterns::Tools::Convert< VectorTools::NormType, void >::to_value ( const std::string & s,
const Patterns::PatternBase & p = *Convert<T>::to_pattern() )
staticdelete

Convert a string to a value, using the given pattern. Use the pattern passed to perform the conversion, or create and use a default one.

While the current function (in the general Convert template) is deleted, it is implemented and available in the specializations of the Convert class template for particular kinds of template arguments T.


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