MIDAPACK - MIcrowave Data Analysis PACKage  1.1b
Parallel software tools for high performance CMB DA analysis
 All Data Structures Files Functions Variables Typedefs Groups Pages
alm.c File Reference

Implementation of subroutines handling maps, distributions or functions. That means, almost all structures describes as sets of indices associated to sets of values). More...

Go to the source code of this file.

Functions

void m2s (double *mapval, double *submapval, int *subset, int count)
 Set some map values into a submap values array
void lmatvecprod (int *ind, double *val, int m, int nnz, double *in, double *out)
 Local mat vec prod.
void s2m_sum (double *mapval, double *submapval, int *subset, int count)
 Sum submap values the submap values array.
void s2m (double *mapval, double *submapval, int *subset, int count)
 assign submap values the submap values array
void cnt_nnz_dot_prod (double *out, double *in, int cnt, int *ind, double *val, int nnz)
 Sum submap values the submap values array.
void omp_cnt_nnz_dot_prod (double *out, double *in, int cnt, int *ind, double *val, int nnz)
 Sum submap values the submap values array.
int m2m (double *vA1, int *A1, int n1, double *vA2, int *A2, int n2)
int m2m_sum (double *vA1, int *A1, int n1, double *vA2, int *A2, int n2)

Detailed Description

Implementation of subroutines handling maps, distributions or functions. That means, almost all structures describes as sets of indices associated to sets of values).

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:
April 2012

Definition in file alm.c.


Function Documentation

void m2s ( double *  mapval,
double *  submapval,
int *  subset,
int  count 
)

Set some map values into a submap values array

Set some map values into a submap values array

Parameters:
mapvalarray of values
submapvalarray of values
Returns:
array of indices

Definition at line 16 of file alm.c.

void lmatvecprod ( int *  ind,
double *  val,
int  m,
int  nnz,
double *  in,
double *  out 
)

Local mat vec prod.

Parameters:
indmtable of integers apval array of values
submapvalarray of values
Returns:
void

Definition at line 29 of file alm.c.

void s2m_sum ( double *  mapval,
double *  submapval,
int *  subset,
int  count 
)

Sum submap values the submap values array.

Parameters:
mapvalarray of values
submapvalarray of values
Returns:
array of indices

Definition at line 45 of file alm.c.

void s2m ( double *  mapval,
double *  submapval,
int *  subset,
int  count 
)

assign submap values the submap values array

Parameters:
mapvalarray of values
submapvalarray of values
Returns:
array of indices

Definition at line 58 of file alm.c.

void cnt_nnz_dot_prod ( double *  out,
double *  in,
int  cnt,
int *  ind,
double *  val,
int  nnz 
)

Sum submap values the submap values array.

Returns:
void

Definition at line 67 of file alm.c.

void omp_cnt_nnz_dot_prod ( double *  out,
double *  in,
int  cnt,
int *  ind,
double *  val,
int  nnz 
)

Sum submap values the submap values array.

Returns:
void

Definition at line 78 of file alm.c.