50 std::string
printStr(
int nt = 0,
int lvl = 0)
const {
53 std::ostringstream oss;
54 oss << tabS <<
"------- PICDeck --------" << std::endl << std::endl;
55 oss << tabS <<
"IC active = " <<
d_icActive << std::endl;
58 oss << tabS <<
"Particle list = ["
59 << util::io::printStr<size_t>(
d_pList, 0) <<
"]" << std::endl;
61 oss << tabS <<
"Particle excluded list = ["
62 << util::io::printStr<size_t>(
d_pNotList, 0) <<
"]" << std::endl;
63 oss << tabS << std::endl;
74 void print(
int nt = 0,
int lvl = 0)
const { std::cout <<
printStr(nt, lvl); }
Collection of methods and database related to input.
std::string getTabS(int nt)
Returns tab spaces of given size.
User-input data for particle neighbor search.
std::string printStr(int nt=0, int lvl=0) const
Returns the string containing printable information about the object.
bool d_icActive
Specify if particle initial condition is active.
std::vector< size_t > d_pNotList
List of particles to not include (if any)
std::vector< size_t > d_pList
List of particles (if any)
util::Point d_icVec
Initial velocity vector.
void print(int nt=0, int lvl=0) const
Prints the information about the object.
A structure to represent 3d vectors.
std::string printStr(int nt=0, int lvl=0) const
Returns the string containing printable information about the object.