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.
Namespaces | Functions
matrix_market_interface.h File Reference
#include <stdio.h>
#include "includes/mmio.h"
#include <boost/numeric/ublas/matrix_sparse.hpp>
Include dependency graph for matrix_market_interface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Functions

template<typename T >
constexpr bool Kratos::IsCorrectType (MM_typecode &mm_code)
 
template<>
constexpr bool Kratos::IsCorrectType< double > (MM_typecode &mm_code)
 
template<>
constexpr bool Kratos::IsCorrectType< std::complex< double > > (MM_typecode &mm_code)
 
bool Kratos::ReadMatrixMarketMatrixEntry (FILE *f, int &I, int &J, double &V)
 
bool Kratos::ReadMatrixMarketMatrixEntry (FILE *f, int &I, int &J, std::complex< double > &V)
 
template<typename CompressedMatrixType >
bool Kratos::ReadMatrixMarketMatrix (const char *FileName, CompressedMatrixType &M)
 
void Kratos::SetMatrixMarketValueTypeCode (MM_typecode &mm_code, const double &value)
 
void Kratos::SetMatrixMarketValueTypeCode (MM_typecode &mm_code, const std::complex< double > &value)
 
int Kratos::WriteMatrixMarketMatrixEntry (FILE *f, int I, int J, const double &entry)
 
int Kratos::WriteMatrixMarketMatrixEntry (FILE *f, int I, int J, const std::complex< double > &entry)
 
template<typename CompressedMatrixType >
bool Kratos::WriteMatrixMarketMatrix (const char *FileName, CompressedMatrixType &M, bool Symmetric)
 
bool Kratos::ReadMatrixMarketVectorEntry (FILE *f, double &entry)
 
bool Kratos::ReadMatrixMarketVectorEntry (FILE *f, std::complex< double > &entry)
 
template<typename VectorType >
bool Kratos::ReadMatrixMarketVector (const char *FileName, VectorType &V)
 
int Kratos::WriteMatrixMarketVectorEntry (FILE *f, const double &entry)
 
int Kratos::WriteMatrixMarketVectorEntry (FILE *f, const std::complex< double > &entry)
 
template<typename VectorType >
bool Kratos::WriteMatrixMarketVector (const char *FileName, VectorType &V)