G+Smo
24.08.0
Geometry + Simulation Modules
|
The gsHBoxUtils provide basic utilities to modify HBoxes.
The gsHBoxUtils work on gsHBox objects and gsHBoxContainer objects. Other containers such as the gsHBox::Container (a vector of gsHBox) or gsHBox::SortedContainer can also be used. The gsHBox::HContainer is a container that stores gsHBox per level.
d | Domain dimension |
T | Real type |
Static Public Member Functions | |
static gsHBox< d, T >::Container | ExactIntersection (const Container &container1, const Container &container2) |
Performs an intersection; only keeps the boxes that are EXACTLY the same (also level is the same) More... | |
static gsHBox< d, T >::Container | Intersection (const Container &container1, const Container &container2) |
Performs an intersection. Keeps the smallest boxes in overlapping regions, can also intersect partial boxes. More... | |
template<gsHNeighborhood _mode> | |
static HContainer | markAdmissible (const gsHBox< d, T > &marked, index_t m) |
Performs H-admissible refinement. More... | |
static HContainer | markHadmissible (const HContainer &marked, index_t m) |
Performs H-admissible refinement. More... | |
static HContainer | markHadmissible (const gsHBox< d, T > &marked, index_t m) |
Performs H-admissible refinement. More... | |
static HContainer | markTadmissible (const HContainer &marked, index_t m) |
Performs T-admissible refinement. More... | |
static HContainer | markTadmissible (const gsHBox< d, T > &marked, index_t m) |
Performs T-admissible refinement. More... | |
static Container | toContainer (const HContainer &container) |
Returns a container representation of the object. More... | |
static Container | toUnitBoxes (const HContainer &container) |
Transforms the boxes in container as unit boxes. More... | |
static HContainer | toUnitHBoxes (const HContainer &container) |
Transforms the boxes in container as unit boxes. More... | |
Static Protected Member Functions | |
template<gsHNeighborhood _mode> | |
static std::enable_if< _mode==gsHNeighborhood::T||_mode==gsHNeighborhood::H, HContainer >::type | _markRecursive (const HContainer &marked, index_t lvl, index_t m) |
Marks Recursively. More... | |
|
staticprotected |
Marks Recursively.
marked | The marked boxes | |
[in] | lvl | The level |
[in] | m | The jump parameter |
_mode | see gsHNeighborhood for T or H |
|
static |
Performs an intersection; only keeps the boxes that are EXACTLY the same (also level is the same)
[in] | container1 | The first container |
[in] | container2 | The second container |
d | Domain dimension |
T | Real type |
[in] | container1 | The container 1 |
[in] | container2 | The container 2 |
d | { description } |
T | { description } |
|
static |
Performs an intersection. Keeps the smallest boxes in overlapping regions, can also intersect partial boxes.
[in] | container1 | The first container |
[in] | container2 | The second container |
d | Domain dimension |
T | Real type |
[in] | container1 | The container 1 |
[in] | container2 | The container 2 |
d | { description } |
T | { description } |
Performs H-admissible refinement.
marked | The marked boxes | |
[in] | m | The jump parameter |
|
static |
Performs H-admissible refinement.
marked | The marked boxes | |
[in] | m | The jump parameter |
|
static |
Performs H-admissible refinement.
marked | The marked boxes | |
[in] | m | The jump parameter |
|
static |
Performs T-admissible refinement.
marked | The marked boxes | |
[in] | m | The jump parameter |
|
static |
Performs T-admissible refinement.
marked | The marked boxes | |
[in] | m | The jump parameter |
|
static |
Returns a container representation of the object.
|
static |
Transforms the boxes in container as unit boxes.
[in] | container | A hierarchical container of boxes |
|
static |
Transforms the boxes in container as unit boxes.
[in] | container | A hierarchical container of boxes |