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

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< ::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  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 > 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 5510 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 5572 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 5588 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 5605 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 5526 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 5395 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 5422 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 5444 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 5466 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 5488 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 5395 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 5422 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 5444 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 5466 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 5488 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 5510 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 5526 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 5549 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 5572 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 5588 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 5605 of file vectorization.h.