Container that is used for FE Results. It gives access to the stored value, but can also be used to access the result in Matrix and Vector form.  
 More...
#include <ikarus/finiteelements/feresulttypes.hh>
 | 
| using  | VecType = std::invoke_result_t< decltype(&RT::Vectorizer::template transform< ResultTypeValueType >), const ResultTypeValueType & > | 
|   | 
| using  | MatType = std::invoke_result_t< decltype(&RT::Matricizer::template transform< VecType, rowsAtCompileTime, colsAtCompileTime >), const VecType &, int, int > | 
|   | 
| using  | StoredType = std::conditional_t< storedValueIsVector, VecType, MatType > | 
|   | 
| using  | ResultType = RT | 
|   | 
template<typename RT, 
ResultShape storedResultShape = ResultShape::Vector>
struct Ikarus::ResultWrapper< RT, storedResultShape >
- Template Parameters
 - 
  
    | RT | A specified ResultType  | 
    | storedResultShape | boolean indicating whether the stored result is in its vector form, defaults to true  | 
  
   
 
◆ MatType
template<typename RT , 
ResultShape storedResultShape = ResultShape::Vector> 
 
      
        
          | using Ikarus::ResultWrapper< RT, storedResultShape >::MatType =  std::invoke_result_t<decltype(&RT::Matricizer::template transform<VecType, rowsAtCompileTime, colsAtCompileTime>), const VecType&, int, int> | 
        
      
 
 
◆ ResultType
template<typename RT , 
ResultShape storedResultShape = ResultShape::Vector> 
 
      
 
 
◆ StoredType
template<typename RT , 
ResultShape storedResultShape = ResultShape::Vector> 
 
      
 
 
◆ VecType
template<typename RT , 
ResultShape storedResultShape = ResultShape::Vector> 
 
      
        
          | using Ikarus::ResultWrapper< RT, storedResultShape >::VecType =  std::invoke_result_t<decltype(&RT::Vectorizer::template transform<ResultTypeValueType>), const ResultTypeValueType&> | 
        
      
 
 
◆ ResultWrapper() [1/3]
template<typename RT , 
ResultShape storedResultShape = ResultShape::Vector> 
 
 
 
◆ ResultWrapper() [2/3]
template<typename RT , 
ResultShape storedResultShape = ResultShape::Vector> 
 
 
 
◆ ResultWrapper() [3/3]
template<typename RT , 
ResultShape storedResultShape = ResultShape::Vector> 
 
 
 
◆ asMat()
template<typename RT , 
ResultShape storedResultShape = ResultShape::Vector> 
 
  
  
      
        
          | auto Ikarus::ResultWrapper< RT, storedResultShape >::asMat  | 
          ( | 
          Eigen::Index  | 
          rows = rowsAtCompileTime,  | 
         
        
           | 
           | 
          Eigen::Index  | 
          cols = colsAtCompileTime  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
inline   | 
  
 
- Parameters
 - 
  
    | rows | specify the rows of the matrix for dynamic sized Result Types  | 
    | cols | specify the columns of the matrix for dynamic sized Result Types  | 
  
   
- Returns
 - matrix representation of the stored value 
 
 
 
◆ asVec()
template<typename RT , 
ResultShape storedResultShape = ResultShape::Vector> 
 
 
- Returns
 - vector representation of the stored value 
 
 
 
◆ operator=() [1/2]
template<typename RT , 
ResultShape storedResultShape = ResultShape::Vector> 
 
 
 
◆ operator=() [2/2]
template<typename RT , 
ResultShape storedResultShape = ResultShape::Vector> 
 
 
 
The documentation for this struct was generated from the following file: