110 std::string
printStr(
int nt = 0,
int lvl = 0)
const {
113 std::ostringstream oss;
114 oss << tabS <<
"------- PBCData --------" << std::endl << std::endl;
118 oss << tabS <<
"Region geometry info: " << std::endl;
122 oss << tabS <<
"Particle list = ["
123 << util::io::printStr<size_t>(
d_pList, 0) <<
"]" << std::endl;
125 oss << tabS <<
"Particle excluded list = ["
126 << util::io::printStr<size_t>(
d_pNotList, 0) <<
"]" << std::endl;
127 oss << tabS <<
"Time function type = " <<
d_timeFnType << std::endl;
128 oss << tabS <<
"Time function parameters = ["
129 << util::io::printStr<double>(
d_timeFnParams, 0) <<
"]" << std::endl;
130 oss << tabS <<
"Spatial function type = " <<
d_spatialFnType << std::endl;
131 oss << tabS <<
"Spatial function parameters = ["
133 oss << tabS <<
"Direction = [" << util::io::printStr<size_t>(
d_direction, 0)
136 oss << tabS << std::endl;
147 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 d_timeFnType
Name of the formula with respect to time.
std::string printStr(int nt=0, int lvl=0) const
Returns the string containing printable information about the object.
std::vector< size_t > d_pList
List of particles (if any)
std::vector< double > d_spatialFnParams
List of parameters for function wrt spatial coordinate.
std::string d_selectionType
Method for applying force e.g.
util::geometry::GeomData d_regionGeomData
Region geometry (if any)
std::string d_spatialFnType
Name of the formula of with respect to spatial coordinate.
void print(int nt=0, int lvl=0) const
Prints the information about the object.
std::vector< size_t > d_pNotList
List of particles to not include (if any)
bool d_isDisplacementZero
Specify if this bc corresponds to zero displacement condition.
bool d_isRegionActive
Flag that indicates if region-based application of boundary condition is active. So cases of 'region'...
std::vector< double > d_timeFnParams
List of parameters for function wrt time.
std::vector< size_t > d_direction
List of dofs on which this bc will be applied.
Input data for geometrical objects.
std::string printStr(int nt=0, int lvl=0) const
Returns the string containing printable information about the object.
std::shared_ptr< util::geometry::GeomObject > d_geom_p
Zone geometry.