ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
walberla::VTKWriter< FloatType, Field_T, F_SIZE_ARG, OutputType > Class Template Reference

Base class for LB field VTK writers. More...

#include <LBVTK.impl.hpp>

+ Inheritance diagram for walberla::VTKWriter< FloatType, Field_T, F_SIZE_ARG, OutputType >:
+ Collaboration diagram for walberla::VTKWriter< FloatType, Field_T, F_SIZE_ARG, OutputType >:

Public Member Functions

 VTKWriter (ConstBlockDataID const &block_id, std::string const &id, FloatType unit_conversion)
 

Protected Member Functions

void configure () override
 

Protected Attributes

ConstBlockDataID const m_block_id
 
Field_T const * m_field
 
FloatType const m_conversion
 

Detailed Description

template<typename FloatType, typename Field_T, uint_t F_SIZE_ARG, typename OutputType>
class walberla::VTKWriter< FloatType, Field_T, F_SIZE_ARG, OutputType >

Base class for LB field VTK writers.

Provides unit conversion and field access for cell-based VTK output. On GPU builds, the GPU field is copied to a CPU mirror before writing.

Template Parameters
FloatTypeInternal LB precision (float or double).
Field_TwaLBerla field type to read from.
F_SIZE_ARGNumber of components per cell (1, 3, or 9).
OutputTypeVTK output precision (default: float).

Definition at line 45 of file LBVTK.impl.hpp.

Constructor & Destructor Documentation

◆ VTKWriter()

template<typename FloatType , typename Field_T , uint_t F_SIZE_ARG, typename OutputType >
walberla::VTKWriter< FloatType, Field_T, F_SIZE_ARG, OutputType >::VTKWriter ( ConstBlockDataID const &  block_id,
std::string const &  id,
FloatType  unit_conversion 
)
inline

Definition at line 47 of file LBVTK.impl.hpp.

Member Function Documentation

◆ configure()

template<typename FloatType , typename Field_T , uint_t F_SIZE_ARG, typename OutputType >
void walberla::VTKWriter< FloatType, Field_T, F_SIZE_ARG, OutputType >::configure ( )
inlineoverrideprotected

Member Data Documentation

◆ m_block_id

template<typename FloatType , typename Field_T , uint_t F_SIZE_ARG, typename OutputType >
ConstBlockDataID const walberla::VTKWriter< FloatType, Field_T, F_SIZE_ARG, OutputType >::m_block_id
protected

◆ m_conversion

template<typename FloatType , typename Field_T , uint_t F_SIZE_ARG, typename OutputType >
FloatType const walberla::VTKWriter< FloatType, Field_T, F_SIZE_ARG, OutputType >::m_conversion
protected

◆ m_field


The documentation for this class was generated from the following file: