OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
#include <SubBareField.h>
Public Types | |
enum | { Dim_u = Dim } |
enum | { IsExpr = 1 } |
typedef T | T_t |
typedef S | Index_t |
typedef SubFieldIter< T, Dim, S > | iterator |
typedef iterator | PETE_Expr_t |
Public Types inherited from PETE_Expr< SubBareField< T, Dim, S > > | |
typedef SubBareField< T, Dim, S > | Wrapped |
Public Member Functions | |
constexpr | SubBareField (const SubBareField< T, Dim, S > &)=default |
iterator | begin () const |
iterator | end () const |
const S & | getDomain () const |
void | makeNDIndex (NDIndex< Dim > &i) |
BareField< T, Dim > & | getBareField () const |
T | get () |
void | get (T &r) |
bool | checkBrackets () const |
template<class S2 > | |
SubBareField< T, Dim, typename SubFieldTraits< T, Dim, S, S2 >::Return_t > | operator[] (const S2 &s) |
SubBareField< T, Dim, S > & | operator= (const SubBareField< T, Dim, S > &) |
SubBareField< T, Dim, S > & | operator= (T) |
template<class B > | |
SubBareField< T, Dim, S > & | operator= (const PETE_Expr< B > &b) |
void | write (std::ostream &) |
iterator | MakeExpression () const |
PETE_TUTree< OpParens< int >, iterator > | operator() (int arg) |
PETE_TUTree< OpParens< std::pair< int, int > >, iterator > | operator() (int a1, int a2) |
template<class S2 > | |
SubBareField (BareField< T, Dim > &f, const S2 &s) | |
Public Member Functions inherited from PETE_Expr< SubBareField< T, Dim, S > > | |
SubBareField< T, Dim, S > & | PETE_unwrap () |
const SubBareField< T, Dim, S > & | PETE_unwrap () const |
Static Public Member Functions | |
static int | getSubsetType () |
Protected Member Functions | |
bool | checkAddBrackets (unsigned int) |
Protected Attributes | |
BareField< T, Dim > & | A |
S | MyDomain |
unsigned int | Brackets |
Friends | |
class | BareField< T, Dim > |
Definition at line 57 of file SubBareField.h.
typedef S SubBareField< T, Dim, S >::Index_t |
Definition at line 64 of file SubBareField.h.
typedef SubFieldIter<T,Dim,S> SubBareField< T, Dim, S >::iterator |
Definition at line 65 of file SubBareField.h.
typedef iterator SubBareField< T, Dim, S >::PETE_Expr_t |
Definition at line 171 of file SubBareField.h.
typedef T SubBareField< T, Dim, S >::T_t |
Definition at line 63 of file SubBareField.h.
anonymous enum |
Enumerator | |
---|---|
Dim_u |
Definition at line 68 of file SubBareField.h.
anonymous enum |
Enumerator | |
---|---|
IsExpr |
Definition at line 170 of file SubBareField.h.
|
constexprdefault |
|
inline |
Definition at line 211 of file SubBareField.h.
References SubBareField< T, Dim, S >::A, SubBareField< T, Dim, S >::Brackets, SubFieldTraits< T, Dim, S1, S2 >::construct(), and SubBareField< T, Dim, S >::MyDomain.
SubBareField< T, Dim, S >::iterator SubBareField< T, Dim, S >::begin |
Definition at line 101 of file SubBareField.hpp.
Referenced by SubBareField< T, Dim, S >::MakeExpression(), and SubBareField< T, Dim, S >::operator()().
|
protected |
Definition at line 41 of file SubBareField.hpp.
References Dim, endl(), and ERRORMSG.
Referenced by SubBareField< T, Dim, S >::operator[](), and SubField< T, Dim, M, C, S >::operator[]().
|
inline |
Definition at line 99 of file SubBareField.h.
References SubBareField< T, Dim, S >::Brackets, and Dim.
Referenced by SubBareField< T, Dim, S >::operator()().
SubBareField< T, Dim, S >::iterator SubBareField< T, Dim, S >::end |
Definition at line 109 of file SubBareField.hpp.
|
inline |
Definition at line 92 of file SubBareField.h.
References SubBareField< T, Dim, S >::get(), and Attrib::Legacy::Distribution::T.
Referenced by SubBareField< T, Dim, S >::get().
void SubBareField< T, Dim, S >::get | ( | T & | r | ) |
Definition at line 83 of file SubBareField.hpp.
References PAssert_EQ.
|
inline |
Definition at line 89 of file SubBareField.h.
References SubBareField< T, Dim, S >::A.
|
inline |
Definition at line 81 of file SubBareField.h.
References SubBareField< T, Dim, S >::MyDomain.
|
inlinestatic |
Definition at line 96 of file SubBareField.h.
|
inline |
Definition at line 172 of file SubBareField.h.
References SubBareField< T, Dim, S >::begin().
|
inline |
Definition at line 86 of file SubBareField.h.
References SubBareField< T, Dim, S >::MyDomain.
|
inline |
Definition at line 182 of file SubBareField.h.
References SubBareField< T, Dim, S >::begin(), and SubBareField< T, Dim, S >::checkBrackets().
|
inline |
Definition at line 177 of file SubBareField.h.
References arg(), SubBareField< T, Dim, S >::begin(), and SubBareField< T, Dim, S >::checkBrackets().
|
inline |
Definition at line 152 of file SubBareField.h.
References assign().
SubBareField< T, Dim, S > & SubBareField< T, Dim, S >::operator= | ( | const SubBareField< T, Dim, S > & | t | ) |
Definition at line 59 of file SubBareField.hpp.
References assign().
SubBareField< T, Dim, S > & SubBareField< T, Dim, S >::operator= | ( | T | t | ) |
Definition at line 71 of file SubBareField.hpp.
References assign().
|
inline |
Definition at line 115 of file SubBareField.h.
References SubBareField< T, Dim, S >::A, SubBareField< T, Dim, S >::Brackets, SubBareField< T, Dim, S >::checkAddBrackets(), SubFieldTraits< T, Dim, S1, S2 >::combine(), Dim, SubBareField< T, Dim, S >::MyDomain, and Attrib::Legacy::Distribution::T.
void SubBareField< T, Dim, S >::write | ( | std::ostream & | o | ) |
Definition at line 120 of file SubBareField.hpp.
References Dim, and PAssert_EQ.
Definition at line 227 of file SubBareField.h.
|
protected |
Definition at line 190 of file SubBareField.h.
Referenced by SubBareField< T, Dim, S >::getBareField(), SubBareField< T, Dim, S >::operator[](), and SubBareField< T, Dim, S >::SubBareField().
|
protected |
Definition at line 197 of file SubBareField.h.
Referenced by SubBareField< T, Dim, S >::checkBrackets(), SubBareField< T, Dim, S >::operator[](), and SubBareField< T, Dim, S >::SubBareField().
|
protected |
Definition at line 193 of file SubBareField.h.
Referenced by SubBareField< T, Dim, S >::getDomain(), SubBareField< T, Dim, S >::makeNDIndex(), SubBareField< T, Dim, S >::operator[](), and SubBareField< T, Dim, S >::SubBareField().