libMesh

This class defines the data structures necessary for Laplace smoothing. More...
#include <mesh_smoother_laplace.h>
Public Member Functions  
LaplaceMeshSmoother (UnstructuredMesh &mesh)  
Constructor. More...  
virtual  ~LaplaceMeshSmoother () 
Destructor. More...  
virtual void  smooth () override 
Redefinition of the smooth function from the base class. More...  
void  smooth (unsigned int n_iterations) 
The actual smoothing function, gets called whenever the user specifies an actual number of smoothing iterations. More...  
void  init () 
Initialization for the Laplace smoothing routine is basically identical to building an "Lgraph" which is expensive. More...  
void  print_graph (std::ostream &out=libMesh::out) const 
Mainly for debugging, this function will print out the connectivity graph which has been created. More...  
Protected Attributes  
UnstructuredMesh &  _mesh 
Private Member Functions  
void  allgather_graph () 
This function allgather's the (local) graph after it is computed on each processor by the init() function. More...  
Private Attributes  
bool  _initialized 
True if the Lgraph has been created, false otherwise. More...  
std::vector< std::vector< dof_id_type > >  _graph 
Data structure for holding the Lgraph. More...  
This class defines the data structures necessary for Laplace smoothing.
Definition at line 44 of file mesh_smoother_laplace.h.

explicit 
Constructor.
Sets the constant mesh reference in the protected data section of the class.

virtual 

private 
This function allgather's the (local) graph after it is computed on each processor by the init() function.
void libMesh::LaplaceMeshSmoother::init  (  ) 
Initialization for the Laplace smoothing routine is basically identical to building an "Lgraph" which is expensive.
It's provided separately from the constructor since you may or may not want to build the Lgraph on construction.
void libMesh::LaplaceMeshSmoother::print_graph  (  std::ostream &  out = libMesh::out  )  const 
Mainly for debugging, this function will print out the connectivity graph which has been created.

overridevirtual 
Redefinition of the smooth function from the base class.
All this does is call the smooth function in this class which takes an int, using a default value of 1.
Implements libMesh::MeshSmoother.
Definition at line 65 of file mesh_smoother_laplace.h.
References smooth().
Referenced by smooth().
void libMesh::LaplaceMeshSmoother::smooth  (  unsigned int  n_iterations  ) 
The actual smoothing function, gets called whenever the user specifies an actual number of smoothing iterations.

private 
Data structure for holding the Lgraph.
Definition at line 104 of file mesh_smoother_laplace.h.

private 
True if the Lgraph has been created, false otherwise.
Definition at line 99 of file mesh_smoother_laplace.h.

protectedinherited 
Definition at line 61 of file mesh_smoother.h.