|
FEAT 3
Finite Element Analysis Toolbox
|
#include <partition_set.hpp>
Public Member Functions | |
| Partition () | |
| default construcotr More... | |
| Partition (Adjacency::Graph &&graph_, const String &name_, int prio_=0, int level_=0) | |
| Constructor. More... | |
| Partition (const Adjacency::DynamicGraph &graph_, const String &name_, int prio_=0, int level_=0) | |
| Constructor. More... | |
| Partition (Partition &&other) | |
| move constructor More... | |
| virtual | ~Partition () |
| destructor More... | |
| int | get_level () const |
| String | get_name () const |
| Index | get_num_elements () const |
| Index | get_num_patches () const |
| const Adjacency::Graph & | get_patches () const |
| int | get_priority () const |
| Partition & | operator= (Partition &&other) |
| move-assign operator More... | |
| void | permute (const Adjacency::Permutation &inv_perm) |
| Permutes the element indices. More... | |
| Index | size () const |
Protected Attributes | |
| int | _level |
| the level that this partitioning refers to More... | |
| String | _name |
| the name of this partitioning More... | |
| Adjacency::Graph | _patches |
| our actual partitioning More... | |
| int | _prio |
| the priority for automatic choice More... | |
Partition class.
This class represents a (manual) partitioning of a mesh, which consists of an adjacency graph storing the elements for each rank as well as a few additional entities as the name, the priority and the overlap.
Definition at line 29 of file partition_set.hpp.
|
inline |
default construcotr
Definition at line 44 of file partition_set.hpp.
|
inlineexplicit |
Constructor.
| [in] | graph_ | The elements-at-rank graph defining the partition. |
| [in] | name_ | The name of the partition. May be an empty string |
| [in] | prio_ | The priority of the partition. |
| [in] | level_ | The refinement level that the partition is defined on. |
Definition at line 65 of file partition_set.hpp.
|
inlineexplicit |
Constructor.
| [in] | graph_ | The elements-at-rank graph defining the partition. |
| [in] | name_ | The name of the partition. May be an empty string |
| [in] | prio_ | The priority of the partition. |
| [in] | level_ | The refinement level that the partition is defined on. |
Definition at line 89 of file partition_set.hpp.
|
inline |
move constructor
Definition at line 98 of file partition_set.hpp.
|
inlinevirtual |
destructor
Definition at line 119 of file partition_set.hpp.
|
inline |
Definition at line 154 of file partition_set.hpp.
References _level.
Referenced by FEAT::Control::Domain::PartiDomainControl< DomainLevel_ >::_check_parti_extern(), FEAT::Geometry::MeshExtruder< ConformalMesh< Shape::Hypercube< 2 >, 2, Coord_ > >::extrude_partition(), and FEAT::Geometry::MeshFileWriter::write_partition().
|
inline |
Definition at line 142 of file partition_set.hpp.
References _name.
Referenced by FEAT::Control::Domain::PartiDomainControl< DomainLevel_ >::_check_parti_extern(), FEAT::Geometry::MeshExtruder< ConformalMesh< Shape::Hypercube< 2 >, 2, Coord_ > >::extrude_partition(), and FEAT::Geometry::MeshFileWriter::write_partition().
|
inline |
Definition at line 136 of file partition_set.hpp.
References _patches.
Referenced by FEAT::Geometry::MeshExtruder< ConformalMesh< Shape::Hypercube< 2 >, 2, Coord_ > >::extrude_partition(), and FEAT::Geometry::MeshFileWriter::write_partition().
|
inline |
Definition at line 130 of file partition_set.hpp.
References _patches.
Referenced by FEAT::Geometry::MeshExtruder< ConformalMesh< Shape::Hypercube< 2 >, 2, Coord_ > >::extrude_partition(), and FEAT::Geometry::MeshFileWriter::write_partition().
|
inline |
Definition at line 160 of file partition_set.hpp.
References _patches.
Referenced by FEAT::Control::Domain::PartiDomainControl< DomainLevel_ >::_check_parti_extern(), FEAT::Geometry::RootMeshNode< RootMesh_ >::extract_patch(), FEAT::Geometry::MeshExtruder< ConformalMesh< Shape::Hypercube< 2 >, 2, Coord_ > >::extrude_partition(), and FEAT::Geometry::MeshFileWriter::write_partition().
|
inline |
Definition at line 148 of file partition_set.hpp.
References _prio.
Referenced by FEAT::Geometry::MeshExtruder< ConformalMesh< Shape::Hypercube< 2 >, 2, Coord_ > >::extrude_partition(), and FEAT::Geometry::MeshFileWriter::write_partition().
move-assign operator
Definition at line 107 of file partition_set.hpp.
References _level, _name, _patches, _prio, and FEAT::Geometry::other.
|
inline |
Permutes the element indices.
| [in] | inv_perm | The inverse element permutation to be applied. |
Definition at line 171 of file partition_set.hpp.
References _patches, and FEAT::Adjacency::Graph::permute_indices().
|
inline |
Definition at line 124 of file partition_set.hpp.
References _patches.
|
protected |
the level that this partitioning refers to
Definition at line 37 of file partition_set.hpp.
Referenced by get_level(), and operator=().
|
protected |
the name of this partitioning
Definition at line 33 of file partition_set.hpp.
Referenced by get_name(), and operator=().
|
protected |
our actual partitioning
Definition at line 40 of file partition_set.hpp.
Referenced by get_num_elements(), get_num_patches(), get_patches(), operator=(), permute(), and size().
|
protected |
the priority for automatic choice
Definition at line 35 of file partition_set.hpp.
Referenced by get_priority(), and operator=().