Block-Structured AMR Software Framework
AMReX_AlgVector.H File Reference
#include <AMReX_Config.H>
#include <AMReX_AlgPartition.H>
#include <AMReX_FabArray.H>
#include <AMReX_INT.H>
#include <AMReX_LayoutData.H>
#include <AMReX_TableData.H>
#include <fstream>
#include <string>
#include <type_traits>

Go to the source code of this file.

Classes

class  amrex::AlgVector< T, Allocator >
 
struct  amrex::IsAlgVector< V, Enable >
 
struct  amrex::IsAlgVector< V, std::enable_if_t< std::is_same_v< AlgVector< typename V::value_type, typename V::allocator_type >, V > > >
 

Namespaces

 amrex
 

Functions

template<typename V1 , typename F >
std::enable_if_t< IsAlgVector< std::decay_t< V1 > >::value > amrex::ForEach (V1 &x, F const &f)
 
template<typename V1 , typename V2 , typename F >
std::enable_if_t< IsAlgVector< std::decay_t< V1 > >::value &&IsAlgVector< std::decay_t< V2 > >::value > amrex::ForEach (V1 &x, V2 &y, F const &f)
 
template<typename V1 , typename V2 , typename V3 , typename F >
std::enable_if_t< IsAlgVector< std::decay_t< V1 > >::value &&IsAlgVector< std::decay_t< V2 > >::value &&IsAlgVector< std::decay_t< V3 > >::value > amrex::ForEach (V1 &x, V2 &y, V3 &z, F const &f)
 
template<typename V1 , typename V2 , typename V3 , typename V4 , typename F >
std::enable_if_t< IsAlgVector< std::decay_t< V1 > >::value &&IsAlgVector< std::decay_t< V2 > >::value &&IsAlgVector< std::decay_t< V3 > >::value &&IsAlgVector< std::decay_t< V4 > >::value > amrex::ForEach (V1 &x, V2 &y, V3 &z, V4 &a, F const &f)
 
template<typename V1 , typename V2 , typename V3 , typename V4 , typename V5 , typename F >
std::enable_if_t< IsAlgVector< std::decay_t< V1 > >::value &&IsAlgVector< std::decay_t< V2 > >::value &&IsAlgVector< std::decay_t< V3 > >::value &&IsAlgVector< std::decay_t< V4 > >::value &&IsAlgVector< std::decay_t< V5 > >::value > amrex::ForEach (V1 &x, V2 &y, V3 &z, V4 &a, V5 &b, F const &f)
 
template<typename T >
amrex::Dot (AlgVector< T > const &x, AlgVector< T > const &y, bool local=false)
 
template<typename T >
void amrex::Axpy (AlgVector< T > &y, T a, AlgVector< T > const &x, bool async=false)
 
template<typename T >
void amrex::LinComb (AlgVector< T > &y, T a, AlgVector< T > const &xa, T b, AlgVector< T > const &xb, bool async=false)