Flow123d
release_3.0.0-973-g92f55e826
|
Go to the documentation of this file.
32 : parent_mesh_(parent_mesh),
66 unsigned int bc_ele_idx;
68 if (ele->boundary_idx_ != NULL)
69 for (
unsigned int i=0; i<ele->n_sides(); ++i)
70 if ((
int)ele->boundary_idx_[i] != -1) {
Range< ElementAccessor< 3 > > elements_range() const override
Returns range of boundary elements of parent mesh.
vector< Boundary > boundary_
const LongIdx * get_local_part() override
Overwrite Mesh::get_local_part()
unsigned int n_elements(bool boundary=false) const
Returns count of boundary elements of parent mesh.
void init_element_vector(unsigned int size)
Initialize element_vec_, set size and reset counters of boundary and bulk elements.
int LongIdx
Define type that represents indices of large arrays (elements, nodes, dofs etc.)
virtual Range< ElementAccessor< 3 > > elements_range() const
Returns range of bulk elements.
Support classes for parallel programing.
vector< Element > element_vec_
Class for the mesh partitioning. This should provide:
Mesh * parent_mesh_
Pointer to parent (bulk) mesh.
LongIdx * local_part_
Distribution of boundary elements to processors.
virtual const LongIdx * get_local_part()
unsigned int n_nodes() const override
Overwrite Mesh::n_nodes()
virtual bool check_compatible_mesh(Mesh &mesh, vector< LongIdx > &bulk_elements_id, vector< LongIdx > &boundary_elements_id)
ElementAccessor< 3 > element_accessor(unsigned int idx) const override
Overwrite Mesh::element_accessor()
void init_node_vector(unsigned int size)
Initialize node_vec_, set size.
bool check_compatible_mesh(Mesh &mesh, vector< LongIdx > &bulk_elements_id, vector< LongIdx > &boundary_elements_id) override
Overwrite Mesh::check_compatible_mesh()
Partitioning * get_part() override
Overwrite Mesh::get_part()
BidirectionalMap< int > element_ids_
Maps element ids to indexes into vector element_vec_.
unsigned int bulk_size_
Count of bulk elements.
virtual Partitioning * get_part()
unsigned int size() const
Return size of map.
Implementation of range helper class.