This class provides some functionality for error esimation in parallel. More...
Data Structures | |
struct | sVpee |
Contains public data members for Vpee class/module. More... | |
Files | |
file | vpee.h |
Contains declarations for class Vpee. | |
file | vpee.c |
Class Vpee methods. | |
Typedefs | |
typedef struct sVpee | Vpee |
Declaration of the Vpee class as the Vpee structure. | |
Functions | |
VEXTERNC Vpee * | Vpee_ctor (Gem *gm, int localPartID, int killFlag, double killParam) |
Construct the Vpee object. | |
VEXTERNC int | Vpee_ctor2 (Vpee *thee, Gem *gm, int localPartID, int killFlag, double killParam) |
FORTRAN stub to construct the Vpee object. | |
VEXTERNC void | Vpee_dtor (Vpee **thee) |
Object destructor. | |
VEXTERNC void | Vpee_dtor2 (Vpee *thee) |
FORTRAN stub object destructor. | |
VEXTERNC int | Vpee_markRefine (Vpee *thee, AM *am, int level, int akey, int rcol, double etol, int bkey) |
Mark simplices for refinement based on attenuated error estimates. | |
VEXTERNC int | Vpee_numSS (Vpee *thee) |
Returns the number of simplices in the local partition. |
This class provides some functionality for error esimation in parallel.
This class provides some functionality for error esimation in parallel. The purpose is to modulate the error returned by some external error estimator according to the partitioning of the mesh. For example, the Bank/Holst parallel refinement routine essentially reduces the error outside the ``local" partition to zero. However, this leads to the need for a few final overlapping Schwarz solves to smooth out the errors near partition boundaries. Supposedly, if the region in which we allow error-based refinement includes the ``local" partition and an external buffer zone approximately equal in size to the local region, then the solution will asymptotically approach the solution obtained via more typical methods. This is essentially a more flexible parallel implementation of MC's AM_markRefine.
VEXTERNC Vpee* Vpee_ctor | ( | Gem * | gm, |
int | localPartID, | ||
int | killFlag, | ||
double | killParam | ||
) |
Construct the Vpee object.
gm | FEtk geometry manager object |
localPartID | ID of the local partition (focus of refinement) |
killFlag | A flag to indicate how error estimates are to be attenuated outside the local partition:
|
killParam |
VEXTERNC int Vpee_ctor2 | ( | Vpee * | thee, |
Gem * | gm, | ||
int | localPartID, | ||
int | killFlag, | ||
double | killParam | ||
) |
FORTRAN stub to construct the Vpee object.
thee | The Vpee object |
gm | FEtk geometry manager object |
localPartID | ID of the local partition (focus of refinement) |
killFlag | A flag to indicate how error estimates are to be attenuated outside the local partition:
|
killParam |
VEXTERNC void Vpee_dtor | ( | Vpee ** | thee ) |
VEXTERNC void Vpee_dtor2 | ( | Vpee * | thee ) |
VEXTERNC int Vpee_markRefine | ( | Vpee * | thee, |
AM * | am, | ||
int | level, | ||
int | akey, | ||
int | rcol, | ||
double | etol, | ||
int | bkey | ||
) |
Mark simplices for refinement based on attenuated error estimates.
A wrapper/reimplementation of AM_markRefine that allows for more flexible attenuation of error-based markings outside the local partition. The error in each simplex is modified by the method (see killFlag) specified in the Vpee constructor. This allows the user to confine refinement to an arbitrary area around the local partition.
thee | The Vpee object |
am | The FEtk algebra manager currently used to solve the PB |
level | The current level of the multigrid hierarchy |
akey | The marking method:
|
rcol | The ID of the main parition on which to mark (or -1 if all partitions should be marked). NOte that we shouldhave (rcol == thee->localPartID) for (thee->killFlag == 2 or 3) |
etol | The error tolerance criterion for marking |
bkey | How the error tolerance is interpreted:
|