9 #ifndef INP_INTERIORFLAGSDECK_H
10 #define INP_INTERIORFLAGSDECK_H
12 #include "util/utilIO.h"
56 std::string
printStr(
int nt = 0,
int lvl = 0)
const {
58 std::ostringstream oss;
59 oss << tabS <<
"------- InteriorFlagsDeck --------" << std::endl << std::endl;
60 oss << tabS <<
"No-fail method active = " <<
d_noFailActive << std::endl;
62 oss << tabS <<
"No-fail region tol = " <<
d_noFailTol <<
64 oss << tabS << std::endl;
76 void print(
int nt = 0,
int lvl = 0)
const { std::cout <<
printStr(nt, lvl); };
Collection of methods and database related to input.
Definition: main.cpp:21
std::string getTabS(int nt)
Generate a string contaning nt tabs.
Definition: utilIO.h:26
Structure to read and store input data for interior flags (no-fail region)
Definition: interiorFlagsDeck.h:25
double d_noFailTol
Tolerance to decide if the point is in interior/exterior.
Definition: interiorFlagsDeck.h:35
InteriorFlagsDeck()
Constructor.
Definition: interiorFlagsDeck.h:43
std::string printStr(int nt=0, int lvl=0) const
Returns the string containing information about the instance of the object.
Definition: interiorFlagsDeck.h:56
bool d_computeAndNotStoreFlag
Flag which indicates if we compute the flag inline instead of storing it. This is effective only if d...
Definition: interiorFlagsDeck.h:32
void print(int nt=0, int lvl=0) const
Prints the information about the instance of the object.
Definition: interiorFlagsDeck.h:76
std::vector< std::pair< std::string, std::vector< double > > > d_noFailRegions
Specify multiple regions in which we set no-fail flag to true.
Definition: interiorFlagsDeck.h:38
bool d_noFailActive
Flag which indicates if no-fail region is active.
Definition: interiorFlagsDeck.h:28