walberla::field::ComponentExtractionFunction< Field_T, fComponent, vectorComponent > Class Template Reference

#include <ComponentExtractionAdaptor.h>

Public Types

using basefield_t = Field_T
 
using basefield_iterator = typename Field_T::const_base_iterator
 
using OutputTrait = VectorTrait< typename basefield_t::value_type >
 
using value_type = typename OutputTrait::OutputType
 

Public Member Functions

value_type operator() (const basefield_t &baseField, cell_idx_t x, cell_idx_t y, cell_idx_t z, cell_idx_t) const
 
value_type operator() (const basefield_iterator &it) const
 

Static Public Attributes

static const uint_t F_SIZE = 1
 

Member Typedef Documentation

◆ basefield_iterator

template<typename Field_T , uint_t fComponent, uint_t vectorComponent>
using walberla::field::ComponentExtractionFunction< Field_T, fComponent, vectorComponent >::basefield_iterator = typename Field_T::const_base_iterator

◆ basefield_t

template<typename Field_T , uint_t fComponent, uint_t vectorComponent>
using walberla::field::ComponentExtractionFunction< Field_T, fComponent, vectorComponent >::basefield_t = Field_T

◆ OutputTrait

template<typename Field_T , uint_t fComponent, uint_t vectorComponent>
using walberla::field::ComponentExtractionFunction< Field_T, fComponent, vectorComponent >::OutputTrait = VectorTrait<typename basefield_t::value_type>

◆ value_type

template<typename Field_T , uint_t fComponent, uint_t vectorComponent>
using walberla::field::ComponentExtractionFunction< Field_T, fComponent, vectorComponent >::value_type = typename OutputTrait::OutputType

Member Function Documentation

◆ operator()() [1/2]

template<typename Field_T , uint_t fComponent, uint_t vectorComponent>
value_type walberla::field::ComponentExtractionFunction< Field_T, fComponent, vectorComponent >::operator() ( const basefield_iterator it) const
inline

◆ operator()() [2/2]

template<typename Field_T , uint_t fComponent, uint_t vectorComponent>
value_type walberla::field::ComponentExtractionFunction< Field_T, fComponent, vectorComponent >::operator() ( const basefield_t baseField,
cell_idx_t  x,
cell_idx_t  y,
cell_idx_t  z,
cell_idx_t   
) const
inline

Member Data Documentation

◆ F_SIZE

template<typename Field_T , uint_t fComponent, uint_t vectorComponent>
const uint_t walberla::field::ComponentExtractionFunction< Field_T, fComponent, vectorComponent >::F_SIZE = 1
static

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