|
QUGaR 0.1.3
|
#include <unfitted_domain_binary_part.hpp>
Public Member Functions | |
| UnfittedBinarySpacePart (const GridPtr grid) | |
| UnfittedBinarySpacePart (const SubGridPtr subgrid) | |
| bool | is_leaf () const |
| void | set_status (const ImmersedCellStatus &status) |
| void | branch () |
| ImmersedCellStatus | get_status () const |
| SubGridPtr | get_subgrid () const |
| GridPtr | get_grid () const |
| SelfPtr | get_child (int index) |
| SelfConstPtr | get_child (int index) const |
| bool | is_in_tree (std::int64_t cell_id) const |
| SelfConstPtr | find_leaf (std::int64_t cell_id) const |
| void | get_leaves (ImmersedCellStatus status, std::vector< SelfConstPtr > &leaves) const |
| void | get_cell_ids (ImmersedCellStatus status, std::vector< std::int64_t > &cell_ids) const |
| void | get_cell_ids (ImmersedCellStatus status, const std::vector< std::int64_t > &target_cell_ids, std::vector< std::int64_t > &cell_ids) const |
| std::size_t | get_num_cells (ImmersedCellStatus status) const |
| std::size_t | get_num_leaves (ImmersedCellStatus status) const |
| bool | is_cell (ImmersedCellStatus status, std::int64_t cell_id) const |
Private Types | |
| using | GridPtr = std::shared_ptr<const CartGridTP<dim>> |
| using | SubGridPtr = std::shared_ptr<const SubCartGridTP<dim>> |
| using | Self = UnfittedBinarySpacePart<dim> |
| using | SelfConstPtr = std::shared_ptr<const Self> |
| using | SelfPtr = std::shared_ptr<Self> |
Private Member Functions | |
| template<typename Func_0 , typename Func_1 > | |
| void | transverse_tree (const Func_0 &func_0, const Func_1 &func_1) const |
| template<typename Func_0 , typename Func_1 > | |
| std::size_t | reduce (const Func_0 &func_0, const Func_1 &func_1) const |
Static Private Member Functions | |
| static std::function< bool(const Self &)> | create_leaf_checker (ImmersedCellStatus status) |
Private Attributes | |
| SubGridPtr | subgrid_ |
| ImmersedCellStatus | status_ |
| std::array< std::shared_ptr< UnfittedBinarySpacePart< dim > >, 2 > | children_ |
|
private |
|
private |
|
private |
|
private |
|
private |
|
explicit |
|
explicit |
| void qugar::UnfittedBinarySpacePart< dim >::branch | ( | ) |
|
staticprivate |
|
nodiscard |
| void qugar::UnfittedBinarySpacePart< dim >::get_cell_ids | ( | ImmersedCellStatus | status, |
| const std::vector< std::int64_t > & | target_cell_ids, | ||
| std::vector< std::int64_t > & | cell_ids ) const |
| void qugar::UnfittedBinarySpacePart< dim >::get_cell_ids | ( | ImmersedCellStatus | status, |
| std::vector< std::int64_t > & | cell_ids ) const |
|
nodiscard |
|
nodiscard |
|
nodiscard |
| void qugar::UnfittedBinarySpacePart< dim >::get_leaves | ( | ImmersedCellStatus | status, |
| std::vector< SelfConstPtr > & | leaves ) const |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
private |
| void qugar::UnfittedBinarySpacePart< dim >::set_status | ( | const ImmersedCellStatus & | status | ) |
|
private |
|
private |
|
private |
|
private |