|
NeoN
A framework for CFD software
|
#include <type_traits>#include <tuple>#include <Kokkos_Core.hpp>#include "NeoN/core/parallelAlgorithms.hpp"#include "NeoN/core/primitives/label.hpp"#include "NeoN/core/view.hpp"Go to the source code of this file.
Namespaces | |
| namespace | NeoN |
| namespace | NeoN::detail |
Functions | |
| template<typename ValueType > | |
| auto | NeoN::detail::deepCopyVisitor (localIdx ssize, const ValueType *srcPtr, ValueType *dstPtr) |
| A helper function to simplify the common pattern of copying between and to executor. | |
| template<template< typename > class ContType, typename ValueType , typename Inner > | |
| void | NeoN::map (ContType< ValueType > &cont, const Inner inner, std::pair< localIdx, localIdx > range={0, 0}) |
| Map a field using a specific executor. | |
| template<template< typename > class ContType, typename ValueType > | |
| void | NeoN::fill (ContType< ValueType > &cont, const std::type_identity_t< ValueType > value, std::pair< localIdx, localIdx > range={0, 0}) |
| Fill the field with a vector value using a specific executor. | |
| template<template< typename > class ContType, typename ValueType > | |
| void | NeoN::setContainer (ContType< ValueType > &cont, const View< const std::type_identity_t< ValueType > > view, std::pair< localIdx, localIdx > range={0, 0}) |
| Set the container with a view of values using a specific executor. | |
| template<typename... Args> | |
| auto | NeoN::copyToHosts (Args &... cont) |
| template<template< typename > class ContType, typename ValueType > | |
| bool | NeoN::equal (ContType< ValueType > &cont, ValueType value) |
| template<template< typename > class ContType, typename ValueType > | |
| bool | NeoN::equal (const ContType< ValueType > &cont1, const ContType< ValueType > &cont2) |
| template<template< typename > class ContType, typename ValueType > | |
| bool | NeoN::equal (const ContType< ValueType > &cont, View< ValueType > view2) |