Parameter structure for Mike Holst's PMGP code. More...
Data Structures | |
| struct | sVpmgp |
| Contains public data members for Vpmgp class/module. More... | |
Files | |
| file | vpmgp.h |
Contains declarations for class Vpmgp. | |
| file | vpmgp.c |
Class Vpmgp methods. | |
Typedefs | |
| typedef struct sVpmgp | Vpmgp |
| Declaration of the Vpmgp class as the sVpmgp structure. | |
Functions | |
| VEXTERNC Vpmgp * | Vpmgp_ctor (MGparm *mgparm) |
| Construct PMG parameter object and initialize to default values. | |
| VEXTERNC int | Vpmgp_ctor2 (Vpmgp *thee, MGparm *mgparm) |
| FORTRAN stub to construct PMG parameter object and initialize to default values. | |
| VEXTERNC void | Vpmgp_dtor (Vpmgp **thee) |
| Object destructor. | |
| VEXTERNC void | Vpmgp_dtor2 (Vpmgp *thee) |
| FORTRAN stub for object destructor. | |
| VEXTERNC void | Vpmgp_size (Vpmgp *thee) |
| Determine array sizes and parameters for multigrid solver. | |
| VEXTERNC void | Vpmgp_makeCoarse (int numLevel, int nxOld, int nyOld, int nzOld, int *nxNew, int *nyNew, int *nzNew) |
| Coarsen the grid by the desired number of levels and determine the resulting numbers of grid points. | |
Parameter structure for Mike Holst's PMGP code.
| VEXTERNC void Vpmgp_dtor | ( | Vpmgp ** | thee ) |
| VEXTERNC void Vpmgp_dtor2 | ( | Vpmgp * | thee ) |
| VEXTERNC void Vpmgp_makeCoarse | ( | int | numLevel, |
| int | nxOld, | ||
| int | nyOld, | ||
| int | nzOld, | ||
| int * | nxNew, | ||
| int * | nyNew, | ||
| int * | nzNew | ||
| ) |
Coarsen the grid by the desired number of levels and determine the resulting numbers of grid points.
| numLevel | Number of levels to coarsen |
| nxOld | Number of old grid points in this direction |
| nyOld | Number of old grid points in this direction |
| nzOld | Number of old grid points in this direction |
| nxNew | Number of new grid points in this direction |
| nyNew | Number of new grid points in this direction |
| nzNew | Number of new grid points in this direction |
1.7.2