OpenLB 1.8.1
Loading...
Searching...
No Matches
olb::BlockLatticeRowView< T, DESCRIPTOR > Class Template Reference

#include <blockD.h>

+ Collaboration diagram for olb::BlockLatticeRowView< T, DESCRIPTOR >:

Public Member Functions

 BlockLatticeRowView (BlockD< T, DESCRIPTOR > &lattice, std::size_t iRow)
 
template<typename FIELD >
auto getField () const
 
template<typename FIELD >
void setField (const FieldD< T, DESCRIPTOR, FIELD > &data) const
 

Detailed Description

template<typename T, typename DESCRIPTOR>
class olb::BlockLatticeRowView< T, DESCRIPTOR >

Definition at line 47 of file blockD.h.

Constructor & Destructor Documentation

◆ BlockLatticeRowView()

template<typename T , typename DESCRIPTOR >
olb::BlockLatticeRowView< T, DESCRIPTOR >::BlockLatticeRowView ( BlockD< T, DESCRIPTOR > & lattice,
std::size_t iRow )
inline

Definition at line 53 of file blockD.h.

54 :
55 _lattice(lattice),
56 _iRow(iRow) { }

Member Function Documentation

◆ getField()

template<typename T , typename DESCRIPTOR >
template<typename FIELD >
auto olb::BlockLatticeRowView< T, DESCRIPTOR >::getField ( ) const
inline

Definition at line 59 of file blockD.h.

59 {
60 return _lattice.template getField<FIELD>().get(_iRow);
61 }
auto getField() const
Definition blockD.h:59

References olb::BlockD< T, DESCRIPTOR >::get(), and olb::BlockLatticeRowView< T, DESCRIPTOR >::getField().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setField()

template<typename T , typename DESCRIPTOR >
template<typename FIELD >
void olb::BlockLatticeRowView< T, DESCRIPTOR >::setField ( const FieldD< T, DESCRIPTOR, FIELD > & data) const
inline

Definition at line 64 of file blockD.h.

64 {
65 _lattice.template getField<FIELD>().set(_iRow, data);
66 }

References olb::BlockLatticeRowView< T, DESCRIPTOR >::getField().

+ Here is the call graph for this function:

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