Skip to content

Commit

Permalink
Remove unused MMIO code
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottKolo committed Mar 24, 2018
1 parent 96e0ce5 commit 773e738
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 388 deletions.
12 changes: 4 additions & 8 deletions CMakeLists.txt
@@ -1,14 +1,10 @@
cmake_minimum_required(VERSION 2.8)
include(CMake/cmake_colors.cmake)

project(Mongoose)

set(MONGOOSE_VERSION_MAJOR "1")
set(MONGOOSE_VERSION_MINOR "0")
set(MONGOOSE_VERSION_PATCH "4")
set(MONGOOSE_VERSION "${MONGOOSE_VERSION_MAJOR}.
${MONGOOSE_VERSION_MINOR}.
${MONGOOSE_VERSION_PATCH}")
cmake_policy(SET CMP0048 NEW)
project(Mongoose
VERSION 1.0.0
LANGUAGES CXX C)

set(MONGOOSE_FILES
Include/Mongoose_BoundaryHeap.hpp
Expand Down
19 changes: 0 additions & 19 deletions External/mmio/Include/mmio.h
Expand Up @@ -15,16 +15,8 @@

typedef char MM_typecode[4];

char *mm_typecode_to_str(MM_typecode matcode);

int mm_read_banner(FILE *f, MM_typecode *matcode);
int mm_read_mtx_crd_size(FILE *f, long *M, long *N, long *nz);
int mm_read_mtx_array_size(FILE *f, long *M, long *N);

int mm_write_banner(FILE *f, MM_typecode matcode);
int mm_write_mtx_crd_size(FILE *f, long M, long N, long nz);
int mm_write_mtx_array_size(FILE *f, int M, int N);


/********************* MM_typecode query fucntions ***************************/

Expand All @@ -45,9 +37,6 @@ int mm_write_mtx_array_size(FILE *f, int M, int N);
#define mm_is_skew(typecode) ((typecode)[3]=='K')
#define mm_is_hermitian(typecode)((typecode)[3]=='H')

int mm_is_valid(MM_typecode matcode); /* too complex for a macro */


/********************* MM_typecode modify fucntions ***************************/

#define mm_set_matrix(typecode) ((*typecode)[0]='M')
Expand Down Expand Up @@ -118,16 +107,8 @@ int mm_is_valid(MM_typecode matcode); /* too complex for a macro */

/* high level routines */

int mm_write_mtx_crd(char fname[], int M, int N, int nz, int I[], int J[],
double val[], MM_typecode matcode);
int mm_read_mtx_crd_data(FILE *f, long M, long N, long nz, long I[], long J[],
double val[], MM_typecode matcode);
int mm_read_mtx_crd_entry(FILE *f, int *I, int *J, double *real, double *img,
MM_typecode matcode);

int mm_read_unsymmetric_sparse(const char *fname, long *M_, long *N_, long *nz_,
double **val_, long **I_, long **J_);



#endif

0 comments on commit 773e738

Please sign in to comment.