![]() |
NLMech
0.1.0
|
A class to check if the node is in interior or exterior. More...
#include <interiorFlags.h>


Public Member Functions | |
| ComputeInterior (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... | |
| bool | getInteriorFlag (const size_t &i, const util::Point3 &x) override |
| Returns true if node is in interior, false otherwise. 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... | |
Public Member Functions inherited from 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. 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... | |
A class to check if the node is in interior or exterior.
This class checks the relative position of node on the fly instead of dedicating a data for the flags.
| geometry::ComputeInterior::ComputeInterior | ( | 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.
| 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 |
|
overridevirtual |
Returns true if node is in interior, false otherwise.
This function computes and checks the relative position of x with respect to the boundary.
| i | Nodal id |
| x | Nodal coordinate |
Reimplemented from geometry::BaseInterior.

|
inline |
Prints the information about the instance of the object.
| nt | Number of tabs to append before each line of string |
| lvl | Level of information sought (higher level means more information) |

| std::string geometry::ComputeInterior::printStr | ( | int | nt = 0, |
| int | lvl = 0 |
||
| ) | const |
Returns the string containing information about the instance of the object.
| nt | Number of tabs to append before each line of string |
| lvl | Level of information sought (higher level means more information) |
Referenced by print().

