MeshKit  1.0
LaplaceSmoothing Class Reference

#include <Mesh.hpp>

List of all members.

Classes

struct  LVertex

Public Member Functions

 LaplaceSmoothing (Mesh *m, int n=100)
void setMethod (int m)
void setNumIterations (int n)
int execute ()
void setWeight (LaplaceWeight *w)
int localized_at (const NodeSequence &q)
int convexify ()
double getError ()

Private Member Functions

int global_smoothing ()
Point3D displace (const Point3D &src, const Point3D &dst, double r)
double update_vertex_position (Vertex *vertex)
double update_vertex_position (Vertex *vertex, const Point3D &p)

Private Attributes

Meshmesh
vector< LVertexlnodes
LaplaceWeightlapweight
vector< double > backupCoordsArray
vector< double > facearea
int method
int verbose
int numIters
double lambda
double maxerror

Detailed Description

Definition at line 2162 of file Mesh.hpp.


Constructor & Destructor Documentation

LaplaceSmoothing ( Mesh m,
int  n = 100 
) [inline]

Definition at line 2165 of file Mesh.hpp.


Member Function Documentation

int convexify ( )

Definition at line 255 of file laplace.cpp.

Point3D displace ( const Point3D src,
const Point3D dst,
double  r 
) [private]

Definition at line 7 of file laplace.cpp.

int execute ( )

Definition at line 121 of file laplace.cpp.

double getError ( ) [inline]

Definition at line 2193 of file Mesh.hpp.

int global_smoothing ( ) [private]

Definition at line 129 of file laplace.cpp.

int localized_at ( const NodeSequence q)

Definition at line 183 of file laplace.cpp.

void setMethod ( int  m) [inline]

Definition at line 2175 of file Mesh.hpp.

void setNumIterations ( int  n) [inline]

Definition at line 2179 of file Mesh.hpp.

void setWeight ( LaplaceWeight w) [inline]

Definition at line 2185 of file Mesh.hpp.

double update_vertex_position ( Vertex vertex) [private]

Definition at line 82 of file laplace.cpp.

double update_vertex_position ( Vertex vertex,
const Point3D p 
) [private]

Definition at line 24 of file laplace.cpp.


Member Data Documentation

vector<double> backupCoordsArray [private]

Definition at line 2208 of file Mesh.hpp.

vector<double> facearea [private]

Definition at line 2209 of file Mesh.hpp.

double lambda [private]

Definition at line 2213 of file Mesh.hpp.

Definition at line 2207 of file Mesh.hpp.

vector<LVertex> lnodes [private]

Definition at line 2206 of file Mesh.hpp.

double maxerror [private]

Definition at line 2214 of file Mesh.hpp.

Mesh* mesh [private]

Definition at line 2198 of file Mesh.hpp.

int method [private]

Definition at line 2210 of file Mesh.hpp.

int numIters [private]

Definition at line 2212 of file Mesh.hpp.

int verbose [private]

Definition at line 2211 of file Mesh.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines