Ifpack Package Browser (Single Doxygen Collection)
Development
|
#include "MatGenFD.h"
#include "Mat_dh.h"
#include "Vec_dh.h"
#include "Parser_dh.h"
#include "Mem_dh.h"
Go to the source code of this file.
Macros | |
#define | FRONT(a) a[5] |
#define | SOUTH(a) a[3] |
#define | WEST(a) a[1] |
#define | CENTER(a) a[0] |
#define | EAST(a) a[2] |
#define | NORTH(a) a[4] |
#define | BACK(a) a[6] |
#define | RHS(a) a[7] |
#define | __FUNC__ "MatGenFDCreate" |
#define | __FUNC__ "MatGenFD_Destroy" |
#define | __FUNC__ "MatGenFD_Run" |
#define | __FUNC__ "generateStriped" |
#define | __FUNC__ "generateBlocked" |
#define | __FUNC__ "setBoundary_private" |
Functions | |
static void | setBoundary_private (int node, int *cval, double *aval, int len, double *rhs, double bc, double coeff, double ctr, int nabor) |
static void | generateStriped (MatGenFD mg, int *rp, int *cval, double *aval, Mat_dh A, Vec_dh b) |
static void | generateBlocked (MatGenFD mg, int *rp, int *cval, double *aval, Mat_dh A, Vec_dh b) |
static void | getstencil (MatGenFD g, int ix, int iy, int iz) |
void | MatGenFD_Create (MatGenFD *mg) |
void | MatGenFD_Destroy (MatGenFD mg) |
void | MatGenFD_Run (MatGenFD mg, int id, int np, Mat_dh *AOut, Vec_dh *rhsOut) |
int | rownum (const bool threeD, const int x, const int y, const int z, const int nx, const int ny, const int nz, int P, int Q) |
double | konstant (double coeff, double x, double y, double z) |
double | e2_xy (double coeff, double x, double y, double z) |
double | boxThreeD (double coeff, double x, double y, double z) |
double | box_1 (double coeff, double x, double y, double z) |
double | box_2 (double coeff, double x, double y, double z) |
Variables | |
static bool | isThreeD |
#define FRONT | ( | a | ) | a[5] |
Definition at line 53 of file MatGenFD.c.
#define SOUTH | ( | a | ) | a[3] |
Definition at line 54 of file MatGenFD.c.
#define WEST | ( | a | ) | a[1] |
Definition at line 55 of file MatGenFD.c.
#define CENTER | ( | a | ) | a[0] |
Definition at line 56 of file MatGenFD.c.
#define EAST | ( | a | ) | a[2] |
Definition at line 57 of file MatGenFD.c.
#define NORTH | ( | a | ) | a[4] |
Definition at line 58 of file MatGenFD.c.
#define BACK | ( | a | ) | a[6] |
Definition at line 59 of file MatGenFD.c.
#define RHS | ( | a | ) | a[7] |
Definition at line 60 of file MatGenFD.c.
#define __FUNC__ "MatGenFDCreate" |
Definition at line 1032 of file MatGenFD.c.
#define __FUNC__ "MatGenFD_Destroy" |
Definition at line 1032 of file MatGenFD.c.
#define __FUNC__ "MatGenFD_Run" |
Definition at line 1032 of file MatGenFD.c.
#define __FUNC__ "generateStriped" |
Definition at line 1032 of file MatGenFD.c.
#define __FUNC__ "generateBlocked" |
Definition at line 1032 of file MatGenFD.c.
#define __FUNC__ "setBoundary_private" |
Definition at line 1032 of file MatGenFD.c.
|
static |
Definition at line 1034 of file MatGenFD.c.
|
static |
Definition at line 288 of file MatGenFD.c.
|
static |
Definition at line 787 of file MatGenFD.c.
|
static |
Definition at line 539 of file MatGenFD.c.
void MatGenFD_Create | ( | MatGenFD * | mg | ) |
Definition at line 80 of file MatGenFD.c.
void MatGenFD_Destroy | ( | MatGenFD | mg | ) |
Definition at line 149 of file MatGenFD.c.
Definition at line 159 of file MatGenFD.c.
int rownum | ( | const bool | threeD, |
const int | x, | ||
const int | y, | ||
const int | z, | ||
const int | nx, | ||
const int | ny, | ||
const int | nz, | ||
int | P, | ||
int | Q | ||
) |
Definition at line 481 of file MatGenFD.c.
double konstant | ( | double | coeff, |
double | x, | ||
double | y, | ||
double | z | ||
) |
Definition at line 606 of file MatGenFD.c.
double e2_xy | ( | double | coeff, |
double | x, | ||
double | y, | ||
double | z | ||
) |
Definition at line 612 of file MatGenFD.c.
double boxThreeD | ( | double | coeff, |
double | x, | ||
double | y, | ||
double | z | ||
) |
Definition at line 685 of file MatGenFD.c.
double box_1 | ( | double | coeff, |
double | x, | ||
double | y, | ||
double | z | ||
) |
Definition at line 625 of file MatGenFD.c.
double box_2 | ( | double | coeff, |
double | x, | ||
double | y, | ||
double | z | ||
) |
Definition at line 759 of file MatGenFD.c.
|
static |
Definition at line 50 of file MatGenFD.c.