EVSL
1.1.0
EigenValues Slicing Library
|
#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.
Macros | |
#define | max(a, b) ((a) > (b) ? (a) : (b)) |
#define | min(a, b) ((a) < (b) ? (a) : (b)) |
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... | |
int | main (int argc, char *argv[]) |
#define max | ( | a, | |
b | |||
) | ((a) > (b) ? (a) : (b)) |
Definition at line 9 of file LapPLanN.c.
Referenced by main().
#define min | ( | a, | |
b | |||
) | ((a) < (b) ? (a) : (b)) |
Definition at line 10 of file LapPLanN.c.
Referenced by main().
int exeiglap3 | ( | int | nx, |
int | ny, | ||
int | nz, | ||
double | a, | ||
double | b, | ||
int * | m, | ||
double ** | vo | ||
) |
Exact eigenvalues of Laplacean in interval [a b].
[in] | nx | Number of points in x-direction |
[in] | ny | Number of points in y-direction |
[in] | nz | Number of points in z-direction |
[in] | a | Left bound |
[in] | b | Right bound |
[out] | m | number of eigenvalues found |
[out] | **vo | pointer to array of eigenvalues found |
Definition at line 83 of file lapl.c.
Referenced by main().
int findarg | ( | const char * | argname, |
ARG_TYPE | type, | ||
void * | val, | ||
int | argc, | ||
char ** | argv | ||
) |
int lapgen | ( | int | nx, |
int | ny, | ||
int | nz, | ||
cooMat * | Acoo | ||
) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 15 of file LapPLanN.c.
References _polparams::bar, ChebLanNr(), cooMat_to_csrMat(), _polparams::damping, _polparams::deg, DOUBLE, evsl_timer(), EVSLFinish(), EVSLStart(), exeiglap3(), find_pol(), findarg(), free_coo(), free_csr(), free_pol(), _polparams::gam, INT, kpmdos(), LanDos(), lapgen(), max, _polparams::max_deg, min, NA, rand_double(), set_pol_def(), SetAMatrix(), sort_double(), spslicer(), spslicer2(), StatsPrint(), StatsReset(), _polparams::thresh_ext, _polparams::thresh_int, and _polparams::type.