A class to store interior/exterior flags of node.
More...
#include <interiorFlags.h>
A class to store interior/exterior flags of node.
In this class we store the the flag which indicates if the node is inside the material domain or if it is near the boundary. This required to implement no-fail region in Peridynamics.
◆ InteriorFlags()
| geometry::InteriorFlags::InteriorFlags |
( |
inp::InteriorFlagsDeck * |
deck, |
|
|
const std::vector< util::Point3 > * |
nodes, |
|
|
const std::pair< std::vector< double >, std::vector< double >> & |
bbox |
|
) |
| |
Constructor.
- Parameters
-
| deck | Input deck which contains user-specified information |
| nodes | Pointer to the list of nodal coordinates |
| bbox | Bounding box to determine the location of nodes relative to the boundary |
◆ getInteriorFlag()
| bool geometry::InteriorFlags::getInteriorFlag |
( |
const size_t & |
i, |
|
|
const util::Point3 & |
x |
|
) |
| |
Returns true for all the nodes.
- Parameters
-
| i | Nodal id |
| x | Nodal coordinate |
- Returns
- Flag True if node is in interior otherwise false
◆ print()
| void geometry::InteriorFlags::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::InteriorFlags::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