Reference documentation for deal.II version 9.6.0
\(\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

STL namespace. More...

Classes

class  allocator
 STL class.
 
class  array
 STL class.
 
class  atomic
 STL class.
 
class  atomic_ref
 STL class.
 
class  auto_ptr
 STL class.
 
class  bad_alloc
 STL class.
 
class  bad_cast
 STL class.
 
class  bad_exception
 STL class.
 
class  bad_typeid
 STL class.
 
class  basic_fstream
 STL class.
 
class  basic_ifstream
 STL class.
 
class  basic_ios
 STL class.
 
class  basic_iostream
 STL class.
 
class  basic_istream
 STL class.
 
class  basic_istringstream
 STL class.
 
class  basic_ofstream
 STL class.
 
class  basic_ostream
 STL class.
 
class  basic_ostringstream
 STL class.
 
class  basic_string
 STL class.
 
class  basic_string_view
 STL class.
 
class  basic_stringstream
 STL class.
 
class  bitset
 STL class.
 
class  complex
 STL class.
 
class  deque
 STL class.
 
class  domain_error
 STL class.
 
class  error_category
 STL class.
 
class  error_code
 STL class.
 
class  error_condition
 STL class.
 
class  exception
 STL class.
 
class  forward_list
 STL class.
 
class  fstream
 STL class.
 
class  ifstream
 STL class.
 
class  invalid_argument
 STL class.
 
class  ios
 STL class.
 
class  ios_base
 STL class.
 
class  istream
 STL class.
 
class  istringstream
 STL class.
 
struct  iterator_traits< ::ChunkSparseMatrixIterators::Iterator< number, Constness > >
 
struct  iterator_traits< ::LinearAlgebra::TpetraWrappers::SparseMatrixIterators::Iterator< Number, MemorySpace, Constness > >
 
struct  iterator_traits< ::SparseMatrixIterators::Iterator< number, Constness > >
 
struct  iterator_traits< ::TrilinosWrappers::SparseMatrixIterators::Iterator< Constness > >
 
struct  iterator_traits<::hp::CollectionIterator< T > >
 
struct  iterator_traits<::VectorizedArrayIterator< T > >
 
class  jthread
 STL class.
 
class  length_error
 STL class.
 
class  list
 STL class.
 
class  lock_guard
 STL class.
 
class  logic_error
 STL class.
 
class  map
 STL class.
 
class  multimap
 STL class.
 
class  multiset
 STL class.
 
class  mutex
 STL class.
 
class  ofstream
 STL class.
 
class  ostream
 STL class.
 
class  ostringstream
 STL class.
 
class  out_of_range
 STL class.
 
class  overflow_error
 STL class.
 
class  pair
 STL class.
 
class  priority_queue
 STL class.
 
class  queue
 STL class.
 
class  range_error
 STL class.
 
class  recursive_mutex
 STL class.
 
class  recursive_timed_mutex
 STL class.
 
class  runtime_error
 STL class.
 
class  set
 STL class.
 
class  shared_lock
 STL class.
 
class  shared_mutex
 STL class.
 
class  shared_ptr
 STL class.
 
class  shared_timed_mutex
 STL class.
 
class  smart_ptr
 STL class.
 
class  span
 STL class.
 
class  stack
 STL class.
 
class  string
 STL class.
 
class  string_view
 STL class.
 
class  stringstream
 STL class.
 
class  system_error
 STL class.
 
class  thread
 STL class.
 
class  timed_mutex
 STL class.
 
class  u16string
 STL class.
 
class  u16string_view
 STL class.
 
class  u32string
 STL class.
 
class  u32string_view
 STL class.
 
class  u8string
 STL class.
 
class  u8string_view
 STL class.
 
class  underflow_error
 STL class.
 
class  unique_lock
 STL class.
 
class  unique_ptr
 STL class.
 
class  unordered_map
 STL class.
 
class  unordered_multimap
 STL class.
 
class  unordered_multiset
 STL class.
 
class  unordered_set
 STL class.
 
class  valarray
 STL class.
 
class  vector
 STL class.
 
class  weak_ptr
 STL class.
 
class  wfstream
 STL class.
 
class  wifstream
 STL class.
 
class  wios
 STL class.
 
class  wistream
 STL class.
 
class  wistringstream
 STL class.
 
class  wofstream
 STL class.
 
class  wostream
 STL class.
 
class  wostringstream
 STL class.
 
class  wstring
 STL class.
 
class  wstring_view
 STL class.
 
class  wstringstream
 STL class.
 

Functions

template<typename Number , std::size_t width>
::VectorizedArray< Number, width > sqrt (const ::VectorizedArray< Number, width > &)
 
template<typename Number , std::size_t width>
::VectorizedArray< Number, width > abs (const ::VectorizedArray< Number, width > &)
 
template<typename Number , std::size_t width>
::VectorizedArray< Number, width > max (const ::VectorizedArray< Number, width > &, const ::VectorizedArray< Number, width > &)
 
template<typename Number , std::size_t width>
::VectorizedArray< Number, width > min (const ::VectorizedArray< Number, width > &, const ::VectorizedArray< Number, width > &)
 
template<typename Number , size_t width>
::VectorizedArray< Number, width > pow (const ::VectorizedArray< Number, width > &, const Number p)
 
template<typename Number , size_t width>
::VectorizedArray< Number, width > sin (const ::VectorizedArray< Number, width > &)
 
template<typename Number , size_t width>
::VectorizedArray< Number, width > cos (const ::VectorizedArray< Number, width > &)
 
template<typename Number , size_t width>
::VectorizedArray< Number, width > tan (const ::VectorizedArray< Number, width > &)
 
template<typename Number , size_t width>
::VectorizedArray< Number, width > exp (const ::VectorizedArray< Number, width > &)
 
template<typename Number , size_t width>
::VectorizedArray< Number, width > log (const ::VectorizedArray< Number, width > &)
 
template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > sin (const ::VectorizedArray< Number, width > &x)
 
template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > cos (const ::VectorizedArray< Number, width > &x)
 
template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > tan (const ::VectorizedArray< Number, width > &x)
 
template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > acos (const ::VectorizedArray< Number, width > &x)
 
template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > asin (const ::VectorizedArray< Number, width > &x)
 
template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > atan (const ::VectorizedArray< Number, width > &x)
 
template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > cosh (const ::VectorizedArray< Number, width > &x)
 
template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > sinh (const ::VectorizedArray< Number, width > &x)
 
template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > tanh (const ::VectorizedArray< Number, width > &x)
 
template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > acosh (const ::VectorizedArray< Number, width > &x)
 
template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > asinh (const ::VectorizedArray< Number, width > &x)
 
template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > atanh (const ::VectorizedArray< Number, width > &x)
 
template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > exp (const ::VectorizedArray< Number, width > &x)
 
template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > log (const ::VectorizedArray< Number, width > &x)
 
template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > sqrt (const ::VectorizedArray< Number, width > &x)
 
template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > pow (const ::VectorizedArray< Number, width > &x, const Number p)
 
template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > pow (const ::VectorizedArray< Number, width > &x, const ::VectorizedArray< Number, width > &p)
 
template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > abs (const ::VectorizedArray< Number, width > &x)
 
template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > max (const ::VectorizedArray< Number, width > &x, const ::VectorizedArray< Number, width > &y)
 
template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > min (const ::VectorizedArray< Number, width > &x, const ::VectorizedArray< Number, width > &y)
 

Detailed Description

STL namespace.

Implementation of functions from cmath on VectorizedArray. These functions do not reside in the dealii namespace in order to ensure a similar interface as for the respective functions in cmath. Instead, call them using std::sin.

Function Documentation

◆ sqrt() [1/2]

template<typename Number , std::size_t width>
::VectorizedArray< Number, width > std::sqrt ( const ::VectorizedArray< Number, width > & x)

Compute the square root of a vectorized data field. The result is returned as vectorized array in the form {sqrt(x[0]), sqrt(x[1]), ..., sqrt(x[size()-1])}.

Definition at line 6869 of file vectorization.h.

◆ abs() [1/2]

template<typename Number , std::size_t width>
::VectorizedArray< Number, width > std::abs ( const ::VectorizedArray< Number, width > & x)

Compute the absolute value (modulus) of a vectorized data field. The result is returned as vectorized array in the form {abs(x[0]), abs(x[1]), ..., abs(x[size()-1])}.

Definition at line 6927 of file vectorization.h.

◆ max() [1/2]

template<typename Number , std::size_t width>
::VectorizedArray< Number, width > std::max ( const ::VectorizedArray< Number, width > & x,
const ::VectorizedArray< Number, width > & y )

Compute the componentwise maximum of two vectorized data fields. The result is returned as vectorized array in the form {max(x[0],y[0]), max(x[1],y[1]), ...}.

Definition at line 6943 of file vectorization.h.

◆ min() [1/2]

template<typename Number , std::size_t width>
::VectorizedArray< Number, width > std::min ( const ::VectorizedArray< Number, width > & x,
const ::VectorizedArray< Number, width > & y )

Compute the componentwise minimum of two vectorized data fields. The result is returned as vectorized array in the form {min(x[0],y[0]), min(x[1],y[1]), ...}.

Definition at line 6960 of file vectorization.h.

◆ pow() [1/3]

template<typename Number , size_t width>
::VectorizedArray< Number, width > std::pow ( const ::VectorizedArray< Number, width > & x,
const Number p )

Raises the given number x to the power p for a vectorized data field. The result is returned as vectorized array in the form {pow(x[0],p), pow(x[1],p), ..., pow(x[size()-1],p)}.

Definition at line 6885 of file vectorization.h.

◆ sin() [1/2]

template<typename Number , size_t width>
::VectorizedArray< Number, width > std::sin ( const ::VectorizedArray< Number, width > & x)

Compute the sine of a vectorized data field. The result is returned as vectorized array in the form {sin(x[0]), sin(x[1]), ..., sin(x[VectorizedArray::size()-1])}.

Definition at line 6589 of file vectorization.h.

◆ cos() [1/2]

template<typename Number , size_t width>
::VectorizedArray< Number, width > std::cos ( const ::VectorizedArray< Number, width > & x)

Compute the cosine of a vectorized data field. The result is returned as vectorized array in the form {cos(x[0]), cos(x[1]), ..., cos(x[size()-1])}.

Definition at line 6609 of file vectorization.h.

◆ tan() [1/2]

template<typename Number , size_t width>
::VectorizedArray< Number, width > std::tan ( const ::VectorizedArray< Number, width > & x)

Compute the tangent of a vectorized data field. The result is returned as vectorized array in the form {tan(x[0]), tan(x[1]), ..., tan(x[size()-1])}.

Definition at line 6629 of file vectorization.h.

◆ exp() [1/2]

template<typename Number , size_t width>
::VectorizedArray< Number, width > std::exp ( const ::VectorizedArray< Number, width > & x)

Compute the exponential of a vectorized data field. The result is returned as vectorized array in the form {exp(x[0]), exp(x[1]), ..., exp(x[size()-1])}.

Definition at line 6829 of file vectorization.h.

◆ log() [1/2]

template<typename Number , size_t width>
::VectorizedArray< Number, width > std::log ( const ::VectorizedArray< Number, width > & x)

Compute the natural logarithm of a vectorized data field. The result is returned as vectorized array in the form {log(x[0]), log(x[1]), ..., log(x[size()-1])}.

Definition at line 6849 of file vectorization.h.

◆ sin() [2/2]

template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > std::sin ( const ::VectorizedArray< Number, width > & x)

Compute the sine of a vectorized data field. The result is returned as vectorized array in the form {sin(x[0]), sin(x[1]), ..., sin(x[VectorizedArray::size()-1])}.

Definition at line 6589 of file vectorization.h.

◆ cos() [2/2]

template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > std::cos ( const ::VectorizedArray< Number, width > & x)

Compute the cosine of a vectorized data field. The result is returned as vectorized array in the form {cos(x[0]), cos(x[1]), ..., cos(x[size()-1])}.

Definition at line 6609 of file vectorization.h.

◆ tan() [2/2]

template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > std::tan ( const ::VectorizedArray< Number, width > & x)

Compute the tangent of a vectorized data field. The result is returned as vectorized array in the form {tan(x[0]), tan(x[1]), ..., tan(x[size()-1])}.

Definition at line 6629 of file vectorization.h.

◆ acos()

template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > std::acos ( const ::VectorizedArray< Number, width > & x)

Compute the arc cosine of a vectorized data field. The result is returned as vectorized array in the form {acos(x[0]), acos(x[1]), ..., acos(x[size()-1])}.

Definition at line 6649 of file vectorization.h.

◆ asin()

template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > std::asin ( const ::VectorizedArray< Number, width > & x)

Compute the arc sine of a vectorized data field. The result is returned as vectorized array in the form {asin(x[0]), asin(x[1]), ..., asin(x[size()-1])}.

Definition at line 6669 of file vectorization.h.

◆ atan()

template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > std::atan ( const ::VectorizedArray< Number, width > & x)

Compute the arc tangent of a vectorized data field. The result is returned as vectorized array in the form {atan(x[0]), atan(x[1]), ..., atan(x[size()-1])}.

Definition at line 6689 of file vectorization.h.

◆ cosh()

template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > std::cosh ( const ::VectorizedArray< Number, width > & x)

Compute the hyperbolic cosine of a vectorized data field. The result is returned as vectorized array in the form {cosh(x[0]), cosh(x[1]), ..., cosh(x[size()-1])}.

Definition at line 6709 of file vectorization.h.

◆ sinh()

template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > std::sinh ( const ::VectorizedArray< Number, width > & x)

Compute the hyperbolic sine of a vectorized data field. The result is returned as vectorized array in the form {sinh(x[0]), sinh(x[1]), ..., sinh(x[size()-1])}.

Definition at line 6729 of file vectorization.h.

◆ tanh()

template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > std::tanh ( const ::VectorizedArray< Number, width > & x)

Compute the hyperbolic tangent of a vectorized data field. The result is returned as vectorized array in the form {tanh(x[0]), tanh(x[1]), ..., tanh(x[size()-1])}.

Definition at line 6749 of file vectorization.h.

◆ acosh()

template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > std::acosh ( const ::VectorizedArray< Number, width > & x)

Compute the area hyperbolic cosine of a vectorized data field. The result is returned as vectorized array in the form {acosh(x[0]), acosh(x[1]), ..., acosh(x[size()-1])}.

Definition at line 6769 of file vectorization.h.

◆ asinh()

template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > std::asinh ( const ::VectorizedArray< Number, width > & x)

Compute the area hyperbolic sine of a vectorized data field. The result is returned as vectorized array in the form {asinh(x[0]), asinh(x[1]), ..., asinh(x[size()-1])}.

Definition at line 6789 of file vectorization.h.

◆ atanh()

template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > std::atanh ( const ::VectorizedArray< Number, width > & x)

Compute the area hyperbolic tangent of a vectorized data field. The result is returned as vectorized array in the form {atanh(x[0]), atanh(x[1]), ..., atanh(x[size()-1])}.

Definition at line 6809 of file vectorization.h.

◆ exp() [2/2]

template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > std::exp ( const ::VectorizedArray< Number, width > & x)

Compute the exponential of a vectorized data field. The result is returned as vectorized array in the form {exp(x[0]), exp(x[1]), ..., exp(x[size()-1])}.

Definition at line 6829 of file vectorization.h.

◆ log() [2/2]

template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > std::log ( const ::VectorizedArray< Number, width > & x)

Compute the natural logarithm of a vectorized data field. The result is returned as vectorized array in the form {log(x[0]), log(x[1]), ..., log(x[size()-1])}.

Definition at line 6849 of file vectorization.h.

◆ sqrt() [2/2]

template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > std::sqrt ( const ::VectorizedArray< Number, width > & x)

Compute the square root of a vectorized data field. The result is returned as vectorized array in the form {sqrt(x[0]), sqrt(x[1]), ..., sqrt(x[size()-1])}.

Definition at line 6869 of file vectorization.h.

◆ pow() [2/3]

template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > std::pow ( const ::VectorizedArray< Number, width > & x,
const Number p )

Raises the given number x to the power p for a vectorized data field. The result is returned as vectorized array in the form {pow(x[0],p), pow(x[1],p), ..., pow(x[size()-1],p)}.

Definition at line 6885 of file vectorization.h.

◆ pow() [3/3]

template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > std::pow ( const ::VectorizedArray< Number, width > & x,
const ::VectorizedArray< Number, width > & p )

Raises the given number x to the power p for a vectorized data field. The result is returned as vectorized array in the form {pow(x[0],p[0]), pow(x[1],p[1]), ..., pow(x[size()-1],p[size()-1])}.

Definition at line 6906 of file vectorization.h.

◆ abs() [2/2]

template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > std::abs ( const ::VectorizedArray< Number, width > & x)

Compute the absolute value (modulus) of a vectorized data field. The result is returned as vectorized array in the form {abs(x[0]), abs(x[1]), ..., abs(x[size()-1])}.

Definition at line 6927 of file vectorization.h.

◆ max() [2/2]

template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > std::max ( const ::VectorizedArray< Number, width > & x,
const ::VectorizedArray< Number, width > & y )

Compute the componentwise maximum of two vectorized data fields. The result is returned as vectorized array in the form {max(x[0],y[0]), max(x[1],y[1]), ...}.

Definition at line 6943 of file vectorization.h.

◆ min() [2/2]

template<typename Number , std::size_t width>
inline ::VectorizedArray< Number, width > std::min ( const ::VectorizedArray< Number, width > & x,
const ::VectorizedArray< Number, width > & y )

Compute the componentwise minimum of two vectorized data fields. The result is returned as vectorized array in the form {min(x[0],y[0]), min(x[1],y[1]), ...}.

Definition at line 6960 of file vectorization.h.