MIDAPACK - MIcrowave Data Analysis PACKage  1.1b
Parallel software tools for high performance CMB DA analysis
mapmatc.c File Reference

Sparse Matrix with Coarse Level. More...

Go to the source code of this file.

Functions

int CMatInit (CMat *A, int r, int *m, int *nnz, int **indices, double **values, int flag #ifdef W_MPI, MPI_Comm comm #endif)
 
int CMatFree (CMat *A)
 
int CMatComShape (CMat *mat, int flag)
 
int CMatVecProd (CMat *A, double *xvalues, double *yvalues, int pflag)
 
int CTrMatVecProd (CMat *A, double *in_values, double *out_values, int pflag)
 

Detailed Description

Sparse Matrix with Coarse Level.

Note
Copyright (c) 2010-2012 APC CNRS Université Paris Diderot. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses/lgpl.html
For more information about ANR MIDAS'09 project see http://www.apc.univ-paris7.fr/APC_CS/Recherche/Adamis/MIDAS09/index.html
ACKNOWLEDGMENT: This work has been supported in part by the French National Research Agency (ANR) through COSINUS program (project MIDAS no. ANR-09-COSI-009).
Author
Pierre Cargemel
Date
October 2012

Definition in file mapmatc.c.

Function Documentation

◆ CMatInit()

int CMatInit ( CMat *  A,
int  r,
int *  m,
int *  nnz,
int **  indices,
double **  values,
int flag #ifdef  W_MPI,
MPI_Comm comm #  endif 
)

Definition at line 29 of file mapmatc.c.

◆ CMatFree()

int CMatFree ( CMat *  A)

Definition at line 97 of file mapmatc.c.

◆ CMatComShape()

int CMatComShape ( CMat *  mat,
int  flag 
)

Definition at line 116 of file mapmatc.c.

◆ CMatVecProd()

int CMatVecProd ( CMat *  A,
double *  xvalues,
double *  yvalues,
int  pflag 
)

Definition at line 161 of file mapmatc.c.

◆ CTrMatVecProd()

int CTrMatVecProd ( CMat *  A,
double *  in_values,
double *  out_values,
int  pflag 
)

Definition at line 179 of file mapmatc.c.