Definitions of ResultTypes used for finite element results. More...
Go to the source code of this file.
Classes | |
struct | Ikarus::ResultWrapper< RT, storedResultShape > |
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... | |
struct | Ikarus::ResultTypeBase< ResultTypes > |
Base class for element definitions that provides common functionality for ResultTypes. More... | |
Namespaces | |
namespace | Ikarus |
namespace | Ikarus::ResultTypes |
Macros | |
#define | REGISTER_RESULTTYPE_IMPL(resultTypeName, rowsExpr, colsExpr, MaxRowsExpr, MaxColsExpr, VectorizeStruct, MatricizeStruct) |
#define | REGISTER_SIMPLE_SYMMETRIC_RESULTTYPE(resultTypeName, rowsExpr, colsExpr, strainlike) |
Used to register a symmetric ResultType with compile-time fixed rows and columns (uses Voigt notation) More... | |
#define | REGISTER_RESULTTYPE(resultTypeName, rowsExpr, colsExpr) |
Used to register a general ResultType with potentially dynamic size without reserved memeroy rows and columns. More... | |
#define | REGISTER_RESERVED_RESULTTYPE(resultTypeName, rowsExpr, colsExpr, MaxRowsExpr, MaxColsExpr) |
Used to register a general ResultType with potentially dynamic size and defined maximum amount of rows and columns. More... | |
#define | REGISTER_SIMPLE_RESULTTYPE(resultTypeName, rowsExpr, colsExpr) REGISTER_RESERVED_RESULTTYPE(resultTypeName, rowsExpr, colsExpr, rowsExpr, colsExpr) |
Used to register a general ResultType with potentially dynamic size, with reserved memory according to passed in rowsExpr and colsExpr. More... | |
Enumerations | |
enum class | Ikarus::ResultShape { Ikarus::Vector , Ikarus::Matrix } |
Variables | |
template<template< typename, int, int > class RT1, template< typename, int, int > class RT2> | |
static constexpr bool | Ikarus::isSameResultType = std::is_same_v<Impl::DummyRT<RT1>, Impl::DummyRT<RT2>> |
Meta variable to test whether two ResultType templates are the same. More... | |
Additional ResultTypes can be added with one of the following macros
#define REGISTER_RESERVED_RESULTTYPE | ( | resultTypeName, | |
rowsExpr, | |||
colsExpr, | |||
MaxRowsExpr, | |||
MaxColsExpr | |||
) |
resultTypeName | name of the ResultType |
rowsExpr | expression for rows, e.g. Eigen::Dynamic or worldDim |
colsExpr | expression for columns, e.g. Eigen::Dynamic or worldDim |
MaxRowsExpr | expression for maximum number of columns |
MaxColsExprexpression | for maximum number of rows |
#define REGISTER_RESULTTYPE | ( | resultTypeName, | |
rowsExpr, | |||
colsExpr | |||
) |
resultTypeName | name of the ResultType |
rowsExpr | expression for rows, e.g. Eigen::Dynamic or worldDim |
colsExpr | expression for columns, e.g. Eigen::Dynamic or worldDim |
#define REGISTER_RESULTTYPE_IMPL | ( | resultTypeName, | |
rowsExpr, | |||
colsExpr, | |||
MaxRowsExpr, | |||
MaxColsExpr, | |||
VectorizeStruct, | |||
MatricizeStruct | |||
) |
#define REGISTER_SIMPLE_RESULTTYPE | ( | resultTypeName, | |
rowsExpr, | |||
colsExpr | |||
) | REGISTER_RESERVED_RESULTTYPE(resultTypeName, rowsExpr, colsExpr, rowsExpr, colsExpr) |
resultTypeName | name of the ResultType |
rowsExpr | expression for rows, e.g. Eigen::Dynamic or worldDim |
colsExpr | expression for columns, e.g. Eigen::Dynamic or worldDim |
#define REGISTER_SIMPLE_SYMMETRIC_RESULTTYPE | ( | resultTypeName, | |
rowsExpr, | |||
colsExpr, | |||
strainlike | |||
) |
resultTypeName | name of the ResultType |
rowsExpr | expression for rows, e.g. gridDim or worldDim |
colsExpr | expression for rows, e.g. gridDim or worldDim |
strainlike | boolean indicating whether the result should be treated as a strain-like quantity |