Class MHO_SelectRepack.
More...
#include <MHO_SelectRepack.hh>
|
virtual bool | ExecuteInPlace (XArgType *in) override |
| Executes operation in-place by calling ExecuteOutOfPlace and copying result back to input. More...
|
|
virtual bool | ExecuteOutOfPlace (const XArgType *in, XArgType *out) override |
| Function ExecuteOutOfPlace. More...
|
|
virtual bool | InitializeInPlace (XArgType *in) override |
| Initializes in-place by calling InitializeOutOfPlace with workspace. More...
|
|
virtual bool | InitializeOutOfPlace (const XArgType *in, XArgType *out) override |
| Initializes out-of-place processing for given input and output arguments. More...
|
|
template<class XArgType>
class hops::MHO_SelectRepack< XArgType >
Class MHO_SelectRepack.
operator to select data from table and repack it into an entirely new table, this typically would involve lots of copying (expensive), so it should be used sparringly (e.g. initial or final coarse data selection)
- Author
- J. Barrett - barre.nosp@m.ttj@.nosp@m.mit.e.nosp@m.du
- Date
- Thu Dec 15 16:45:22 2022 -0500
◆ MHO_SelectRepack()
template<class XArgType >
◆ ~MHO_SelectRepack()
template<class XArgType >
◆ ExecuteInPlace()
template<class XArgType >
|
inlineoverrideprotectedvirtual |
Executes operation in-place by calling ExecuteOutOfPlace and copying result back to input.
- Parameters
-
in | Input object of type XArgType* that will be modified in-place |
- Returns
- Status of the execution operation
- Note
- This is a virtual function.
Implements hops::MHO_UnaryOperator< XArgType >.
◆ ExecuteOutOfPlace()
template<class XArgType >
|
inlineoverrideprotectedvirtual |
Function ExecuteOutOfPlace.
- Parameters
-
in | (const XArgType*) |
out | (XArgType*) |
- Returns
- Return value (bool)
- Note
- This is a virtual function.
Implements hops::MHO_UnaryOperator< XArgType >.
◆ InitializeInPlace()
template<class XArgType >
|
inlineoverrideprotectedvirtual |
Initializes in-place by calling InitializeOutOfPlace with workspace.
- Parameters
-
in | Input pointer to XArgType object |
- Returns
- Boolean indicating success of initialization
- Note
- This is a virtual function.
Implements hops::MHO_UnaryOperator< XArgType >.
◆ InitializeOutOfPlace()
template<class XArgType >
|
inlineoverrideprotectedvirtual |
Initializes out-of-place processing for given input and output arguments.
- Parameters
-
in | Const reference to input argument of type XArgType |
out | Reference to output argument of type XArgType |
- Returns
- Boolean indicating success or failure of initialization
- Note
- This is a virtual function.
Implements hops::MHO_UnaryOperator< XArgType >.
◆ Reset()
template<class XArgType >
Clears all entries from fAxisSelectionMap.
◆ SelectAxisItems()
template<class XArgType >
void hops::MHO_SelectRepack< XArgType >::SelectAxisItems |
( |
std::size_t |
axis_index, |
|
|
const std::vector< std::size_t > & |
valid_indexes |
|
) |
| |
|
inline |
Stores valid indexes for a given axis and marks selection as uninitialized.
- Parameters
-
axis_index | Index of the axis to store valid indexes for. |
valid_indexes | Vector of valid indexes for the specified axis. |
The documentation for this class was generated from the following file: