33 #ifndef __H__UG_smooth_projector
34 #define __H__UG_smooth_projector
105 template <
class Archive>
106 void serialize( Archive& ar,
const unsigned int version)
#define UG_EMPTY_BASE_CLASS_SERIALIZATION(clsDerived, clsBase)
Definition: boost_serialization.h:51
Base-class for edges.
Definition: grid_base_objects.h:397
Faces are 2-dimensional objects.
Definition: grid_base_objects.h:510
Instances represent a part of a grid.
Definition: sub_grid.h:44
Adjusts vertex coordinates during refinement.
Definition: refinement_projector.h:55
virtual number new_vertex(Vertex *vrt, Vertex *parent)
called when a new vertex was created from an old vertex.
Definition: refinement_projector.h:121
virtual void refinement_begins(const ISubGrid *sg)
called before refinement begins
Definition: refinement_projector.h:107
virtual SPIGeometry3d geometry() const
Definition: refinement_projector.h:81
Smoothes vertices during refinement.
Definition: smooth_projector.h:42
virtual number new_vertex(Vertex *vrt, Edge *parent)
called when a new vertex was created from an old edge.
Definition: smooth_projector.h:82
virtual number new_vertex(Vertex *vrt, Volume *parent)
called when a new vertex was created from an old volume.
Definition: smooth_projector.h:96
SmoothProjector()
Definition: smooth_projector.h:44
SmoothProjector(int iterations, number changeRate)
Definition: smooth_projector.h:49
void serialize(Archive &ar, const unsigned int version)
Definition: smooth_projector.h:106
number change_rate() const
Definition: smooth_projector.h:67
virtual void refinement_begins(const ISubGrid *sg)
called before refinement begins
Definition: smooth_projector.h:71
int iterations() const
Definition: smooth_projector.h:64
SmoothProjector(SPIGeometry3d geometry, int iterations, number changeRate)
Definition: smooth_projector.h:56
number m_changeRate
Definition: smooth_projector.h:115
friend class boost::serialization::access
Definition: smooth_projector.h:103
std::vector< Vertex * > m_newVrts
Definition: smooth_projector.h:113
virtual void refinement_ends()
called when refinement is done.
Definition: smooth_projector.cpp:38
void set_change_rate(number changeRate)
Definition: smooth_projector.h:68
virtual number new_vertex(Vertex *vrt, Face *parent)
called when a new vertex was created from an old face.
Definition: smooth_projector.h:89
void set_iterations(int iterations)
Definition: smooth_projector.h:65
int m_iterations
Definition: smooth_projector.h:114
Base-class for all vertex-types.
Definition: grid_base_objects.h:231
Volumes are 3-dimensional objects.
Definition: grid_base_objects.h:754
double number
Definition: types.h:124