Reference documentation for deal.II version GIT relicensing-860-g3e6195f9ee 2024-06-20 00:40:01+00:00
\(\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
Static Public Member Functions | List of all members
internal::VectorOperations::functions< Number, Number, ::MemorySpace::Default > 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 > &, const size_type size, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &v_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &data)
 
static void set (const std::shared_ptr<::parallel::internal::TBBPartitioner > &, const size_type size, const Number s, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &data)
 
static void add_vector (const std::shared_ptr<::parallel::internal::TBBPartitioner > &, const size_type size, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &v_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &data)
 
static void subtract_vector (const std::shared_ptr<::parallel::internal::TBBPartitioner > &, const size_type size, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &v_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &data)
 
static void add_factor (const std::shared_ptr<::parallel::internal::TBBPartitioner > &, const size_type size, Number a, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &data)
 
static void add_av (const std::shared_ptr<::parallel::internal::TBBPartitioner > &, const size_type size, const Number a, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &v_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &data)
 
static void add_avpbw (const std::shared_ptr<::parallel::internal::TBBPartitioner > &, const size_type size, const Number a, const Number b, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &v_data, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &w_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &data)
 
static void sadd_xv (const std::shared_ptr<::parallel::internal::TBBPartitioner > &, const size_type size, const Number x, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &v_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &data)
 
static void sadd_xav (const std::shared_ptr<::parallel::internal::TBBPartitioner > &, const size_type size, const Number x, const Number a, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &v_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &data)
 
static void sadd_xavbw (const std::shared_ptr<::parallel::internal::TBBPartitioner > &, const size_type size, const Number x, const Number a, const Number b, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &v_data, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &w_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &data)
 
static void multiply_factor (const std::shared_ptr<::parallel::internal::TBBPartitioner > &, const size_type size, const Number factor, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &data)
 
static void scale (const std::shared_ptr<::parallel::internal::TBBPartitioner > &, const size_type size, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &v_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &data)
 
static void equ_au (const std::shared_ptr<::parallel::internal::TBBPartitioner > &, const size_type size, const Number a, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &v_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &data)
 
static void equ_aubv (const std::shared_ptr<::parallel::internal::TBBPartitioner > &, const size_type size, const Number a, const Number b, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &v_data, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &w_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &data)
 
static Number dot (const std::shared_ptr<::parallel::internal::TBBPartitioner > &, const size_type size, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &v_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &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::Default > &data)
 
static Number mean_value (const std::shared_ptr<::parallel::internal::TBBPartitioner > &, const size_type size, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &data)
 
template<typename real_type >
static void norm_1 (const std::shared_ptr<::parallel::internal::TBBPartitioner > &, const size_type size, real_type &sum, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &data)
 
template<typename real_type >
static void norm_p (const std::shared_ptr<::parallel::internal::TBBPartitioner > &, const size_type size, real_type &sum, real_type exp, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &data)
 
static Number add_and_dot (const std::shared_ptr<::parallel::internal::TBBPartitioner > &, const size_type size, const Number a, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &v_data, const ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &w_data, ::MemorySpace::MemorySpaceData< Number, ::MemorySpace::Default > &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::Default > &data, std::enable_if_t< std::is_same_v< MemorySpace2, ::MemorySpace::Default >, int >=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::Default > &data, std::enable_if_t< std::is_same_v< MemorySpace2, ::MemorySpace::Host >, int >=0)
 

Detailed Description

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

Definition at line 2122 of file vector_operations_internal.h.

Member Function Documentation

◆ copy()

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

Definition at line 2125 of file vector_operations_internal.h.

◆ set()

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

Definition at line 2142 of file vector_operations_internal.h.

◆ add_vector()

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

Definition at line 2156 of file vector_operations_internal.h.

◆ subtract_vector()

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

Definition at line 2177 of file vector_operations_internal.h.

◆ add_factor()

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

Definition at line 2198 of file vector_operations_internal.h.

◆ add_av()

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

Definition at line 2218 of file vector_operations_internal.h.

◆ add_avpbw()

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

Definition at line 2242 of file vector_operations_internal.h.

◆ sadd_xv()

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

Definition at line 2269 of file vector_operations_internal.h.

◆ sadd_xav()

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

Definition at line 2293 of file vector_operations_internal.h.

◆ sadd_xavbw()

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

Definition at line 2318 of file vector_operations_internal.h.

◆ multiply_factor()

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

Definition at line 2347 of file vector_operations_internal.h.

◆ scale()

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

Definition at line 2367 of file vector_operations_internal.h.

◆ equ_au()

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

Definition at line 2388 of file vector_operations_internal.h.

◆ equ_aubv()

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

Definition at line 2412 of file vector_operations_internal.h.

◆ dot()

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

Definition at line 2439 of file vector_operations_internal.h.

◆ norm_2()

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

Definition at line 2467 of file vector_operations_internal.h.

◆ mean_value()

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

Definition at line 2478 of file vector_operations_internal.h.

◆ norm_1()

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

Definition at line 2504 of file vector_operations_internal.h.

◆ norm_p()

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

Definition at line 2533 of file vector_operations_internal.h.

◆ add_and_dot()

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

Definition at line 2563 of file vector_operations_internal.h.

◆ import_elements() [1/2]

template<typename Number >
template<typename MemorySpace2 >
static void internal::VectorOperations::functions< Number, Number, ::MemorySpace::Default >::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::Default > &  data,
std::enable_if_t< std::is_same_v< MemorySpace2, ::MemorySpace::Default >, int = 0 
)
inlinestatic

Definition at line 2597 of file vector_operations_internal.h.

◆ import_elements() [2/2]

template<typename Number >
template<typename MemorySpace2 >
static void internal::VectorOperations::functions< Number, Number, ::MemorySpace::Default >::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::Default > &  data,
std::enable_if_t< std::is_same_v< MemorySpace2, ::MemorySpace::Host >, int = 0 
)
inlinestatic

Definition at line 2627 of file vector_operations_internal.h.


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