Reference documentation for deal.II version Git 4e68a80cad 2021-10-22 15:50:12 -0600
\(\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\}}\)
Static Public Member Functions | List of all members
internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host > Struct Template Reference

#include <deal.II/lac/vector_operations_internal.h>

Static Public Member Functions

static void copy (const std::shared_ptr<::parallel::internal::TBBPartitioner > &thread_loop_partitioner, const size_type size, const ::MemorySpace::MemorySpaceData< Number2, ::MemorySpace::Host > &v_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data)
 
static void set (const std::shared_ptr<::parallel::internal::TBBPartitioner > &thread_loop_partitioner, const size_type size, const Number s, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data)
 
static void add_vector (const std::shared_ptr<::parallel::internal::TBBPartitioner > &thread_loop_partitioner, const size_type size, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &v_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data)
 
static void subtract_vector (const std::shared_ptr<::parallel::internal::TBBPartitioner > &thread_loop_partitioner, const size_type size, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &v_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data)
 
static void add_factor (const std::shared_ptr<::parallel::internal::TBBPartitioner > &thread_loop_partitioner, const size_type size, Number a, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data)
 
static void add_av (const std::shared_ptr<::parallel::internal::TBBPartitioner > &thread_loop_partitioner, const size_type size, const Number a, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &v_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data)
 
static void add_avpbw (const std::shared_ptr<::parallel::internal::TBBPartitioner > &thread_loop_partitioner, const size_type size, const Number a, const Number b, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &v_data, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &w_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data)
 
static void sadd_xv (const std::shared_ptr<::parallel::internal::TBBPartitioner > &thread_loop_partitioner, const size_type size, const Number x, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &v_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data)
 
static void sadd_xav (const std::shared_ptr<::parallel::internal::TBBPartitioner > &thread_loop_partitioner, const size_type size, const Number x, const Number a, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &v_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data)
 
static void sadd_xavbw (const std::shared_ptr<::parallel::internal::TBBPartitioner > &thread_loop_partitioner, const size_type size, const Number x, const Number a, const Number b, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &v_data, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &w_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data)
 
static void multiply_factor (const std::shared_ptr<::parallel::internal::TBBPartitioner > &thread_loop_partitioner, const size_type size, const Number factor, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data)
 
static void scale (const std::shared_ptr<::parallel::internal::TBBPartitioner > &thread_loop_partitioner, const size_type size, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &v_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data)
 
static void equ_au (const std::shared_ptr<::parallel::internal::TBBPartitioner > &thread_loop_partitioner, const size_type size, const Number a, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &v_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data)
 
static void equ_aubv (const std::shared_ptr<::parallel::internal::TBBPartitioner > &thread_loop_partitioner, const size_type size, const Number a, const Number b, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &v_data, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &w_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data)
 
static Number dot (const std::shared_ptr<::parallel::internal::TBBPartitioner > &thread_loop_partitioner, const size_type size, const ::MemorySpace::MemorySpaceData< Number2, ::MemorySpace::Host > &v_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data)
 
template<typename real_type >
static void norm_2 (const std::shared_ptr<::parallel::internal::TBBPartitioner > &thread_loop_partitioner, const size_type size, real_type &sum, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data)
 
static Number mean_value (const std::shared_ptr<::parallel::internal::TBBPartitioner > &thread_loop_partitioner, const size_type size, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data)
 
template<typename real_type >
static void norm_1 (const std::shared_ptr<::parallel::internal::TBBPartitioner > &thread_loop_partitioner, const size_type size, real_type &sum, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data)
 
template<typename real_type >
static void norm_p (const std::shared_ptr<::parallel::internal::TBBPartitioner > &thread_loop_partitioner, const size_type size, real_type &sum, const real_type p, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data)
 
static Number add_and_dot (const std::shared_ptr<::parallel::internal::TBBPartitioner > &thread_loop_partitioner, const size_type size, const Number a, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &v_data, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &w_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data)
 
template<typename MemorySpace2 >
static void import_elements (const std::shared_ptr<::parallel::internal::TBBPartitioner > &thread_loop_partitioner, const size_type size, VectorOperation::values operation, const ::MemorySpace::MemorySpaceData< Number, MemorySpace2 > &v_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data, typename std::enable_if< std::is_same< MemorySpace2, ::MemorySpace::Host >::value, int >::type=0)
 
template<typename MemorySpace2 >
static void import_elements (const std::shared_ptr<::parallel::internal::TBBPartitioner > &, const size_type size, VectorOperation::values operation, const ::MemorySpace::MemorySpaceData< Number, MemorySpace2 > &v_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &data, typename std::enable_if< std::is_same< MemorySpace2, ::MemorySpace::CUDA >::value, int >::type=0)
 

Detailed Description

template<typename Number, typename Number2>
struct internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >

Definition at line 1656 of file vector_operations_internal.h.

Member Function Documentation

◆ copy()

template<typename Number , typename Number2 >
static void internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::copy ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  thread_loop_partitioner,
const size_type  size,
const ::MemorySpace::MemorySpaceData< Number2, ::MemorySpace::Host > &  v_data,
::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data 
)
inlinestatic

Definition at line 1659 of file vector_operations_internal.h.

◆ set()

template<typename Number , typename Number2 >
static void internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::set ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  thread_loop_partitioner,
const size_type  size,
const Number  s,
::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data 
)
inlinestatic

Definition at line 1674 of file vector_operations_internal.h.

◆ add_vector()

template<typename Number , typename Number2 >
static void internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::add_vector ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  thread_loop_partitioner,
const size_type  size,
const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  v_data,
::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data 
)
inlinestatic

Definition at line 1687 of file vector_operations_internal.h.

◆ subtract_vector()

template<typename Number , typename Number2 >
static void internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::subtract_vector ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  thread_loop_partitioner,
const size_type  size,
const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  v_data,
::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data 
)
inlinestatic

Definition at line 1703 of file vector_operations_internal.h.

◆ add_factor()

template<typename Number , typename Number2 >
static void internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::add_factor ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  thread_loop_partitioner,
const size_type  size,
Number  a,
::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data 
)
inlinestatic

Definition at line 1719 of file vector_operations_internal.h.

◆ add_av()

template<typename Number , typename Number2 >
static void internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::add_av ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  thread_loop_partitioner,
const size_type  size,
const Number  a,
const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  v_data,
::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data 
)
inlinestatic

Definition at line 1733 of file vector_operations_internal.h.

◆ add_avpbw()

template<typename Number , typename Number2 >
static void internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::add_avpbw ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  thread_loop_partitioner,
const size_type  size,
const Number  a,
const Number  b,
const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  v_data,
const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  w_data,
::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data 
)
inlinestatic

Definition at line 1750 of file vector_operations_internal.h.

◆ sadd_xv()

template<typename Number , typename Number2 >
static void internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::sadd_xv ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  thread_loop_partitioner,
const size_type  size,
const Number  x,
const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  v_data,
::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data 
)
inlinestatic

Definition at line 1770 of file vector_operations_internal.h.

◆ sadd_xav()

template<typename Number , typename Number2 >
static void internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::sadd_xav ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  thread_loop_partitioner,
const size_type  size,
const Number  x,
const Number  a,
const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  v_data,
::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data 
)
inlinestatic

Definition at line 1788 of file vector_operations_internal.h.

◆ sadd_xavbw()

template<typename Number , typename Number2 >
static void internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::sadd_xavbw ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  thread_loop_partitioner,
const size_type  size,
const Number  x,
const Number  a,
const Number  b,
const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  v_data,
const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  w_data,
::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data 
)
inlinestatic

Definition at line 1808 of file vector_operations_internal.h.

◆ multiply_factor()

template<typename Number , typename Number2 >
static void internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::multiply_factor ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  thread_loop_partitioner,
const size_type  size,
const Number  factor,
::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data 
)
inlinestatic

Definition at line 1829 of file vector_operations_internal.h.

◆ scale()

template<typename Number , typename Number2 >
static void internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::scale ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  thread_loop_partitioner,
const size_type  size,
const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  v_data,
::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data 
)
inlinestatic

Definition at line 1844 of file vector_operations_internal.h.

◆ equ_au()

template<typename Number , typename Number2 >
static void internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::equ_au ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  thread_loop_partitioner,
const size_type  size,
const Number  a,
const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  v_data,
::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data 
)
inlinestatic

Definition at line 1859 of file vector_operations_internal.h.

◆ equ_aubv()

template<typename Number , typename Number2 >
static void internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::equ_aubv ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  thread_loop_partitioner,
const size_type  size,
const Number  a,
const Number  b,
const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  v_data,
const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  w_data,
::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data 
)
inlinestatic

Definition at line 1876 of file vector_operations_internal.h.

◆ dot()

template<typename Number , typename Number2 >
static Number internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::dot ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  thread_loop_partitioner,
const size_type  size,
const ::MemorySpace::MemorySpaceData< Number2, ::MemorySpace::Host > &  v_data,
::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data 
)
inlinestatic

Definition at line 1896 of file vector_operations_internal.h.

◆ norm_2()

template<typename Number , typename Number2 >
template<typename real_type >
static void internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::norm_2 ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  thread_loop_partitioner,
const size_type  size,
real_type &  sum,
::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data 
)
inlinestatic

Definition at line 1917 of file vector_operations_internal.h.

◆ mean_value()

template<typename Number , typename Number2 >
static Number internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::mean_value ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  thread_loop_partitioner,
const size_type  size,
const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data 
)
inlinestatic

Definition at line 1930 of file vector_operations_internal.h.

◆ norm_1()

template<typename Number , typename Number2 >
template<typename real_type >
static void internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::norm_1 ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  thread_loop_partitioner,
const size_type  size,
real_type &  sum,
::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data 
)
inlinestatic

Definition at line 1946 of file vector_operations_internal.h.

◆ norm_p()

template<typename Number , typename Number2 >
template<typename real_type >
static void internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::norm_p ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  thread_loop_partitioner,
const size_type  size,
real_type &  sum,
const real_type  p,
::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data 
)
inlinestatic

Definition at line 1960 of file vector_operations_internal.h.

◆ add_and_dot()

template<typename Number , typename Number2 >
static Number internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::add_and_dot ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  thread_loop_partitioner,
const size_type  size,
const Number  a,
const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  v_data,
const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  w_data,
::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data 
)
inlinestatic

Definition at line 1974 of file vector_operations_internal.h.

◆ import_elements() [1/2]

template<typename Number , typename Number2 >
template<typename MemorySpace2 >
static void internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::import_elements ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  thread_loop_partitioner,
const size_type  size,
VectorOperation::values  operation,
const ::MemorySpace::MemorySpaceData< Number, MemorySpace2 > &  v_data,
::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data,
typename std::enable_if< std::is_same< MemorySpace2, ::MemorySpace::Host >::value, int >::type  = 0 
)
inlinestatic

Definition at line 1999 of file vector_operations_internal.h.

◆ import_elements() [2/2]

template<typename Number , typename Number2 >
template<typename MemorySpace2 >
static void internal::VectorOperations::functions< Number, Number2, ::MemorySpace::Host >::import_elements ( const std::shared_ptr<::parallel::internal::TBBPartitioner > &  ,
const size_type  size,
VectorOperation::values  operation,
const ::MemorySpace::MemorySpaceData< Number, MemorySpace2 > &  v_data,
::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Host > &  data,
typename std::enable_if< std::is_same< MemorySpace2, ::MemorySpace::CUDA >::value, int >::type  = 0 
)
inlinestatic

Definition at line 2030 of file vector_operations_internal.h.


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