Skip to content
Snippets Groups Projects
Commit b8dc1622 authored by Christian Godenschwager's avatar Christian Godenschwager
Browse files

Merge branch 'Adaptor_fix' into 'master'

Additional get() and operator() for GhostLayerFieldAdaptor

See merge request !135
parents 5b2ff0b2 296a6512
No related merge requests found
...@@ -4,6 +4,7 @@ List of contributors ...@@ -4,6 +4,7 @@ List of contributors
Christian Feichtinger Christian Feichtinger
Christian Godenschwager Christian Godenschwager
Christoph Rettinger Christoph Rettinger
Christoph Schwarzmeier
Daniel Ritter Daniel Ritter
Daniela Anderl Daniela Anderl
David Staubach David Staubach
......
...@@ -183,6 +183,7 @@ public: ...@@ -183,6 +183,7 @@ public:
inline T operator()( cell_idx_t x, cell_idx_t y, cell_idx_t z, uint_t f) const { return functor_( glField_, x,y,z,cell_idx_c(f)); } inline T operator()( cell_idx_t x, cell_idx_t y, cell_idx_t z, uint_t f) const { return functor_( glField_, x,y,z,cell_idx_c(f)); }
inline T operator()( const Cell & c ) const { return functor_( glField_, c[0], c[1], c[2] ); } inline T operator()( const Cell & c ) const { return functor_( glField_, c[0], c[1], c[2] ); }
inline T operator()( const Cell & c, cell_idx_t f ) const { return functor_( glField_, c[0], c[1], c[2], f ); } inline T operator()( const Cell & c, cell_idx_t f ) const { return functor_( glField_, c[0], c[1], c[2], f ); }
inline T operator()( const Cell & c, uint_t f ) const { return functor_( glField_, c[0], c[1], c[2], cell_idx_c(f) ); }
inline T get( cell_idx_t x, cell_idx_t y, cell_idx_t z) const { return functor_( glField_, x, y, z ); } inline T get( cell_idx_t x, cell_idx_t y, cell_idx_t z) const { return functor_( glField_, x, y, z ); }
...@@ -190,6 +191,7 @@ public: ...@@ -190,6 +191,7 @@ public:
inline T get( cell_idx_t x, cell_idx_t y, cell_idx_t z, uint_t f ) const { return functor_( glField_, x, y, z, cell_idx_c(f) ); } inline T get( cell_idx_t x, cell_idx_t y, cell_idx_t z, uint_t f ) const { return functor_( glField_, x, y, z, cell_idx_c(f) ); }
inline T get( const Cell & c ) const { return functor_( glField_, c[0], c[1], c[2] ); } inline T get( const Cell & c ) const { return functor_( glField_, c[0], c[1], c[2] ); }
inline T get( const Cell & c, cell_idx_t f ) const { return functor_( glField_, c[0], c[1], c[2], f ); } inline T get( const Cell & c, cell_idx_t f ) const { return functor_( glField_, c[0], c[1], c[2], f ); }
inline T get( const Cell & c, uint_t f ) const { return functor_( glField_, c[0], c[1], c[2], cell_idx_c(f) ); }
//@} //@}
//******************************************************************************************************************* //*******************************************************************************************************************
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment