Flow123d  DF_patch_fe_data_tables-9d4017b
Public Member Functions | Protected Attributes | List of all members
ArenaOVec< T > Class Template Reference

Outer product - only proposal of multi operator. More...

#include <arena_vec.hh>

Inheritance diagram for ArenaOVec< T >:
Inheritance graph
[legend]
Collaboration diagram for ArenaOVec< T >:
Collaboration graph
[legend]

Public Member Functions

 ArenaOVec (ArenaVec< T > &vec)
 
ArenaVec< T > get_vec ()
 
ArenaOVec< T > operator+ (const ArenaOVec< T > &other) const
 
ArenaOVec< T > operator* (const ArenaOVec< T > &other) const
 
- Public Member Functions inherited from ArenaVec< T >
 ArenaVec ()
 Default constructor, set invalid data pointer. More...
 
 ArenaVec (T scalar_val)
 
 ArenaVec (size_t data_size, AssemblyArena &arena)
 
 ArenaVec (const ArenaVec< T > &other)
 Copy constructor. More...
 
Eigen::Map< VecDataeigen_map ()
 
const Eigen::Map< VecDataeigen_map () const
 Smae as previous but with const modifier. More...
 
Eigen::Map< ArrayDataarray_map ()
 
const Eigen::Map< ArrayDataarray_map () const
 Smae as previous but with const modifier. More...
 
T * data_ptr ()
 Return data pointer (development method) More...
 
const T * data_ptr () const
 Smae as previous but return const pointer. More...
 
size_t data_size () const
 Getter for data_size_. More...
 
AssemblyArenaarena ()
 Getter for arena_. More...
 
void set_patch_arena (PatchArena &arena)
 Set pointer to PatchArena. More...
 
ArenaVec< T > sqrt () const
 
ArenaVec< T > inverse () const
 
ArenaVec< T > abs () const
 
T & operator() (std::size_t item)
 For development only. TODO remove. More...
 
const T & operator() (std::size_t item) const
 For development only. TODO remove. More...
 
ArenaVec< T > operator+ (const ArenaVec< T > &other) const
 
ArenaVec< T > operator- (const ArenaVec< T > &other) const
 
ArenaVec< T > operator* (T multi) const
 
ArenaVec< T > operator* (const ArenaVec< T > &other) const
 
ArenaVec< T > operator/ (T div_by) const
 
ArenaVec< T > operator/ (const ArenaVec< T > &other) const
 

Protected Attributes

ArenaVec< T > & vec_
 Reference to ArenaVec. More...
 
- Protected Attributes inherited from ArenaVec< T >
T * data_ptr_
 Pointer to data array. More...
 
size_t data_size_
 Length of data array. More...
 
AssemblyArenaarena_
 Pointer to Arena where intermediate calculations and results are stored, should be changed by set_patch_arena. More...
 
scalar_val_
 Scalar value of T type. More...
 

Additional Inherited Members

- Public Types inherited from ArenaVec< T >
typedef Eigen::Matrix< T, Eigen::Dynamic, 1 > VecData
 Type definition. More...
 
typedef Eigen::Array< T, Eigen::Dynamic, 1 > ArrayData
 
- Protected Member Functions inherited from ArenaVec< T >
 ArenaVec (T *data_ptr, size_t data_size, AssemblyArena &arena)
 Constructor. Allows create ArenaVec from ArenaOVec. More...
 

Detailed Description

template<class T>
class ArenaOVec< T >

Outer product - only proposal of multi operator.

Definition at line 229 of file arena_vec.hh.

Constructor & Destructor Documentation

◆ ArenaOVec()

template<class T >
ArenaOVec< T >::ArenaOVec ( ArenaVec< T > &  vec)
inline

Definition at line 231 of file arena_vec.hh.

Member Function Documentation

◆ get_vec()

template<class T >
ArenaVec<T> ArenaOVec< T >::get_vec ( )
inline

Definition at line 239 of file arena_vec.hh.

Here is the caller graph for this function:

◆ operator*()

template<class T >
ArenaOVec<T> ArenaOVec< T >::operator* ( const ArenaOVec< T > &  other) const
inline

Definition at line 256 of file arena_vec.hh.

◆ operator+()

template<class T >
ArenaOVec<T> ArenaOVec< T >::operator+ ( const ArenaOVec< T > &  other) const
inline

Definition at line 243 of file arena_vec.hh.

Member Data Documentation

◆ vec_

template<class T >
ArenaVec<T>& ArenaOVec< T >::vec_
protected

Reference to ArenaVec.

Definition at line 266 of file arena_vec.hh.


The documentation for this class was generated from the following file: