TrioCFD 1.9.8
TrioCFD documentation
Loading...
Searching...
No Matches
IJK_ptr< _TYPE_, _TYPE_ARRAY_ > Class Template Reference

#include <IJK_ptr.h>

Inheritance diagram for IJK_ptr< _TYPE_, _TYPE_ARRAY_ >:
[legend]
Collaboration diagram for IJK_ptr< _TYPE_, _TYPE_ARRAY_ >:
[legend]

Public Member Functions

 IJK_ptr (IJK_Field_local_template< _TYPE_, _TYPE_ARRAY_ > &field, int i, int j, int k)
void put_val (int i_offset, const _TYPE_ &val)
 Performs the assignment: field(i+i_offset,j,k) = val.
void put_val (int i_offset, const Simd_template< _TYPE_ > &val)
Public Member Functions inherited from ConstIJK_ptr< _TYPE_, _TYPE_ARRAY_ >
 ConstIJK_ptr (const IJK_Field_local_template< _TYPE_, _TYPE_ARRAY_ > &field, int i, int j, int k)
 builds a pointer to field(i,j,k);
void next_j ()
 increments the pointer by j_stride (eg, j = j+1)
void get_center (int i_offset, _TYPE_ &center) const
 returns field(i+i_offset, j, k)
void get_left_center (DIRECTION _DIR_, int i_offset, _TYPE_ &left, _TYPE_ &center) const
 returns left=field(i+i_offset-1, j, k) and center=field(i+i_offset, j, k)
void get_center_right (DIRECTION _DIR_, int i_offset, _TYPE_ &center, _TYPE_ &right) const
void get_left_center_right (DIRECTION _DIR_, int i_offset, _TYPE_ &left, _TYPE_ &center, _TYPE_ &right) const
void get_leftleft_left_center_right (DIRECTION _DIR_, int i_offset, _TYPE_ &leftleft, _TYPE_ &left, _TYPE_ &center, _TYPE_ &right) const
void get_center (int i_offset, Simd_template< _TYPE_ > &center) const
void get_left_center (DIRECTION _DIR_, int i_offset, Simd_template< _TYPE_ > &left, Simd_template< _TYPE_ > &center) const
void get_center_right (DIRECTION _DIR_, int i_offset, Simd_template< _TYPE_ > &center, Simd_template< _TYPE_ > &right) const
void get_left_center_right (DIRECTION _DIR_, int i_offset, Simd_template< _TYPE_ > &left, Simd_template< _TYPE_ > &center, Simd_template< _TYPE_ > &right) const
void get_leftleft_left_center_right (DIRECTION _DIR_, int i_offset, Simd_template< _TYPE_ > &leftleft, Simd_template< _TYPE_ > &left, Simd_template< _TYPE_ > &center, Simd_template< _TYPE_ > &right) const
void get_left_center_c1c2 (DIRECTION _COMPO1_, DIRECTION _COMPO2_, int i_offset, Simd_template< _TYPE_ > &leftc1_leftc2, Simd_template< _TYPE_ > &leftc1_centerc2, Simd_template< _TYPE_ > &centerc1_leftc2, Simd_template< _TYPE_ > &centerc1_centerc2) const

Additional Inherited Members

Protected Attributes inherited from ConstIJK_ptr< _TYPE_, _TYPE_ARRAY_ >
const _TYPE_ * ptr_
int j_stride_
int k_stride_
int i_min_
int i_max_
int j_min_
int j_max_
int k_min_
int k_max_
int i_
int j_
int k_

Detailed Description

template<typename _TYPE_, typename _TYPE_ARRAY_>
class IJK_ptr< _TYPE_, _TYPE_ARRAY_ >

Definition at line 23 of file IJK_ptr.h.

Constructor & Destructor Documentation

◆ IJK_ptr()

template<typename _TYPE_, typename _TYPE_ARRAY_>
IJK_ptr< _TYPE_, _TYPE_ARRAY_ >::IJK_ptr ( IJK_Field_local_template< _TYPE_, _TYPE_ARRAY_ > & field,
int i,
int j,
int k )
inline

Definition at line 26 of file IJK_ptr.h.

Member Function Documentation

◆ put_val() [1/2]

template<typename _TYPE_, typename _TYPE_ARRAY_>
void IJK_ptr< _TYPE_, _TYPE_ARRAY_ >::put_val ( int i_offset,
const _TYPE_ & val )
inline

Performs the assignment: field(i+i_offset,j,k) = val.

Definition at line 32 of file IJK_ptr.h.

◆ put_val() [2/2]

template<typename _TYPE_, typename _TYPE_ARRAY_>
void IJK_ptr< _TYPE_, _TYPE_ARRAY_ >::put_val ( int i_offset,
const Simd_template< _TYPE_ > & val )
inline

Definition at line 39 of file IJK_ptr.h.


The documentation for this class was generated from the following file:
  • /home/docs/trust-code/src/Kernel/IJK/Champs/IJK_ptr.h