An abstraction class to store interior/exterior flags of node.
More...
#include <interiorFlags.h>
|
| | BaseInterior (inp::InteriorFlagsDeck *deck, std::pair< std::vector< double >, std::vector< double >> bbox, std::vector< std::pair< std::string, std::vector< double >>> no_fail_regions) |
| | Constructor. More...
|
| |
| virtual bool | getInteriorFlag (const size_t &i, const util::Point3 &x) |
| | Get interior flag of node. More...
|
| |
| void | print (int nt=0, int lvl=0) const |
| | Prints the information about the instance of the object. More...
|
| |
| std::string | printStr (int nt=0, int lvl=0) const |
| | Returns the string containing information about the instance of the object. More...
|
| |
|
|
std::pair< std::vector< double >, std::vector< double > > | d_bbox |
| | Bounding box.
|
| |
|
std::vector< uint8_t > | d_intFlags |
| | Interior flags. For given node i the flag is d_intFlags[i%8]. We use 1 bit per node.
|
| |
|
std::vector< std::pair< std::string, std::vector< double > > > | d_noFailRegions |
| | Specify multiple regions in which we set no-fail flag to true.
|
| |
|
double | d_noFailTol |
| | Tolerance to check if the point is in interior/exterior.
|
| |
An abstraction class to store interior/exterior flags of node.
This is a default class and is used when no-fail region is not specified.
◆ BaseInterior()
| geometry::BaseInterior::BaseInterior |
( |
inp::InteriorFlagsDeck * |
deck, |
|
|
std::pair< std::vector< double >, std::vector< double >> |
bbox, |
|
|
std::vector< std::pair< std::string, std::vector< double >>> |
no_fail_regions |
|
) |
| |
Constructor.
- Parameters
-
| deck | Input deck which contains user-specified information |
| bbox | Bounding box to determine the location of nodes relative to the boundary |
| no_fail_regions | No fail regions other than the boundary of domain |
◆ getInteriorFlag()
| bool geometry::BaseInterior::getInteriorFlag |
( |
const size_t & |
i, |
|
|
const util::Point3 & |
x |
|
) |
| |
|
virtual |
◆ print()
| void geometry::BaseInterior::print |
( |
int |
nt = 0, |
|
|
int |
lvl = 0 |
|
) |
| const |
|
inline |
Prints the information about the instance of the object.
- Parameters
-
| nt | Number of tabs to append before each line of string |
| lvl | Level of information sought (higher level means more information) |
◆ printStr()
| std::string geometry::BaseInterior::printStr |
( |
int |
nt = 0, |
|
|
int |
lvl = 0 |
|
) |
| const |
Returns the string containing information about the instance of the object.
- Parameters
-
| nt | Number of tabs to append before each line of string |
| lvl | Level of information sought (higher level means more information) |
- Returns
- string String containing information about this object
Referenced by print().
The documentation for this class was generated from the following files:
- /root/project/src/geometry/interiorFlags.h
- /root/project/src/geometry/interiorFlags.cpp