33 #ifndef __H__UG_projection_handler_new
34 #define __H__UG_projection_handler_new
74 template <
class TGeomProv
ider>
167 template <
class TParent>
Definition: smart_pointer.h:296
Definition: smart_pointer.h:108
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
Definition: subset_handler_interface.h:223
Associates different projectors with individual subsets.
Definition: projection_handler.h:53
virtual void set_geometry_all(SPIGeometry3d geometry)
Sets the geometry of the ProjectionHandler and of all associated projectors.
Definition: projection_handler.cpp:86
std::vector< SmartPtr< RefinementProjector > > m_projectors
Definition: projection_handler.h:172
virtual bool refinement_begins_requires_subgrid() const
Definition: projection_handler.cpp:146
SmartPtr< RefinementProjector > m_defaultProjector
Definition: projection_handler.h:173
ConstSmartPtr< RefinementProjector > default_projector() const
Definition: projection_handler.h:136
void set_default_projector(SPRefinementProjector projector)
Definition: projection_handler.cpp:113
SmartPtr< ISubsetHandler > m_spSH
Definition: projection_handler.h:171
ProjectionHandler()
Definition: projection_handler.cpp:38
void set_projector(int subsetIndex, SPRefinementProjector projector)
associate a projector with a given subsetIndex. Note that '-1' is a valid index, too.
Definition: projection_handler.cpp:119
void set_subset_handler(ISubsetHandler *psh)
Definition: projection_handler.cpp:97
virtual void set_geometry(SPIGeometry3d geometry)
Definition: projection_handler.cpp:79
ISubsetHandler * m_sh
Definition: projection_handler.h:170
virtual number new_vertex(Vertex *vrt, Vertex *parent)
called when a new vertex was created from an old vertex.
Definition: projection_handler.cpp:289
virtual void refinement_begins(const ISubGrid *psg)
prepares associated projectors for refinement
Definition: projection_handler.cpp:159
SPRefinementProjector projector(size_t i)
Definition: projection_handler.h:127
virtual ~ProjectionHandler()
Definition: projection_handler.cpp:69
virtual void refinement_ends()
called when refinement is done
Definition: projection_handler.cpp:279
size_t num_projectors() const
Definition: projection_handler.h:124
const ISubsetHandler * subset_handler() const
return the subset handler that the projection handler is based on
Definition: projection_handler.h:104
friend class boost::serialization::access
Definition: projection_handler.h:163
void projector_required(int index)
Definition: projection_handler.cpp:315
number handle_new_vertex(Vertex *vrt, TParent *parent)
Definition: projection_handler.cpp:324
ConstSmartPtr< RefinementProjector > projector(size_t i) const
Definition: projection_handler.h:130
ProjectionHandler(const TGeomProvider &geometry, SmartPtr< ISubsetHandler > psh)
Definition: projection_handler.h:75
void clear()
Definition: projection_handler.cpp:72
SPRefinementProjector default_projector()
Definition: projection_handler.h:133
Adjusts vertex coordinates during refinement.
Definition: refinement_projector.h:55
virtual SPIGeometry3d geometry() const
Definition: refinement_projector.h:81
Base-class for all vertex-types.
Definition: grid_base_objects.h:231
Volumes are 3-dimensional objects.
Definition: grid_base_objects.h:754
#define UG_API
Definition: ug_config.h:65
double number
Definition: types.h:124
SM_edge_weight_map< typename T::value_type, ug::BidirectionalMatrix< T > > get(edge_weight_t, ug::BidirectionalMatrix< T > const &g)
Definition: bidirectional_boost.h:157
SmartPtr< ProjectionHandler > SPProjectionHandler
Definition: projection_handler.h:176
SmartPtr< T, FreePolicy > make_sp(T *inst)
returns a SmartPtr for the passed raw pointer
Definition: smart_pointer.h:836