waLBerla 7.2
Loading...
Searching...
No Matches
AddGPUFieldToStorage.h File Reference

Detailed Description

Namespaces

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

Functions

template<typename GPUField_T >
BlockDataID walberla::gpu::addGPUFieldToStorage (const shared_ptr< StructuredBlockStorage > &bs, const std::string &identifier, uint_t fSize, const Layout layout=fzyx, uint_t nrOfGhostLayers=1, bool usePitchedMem=true)
 Adds a gpu::GPUField to a StructuredBlockStorage.
 
template<typename Field_T >
BlockDataID walberla::gpu::addGPUFieldToStorage (const shared_ptr< StructuredBlockStorage > &bs, ConstBlockDataID cpuFieldID, const std::string &identifier, bool usePitchedMem=true)
 Adds a gpu::GPUField to a StructuredBlockStorage using data from a CPU field.