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.
Classes | Namespaces | Functions
amatrix_interface.h File Reference
#include <string>
#include <iostream>
#include "amatrix.h"
#include "includes/define.h"
#include "includes/checks.h"
Include dependency graph for amatrix_interface.h:

Go to the source code of this file.

Classes

class  Kratos::Internals::Matrix< TDataType, TSize1, TSize2 >
 
class  Kratos::KratosZeroMatrix< TDataType >
 
class  Kratos::KratosZeroVector< TDataType >
 
class  Kratos::scalar_matrix< TDataType >
 
class  Kratos::PermutationMatrix< TExpressionType, TIndicesVectorType >
 

Namespaces

 Kratos
 REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
 
 Kratos::Internals
 

Functions

template<typename TDataType , std::size_t TSize1, std::size_t TSize2>
bool Kratos::Internals::operator!= (Matrix< TDataType, TSize1, TSize2 > const &First, Matrix< TDataType, TSize1, TSize2 > const &Second)
 
template<typename TExpressionType , std::size_t TCategory>
std::ostream & Kratos::Internals::operator<< (std::ostream &rOStream, AMatrix::MatrixExpression< TExpressionType, TCategory > const &TheMatrix)
 
template<typename TDataType , std::size_t TSize1, std::size_t TSize2>
std::istream & Kratos::Internals::operator>> (std::istream &rIStream, Matrix< TDataType, TSize1, TSize2 > &TheMatrix)
 
template<typename TDataType , std::size_t TSize1>
std::istream & Kratos::Internals::operator>> (std::istream &rIStream, Matrix< TDataType, TSize1, 1 > &TheMatrix)
 

Type Definitions

using Kratos::Matrix = Internals::Matrix< double, AMatrix::dynamic, AMatrix::dynamic >
 
using Kratos::Vector = Internals::Matrix< double, AMatrix::dynamic, 1 >
 
template<typename TDataType >
using Kratos::DenseMatrix = Internals::Matrix< TDataType, AMatrix::dynamic, AMatrix::dynamic >
 
template<typename TDataType >
using Kratos::DenseVector = Internals::Matrix< TDataType, AMatrix::dynamic, 1 >
 
template<typename TDataType , std::size_t TSize>
using Kratos::BoundedVector = Internals::Matrix< TDataType, TSize, 1 >
 
template<typename TDataType , std::size_t TSize1, std::size_t TSize2>
using Kratos::BoundedMatrix = Internals::Matrix< TDataType, TSize1, TSize2 >
 
template<typename TExpressionType >
using Kratos::vector_expression = AMatrix::MatrixExpression< TExpressionType, AMatrix::row_major_access >
 
template<typename TExpressionType >
using Kratos::MatrixRow = AMatrix::MatrixRow< TExpressionType >
 
using Kratos::ZeroMatrix = KratosZeroMatrix< double >
 
using Kratos::ZeroVector = KratosZeroVector< double >
 
using Kratos::IdentityMatrix = AMatrix::IdentityMatrix< double >
 
using Kratos::ScalarMatrix = scalar_matrix< double >
 
template<typename T >
T & Kratos::noalias (T &TheMatrix)
 
template<typename T >
AMatrix::TransposeMatrix< const T > Kratos::trans (const T &TheMatrix)
 
template<typename T >
AMatrix::TransposeMatrix< T > Kratos::trans (T &TheMatrix)
 
template<typename TExpression1Type , typename TExpression2Type , std::size_t TCategory1, std::size_t TCategory2>
AMatrix::MatrixProductExpression< TExpression1Type, TExpression2Type > Kratos::prod (AMatrix::MatrixExpression< TExpression1Type, TCategory1 > const &First, AMatrix::MatrixExpression< TExpression2Type, TCategory2 > const &Second)
 
template<typename TExpression1Type , typename TExpression2Type , std::size_t TCategory1, std::size_t TCategory2>
AMatrix::VectorOuterProductExpression< TExpression1Type, TExpression2Type > Kratos::outer_prod (AMatrix::MatrixExpression< TExpression1Type, TCategory1 > const &First, AMatrix::MatrixExpression< TExpression2Type, TCategory2 > const &Second)
 
template<typename TExpression1Type , typename TExpression2Type , std::size_t TCategory1, std::size_t TCategory2>
TExpression1Type::data_type Kratos::inner_prod (AMatrix::MatrixExpression< TExpression1Type, TCategory1 > const &First, AMatrix::MatrixExpression< TExpression2Type, TCategory2 > const &Second)
 
template<typename TExpressionType , std::size_t TCategory>
TExpressionType::data_type Kratos::norm_1 (AMatrix::MatrixExpression< TExpressionType, TCategory > const &TheExpression)
 
template<typename TExpressionType , std::size_t TCategory>
TExpressionType::data_type Kratos::norm_2 (AMatrix::MatrixExpression< TExpressionType, TCategory > const &TheExpression)
 
template<typename TExpressionType , std::size_t TCategory>
AMatrix::MatrixColumn< const TExpressionType > Kratos::column (AMatrix::MatrixExpression< TExpressionType, TCategory > const &TheExpression, std::size_t ColumnIndex)
 
template<typename TExpressionType , std::size_t TCategory>
AMatrix::MatrixColumn< TExpressionType > Kratos::column (AMatrix::MatrixExpression< TExpressionType, TCategory > &TheExpression, std::size_t ColumnIndex)
 
template<typename TExpressionType , std::size_t TCategory>
AMatrix::MatrixRow< const TExpressionType > Kratos::row (AMatrix::MatrixExpression< TExpressionType, TCategory > const &TheExpression, std::size_t RowIndex)
 
template<typename TExpressionType , std::size_t TCategory>
AMatrix::MatrixRow< TExpressionType > Kratos::row (AMatrix::MatrixExpression< TExpressionType, TCategory > &TheExpression, std::size_t RowIndex)
 
template<typename TExpressionType , std::size_t TCategory>
AMatrix::SubVector< const TExpressionType > Kratos::subrange (AMatrix::MatrixExpression< TExpressionType, TCategory > const &TheExpression, std::size_t From, std::size_t To)
 
template<typename TExpressionType , std::size_t TCategory>
AMatrix::SubVector< TExpressionType > Kratos::subrange (AMatrix::MatrixExpression< TExpressionType, TCategory > &TheExpression, std::size_t From, std::size_t To)
 
template<typename TExpressionType , std::size_t TCategory>
TExpressionType::data_type Kratos::sum (AMatrix::MatrixExpression< TExpressionType, TCategory > const &TheExpression)
 
template<typename TExpressionType , std::size_t TCategory>
TExpressionType::data_type Kratos::norm_frobenius (AMatrix::MatrixExpression< TExpressionType, TCategory > const &TheExpression)