FieldExport.impl.h File Reference

Detailed Description

#include "core/VectorTrait.h"
#include "core/logging/Logging.h"
#include "field/AddToStorage.h"
#include "field/Field.h"
#include "field/FlagField.h"
#include "field/GhostLayerField.h"
#include "field/communication/PackInfo.h"
#include "field/communication/UniformMPIDatatypeInfo.h"
#include "field/vtk/FlagFieldMapping.h"
#include "field/vtk/VTKWriter.h"
#include "python_coupling/PythonWrapper.h"
#include "python_coupling/helper/MplHelpers.h"
#include "python_coupling/helper/PybindHelper.h"
#include <iostream>
#include <type_traits>
#include "GatherExport.impl.h"
#include "pybind11/numpy.h"
#include <pybind11/stl.h>

Classes

struct  walberla::field::internal::PythonFormatString< T >
 
struct  walberla::field::internal::PythonFormatString< double >
 
struct  walberla::field::internal::PythonFormatString< float >
 
struct  walberla::field::internal::PythonFormatString< unsigned short >
 
struct  walberla::field::internal::PythonFormatString< int >
 
struct  walberla::field::internal::PythonFormatString< unsigned int >
 
struct  walberla::field::internal::PythonFormatString< long >
 
struct  walberla::field::internal::PythonFormatString< unsigned long >
 
struct  walberla::field::internal::PythonFormatString< long long >
 
struct  walberla::field::internal::PythonFormatString< unsigned long long >
 
struct  walberla::field::internal::PythonFormatString< int8_t >
 
struct  walberla::field::internal::PythonFormatString< int16_t >
 
struct  walberla::field::internal::PythonFormatString< uint8_t >
 
class  walberla::field::internal::GhostLayerFieldDataHandling< GhostLayerField_T >
 
struct  walberla::field::internal::FieldExporter
 
struct  walberla::field::internal::FieldAllocatorExporter
 
class  walberla::field::internal::AddToStorageExporter
 
class  walberla::field::internal::CreateFieldExporter
 
class  walberla::field::internal::CreateVTKWriterExporter
 
class  walberla::field::internal::CreateBinarizationVTKWriterExporter
 

Namespaces

 walberla
 \file TimestepTracker.h \ingroup lbm \author Frederik Hennig frede.nosp@m.rik..nosp@m.henni.nosp@m.g@fa.nosp@m.u.de
 
 walberla::field
 
 walberla::field::internal
 

Macros

#define UintFields   Field<uint8_t,1 >, Field<uint16_t, 1>, Field<uint32_t, 1>, Field<uint64_t, 1>
 

Functions

template<typename... FieldTypes>
void walberla::field::exportFields ()
 Exports all Fields given in the Sequence. More...
 
template<typename... AdaptorTypes>
void walberla::field::exportGhostLayerFieldAdaptors ()
 Exports all GhostLayerFieldAdaptors given in the Sequence. More...
 
template<typename AdaptorType >
void walberla::field::exportGhostLayerFieldAdaptor ()
 
template<typename T >
shared_ptr< field::FieldAllocator< T > > walberla::field::internal::getAllocator (uint_t alignment)
 
template<typename Field_T >
py::object walberla::field::internal::field_size (const Field_T &field)
 
template<typename GlField_T >
py::tuple walberla::field::internal::field_sizeWithGhostLayer (const GlField_T &field)
 
template<typename Field_T >
py::tuple walberla::field::internal::field_allocSize (const Field_T &field)
 
template<typename Field_T >
py::tuple walberla::field::internal::field_strides (const Field_T &field)
 
template<typename Field_T >
py::tuple walberla::field::internal::field_offsets (const Field_T &field)
 
template<typename Field_T >
py::object walberla::field::internal::field_layout (const Field_T &f)
 
template<typename Field_T >
void walberla::field::internal::field_swapDataPointers (Field_T &f1, Field_T &f2)
 
template<typename Field_T >
py::object walberla::field::internal::copyAdaptorToField (const Field_T &f)
 
template<typename Field_T >
py::array_t< typename Field_T::value_type > walberla::field::internal::toNumpyArray (const Field_T &field)
 
template<typename GlField_T >
py::array_t< typename GlField_T::value_type > walberla::field::internal::toNumpyArrayWithGhostLayers (const GlField_T &field)
 
template<typename... FieldTypes>
void walberla::field::internal::addToStorage (const shared_ptr< StructuredBlockForest > &blocks, const std::string &name, py::object &dtype, uint_t fs, uint_t gl, Layout layout, real_t initValue, uint_t alignment)
 
void walberla::field::internal::addFlagFieldToStorage (const shared_ptr< StructuredBlockStorage > &blocks, const std::string &name, uint_t nrOfBits, uint_t gl)
 
template<typename... FieldTypes>
py::object walberla::field::internal::createPythonField (std::array< uint_t, 4 > size, py::object &dtype, uint_t ghostLayers, Layout layout, uint_t alignment)
 
template<typename... FieldTypes>
shared_ptr< vtk::BlockCellDataWriterInterface > walberla::field::internal::createVTKWriter (const shared_ptr< StructuredBlockForest > &blocks, const std::string &name, const std::string &nameInVtkOutput="")
 
template<typename... FieldTypes>
shared_ptr< vtk::BlockCellDataWriterInterface > walberla::field::internal::createBinarizationVTKWriter (const shared_ptr< StructuredBlockStorage > &blocks, const std::string &name, uint_t mask, const std::string &nameInVtkOutput="")
 
template<typename... FieldTypes>
void walberla::field::exportFields (py::module_ &m)
 

Macro Definition Documentation

◆ UintFields

#define UintFields   Field<uint8_t,1 >, Field<uint16_t, 1>, Field<uint32_t, 1>, Field<uint64_t, 1>