Flow123d
JS_before_hm-1874-gec44d9749
|
Go to the documentation of this file.
31 : parent_mesh_(parent_mesh),
65 unsigned int bc_ele_idx;
67 if (ele->boundary_idx_ != NULL)
68 for (
unsigned int i=0; i<ele->n_sides(); ++i)
69 if ((
int)ele->boundary_idx_[i] != -1) {
Range< ElementAccessor< 3 > > elements_range() const override
Returns range of boundary elements of parent mesh.
Armor::Array< double > nodes_
const LongIdx * get_local_part() override
Overwrite Mesh::get_local_part()
void init_element_vector(unsigned int size)
Initialize element_vec_, set size and reset counters of boundary and bulk elements.
virtual Range< ElementAccessor< 3 > > elements_range() const
Returns range of bulk elements.
virtual std::shared_ptr< EquivalentMeshMap > check_compatible_mesh(Mesh &input_mesh)
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()
unsigned int size() const
ElementAccessor< 3 > element_accessor(unsigned int idx) const override
Overwrite Mesh::element_accessor()
int LongIdx
Define type that represents indices of large arrays (elements, nodes, dofs etc.)
void init_node_vector(unsigned int size)
Initialize node_vec_, set size.
Partitioning * get_part() override
Overwrite Mesh::get_part()
std::shared_ptr< EquivalentMeshMap > check_compatible_mesh(Mesh &input_mesh) override
Overwrite Mesh::check_compatible_mesh()
unsigned int bulk_size_
Count of bulk elements.
vector< BoundaryData > boundary_
virtual Partitioning * get_part()
unsigned int n_elements() const override
Returns count of boundary elements of parent mesh.
Implementation of range helper class.