34 #ifndef __H__LIB_GRID__FILE_IO_IMPL__
35 #define __H__LIB_GRID__FILE_IO_IMPL__
53 for (iter_t eIter = goc.
begin<TElem>(); eIter != goc.
end<TElem>(); ++eIter)
56 vrts.
resize(e->num_vertices());
58 for (
size_t iv = 0; iv < e->num_vertices(); ++iv)
this class can be used if one wants to create a custom element from a set of vertices.
Definition: grid_base_objects.h:336
void set_vertex(size_t index, Vertex *vrt)
Definition: grid_base_objects.h:350
void resize(size_t newSize)
Definition: grid_base_objects.h:347
Manages the elements of a grid and their interconnection.
Definition: grid.h:132
VertexIterator create_by_cloning(Vertex *pCloneMe, GridObject *pParent=NULL)
this method creates a new vertex, which has the same type as pCloneMe.
Definition: grid.cpp:419
virtual GridObjectCollection get_grid_objects()
returns the the GridObjectCollection of the grid:
Definition: grid.cpp:527
a helper class that holds a collection of possibly unconnected geometric-objects.
Definition: grid_object_collection.h:96
geometry_traits< TGeomObj >::iterator begin(size_t level=0)
Definition: grid_object_collection_impl.hpp:95
geometry_traits< TGeomObj >::iterator end(size_t level=0)
Definition: grid_object_collection_impl.hpp:106
Definition: subset_handler_interface.h:223
void assign_subset(TIterator iterBegin, TIterator iterEnd, int subsetIndex)
Definition: subset_handler_interface_impl.hpp:170
int get_subset_index(GridObject *elem) const
Definition: subset_handler_interface.cpp:560
void CopyGridElements(Grid &srcGrid, Grid &destGrid, ISubsetHandler &srcSH, ISubsetHandler &destSH, Attachment< Vertex * > &aNewVrt)
Copy grid elements of type TElem from srcGrid to destGrid.
Definition: file_io_impl.h:43
geometry_traits< TElem >::iterator iterator
Definition: grid.h:143