QUGaR 0.0.9
|
#include <unfitted_domain.hpp>
Public Types | |
using | FacetsStatus = std::array<ImmersedFacetStatus, n_facets_per_cell> |
using | GridPtr = std::shared_ptr<const CartGridTP<dim>> |
using | BinarySpacePartPtr = std::shared_ptr<UnfittedBinarySpacePart<dim>> |
Public Member Functions | |
virtual | ~UnfittedDomain ()=default |
UnfittedDomain (const UnfittedDomain &other)=default | |
Copy constructor. | |
UnfittedDomain & | operator= (const UnfittedDomain &other)=default |
Copy assignment operator. | |
UnfittedDomain (UnfittedDomain &&other) noexcept=default | |
Move constructor. | |
UnfittedDomain & | operator= (UnfittedDomain &&other) noexcept=default |
Move assignment operator. | |
GridPtr | get_grid () const |
bool | is_exterior_facet (std::int64_t cell_id, int local_facet_id) const |
std::size_t | get_num_total_cells () const |
std::size_t | get_num_full_cells () const |
std::size_t | get_num_empty_cells () const |
std::size_t | get_num_cut_cells () const |
bool | has_facets_with_unf_bdry () const |
void | get_full_cells (std::vector< std::int64_t > &cell_ids) const |
void | get_empty_cells (std::vector< std::int64_t > &cell_ids) const |
void | get_cut_cells (std::vector< std::int64_t > &cell_ids) const |
void | get_full_cells (const std::vector< std::int64_t > &target_cell_ids, std::vector< std::int64_t > &cell_ids) const |
void | get_empty_cells (const std::vector< std::int64_t > &target_cell_ids, std::vector< std::int64_t > &cell_ids) const |
void | get_cut_cells (const std::vector< std::int64_t > &target_cell_ids, std::vector< std::int64_t > &cell_ids) const |
void | get_empty_facets (std::vector< std::int64_t > &cell_ids, std::vector< int > &local_facets_ids) const |
void | get_full_facets (std::vector< std::int64_t > &cell_ids, std::vector< int > &local_facets_ids) const |
void | get_unfitted_facets (std::vector< std::int64_t > &cell_ids, std::vector< int > &local_facets_ids) const |
void | get_full_unfitted_facets (std::vector< std::int64_t > &cell_ids, std::vector< int > &local_facets_ids) const |
void | get_cut_facets (std::vector< std::int64_t > &cell_ids, std::vector< int > &local_facets_ids) const |
void | get_empty_facets (const std::vector< std::int64_t > &target_cell_ids, const std::vector< int > &target_local_facets_ids, std::vector< std::int64_t > &cell_ids, std::vector< int > &local_facets_ids) const |
void | get_full_facets (const std::vector< std::int64_t > &target_cell_ids, const std::vector< int > &target_local_facets_ids, std::vector< std::int64_t > &cell_ids, std::vector< int > &local_facets_ids) const |
void | get_unfitted_facets (const std::vector< std::int64_t > &target_cell_ids, const std::vector< int > &target_local_facets_ids, std::vector< std::int64_t > &cell_ids, std::vector< int > &local_facets_ids) const |
void | get_full_unfitted_facets (const std::vector< std::int64_t > &target_cell_ids, const std::vector< int > &target_local_facets_ids, std::vector< std::int64_t > &cell_ids, std::vector< int > &local_facets_ids) const |
void | get_cut_facets (const std::vector< std::int64_t > &target_cell_ids, const std::vector< int > &target_local_facets_ids, std::vector< std::int64_t > &cell_ids, std::vector< int > &local_facets_ids) const |
bool | is_full_cell (std::int64_t cell_id) const |
bool | is_empty_cell (std::int64_t cell_id) const |
bool | is_cut_cell (std::int64_t cell_id) const |
bool | is_full_with_unf_bdry_cell (std::int64_t cell_id) const |
bool | is_full_facet (std::int64_t cell_id, int local_facet_id) const |
bool | is_empty_facet (std::int64_t cell_id, int local_facet_id) const |
bool | is_cut_facet (std::int64_t cell_id, int local_facet_id) const |
bool | is_full_unfitted_facet (std::int64_t cell_id, int local_facet_id) const |
bool | is_cell_with_unf_bdry (std::int64_t cell_id) const |
bool | has_unfitted_boundary (std::int64_t cell_id, int local_facet_id) const |
bool | has_external_boundary (std::int64_t cell_id, int local_facet_id) const |
Static Public Member Functions | |
static bool | is_full_facet (ImmersedFacetStatus status) |
static bool | is_empty_facet (ImmersedFacetStatus status) |
static bool | is_cut_facet (ImmersedFacetStatus status) |
static bool | is_full_unfitted_facet (ImmersedFacetStatus status) |
static bool | has_unfitted_boundary (ImmersedFacetStatus status) |
static bool | has_external_boundary (ImmersedFacetStatus status) |
Static Public Attributes | |
static const int | n_facets_per_cell = dim * 2 |
Protected Member Functions | |
UnfittedDomain (const GridPtr &grid) | |
void | init_full_cells_with_unf_bdry () |
Protected Attributes | |
GridPtr | grid_ |
BinarySpacePartPtr | binary_sp_part_ |
std::unordered_map< std::int64_t, FacetsStatus > | facets_status_ |
std::vector< std::int64_t > | full_cells_with_unf_bdry_ |
Static Private Member Functions | |
static void | get_facets_target (const std::vector< std::int64_t > &target_cell_ids, const std::vector< int > &target_local_facets_ids, std::vector< std::int64_t > &cell_ids, std::vector< int > &local_facets_ids, const std::function< bool(std::int64_t, int)> &func) |
using qugar::UnfittedDomain< dim >::BinarySpacePartPtr = std::shared_ptr<UnfittedBinarySpacePart<dim>> |
using qugar::UnfittedDomain< dim >::FacetsStatus = std::array<ImmersedFacetStatus, n_facets_per_cell> |
using qugar::UnfittedDomain< dim >::GridPtr = std::shared_ptr<const CartGridTP<dim>> |
|
explicitprotected |
|
virtualdefault |
|
default |
Copy constructor.
|
defaultnoexcept |
Move constructor.
void qugar::UnfittedDomain< dim >::get_cut_cells | ( | const std::vector< std::int64_t > & | target_cell_ids, |
std::vector< std::int64_t > & | cell_ids ) const |
void qugar::UnfittedDomain< dim >::get_cut_cells | ( | std::vector< std::int64_t > & | cell_ids | ) | const |
void qugar::UnfittedDomain< dim >::get_cut_facets | ( | const std::vector< std::int64_t > & | target_cell_ids, |
const std::vector< int > & | target_local_facets_ids, | ||
std::vector< std::int64_t > & | cell_ids, | ||
std::vector< int > & | local_facets_ids ) const |
void qugar::UnfittedDomain< dim >::get_cut_facets | ( | std::vector< std::int64_t > & | cell_ids, |
std::vector< int > & | local_facets_ids ) const |
void qugar::UnfittedDomain< dim >::get_empty_cells | ( | const std::vector< std::int64_t > & | target_cell_ids, |
std::vector< std::int64_t > & | cell_ids ) const |
void qugar::UnfittedDomain< dim >::get_empty_cells | ( | std::vector< std::int64_t > & | cell_ids | ) | const |
void qugar::UnfittedDomain< dim >::get_empty_facets | ( | const std::vector< std::int64_t > & | target_cell_ids, |
const std::vector< int > & | target_local_facets_ids, | ||
std::vector< std::int64_t > & | cell_ids, | ||
std::vector< int > & | local_facets_ids ) const |
void qugar::UnfittedDomain< dim >::get_empty_facets | ( | std::vector< std::int64_t > & | cell_ids, |
std::vector< int > & | local_facets_ids ) const |
|
staticprivate |
void qugar::UnfittedDomain< dim >::get_full_cells | ( | const std::vector< std::int64_t > & | target_cell_ids, |
std::vector< std::int64_t > & | cell_ids ) const |
void qugar::UnfittedDomain< dim >::get_full_cells | ( | std::vector< std::int64_t > & | cell_ids | ) | const |
void qugar::UnfittedDomain< dim >::get_full_facets | ( | const std::vector< std::int64_t > & | target_cell_ids, |
const std::vector< int > & | target_local_facets_ids, | ||
std::vector< std::int64_t > & | cell_ids, | ||
std::vector< int > & | local_facets_ids ) const |
void qugar::UnfittedDomain< dim >::get_full_facets | ( | std::vector< std::int64_t > & | cell_ids, |
std::vector< int > & | local_facets_ids ) const |
void qugar::UnfittedDomain< dim >::get_full_unfitted_facets | ( | const std::vector< std::int64_t > & | target_cell_ids, |
const std::vector< int > & | target_local_facets_ids, | ||
std::vector< std::int64_t > & | cell_ids, | ||
std::vector< int > & | local_facets_ids ) const |
void qugar::UnfittedDomain< dim >::get_full_unfitted_facets | ( | std::vector< std::int64_t > & | cell_ids, |
std::vector< int > & | local_facets_ids ) const |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
void qugar::UnfittedDomain< dim >::get_unfitted_facets | ( | const std::vector< std::int64_t > & | target_cell_ids, |
const std::vector< int > & | target_local_facets_ids, | ||
std::vector< std::int64_t > & | cell_ids, | ||
std::vector< int > & | local_facets_ids ) const |
void qugar::UnfittedDomain< dim >::get_unfitted_facets | ( | std::vector< std::int64_t > & | cell_ids, |
std::vector< int > & | local_facets_ids ) const |
|
staticnodiscard |
|
nodiscard |
|
nodiscard |
|
staticnodiscard |
|
nodiscard |
|
protected |
|
nodiscard |
|
nodiscard |
|
staticnodiscard |
|
nodiscard |
|
nodiscard |
|
staticnodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
staticnodiscard |
|
nodiscard |
|
staticnodiscard |
|
nodiscard |
|
nodiscard |
|
default |
Copy assignment operator.
|
defaultnoexcept |
Move assignment operator.
|
protected |
|
protected |
|
protected |
|
protected |
|
static |