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.h File Reference

Declaration of subroutines handling maps (associated sets of indices and 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 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 lmatvecprod (int *ind, double *val, int m, int nnz, double *in, double *out)
 Local mat vec prod.
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.
void omp_lmatvecprod (int *ind, double *val, int m, int nnz, double *in, double *out)
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

Declaration of subroutines handling maps (associated sets of indices and values).

Note:
Copyright (C) 2010 APC CNRS Université Paris Diderot
This program is free software; you can redistribute it and/or modify it under the terms of the GNU 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 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/gpl.html
Author:
Pierre Cargemel
Date:
April 2012

Definition in file alm.h.


Function Documentation

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

Set some map values into a submap values array

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

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 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 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 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.

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