KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
#include <amatrix_interface.h>
Public Types | |
using | data_type = TDataType |
using | base_type = AMatrix::MatrixStorage< TDataType, TSize1, TSize2 > |
using | iterator = AMatrix::RandomAccessIterator< TDataType > |
using | const_iterator = AMatrix::RandomAccessIterator< const TDataType > |
using | value_type = TDataType |
using | size_type = std::size_t |
using | difference_type = std::size_t |
using | const_reference = const TDataType & |
using | reference = TDataType & |
using | const_pointer = TDataType * |
using | pointer = TDataType * |
Public Member Functions | |
Matrix () | |
Matrix (std::size_t TheSize1, std::size_t TheSize2) | |
Matrix (std::size_t TheSize) | |
Matrix (Matrix const &Other) | |
Matrix (Matrix &&Other) | |
template<typename TExpressionType , std::size_t TCategory> | |
Matrix (AMatrix::MatrixExpression< TExpressionType, TCategory > const &Other) | |
template<typename TExpressionType > | |
Matrix (AMatrix::MatrixExpression< TExpressionType, AMatrix::row_major_access > const &Other) | |
Matrix (std::initializer_list< TDataType > InitialValues) | |
template<typename TExpressionType , std::size_t TCategory> | |
Matrix & | operator= (AMatrix::MatrixExpression< TExpressionType, TCategory > const &Other) |
template<typename TExpressionType > | |
Matrix & | operator= (AMatrix::MatrixExpression< TExpressionType, AMatrix::row_major_access > const &Other) |
Matrix & | operator= (Matrix const &Other) |
Matrix & | operator= (Matrix &&Other) |
TDataType & | operator() (std::size_t i) |
TDataType const & | operator() (std::size_t i) const |
template<typename TExpressionType , std::size_t TCategory> | |
Matrix & | operator+= (AMatrix::MatrixExpression< TExpressionType, TCategory > const &Other) |
template<typename TExpressionType > | |
Matrix & | operator+= (AMatrix::MatrixExpression< TExpressionType, AMatrix::row_major_access > const &Other) |
template<typename TExpressionType , std::size_t TCategory> | |
Matrix & | operator-= (AMatrix::MatrixExpression< TExpressionType, TCategory > const &Other) |
template<typename TExpressionType > | |
Matrix & | operator-= (AMatrix::MatrixExpression< TExpressionType, AMatrix::row_major_access > const &Other) |
Matrix & | operator*= (data_type TheValue) |
Matrix & | operator/= (data_type TheValue) |
AMatrix::MatrixUnaryMinusExpression< Matrix > | operator- () const |
void | resize (std::size_t NewSize1, std::size_t NewSize2, bool preserve=0) |
void | resize (std::size_t NewSize, bool preserve=0) |
void | resize (std::size_t NewSize, TDataType const &TheValue) |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
template<typename TExpressionType > | |
data_type | dot (AMatrix::MatrixExpression< TExpressionType, AMatrix::row_major_access > const &Other) const |
data_type | squared_norm () const |
data_type | norm () const |
void | normalize () |
Matrix & | noalias () |
AMatrix::TransposeMatrix< const Matrix< TDataType, TSize1, TSize2 > > | transpose () const |
AMatrix::TransposeMatrix< Matrix< TDataType, TSize1, TSize2 > > | transpose () |
void | clear () |
void | swap (Matrix &Other) |
bool | check_aliasing (const data_type *From, const data_type *To) const |
void | fill (data_type const &value) |
void | fill_identity () |
Friends | |
bool | operator== (Matrix const &First, Matrix const &Second) |
using Kratos::Internals::Matrix< TDataType, TSize1, TSize2 >::base_type = AMatrix::MatrixStorage<TDataType, TSize1, TSize2> |
using Kratos::Internals::Matrix< TDataType, TSize1, TSize2 >::const_iterator = AMatrix::RandomAccessIterator<const TDataType> |
using Kratos::Internals::Matrix< TDataType, TSize1, TSize2 >::const_pointer = TDataType* |
using Kratos::Internals::Matrix< TDataType, TSize1, TSize2 >::const_reference = const TDataType& |
using Kratos::Internals::Matrix< TDataType, TSize1, TSize2 >::data_type = TDataType |
using Kratos::Internals::Matrix< TDataType, TSize1, TSize2 >::difference_type = std::size_t |
using Kratos::Internals::Matrix< TDataType, TSize1, TSize2 >::iterator = AMatrix::RandomAccessIterator<TDataType> |
using Kratos::Internals::Matrix< TDataType, TSize1, TSize2 >::pointer = TDataType* |
using Kratos::Internals::Matrix< TDataType, TSize1, TSize2 >::reference = TDataType& |
using Kratos::Internals::Matrix< TDataType, TSize1, TSize2 >::size_type = std::size_t |
using Kratos::Internals::Matrix< TDataType, TSize1, TSize2 >::value_type = TDataType |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |