|
TiledArray
0.7.0
|
#include <unary_engine.h>


Public Types | |
| typedef UnaryEngine< Derived > | UnaryEngine_ |
| This class type. More... | |
| typedef ExprEngine< Derived > | ExprEngine_ |
| Base class type. More... | |
| typedef EngineTrait< Derived >::argument_type | argument_type |
| The argument expression engine type. More... | |
| typedef EngineTrait< Derived >::value_type | value_type |
| The result tile type. More... | |
| typedef EngineTrait< Derived >::op_type | op_type |
| The tile operation type. More... | |
| typedef EngineTrait< Derived >::policy | policy |
| The result policy type. More... | |
| typedef EngineTrait< Derived >::dist_eval_type | dist_eval_type |
| The distributed evaluator type. More... | |
| typedef EngineTrait< Derived >::size_type | size_type |
| Size type. More... | |
| typedef EngineTrait< Derived >::trange_type | trange_type |
| Tiled range type. More... | |
| typedef EngineTrait< Derived >::shape_type | shape_type |
| Shape type. More... | |
| typedef EngineTrait< Derived >::pmap_interface | pmap_interface |
| Process map interface type. More... | |
Public Member Functions | |
| template<typename D > | |
| UnaryEngine (const UnaryExpr< D > &expr) | |
| void | perm_vars (const VariableList &target_vars) |
| Set the variable list for this expression. More... | |
| void | init_vars (const VariableList &target_vars) |
| Initialize the variable list of this expression. More... | |
| void | init_vars () |
| Initialize the variable list of this expression. More... | |
| void | init_struct (const VariableList &target_vars) |
| Initialize result tensor structure. More... | |
| void | init_distribution (World *world, const std::shared_ptr< pmap_interface > &pmap) |
| Initialize result tensor distribution. More... | |
| trange_type | make_trange () const |
| Non-permuting tiled range factory function. More... | |
| trange_type | make_trange (const Permutation &perm) const |
| Permuting tiled range factory function. More... | |
| dist_eval_type | make_dist_eval () const |
| Construct the distributed evaluator for this expression. More... | |
| void | print (ExprOStream os, const VariableList &target_vars) const |
| Expression print. More... | |
| derived_type & | derived () |
| Cast this object to it's derived type. More... | |
| const derived_type & | derived () const |
| Cast this object to it's derived type. More... | |
| const VariableList & | vars () const |
| Variable list accessor. More... | |
Static Public Attributes | |
| static constexpr bool | consumable = true |
| static constexpr unsigned int | leaves = argument_type::leaves |
Protected Attributes | |
| argument_type | arg_ |
| The argument. More... | |
| World * | world_ |
| The world where this expression will be evaluated. More... | |
| VariableList | vars_ |
| The variable list of this expression. More... | |
| Permutation | perm_ |
| The permutation that will be applied to the result. More... | |
| trange_type | trange_ |
| The tiled range of the result tensor. More... | |
| shape_type | shape_ |
| The shape of the result tensor. More... | |
| std::shared_ptr< pmap_interface > | pmap_ |
| The process map for the result tensor. More... | |
| bool | permute_tiles_ |
Result tile permutation flag (true == permute tile) More... | |
Definition at line 41 of file unary_engine.h.
| typedef EngineTrait<Derived>::argument_type TiledArray::expressions::UnaryEngine< Derived >::argument_type |
The argument expression engine type.
Definition at line 48 of file unary_engine.h.
| typedef EngineTrait<Derived>::dist_eval_type TiledArray::expressions::UnaryEngine< Derived >::dist_eval_type |
The distributed evaluator type.
Definition at line 54 of file unary_engine.h.
| typedef ExprEngine<Derived> TiledArray::expressions::UnaryEngine< Derived >::ExprEngine_ |
Base class type.
Definition at line 45 of file unary_engine.h.
| typedef EngineTrait<Derived>::op_type TiledArray::expressions::UnaryEngine< Derived >::op_type |
The tile operation type.
Definition at line 52 of file unary_engine.h.
| typedef EngineTrait<Derived>::pmap_interface TiledArray::expressions::UnaryEngine< Derived >::pmap_interface |
Process map interface type.
Definition at line 60 of file unary_engine.h.
| typedef EngineTrait<Derived>::policy TiledArray::expressions::UnaryEngine< Derived >::policy |
The result policy type.
Definition at line 53 of file unary_engine.h.
| typedef EngineTrait<Derived>::shape_type TiledArray::expressions::UnaryEngine< Derived >::shape_type |
Shape type.
Definition at line 59 of file unary_engine.h.
| typedef EngineTrait<Derived>::size_type TiledArray::expressions::UnaryEngine< Derived >::size_type |
Size type.
Definition at line 57 of file unary_engine.h.
| typedef EngineTrait<Derived>::trange_type TiledArray::expressions::UnaryEngine< Derived >::trange_type |
Tiled range type.
Definition at line 58 of file unary_engine.h.
| typedef UnaryEngine<Derived> TiledArray::expressions::UnaryEngine< Derived >::UnaryEngine_ |
This class type.
Definition at line 44 of file unary_engine.h.
| typedef EngineTrait<Derived>::value_type TiledArray::expressions::UnaryEngine< Derived >::value_type |
The result tile type.
Definition at line 51 of file unary_engine.h.
|
inline |
Definition at line 88 of file unary_engine.h.
|
inline |
Cast this object to it's derived type.
Definition at line 186 of file expr_engine.h.
|
inline |
Cast this object to it's derived type.
Definition at line 189 of file expr_engine.h.
|
inline |
Initialize result tensor distribution.
This function will initialize the world and process map for the result tensor.
| world | The world were the result will be distributed |
| pmap | The process map for the result tensor tiles |
Definition at line 140 of file unary_engine.h.
|
inline |
Initialize result tensor structure.
This function will initialize the permutation, tiled range, and shape for the left-hand, right-hand, and result tensor.
| target_vars | The target variable list for the result tensor |
Definition at line 129 of file unary_engine.h.
|
inline |
Initialize the variable list of this expression.
| target_vars | The target variable list for this expression |
Definition at line 112 of file unary_engine.h.
|
inline |
Initialize the variable list of this expression.
Definition at line 118 of file unary_engine.h.
|
inline |
Construct the distributed evaluator for this expression.
Definition at line 163 of file unary_engine.h.
|
inline |
Non-permuting tiled range factory function.
Definition at line 150 of file unary_engine.h.
|
inline |
Permuting tiled range factory function.
| perm | The permutation to be applied to the tiled range |
Definition at line 156 of file unary_engine.h.
|
inline |
Set the variable list for this expression.
This function will set the variable list for this expression and its children such that the number of permutations is minimized.
| target_vars | The target variable list for this expression |
Definition at line 101 of file unary_engine.h.

|
inline |
Expression print.
| os | The output stream |
| target_vars | The target variable list for this expression |
Definition at line 182 of file unary_engine.h.
|
inline |
Variable list accessor.
Definition at line 199 of file expr_engine.h.
|
protected |
The argument.
Definition at line 77 of file unary_engine.h.
|
static |
Definition at line 63 of file unary_engine.h.
|
static |
Definition at line 64 of file unary_engine.h.
|
protected |
The permutation that will be applied to the result.
Definition at line 66 of file expr_engine.h.
|
protected |
Result tile permutation flag (true == permute tile)
Definition at line 65 of file expr_engine.h.
|
protected |
The process map for the result tensor.
Definition at line 69 of file expr_engine.h.
|
protected |
The shape of the result tensor.
Definition at line 68 of file expr_engine.h.
|
protected |
The tiled range of the result tensor.
Definition at line 67 of file expr_engine.h.
|
protected |
The variable list of this expression.
Definition at line 64 of file expr_engine.h.
|
protected |
The world where this expression will be evaluated.
Definition at line 63 of file expr_engine.h.