walberla::field::VectorFieldAccessor< VectorField_T, Enable > Struct Template Reference

Detailed Description

template<typename VectorField_T, typename Enable = void>
struct walberla::field::VectorFieldAccessor< VectorField_T, Enable >

Provides an abstraction between Field<real_t,3> and Field<Vector3<real_t>, 1 >

#include <VectorFieldAccessor.h>

Public Types

using vector_or_constRefVector = Vector3< real_t >
 

Static Public Member Functions

static vector_or_constRefVector get (const VectorField_T *f, cell_idx_t x, cell_idx_t y, cell_idx_t z)
 
static void set (const VectorField_T *f, const Vector3< real_t > &v, cell_idx_t x, cell_idx_t y, cell_idx_t z)
 

Member Typedef Documentation

◆ vector_or_constRefVector

template<typename VectorField_T , typename Enable = void>
using walberla::field::VectorFieldAccessor< VectorField_T, Enable >::vector_or_constRefVector = Vector3<real_t>

Member Function Documentation

◆ get()

template<typename VectorField_T , typename Enable = void>
static vector_or_constRefVector walberla::field::VectorFieldAccessor< VectorField_T, Enable >::get ( const VectorField_T f,
cell_idx_t  x,
cell_idx_t  y,
cell_idx_t  z 
)
inlinestatic

◆ set()

template<typename VectorField_T , typename Enable = void>
static void walberla::field::VectorFieldAccessor< VectorField_T, Enable >::set ( const VectorField_T f,
const Vector3< real_t > &  v,
cell_idx_t  x,
cell_idx_t  y,
cell_idx_t  z 
)
inlinestatic

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