MOAB: Mesh Oriented datABase
(version 5.4.1)
|
Base class for LaPlacian and other relaxation smoothers. More...
#include <RelaxationSmoother.hpp>
Public Member Functions | |
MESQUITE_EXPORT | RelaxationSmoother (ObjectiveFunction *OF=NULL) |
virtual MESQUITE_EXPORT | ~RelaxationSmoother () |
MESQUITE_EXPORT PatchSet * | get_patch_set () |
Protected Member Functions | |
virtual MESQUITE_EXPORT void | initialize (PatchData &pd, MsqError &err) |
virtual MESQUITE_EXPORT void | optimize_vertex_positions (PatchData &pd, MsqError &err)=0 |
virtual MESQUITE_EXPORT void | initialize_mesh_iteration (PatchData &pd, MsqError &err) |
virtual MESQUITE_EXPORT void | terminate_mesh_iteration (PatchData &pd, MsqError &err) |
virtual MESQUITE_EXPORT void | cleanup () |
Private Attributes | |
VertexPatches | patchSet |
Base class for LaPlacian and other relaxation smoothers.
Definition at line 11 of file RelaxationSmoother.hpp.
MESQUITE_EXPORT MBMesquite::RelaxationSmoother::RelaxationSmoother | ( | ObjectiveFunction * | OF = NULL | ) | [inline] |
OF | For many relaxation solvers (e.g. Laplacian) this ObjectiveFunction is used only to evaluate user-specified termination criteria that require an objective function. |
Definition at line 20 of file RelaxationSmoother.hpp.
: VertexMover( OF ) {}
MBMesquite::RelaxationSmoother::~RelaxationSmoother | ( | ) | [virtual] |
Definition at line 6 of file RelaxationSmoother.cpp.
{}
void MBMesquite::RelaxationSmoother::cleanup | ( | ) | [protected, virtual] |
Implements MBMesquite::VertexMover.
Definition at line 20 of file RelaxationSmoother.cpp.
{
// cout << "- Executing LaplacianSmoother::iteration_end()\n";
}
MESQUITE_EXPORT PatchSet* MBMesquite::RelaxationSmoother::get_patch_set | ( | ) | [inline, virtual] |
Implements MBMesquite::QualityImprover.
Definition at line 26 of file RelaxationSmoother.hpp.
References patchSet.
{ return &patchSet; }
void MBMesquite::RelaxationSmoother::initialize | ( | PatchData & | pd, |
MsqError & | err | ||
) | [protected, virtual] |
void MBMesquite::RelaxationSmoother::initialize_mesh_iteration | ( | PatchData & | pd, |
MsqError & | err | ||
) | [protected, virtual] |
Implements MBMesquite::VertexMover.
Definition at line 10 of file RelaxationSmoother.cpp.
{
// cout << "- Executing LaplacianSmoother::iteration_complete()\n";
}
virtual MESQUITE_EXPORT void MBMesquite::RelaxationSmoother::optimize_vertex_positions | ( | PatchData & | pd, |
MsqError & | err | ||
) | [protected, pure virtual] |
Implements MBMesquite::VertexMover.
Implemented in MBMesquite::LaplacianSmoother, and MBMesquite::SmartLaplacianSmoother.
void MBMesquite::RelaxationSmoother::terminate_mesh_iteration | ( | PatchData & | pd, |
MsqError & | err | ||
) | [protected, virtual] |
Implements MBMesquite::VertexMover.
Definition at line 15 of file RelaxationSmoother.cpp.
{
// cout << "- Executing LaplacianSmoother::iteration_complete()\n";
}
Definition at line 48 of file RelaxationSmoother.hpp.
Referenced by get_patch_set().