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.
Public Types | Public Member Functions | List of all members
Kratos::scalar_matrix< TDataType > Class Template Reference

#include <amatrix_interface.h>

Inheritance diagram for Kratos::scalar_matrix< TDataType >:
Collaboration diagram for Kratos::scalar_matrix< TDataType >:

Public Types

using data_type = TDataType
 

Public Member Functions

 scalar_matrix ()=delete
 
 scalar_matrix (std::size_t Size1, std::size_t Size2, TDataType const &Value)
 
TDataType operator() (std::size_t i, std::size_t j) const
 
TDataType operator[] (std::size_t i) const
 
std::size_t size1 () const
 
std::size_t size2 () const
 
bool check_aliasing (const data_type *From, const data_type *To) const
 

Member Typedef Documentation

◆ data_type

template<typename TDataType >
using Kratos::scalar_matrix< TDataType >::data_type = TDataType

Constructor & Destructor Documentation

◆ scalar_matrix() [1/2]

template<typename TDataType >
Kratos::scalar_matrix< TDataType >::scalar_matrix ( )
delete

◆ scalar_matrix() [2/2]

template<typename TDataType >
Kratos::scalar_matrix< TDataType >::scalar_matrix ( std::size_t  Size1,
std::size_t  Size2,
TDataType const &  Value 
)
inline

Member Function Documentation

◆ check_aliasing()

template<typename TDataType >
bool Kratos::scalar_matrix< TDataType >::check_aliasing ( const data_type From,
const data_type To 
) const
inline

◆ operator()()

template<typename TDataType >
TDataType Kratos::scalar_matrix< TDataType >::operator() ( std::size_t  i,
std::size_t  j 
) const
inline

◆ operator[]()

template<typename TDataType >
TDataType Kratos::scalar_matrix< TDataType >::operator[] ( std::size_t  i) const
inline

◆ size1()

template<typename TDataType >
std::size_t Kratos::scalar_matrix< TDataType >::size1 ( ) const
inline

◆ size2()

template<typename TDataType >
std::size_t Kratos::scalar_matrix< TDataType >::size2 ( ) const
inline

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