atlas
Classes | Namespaces | Macros | Functions
array_fwd.h File Reference

Forward declarations of public API header atlas/array.h. More...

#include <cstddef>
#include <type_traits>
#include "atlas/array/ArrayViewDefs.h"
Include dependency graph for array_fwd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  atlas::array::ArrayT< Value >
 
class  atlas::array::ArrayView< Value, Rank >
 Multi-dimensional access to a Array object or Field object. More...
 
class  atlas::array::LocalView< Value, Rank >
 Multi-dimensional access existing POD array pointer. More...
 
class  atlas::array::IndexView< Value, Rank >
 Multidimensional access to Array or Field objects containing index fields that are compatible with Fortran indexing. More...
 

Namespaces

 atlas
 Contains all atlas classes and methods.
 
 atlas::array
 Contains classes to operate with multidimensional arrays.
 

Macros

#define ENABLE_IF_NOT_CONST   typename std::enable_if<!std::is_const<Value>::value, Value>::type* = nullptr
 
#define ENABLE_IF_CONST   typename std::enable_if<std::is_const<Value>::value, Value>::type* = nullptr
 

Functions

template<typename Value , int Rank>
ArrayView< Value, Rank > atlas::array::make_view (Array &array)
 
template<typename Value , int Rank>
ArrayView< const Value, Rank > atlas::array::make_view (const Array &array)
 
template<class Value , int Rank, ENABLE_IF_NOT_CONST >
LocalView< Value, Rank > atlas::array::make_view (Value data[], const ArrayShape &shape)
 
template<class Value , int Rank, ENABLE_IF_NOT_CONST >
LocalView< const Value, Rank > atlas::array::make_view (const Value data[], const ArrayShape &shape)
 
template<class Value , int Rank, ENABLE_IF_CONST >
LocalView< Value, Rank > atlas::array::make_view (typename std::remove_const< Value >::type data[], const ArrayShape &shape)
 
template<typename Value , unsigned int Rank, ENABLE_IF_NOT_CONST >
LocalView< Value, Rank > atlas::array::make_view (Value data[], size_t size)
 
template<typename Value , unsigned int Rank, ENABLE_IF_NOT_CONST >
LocalView< const Value, Rank > atlas::array::make_view (const Value data[], size_t size)
 
template<typename Value , unsigned int Rank, ENABLE_IF_CONST >
LocalView< Value, Rank > atlas::array::make_view (typename std::remove_const< Value >::type data[], size_t size)
 
template<typename Value , int Rank>
ArrayView< Value, Rank > atlas::array::make_host_view (Array &array)
 
template<typename Value , int Rank>
ArrayView< const Value, Rank > atlas::array::make_host_view (const Array &array)
 
template<typename Value , int Rank>
ArrayView< Value, Rank > atlas::array::make_device_view (Array &array)
 
template<typename Value , int Rank>
ArrayView< const Value, Rank > atlas::array::make_device_view (const Array &array)
 
template<typename Value , int Rank>
IndexView< Value, Rank > atlas::array::make_indexview (Array &array)
 
template<typename Value , int Rank>
IndexView< const Value, Rank > atlas::array::make_indexview (const Array &array)
 
template<typename Value , int Rank>
IndexView< Value, Rank > atlas::array::make_host_indexview (Array &array)
 
template<typename Value , int Rank>
IndexView< const Value, Rank > atlas::array::make_host_indexview (const Array &array)
 

Detailed Description

Forward declarations of public API header atlas/array.h.

Author
Willem Deconinck