GetFEM  5.4.2
gmm_inoutput.h File Reference

Input/output on sparse matrices. More...

#include <stdio.h>
#include "gmm_kernel.h"

Go to the source code of this file.

Classes

struct  gmm::HarwellBoeing_IO
 matrix input/output for Harwell-Boeing format More...
 
class  gmm::MatrixMarket_IO
 matrix input/output for MatrixMarket storage More...
 

Functions

template<typename T , typename IND_TYPE , int shift>
void gmm::Harwell_Boeing_save (const std::string &filename, const csc_matrix< T, IND_TYPE, shift > &A)
 save a "double" or "std::complex<double>" csc matrix into a HarwellBoeing file
 
template<typename T , typename INDI , typename INDJ , int shift>
void gmm::Harwell_Boeing_save (const std::string &filename, const csc_matrix_ref< T, INDI, INDJ, shift > &A)
 save a reference on "double" or "std::complex<double>" csc matrix into a HarwellBoeing file
 
template<typename MAT >
void gmm::Harwell_Boeing_save (const std::string &filename, const MAT &A)
 save a "double" or "std::complex<double>" generic matrix into a HarwellBoeing file making a copy in a csc matrix
 
template<typename T , typename IND_TYPE , int shift>
void gmm::Harwell_Boeing_load (const std::string &filename, csc_matrix< T, IND_TYPE, shift > &A)
 load a "double" or "std::complex<double>" csc matrix from a HarwellBoeing file
 
template<typename MAT >
void gmm::Harwell_Boeing_load (const std::string &filename, MAT &A)
 load a "double" or "std::complex<double>" generic matrix from a HarwellBoeing file
 
template<typename Matrix >
void gmm::MatrixMarket_load (const char *filename, Matrix &A)
 load a matrix-market file
 
template<typename T , typename IND_TYPE , int shift>
void gmm::MatrixMarket_save (const char *filename, const csc_matrix< T, IND_TYPE, shift > &A)
 write a matrix-market file
 

Detailed Description

Input/output on sparse matrices.

Author
Yves Renard Yves..nosp@m.Rena.nosp@m.rd@in.nosp@m.sa-l.nosp@m.yon.f.nosp@m.r
Julien Pommier Julie.nosp@m.n.Po.nosp@m.mmier.nosp@m.@ins.nosp@m.a-tou.nosp@m.lous.nosp@m.e.fr
Date
July 8, 2003. Support Harwell-Boeing and Matrix-Market formats.

Definition in file gmm_inoutput.h.