walberla::field::internal Namespace Reference

Classes

struct  AccuracyEvaluationPlotData
 
struct  AccuracyEvaluationPlotDataSorter
 
struct  AddToStorage
 
struct  AddToStorage< GhostLayerField_T, BlockStorage_T, typename std::enable_if<(std::is_integral< typename GhostLayerField_T::value_type >::value||std::is_floating_point< typename GhostLayerField_T::value_type >::value) &&! std::is_same< GhostLayerField_T, FlagField< typename GhostLayerField_T::value_type > >::value >::type >
 
class  AddToStorageExporter
 
class  CreateBinarizationVTKWriterExporter
 
class  CreateFieldExporter
 
class  CreateVTKWriterExporter
 
struct  FieldAllocatorExporter
 
struct  FieldExporter
 
class  FieldWriter
 
class  GatherExporter
 
class  GhostLayerFieldDataHandling
 
struct  PythonFormatString
 
struct  PythonFormatString< double >
 
struct  PythonFormatString< float >
 
struct  PythonFormatString< int >
 
struct  PythonFormatString< int16_t >
 
struct  PythonFormatString< int8_t >
 
struct  PythonFormatString< long >
 
struct  PythonFormatString< long long >
 
struct  PythonFormatString< uint8_t >
 
struct  PythonFormatString< unsigned int >
 
struct  PythonFormatString< unsigned long >
 
struct  PythonFormatString< unsigned long long >
 
struct  PythonFormatString< unsigned short >
 

Typedefs

using FlowRateSolution_T = std::function< real_t()>
 
using FlowRateVelocitySolution_T = std::function< Vector3< real_t >(const Vector3< real_t > &)>
 

Functions

const std::string accuracyEvaluationFilename ("accuracy.dat")
 
const std::string accuracyEvaluationConfigBlock ("AccuracyEvaluation")
 
template<typename T >
real_t accuracyEvaluationAbsError (const T &error)
 
template<>
real_t accuracyEvaluationAbsError (const Vector3< real_t > &error)
 
void accuracyEvaluationConfigParser (const Config::BlockHandle &parentBlockHandle, const std::string &configBlockName, uint_t &defaultPlotFrequency, uint_t &defaultLogFrequency, std::string &defaultFilename, real_t &defaultNormalizationFactor)
 
void accuracyEvaluationConfigParser (const shared_ptr< Config > &config, const std::string &configBlockName, uint_t &defaultPlotFrequency, uint_t &defaultLogFrequency, std::string &defaultFilename, real_t &defaultNormalizationFactor)
 
template<typename T >
void accuracyEvaluationLinePlotIO (std::ofstream &file, const std::vector< AccuracyEvaluationPlotData< T > > &points)
 
template<>
void accuracyEvaluationLinePlotIO (std::ofstream &file, const std::vector< AccuracyEvaluationPlotData< Vector3< real_t >> > &points)
 
const std::string accuracyEvaluationLinePlotConfigBlock ("AccuracyEvaluationLinePlot")
 
void accuracyEvaluationLinePlotConfigParser (const Config::BlockHandle &parentBlockHandle, const std::string &configBlockName, bool &defaultYAxis, Vector3< real_t > &defaultRelLinePoint, real_t &defaultNormalizationFactor, math::AABB &defaultDomainNormalization)
 
void accuracyEvaluationLinePlotConfigParser (const shared_ptr< Config > &config, const std::string &configBlockName, bool &defaultYAxis, Vector3< real_t > &defaultRelLinePoint, real_t &defaultNormalizationFactor, math::AABB &defaultDomainNormalization)
 
const std::string accuracyEvaluationLinePlotterFilename ("linePlot")
 
const std::string accuracyEvaluationLinePlotterExtension ("dat")
 
const std::string accuracyEvaluationLinePlotterConfigBlock ("AccuracyEvaluationLinePlotter")
 
void accuracyEvaluationLinePlotterConfigParser (const Config::BlockHandle &parentBlockHandle, const std::string &configBlockName, uint_t &defaultEvaluationFrequency, std::string &defaultFilename, std::string &defaultFileExtension)
 
void accuracyEvaluationLinePlotterConfigParser (const shared_ptr< Config > &config, const std::string &configBlockName, uint_t &defaultEvaluationFrequency, std::string &defaultFilename, std::string &defaultFileExtension)
 
template<typename GhostLayerField_T >
GhostLayerField_T * allocate (const uint_t x, const uint_t y, const uint_t z, const uint_t gl, const typename GhostLayerField_T::value_type &v, Layout l, const shared_ptr< field::FieldAllocator< typename GhostLayerField_T::value_type > > &alloc=nullptr)
 
template<>
FlagField< uint8_t > * allocate (const uint_t x, const uint_t y, const uint_t z, const uint_t gl, const uint8_t &, Layout, const shared_ptr< field::FieldAllocator< uint8_t > > &alloc)
 
template<>
FlagField< uint16_t > * allocate (const uint_t x, const uint_t y, const uint_t z, const uint_t gl, const uint16_t &, Layout, const shared_ptr< field::FieldAllocator< uint16_t > > &alloc)
 
template<>
FlagField< uint32_t > * allocate (const uint_t x, const uint_t y, const uint_t z, const uint_t gl, const uint32_t &, Layout, const shared_ptr< field::FieldAllocator< uint32_t > > &alloc)
 
template<>
FlagField< uint64_t > * allocate (const uint_t x, const uint_t y, const uint_t z, const uint_t gl, const uint64_t &, Layout, const shared_ptr< field::FieldAllocator< uint64_t > > &alloc)
 
template<typename GhostLayerField_T >
GhostLayerField_T * allocate (const uint_t x, const uint_t y, const uint_t z, const uint_t gl, Layout l, const shared_ptr< field::FieldAllocator< typename GhostLayerField_T::value_type > > &alloc=nullptr)
 
template<>
FlagField< uint8_t > * allocate (const uint_t x, const uint_t y, const uint_t z, const uint_t gl, Layout, const shared_ptr< field::FieldAllocator< uint8_t > > &alloc)
 
template<>
FlagField< uint16_t > * allocate (const uint_t x, const uint_t y, const uint_t z, const uint_t gl, Layout, const shared_ptr< field::FieldAllocator< uint16_t > > &alloc)
 
template<>
FlagField< uint32_t > * allocate (const uint_t x, const uint_t y, const uint_t z, const uint_t gl, Layout, const shared_ptr< field::FieldAllocator< uint32_t > > &alloc)
 
template<>
FlagField< uint64_t > * allocate (const uint_t x, const uint_t y, const uint_t z, const uint_t gl, Layout, const shared_ptr< field::FieldAllocator< uint64_t > > &alloc)
 
Vector3< uint_tdefaultSize (const shared_ptr< StructuredBlockStorage > &blocks, IBlock *const block)
 
bool sortBlocksByID (IBlock *lhs, IBlock *rhs)
 
bool sortConstBlocksByID (const IBlock *lhs, const IBlock *rhs)
 
const std::string massEvaluationFilename ("mass.dat")
 
const std::string massEvaluationConfigBlock ("MassEvaluation")
 
void massEvaluationConfigParser (const Config::BlockHandle &parentBlockHandle, const std::string &configBlockName, uint_t &defaultPlotFrequency, uint_t &defaultLogFrequency, std::string &defaultFilename, Vector3< real_t > &defaultDomainNormalization)
 
void massEvaluationConfigParser (const shared_ptr< Config > &config, const std::string &configBlockName, uint_t &defaultPlotFrequency, uint_t &defaultLogFrequency, std::string &defaultFilename, Vector3< real_t > &defaultDomainNormalization)
 
const std::string stabilityCheckerVTKBase ("vtk_out")
 
const std::string stabilityCheckerVTKFolder ("output")
 
const std::string stabilityCheckerVTKIdentifier ("error_field")
 
const bool stabilityCheckerVTKBinary (true)
 
const bool stabilityCheckerVTKLittleEndian (true)
 
const bool stabilityCheckerVTKMPIIO (true)
 
const bool stabilityCheckerVTKForcePVTU (false)
 
const std::string stabilityCheckerConfigBlock ("StabilityChecker")
 
template<typename T >
bool stabilityCheckerIsFinite (const T &value)
 
template<>
bool stabilityCheckerIsFinite (const Vector3< real_t > &value)
 
void stabilityCheckerConfigParser (const Config::BlockHandle &parentBlockHandle, const std::string &configBlockName, uint_t &defaultCheckFrequency, bool &defaultOutputToStream, bool &defaultOutputVTK, std::string &defaultVTKBaseFolder, std::string &defaultVTKExecutionFolder, std::string &defaultVTKIdentifier, bool &defaultVTKBinary, bool &defaultVTKLittleEndian, bool &defaultVTKMPIIO, bool &defaultVTKForcePVTU)
 
void stabilityCheckerConfigParser (const shared_ptr< Config > &config, const std::string &configBlockName, uint_t &defaultCheckFrequency, bool &defaultOutputToStream, bool &defaultOutputVTK, std::string &defaultVTKBaseFolder, std::string &defaultVTKExecutionFolder, std::string &defaultVTKIdentifier, bool &defaultVTKBinary, bool &defaultVTKLittleEndian, bool &defaultVTKMPIIO, bool &defaultVTKForcePVTU)
 
const std::string volumetricFlowRateEvaluationFilename ("flowrate.dat")
 
const real_t volumetricFlowRateEvaluationNormalization (real_t(1))
 
const Vector3< bool > volumetricFlowRateEvaluationAxis (Vector3< bool >(true, false, false))
 
const Vector3< real_tvolumetricFlowRateEvaluationPoint (Vector3< real_t >(real_c(0.5)))
 
const std::string volumetricFlowRateEvaluationConfigBlock ("VolumetricFlowRateEvaluation")
 
void volumetricFlowRateEvaluationConfigParser (const Config::BlockHandle &parentBlockHandle, const std::string &configBlockName, uint_t &defaultPlotFrequency, uint_t &defaultLogFrequency, std::string &defaultFilename, real_t &defaultNormalizationFactor, Vector3< real_t > &defaultDomainNormalization, Vector3< bool > &defaultAxis, Vector3< real_t > &defaultSurfacePoint)
 
void volumetricFlowRateEvaluationConfigParser (const shared_ptr< Config > &config, const std::string &configBlockName, uint_t &defaultPlotFrequency, uint_t &defaultLogFrequency, std::string &defaultFilename, real_t &defaultNormalizationFactor, Vector3< real_t > &defaultDomainNormalization, Vector3< bool > &defaultAxis, Vector3< real_t > &defaultSurfacePoint)
 
template<typename T >
shared_ptr< field::FieldAllocator< T > > getAllocator (uint_t alignment)
 
template<typename Field_T >
py::object field_size (const Field_T &field)
 
template<typename GlField_T >
py::tuple field_sizeWithGhostLayer (const GlField_T &field)
 
template<typename Field_T >
py::tuple field_allocSize (const Field_T &field)
 
template<typename Field_T >
py::tuple field_strides (const Field_T &field)
 
template<typename Field_T >
py::tuple field_offsets (const Field_T &field)
 
template<typename Field_T >
py::object field_layout (const Field_T &f)
 
template<typename Field_T >
void field_swapDataPointers (Field_T &f1, Field_T &f2)
 
template<typename Field_T >
py::object copyAdaptorToField (const Field_T &f)
 
template<typename Field_T >
py::array_t< typename Field_T::value_type > toNumpyArray (const Field_T &field)
 
template<typename GlField_T >
py::array_t< typename GlField_T::value_type > toNumpyArrayWithGhostLayers (const GlField_T &field)
 
template<typename... FieldTypes>
void 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 addFlagFieldToStorage (const shared_ptr< StructuredBlockStorage > &blocks, const std::string &name, uint_t nrOfBits, uint_t gl)
 
template<typename... FieldTypes>
py::object createPythonField (std::array< uint_t, 4 > size, py::object &dtype, uint_t ghostLayers, Layout layout, uint_t alignment)
 
template<typename... FieldTypes>
shared_ptr< vtk::BlockCellDataWriterInterfacecreateVTKWriter (const shared_ptr< StructuredBlockForest > &blocks, const std::string &name, const std::string &nameInVtkOutput="")
 
template<typename... FieldTypes>
shared_ptr< vtk::BlockCellDataWriterInterfacecreateBinarizationVTKWriter (const shared_ptr< StructuredBlockStorage > &blocks, const std::string &name, uint_t mask, const std::string &nameInVtkOutput="")
 
template<typename... FieldTypes>
static py::object gatherWrapper (const shared_ptr< StructuredBlockForest > &blocks, const std::string &name, const py::tuple &slice, int targetRank=0)
 

Typedef Documentation

◆ FlowRateSolution_T

using walberla::field::internal::FlowRateSolution_T = typedef std::function<real_t ()>

◆ FlowRateVelocitySolution_T

Function Documentation

◆ accuracyEvaluationAbsError() [1/2]

template<typename T >
real_t walberla::field::internal::accuracyEvaluationAbsError ( const T &  error)
inline

◆ accuracyEvaluationAbsError() [2/2]

template<>
real_t walberla::field::internal::accuracyEvaluationAbsError ( const Vector3< real_t > &  error)
inline

◆ accuracyEvaluationConfigBlock()

const std::string walberla::field::internal::accuracyEvaluationConfigBlock ( "AccuracyEvaluation"  )

◆ accuracyEvaluationConfigParser() [1/2]

void walberla::field::internal::accuracyEvaluationConfigParser ( const Config::BlockHandle parentBlockHandle,
const std::string &  configBlockName,
uint_t defaultPlotFrequency,
uint_t defaultLogFrequency,
std::string &  defaultFilename,
real_t defaultNormalizationFactor 
)
inline

◆ accuracyEvaluationConfigParser() [2/2]

void walberla::field::internal::accuracyEvaluationConfigParser ( const shared_ptr< Config > &  config,
const std::string &  configBlockName,
uint_t defaultPlotFrequency,
uint_t defaultLogFrequency,
std::string &  defaultFilename,
real_t defaultNormalizationFactor 
)
inline

◆ accuracyEvaluationFilename()

const std::string walberla::field::internal::accuracyEvaluationFilename ( "accuracy.dat"  )

◆ accuracyEvaluationLinePlotConfigBlock()

const std::string walberla::field::internal::accuracyEvaluationLinePlotConfigBlock ( "AccuracyEvaluationLinePlot"  )

◆ accuracyEvaluationLinePlotConfigParser() [1/2]

void walberla::field::internal::accuracyEvaluationLinePlotConfigParser ( const Config::BlockHandle parentBlockHandle,
const std::string &  configBlockName,
bool &  defaultYAxis,
Vector3< real_t > &  defaultRelLinePoint,
real_t defaultNormalizationFactor,
math::AABB defaultDomainNormalization 
)
inline

◆ accuracyEvaluationLinePlotConfigParser() [2/2]

void walberla::field::internal::accuracyEvaluationLinePlotConfigParser ( const shared_ptr< Config > &  config,
const std::string &  configBlockName,
bool &  defaultYAxis,
Vector3< real_t > &  defaultRelLinePoint,
real_t defaultNormalizationFactor,
math::AABB defaultDomainNormalization 
)
inline

◆ accuracyEvaluationLinePlotIO() [1/2]

template<typename T >
void walberla::field::internal::accuracyEvaluationLinePlotIO ( std::ofstream &  file,
const std::vector< AccuracyEvaluationPlotData< T > > &  points 
)

◆ accuracyEvaluationLinePlotIO() [2/2]

template<>
void walberla::field::internal::accuracyEvaluationLinePlotIO ( std::ofstream &  file,
const std::vector< AccuracyEvaluationPlotData< Vector3< real_t >> > &  points 
)
inline

◆ accuracyEvaluationLinePlotterConfigBlock()

const std::string walberla::field::internal::accuracyEvaluationLinePlotterConfigBlock ( "AccuracyEvaluationLinePlotter"  )

◆ accuracyEvaluationLinePlotterConfigParser() [1/2]

void walberla::field::internal::accuracyEvaluationLinePlotterConfigParser ( const Config::BlockHandle parentBlockHandle,
const std::string &  configBlockName,
uint_t defaultEvaluationFrequency,
std::string &  defaultFilename,
std::string &  defaultFileExtension 
)
inline

◆ accuracyEvaluationLinePlotterConfigParser() [2/2]

void walberla::field::internal::accuracyEvaluationLinePlotterConfigParser ( const shared_ptr< Config > &  config,
const std::string &  configBlockName,
uint_t defaultEvaluationFrequency,
std::string &  defaultFilename,
std::string &  defaultFileExtension 
)
inline

◆ accuracyEvaluationLinePlotterExtension()

const std::string walberla::field::internal::accuracyEvaluationLinePlotterExtension ( "dat"  )

◆ accuracyEvaluationLinePlotterFilename()

const std::string walberla::field::internal::accuracyEvaluationLinePlotterFilename ( "linePlot"  )

◆ addFlagFieldToStorage()

void walberla::field::internal::addFlagFieldToStorage ( const shared_ptr< StructuredBlockStorage > &  blocks,
const std::string &  name,
uint_t  nrOfBits,
uint_t  gl 
)
inline

◆ addToStorage()

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 
)

◆ allocate() [1/10]

template<typename GhostLayerField_T >
GhostLayerField_T* walberla::field::internal::allocate ( const uint_t  x,
const uint_t  y,
const uint_t  z,
const uint_t  gl,
const typename GhostLayerField_T::value_type &  v,
Layout  l,
const shared_ptr< field::FieldAllocator< typename GhostLayerField_T::value_type > > &  alloc = nullptr 
)
inline

◆ allocate() [2/10]

template<>
FlagField<uint16_t>* walberla::field::internal::allocate ( const uint_t  x,
const uint_t  y,
const uint_t  z,
const uint_t  gl,
const uint16_t ,
Layout  ,
const shared_ptr< field::FieldAllocator< uint16_t > > &  alloc 
)
inline

◆ allocate() [3/10]

template<>
FlagField<uint32_t>* walberla::field::internal::allocate ( const uint_t  x,
const uint_t  y,
const uint_t  z,
const uint_t  gl,
const uint32_t ,
Layout  ,
const shared_ptr< field::FieldAllocator< uint32_t > > &  alloc 
)
inline

◆ allocate() [4/10]

template<>
FlagField<uint64_t>* walberla::field::internal::allocate ( const uint_t  x,
const uint_t  y,
const uint_t  z,
const uint_t  gl,
const uint64_t ,
Layout  ,
const shared_ptr< field::FieldAllocator< uint64_t > > &  alloc 
)
inline

◆ allocate() [5/10]

template<>
FlagField<uint8_t>* walberla::field::internal::allocate ( const uint_t  x,
const uint_t  y,
const uint_t  z,
const uint_t  gl,
const uint8_t ,
Layout  ,
const shared_ptr< field::FieldAllocator< uint8_t > > &  alloc 
)
inline

◆ allocate() [6/10]

template<typename GhostLayerField_T >
GhostLayerField_T* walberla::field::internal::allocate ( const uint_t  x,
const uint_t  y,
const uint_t  z,
const uint_t  gl,
Layout  l,
const shared_ptr< field::FieldAllocator< typename GhostLayerField_T::value_type > > &  alloc = nullptr 
)
inline

◆ allocate() [7/10]

template<>
FlagField<uint16_t>* walberla::field::internal::allocate ( const uint_t  x,
const uint_t  y,
const uint_t  z,
const uint_t  gl,
Layout  ,
const shared_ptr< field::FieldAllocator< uint16_t > > &  alloc 
)
inline

◆ allocate() [8/10]

template<>
FlagField<uint32_t>* walberla::field::internal::allocate ( const uint_t  x,
const uint_t  y,
const uint_t  z,
const uint_t  gl,
Layout  ,
const shared_ptr< field::FieldAllocator< uint32_t > > &  alloc 
)
inline

◆ allocate() [9/10]

template<>
FlagField<uint64_t>* walberla::field::internal::allocate ( const uint_t  x,
const uint_t  y,
const uint_t  z,
const uint_t  gl,
Layout  ,
const shared_ptr< field::FieldAllocator< uint64_t > > &  alloc 
)
inline

◆ allocate() [10/10]

template<>
FlagField<uint8_t>* walberla::field::internal::allocate ( const uint_t  x,
const uint_t  y,
const uint_t  z,
const uint_t  gl,
Layout  ,
const shared_ptr< field::FieldAllocator< uint8_t > > &  alloc 
)
inline

◆ copyAdaptorToField()

template<typename Field_T >
py::object walberla::field::internal::copyAdaptorToField ( const Field_T &  f)

◆ createBinarizationVTKWriter()

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 = "" 
)
inline

◆ createPythonField()

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 
)

◆ createVTKWriter()

template<typename... FieldTypes>
shared_ptr<vtk::BlockCellDataWriterInterface> walberla::field::internal::createVTKWriter ( const shared_ptr< StructuredBlockForest > &  blocks,
const std::string &  name,
const std::string &  nameInVtkOutput = "" 
)
inline

◆ defaultSize()

Vector3< uint_t > walberla::field::internal::defaultSize ( const shared_ptr< StructuredBlockStorage > &  blocks,
IBlock *const  block 
)
inline

◆ field_allocSize()

template<typename Field_T >
py::tuple walberla::field::internal::field_allocSize ( const Field_T &  field)

◆ field_layout()

template<typename Field_T >
py::object walberla::field::internal::field_layout ( const Field_T &  f)

◆ field_offsets()

template<typename Field_T >
py::tuple walberla::field::internal::field_offsets ( const Field_T &  field)

◆ field_size()

template<typename Field_T >
py::object walberla::field::internal::field_size ( const Field_T &  field)

◆ field_sizeWithGhostLayer()

template<typename GlField_T >
py::tuple walberla::field::internal::field_sizeWithGhostLayer ( const GlField_T &  field)

◆ field_strides()

template<typename Field_T >
py::tuple walberla::field::internal::field_strides ( const Field_T &  field)

◆ field_swapDataPointers()

template<typename Field_T >
void walberla::field::internal::field_swapDataPointers ( Field_T &  f1,
Field_T &  f2 
)

◆ gatherWrapper()

template<typename... FieldTypes>
static py::object walberla::field::internal::gatherWrapper ( const shared_ptr< StructuredBlockForest > &  blocks,
const std::string &  name,
const py::tuple &  slice,
int  targetRank = 0 
)
static

◆ getAllocator()

template<typename T >
shared_ptr< field::FieldAllocator< T > > walberla::field::internal::getAllocator ( uint_t  alignment)

◆ massEvaluationConfigBlock()

const std::string walberla::field::internal::massEvaluationConfigBlock ( "MassEvaluation"  )

◆ massEvaluationConfigParser() [1/2]

void walberla::field::internal::massEvaluationConfigParser ( const Config::BlockHandle parentBlockHandle,
const std::string &  configBlockName,
uint_t defaultPlotFrequency,
uint_t defaultLogFrequency,
std::string &  defaultFilename,
Vector3< real_t > &  defaultDomainNormalization 
)
inline

◆ massEvaluationConfigParser() [2/2]

void walberla::field::internal::massEvaluationConfigParser ( const shared_ptr< Config > &  config,
const std::string &  configBlockName,
uint_t defaultPlotFrequency,
uint_t defaultLogFrequency,
std::string &  defaultFilename,
Vector3< real_t > &  defaultDomainNormalization 
)
inline

◆ massEvaluationFilename()

const std::string walberla::field::internal::massEvaluationFilename ( "mass.dat"  )

◆ sortBlocksByID()

bool walberla::field::internal::sortBlocksByID ( IBlock lhs,
IBlock rhs 
)
inline

◆ sortConstBlocksByID()

bool walberla::field::internal::sortConstBlocksByID ( const IBlock lhs,
const IBlock rhs 
)
inline

◆ stabilityCheckerConfigBlock()

const std::string walberla::field::internal::stabilityCheckerConfigBlock ( "StabilityChecker"  )

◆ stabilityCheckerConfigParser() [1/2]

void walberla::field::internal::stabilityCheckerConfigParser ( const Config::BlockHandle parentBlockHandle,
const std::string &  configBlockName,
uint_t defaultCheckFrequency,
bool &  defaultOutputToStream,
bool &  defaultOutputVTK,
std::string &  defaultVTKBaseFolder,
std::string &  defaultVTKExecutionFolder,
std::string &  defaultVTKIdentifier,
bool &  defaultVTKBinary,
bool &  defaultVTKLittleEndian,
bool &  defaultVTKMPIIO,
bool &  defaultVTKForcePVTU 
)
inline

◆ stabilityCheckerConfigParser() [2/2]

void walberla::field::internal::stabilityCheckerConfigParser ( const shared_ptr< Config > &  config,
const std::string &  configBlockName,
uint_t defaultCheckFrequency,
bool &  defaultOutputToStream,
bool &  defaultOutputVTK,
std::string &  defaultVTKBaseFolder,
std::string &  defaultVTKExecutionFolder,
std::string &  defaultVTKIdentifier,
bool &  defaultVTKBinary,
bool &  defaultVTKLittleEndian,
bool &  defaultVTKMPIIO,
bool &  defaultVTKForcePVTU 
)
inline

◆ stabilityCheckerIsFinite() [1/2]

template<typename T >
bool walberla::field::internal::stabilityCheckerIsFinite ( const T &  value)
inline

◆ stabilityCheckerIsFinite() [2/2]

template<>
bool walberla::field::internal::stabilityCheckerIsFinite ( const Vector3< real_t > &  value)
inline

◆ stabilityCheckerVTKBase()

const std::string walberla::field::internal::stabilityCheckerVTKBase ( "vtk_out"  )

◆ stabilityCheckerVTKBinary()

const bool walberla::field::internal::stabilityCheckerVTKBinary ( true  )

◆ stabilityCheckerVTKFolder()

const std::string walberla::field::internal::stabilityCheckerVTKFolder ( "output"  )

◆ stabilityCheckerVTKForcePVTU()

const bool walberla::field::internal::stabilityCheckerVTKForcePVTU ( false  )

◆ stabilityCheckerVTKIdentifier()

const std::string walberla::field::internal::stabilityCheckerVTKIdentifier ( "error_field"  )

◆ stabilityCheckerVTKLittleEndian()

const bool walberla::field::internal::stabilityCheckerVTKLittleEndian ( true  )

◆ stabilityCheckerVTKMPIIO()

const bool walberla::field::internal::stabilityCheckerVTKMPIIO ( true  )

◆ toNumpyArray()

template<typename Field_T >
py::array_t< typename Field_T::value_type > walberla::field::internal::toNumpyArray ( const Field_T &  field)

◆ toNumpyArrayWithGhostLayers()

template<typename GlField_T >
py::array_t< typename GlField_T::value_type > walberla::field::internal::toNumpyArrayWithGhostLayers ( const GlField_T &  field)

◆ volumetricFlowRateEvaluationAxis()

const Vector3<bool> walberla::field::internal::volumetricFlowRateEvaluationAxis ( Vector3< bool >  true, false, false)

◆ volumetricFlowRateEvaluationConfigBlock()

const std::string walberla::field::internal::volumetricFlowRateEvaluationConfigBlock ( "VolumetricFlowRateEvaluation"  )

◆ volumetricFlowRateEvaluationConfigParser() [1/2]

void walberla::field::internal::volumetricFlowRateEvaluationConfigParser ( const Config::BlockHandle parentBlockHandle,
const std::string &  configBlockName,
uint_t defaultPlotFrequency,
uint_t defaultLogFrequency,
std::string &  defaultFilename,
real_t defaultNormalizationFactor,
Vector3< real_t > &  defaultDomainNormalization,
Vector3< bool > &  defaultAxis,
Vector3< real_t > &  defaultSurfacePoint 
)
inline

◆ volumetricFlowRateEvaluationConfigParser() [2/2]

void walberla::field::internal::volumetricFlowRateEvaluationConfigParser ( const shared_ptr< Config > &  config,
const std::string &  configBlockName,
uint_t defaultPlotFrequency,
uint_t defaultLogFrequency,
std::string &  defaultFilename,
real_t defaultNormalizationFactor,
Vector3< real_t > &  defaultDomainNormalization,
Vector3< bool > &  defaultAxis,
Vector3< real_t > &  defaultSurfacePoint 
)
inline

◆ volumetricFlowRateEvaluationFilename()

const std::string walberla::field::internal::volumetricFlowRateEvaluationFilename ( "flowrate.dat"  )

◆ volumetricFlowRateEvaluationNormalization()

const real_t walberla::field::internal::volumetricFlowRateEvaluationNormalization ( real_t(1)  )

◆ volumetricFlowRateEvaluationPoint()

const Vector3<real_t> walberla::field::internal::volumetricFlowRateEvaluationPoint ( Vector3< real_t real_c(0.5))