|
template<typename T > |
void | determine_neighbors (const CRS< T > &con_cf, CRS< T > &con_cc) |
|
template<int key_length, typename FU > |
void | build_entity_templated (const unsigned int d, const std::vector< std::shared_ptr< CellTypeBase > > &cell_types, const std::vector<::ReferenceCell > &cell_types_index, const CRS< unsigned int > &crs, CRS< unsigned int > &crs_d, CRS< unsigned int > &crs_0, std::vector< unsigned char > &orientations, const FU &second_key_function) |
|
template<typename FU > |
void | build_entity (const unsigned int d, const std::vector< std::shared_ptr< CellTypeBase > > &cell_types, const std::vector<::ReferenceCell > &cell_types_index, const CRS< unsigned int > &crs, CRS< unsigned int > &crs_d, CRS< unsigned int > &crs_0, std::vector< unsigned char > &orientations, const FU &second_key_function) |
|
void | build_intersection (const std::vector< std::shared_ptr< CellTypeBase > > &cell_types, const std::vector<::ReferenceCell > &cell_types_index, const CRS< unsigned int > &con_cv, const CRS< unsigned int > &con_cl, const CRS< unsigned int > &con_lv, const CRS< unsigned int > &con_cq, const CRS< unsigned int > &con_qv, const std::vector< unsigned char > &ori_cq, CRS< unsigned int > &con_ql, std::vector< unsigned char > &ori_ql, std::vector<::ReferenceCell > &quad_t_id) |
|
template<typename T > |
Connectivity< T > | build_connectivity (const unsigned int dim, const std::vector< std::shared_ptr< CellTypeBase > > &cell_t, const std::vector<::ReferenceCell > &cell_t_id, const CRS< T > &con_cv) |
|
template<typename T , int dim> |
Connectivity< T > | build_connectivity (const std::vector< CellData< dim > > &cells) |
|
static ::ExceptionBase & | ExcGridHasInvalidCell (int arg1) |
|
static ::ExceptionBase & | ExcInternalErrorOnCell (int arg1) |
|
static ::ExceptionBase & | ExcCellHasNegativeMeasure (int arg1) |
|
static ::ExceptionBase & | ExcInvalidVertexIndex (int arg1, int arg2, int arg3) |
|
static ::ExceptionBase & | ExcLineInexistant (int arg1, int arg2) |
|
static ::ExceptionBase & | ExcQuadInexistant (int arg1, int arg2, int arg3, int arg4) |
|
static ::ExceptionBase & | ExcInteriorLineCantBeBoundary (int arg1, int arg2, types::boundary_id arg3) |
|
static ::ExceptionBase & | ExcInteriorQuadCantBeBoundary (int arg1, int arg2, int arg3, int arg4, types::boundary_id arg5) |
|
static ::ExceptionBase & | ExcMultiplySetLineInfoOfLine (int arg1, int arg2) |
|
static ::ExceptionBase & | ExcInconsistentLineInfoOfLine (int arg1, int arg2, std::string arg3) |
|
static ::ExceptionBase & | ExcInconsistentQuadInfoOfQuad (int arg1, int arg2, int arg3, int arg4, std::string arg5) |
|
void | reserve_space (TriaFaces &tria_faces, const unsigned int new_quads_in_pairs, const unsigned int new_quads_single) |
|
void | reserve_space (TriaLevel &tria_level, const unsigned int total_cells, const unsigned int dimension, const unsigned int space_dimension) |
|
static ::ExceptionBase & | ExcMemoryInexact (int arg1, int arg2) |
|
void | monitor_memory (const TriaLevel &tria_level, const unsigned int true_dimension) |
|
void | reserve_space (TriaObjects &tria_objects, const unsigned int new_objects_in_pairs, const unsigned int new_objects_single=0) |
|
void | monitor_memory (const TriaObjects &tria_object, const unsigned int) |
|
template<int dim, int spacedim> |
const Manifold< dim, spacedim > & | get_default_flat_manifold () |
|
unsigned int | n_cells (const internal::TriangulationImplementation::NumberCache< 1 > &c) |
|
unsigned int | n_active_cells (const internal::TriangulationImplementation::NumberCache< 1 > &c) |
|
unsigned int | n_cells (const internal::TriangulationImplementation::NumberCache< 2 > &c) |
|
unsigned int | n_active_cells (const internal::TriangulationImplementation::NumberCache< 2 > &c) |
|
unsigned int | n_cells (const internal::TriangulationImplementation::NumberCache< 3 > &c) |
|
unsigned int | n_active_cells (const internal::TriangulationImplementation::NumberCache< 3 > &c) |
|
A namespace for classes internal to the triangulation classes and helpers.
void internal::TriangulationImplementation::reserve_space |
( |
TriaLevel & |
tria_level, |
|
|
const unsigned int |
total_cells, |
|
|
const unsigned int |
dimension, |
|
|
const unsigned int |
space_dimension |
|
) |
| |
Reserve space for TriaLevel. Details:
Reserve enough space to accommodate total_cells
cells on this level. Since there are no used
flags on this level, you have to give the total number of cells, not only the number of newly to accommodate ones, like in the TriaLevel<N>::reserve_space
functions, with N>0
.
Since the number of neighbors per cell depends on the dimensions, you have to pass that additionally.
Definition at line 1206 of file tria.cc.
void internal::TriangulationImplementation::reserve_space |
( |
TriaObjects & |
tria_objects, |
|
|
const unsigned int |
new_objects_in_pairs, |
|
|
const unsigned int |
new_objects_single = 0 |
|
) |
| |
Reserve space for TriaObjects. Details:
Assert that enough space is allocated to accommodate new_objs_in_pairs
new objects, stored in pairs, plus new_obj_single
stored individually. This function does not only call vector::reserve()
, but does really append the needed elements.
In 2D e.g. refined lines have to be stored in pairs, whereas new lines in the interior of refined cells can be stored as single lines.
Definition at line 1352 of file tria.cc.