EVSL  1.1.0
EigenValues Slicing Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Structures | Macros | Typedefs | Functions
LapPLanN_MatFree.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/stat.h>
#include <math.h>
#include "evsl.h"
#include "io.h"

Go to the source code of this file.

Data Structures

struct  _lapmv_t
 

Macros

#define max(a, b)   ((a) > (b) ? (a) : (b))
 
#define min(a, b)   ((a) < (b) ? (a) : (b))
 

Typedefs

typedef struct _lapmv_t lapmv_t
 

Functions

int findarg (const char *argname, ARG_TYPE type, void *val, int argc, char **argv)
 
int lapgen (int nx, int ny, int nz, cooMat *Acoo)
 Laplacean Matrix generator. More...
 
int exeiglap3 (int nx, int ny, int nz, double a, double b, int *m, double **vo)
 Exact eigenvalues of Laplacean in interval [a b]. More...
 
void Lap2D3DMatvec (double *x, double *y, void *data)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

#define max (   a,
 
)    ((a) > (b) ? (a) : (b))

Definition at line 9 of file LapPLanN_MatFree.c.

Referenced by main().

#define min (   a,
 
)    ((a) < (b) ? (a) : (b))

Definition at line 10 of file LapPLanN_MatFree.c.

Referenced by main().

Typedef Documentation

typedef struct _lapmv_t lapmv_t

Function Documentation

int exeiglap3 ( int  nx,
int  ny,
int  nz,
double  a,
double  b,
int *  m,
double **  vo 
)

Exact eigenvalues of Laplacean in interval [a b].


Parameters
[in]nxNumber of points in x-direction
[in]nyNumber of points in y-direction
[in]nzNumber of points in z-direction
[in]aLeft bound
[in]bRight bound
[out]mnumber of eigenvalues found
[out]**vopointer to array of eigenvalues found

Definition at line 83 of file lapl.c.

Referenced by main().

Here is the caller graph for this function:

int findarg ( const char *  argname,
ARG_TYPE  type,
void *  val,
int  argc,
char **  argv 
)

Definition at line 171 of file io.c.

Referenced by main().

Here is the caller graph for this function:

void Lap2D3DMatvec ( double *  x,
double *  y,
void *  data 
)

Definition at line 243 of file LapPLanN_MatFree.c.

References _lapmv_t::nx, _lapmv_t::ny, _lapmv_t::nz, and _lapmv_t::stencil.

Referenced by main().

Here is the caller graph for this function:

int lapgen ( int  nx,
int  ny,
int  nz,
cooMat Acoo 
)

Laplacean Matrix generator.


Parameters
[in]nxNumber of points in x-direction
[in]nyNumber of points in y-direction
[in]nzNumber of points in z-direction
[out]*Acoomatrix in coordinate format.

Definition at line 17 of file lapl.c.

int main ( int  argc,
char *  argv[] 
)