FieldCopy.h File Reference

Detailed Description

#include "ErrorChecking.h"
#include "GPUField.h"
#include "domain_decomposition/StructuredBlockStorage.h"
#include "field/Field.h"
#include "field/GhostLayerField.h"
#include "core/Abort.h"
#include "core/logging/Logging.h"
#include <cuda_runtime.h>

Namespaces

 walberla
 Storage for detected contacts which can be used to perform actions for all contacts, e.g.
 
 walberla::cuda
 

Functions

template<typename DstType , typename SrcType >
void walberla::cuda::fieldCpy (const shared_ptr< StructuredBlockStorage > &blocks, BlockDataID dstID, ConstBlockDataID srcID)
 
template<typename DstType , typename SrcType >
std::function< void()> walberla::cuda::fieldCpyFunctor (const shared_ptr< StructuredBlockStorage > &blocks, BlockDataID dstID, ConstBlockDataID srcID)
 
template<typename DstType , typename SrcType >
void walberla::cuda::fieldCpySweepFunction (BlockDataID dstID, ConstBlockDataID srcID, IBlock *block)
 
template<typename DstType , typename SrcType >
std::function< void(IBlock *)> walberla::cuda::fieldCpyFunctor (BlockDataID dstID, ConstBlockDataID srcID)
 
template<typename T , uint_t fs>
void walberla::cuda::fieldCpy (cuda::GPUField< T > &dst, const field::Field< T, fs > &src)
 
template<typename T , uint_t fs>
void walberla::cuda::fieldCpy (field::Field< T, fs > &dst, const cuda::GPUField< T > &src)